joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452600
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cde4a
mov eax, dword fs:[0]
push eax
sub esp, 0x148
push esi
mov eax, dword [0x50c7b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, dword [ebp + 8]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x4526fb
push 1
push 2
lea ecx, [ebp - 0xa4]
call fcn.00433810
push 0x4dfd10
push 0xffffffffffffffff
push str._vs.
push dword [esi]
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
push 0x4dfd1c
push str.slot_____DWORD_0xFFFFFFFF_
push eax
call fcn.00432880
add esp, 8
push eax
call fcn.00432880
add esp, 8
mov ecx, eax
call fcn.0043a9b0
push eax
call fcn.00432880
add esp, 8
mov ecx, eax
call fcn.0043a9b0
push eax
call fcn.00432880
push 0x18
call fcn.004969e8
add esp, 0xc
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4526c5
push eax
lea ecx, [ebp - 0xa4]
call fcn.00436ce0
mov esi, eax
jmp 0x4526c7
xor esi, esi
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.00434230
test esi, esi
je 0x4526fb
push esi
push 0x12
push str.i:work_seapp_new_src_seappservice_base_threading_thread_local_win.cc
lea ecx, [ebp - 0x154]
call fcn.00442510
lea ecx, [ebp - 0x154]
call fcn.00442620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4527d0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbcac
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
mov eax, dword [0x50c7b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x45285a
call fcn.00442d10
cmp eax, 4
jg 0x45284a
push 4
push 0x24
push str.i:work_seapp_new_src_seappservice_base_threading_thread_local_win.cc
lea ecx, [ebp - 0xc0]
call fcn.00442370
mov dword [ebp - 4], ebx
add eax, 8
push str.Failed_to_TlsSetValue__.
mov ebx, 1
push eax
mov dword [ebp - 0x10], ebx
call fcn.00432880
add esp, 8
test bl, 1
je 0x45285a
lea ecx, [ebp - 0xc0]
call fcn.00442620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4570c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [ecx + 4]
push esi
mov esi, dword [ecx]
sub eax, esi
sar eax, 2
test eax, eax
je 0x457131
push ebx
push edi
mov edi, eax
mov ebx, dword [esi]
lea esi, [esi + 4]
movzx edx, al
movzx ecx, bl
xor edx, ecx
shr eax, 8
mov ecx, ebx
shr ecx, 8
xor eax, dword [edx*4 + 0x4e3238]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0x10
xor eax, dword [edx*4 + 0x4e3238]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4e3238]
movzx ecx, al
xor ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4e3238]
sub edi, 1
jne 0x4570d3
pop edi
pop ebx
pop esi
ret
Function at 0x4582e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce6a2
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x50c7b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], 0
cmp eax, 3
je 0x458328
test eax, eax
jne 0x45843c
mov eax, dword [0x50c494]
cmp eax, 0xffffffff
je 0x45843c
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x45843c
lea eax, [ebp - 0x110]
mov ecx, 0x40
push eax
push dword [0x50c494]
mov esi, ebx
lea edi, [ebp - 0x110]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.00496dc7
add esp, 4
mov edi, 0x40
nop word [eax + eax]
mov esi, dword [0x525090]
xor dl, dl
test esi, esi
jle 0x4583be
nop dword [eax]
mov ecx, dword [ebp + esi*4 - 0x110]
test ecx, ecx
je 0x4583b9
mov eax, dword [esi*4 + 0x525098]
test eax, eax
je 0x4583b9
push ecx
mov dword [ebp + esi*4 - 0x110], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x458390
dec edi
test edi, edi
jle 0x4583c9
test dl, dl
jne 0x458380
jmp 0x45842e
cmp dword [0x52440c], 1
jne 0x458418
call fcn.00442d10
cmp eax, 3
jg 0x458418
push 3
push 0x8d
push str.i:work_seapp_new_src_seappservice_base_threading_thread_local_storage_win.cc
lea ecx, [ebp - 0x1c4]
call fcn.00442370
add eax, 8
mov dword [ebp - 4], 0
push str.Check_failed:_false.
mov ebx, 1
push eax
mov dword [ebp - 0x114], ebx
call fcn.00432880
add esp, 8
jmp 0x45841e
mov ebx, dword [ebp - 0x114]
test bl, 1
je 0x45842e
lea ecx, [ebp - 0x1c4]
call fcn.00442620
push 0
push dword [0x50c494]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496ca3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x458460
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce654
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x50c7b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x114], ebx
cmp dword [0x50c494], 0xffffffff
jne 0x45852a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp dword [0x52440c], 1
mov esi, eax
jne 0x4584f6
call fcn.00442d10
cmp eax, 3
jg 0x4584f6
cmp esi, 0xffffffff
jne 0x4584f6
push 3
push 0x36
push str.i:work_seapp_new_src_seappservice_base_threading_thread_local_storage_win.cc
lea ecx, [ebp - 0x1c4]
call fcn.00442370
mov dword [ebp - 4], ebx
add eax, 8
push str.Check_failed:_value___TLS_OUT_OF_INDEXES.
mov ebx, 1
push eax
mov dword [ebp - 0x114], ebx
call fcn.00432880
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x458510
lea ecx, [ebp - 0x1c4]
and ebx, 0xfffffffe
call fcn.00442620
push 0xffffffffffffffff
push esi
push 0x50c494
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 0xffffffff
je 0x45852a
push esi
call dword [sym.imp.KERNEL32.dll_TlsFree]
cmp dword [0x52440c], 1
jne 0x458582
call fcn.00442d10
cmp eax, 3
jg 0x458582
push dword [0x50c494]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x458582
push 3
push 0x43
push str.i:work_seapp_new_src_seappservice_base_threading_thread_local_storage_win.cc
lea ecx, [ebp - 0x274]
call fcn.00442370
add eax, 8
mov dword [ebp - 4], 1
push str.Check_failed:__TlsGetValue_g_native_tls_key_.
or ebx, 2
push eax
mov dword [ebp - 0x114], ebx
call fcn.00432880
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x458599
lea ecx, [ebp - 0x274]
call fcn.00442620
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0049f230
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
push dword [0x50c494]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x100
call fcn.0049702c
add esp, 4
lea esi, [ebp - 0x110]
mov ebx, eax
mov ecx, 0x40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [0x50c494]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496ca3
mov esp, ebp
pop ebp
ret
Function at 0x458610
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push esi
push edi
push dword [0x50c494]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x458636
call fcn.00458460
mov edi, eax
cmp dword [0x52440c], 1
jne 0x4586fb
call fcn.00442d10
cmp eax, 3
jg 0x45869a
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 8], eax
test eax, eax
jg 0x45869a
push str.slot____0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00443f40
add esp, 0xc
test eax, eax
je 0x45869a
push eax
push 3
push 0xc0
push str.i:work_seapp_new_src_seappservice_base_threading_thread_local_storage_win.cc
lea ecx, [ebp - 0xb8]
call fcn.00442400
lea ecx, [ebp - 0xb8]
call fcn.00442620
cmp dword [0x52440c], 1
jne 0x4586fb
call fcn.00442d10
cmp eax, 3
jg 0x4586fb
mov eax, dword [esi + 4]
mov dword [ebp - 8], 0x40
mov dword [ebp - 4], eax
cmp eax, 0x40
jl 0x4586fb
push str.slot____kThreadLocalStorageSize
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00443f40
add esp, 0xc
test eax, eax
je 0x4586fb
push eax
push 3
push 0xc1
push str.i:work_seapp_new_src_seappservice_base_threading_thread_local_storage_win.cc
lea ecx, [ebp - 0xb8]
call fcn.00442400
lea ecx, [ebp - 0xb8]
call fcn.00442620
mov eax, dword [esi + 4]
mov eax, dword [edi + eax*4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x458710
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push esi
push edi
push dword [0x50c494]
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x458736
call fcn.00458460
mov edi, eax
cmp dword [0x52440c], 1
jne 0x4587fb
call fcn.00442d10
cmp eax, 3
jg 0x45879a
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 8], eax
test eax, eax
jg 0x45879a
push str.slot____0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00443f40
add esp, 0xc
test eax, eax
je 0x45879a
push eax
push 3
push 0xc9
push str.i:work_seapp_new_src_seappservice_base_threading_thread_local_storage_win.cc
lea ecx, [ebp - 0xb8]
call fcn.00442400
lea ecx, [ebp - 0xb8]
call fcn.00442620
cmp dword [0x52440c], 1
jne 0x4587fb
call fcn.00442d10
cmp eax, 3
jg 0x4587fb
mov eax, dword [esi + 4]
mov dword [ebp - 8], 0x40
mov dword [ebp - 4], eax
cmp eax, 0x40
jl 0x4587fb
push str.slot____kThreadLocalStorageSize
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00443f40
add esp, 0xc
test eax, eax
je 0x4587fb
push eax
push 3
push 0xca
push str.i:work_seapp_new_src_seappservice_base_threading_thread_local_storage_win.cc
lea ecx, [ebp - 0xb8]
call fcn.00442400
lea ecx, [ebp - 0xb8]
call fcn.00442620
mov ecx, dword [esi + 4]
mov eax, dword [ebp + 8]
mov dword [edi + ecx*4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x45b9a6
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 2
cmovs esi, ecx
call edi
test ax, ax
jns 0x45b9c9
or esi, 2
push 1
call edi
test ax, ax
jns 0x45b9d5
or esi, 1
push 0x10
call edi
test ax, ax
jns 0x45b9e1
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x45b9ed
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x45eade
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp byte [ebp + 0xc], 0
mov esi, dword [ebp + 8]
je 0x45eb19
mov ecx, dword [edi + 0x84]
cmp eax, ecx
je 0x45eb19
cmp esi, dword [edi + 0xe8]
je 0x45eb19
cmp byte [edi + 0xe0], 0
jne 0x45eb19
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x45ec03
test eax, eax
je 0x45eb82
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0x14
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.killfocus
push dword [edi + 0xe8]
call fcn.0045e781
and dword [edi + 0xe8], 0
test esi, esi
je 0x45ec03
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
cmp eax, edi
jne 0x45ec03
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
test al, al
je 0x45ec03
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xec]
test al, al
je 0x45ec03
xorps xmm0, xmm0
mov dword [edi + 0xe8], esi
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp - 0x10], xmm0
movlpd qword [ebp - 8], xmm0
mov dword [ebp - 0x20], 0x15
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
push 1
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push str.setfocus
push dword [edi + 0xe8]
call fcn.0045e781
pop edi
pop esi
leave
ret 8

Function at 0x45ff0b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45ff3d
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8

Function at 0x46776a
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x69c], edi
je 0x4677d6
cmp dword [ebp + 8], 0x100
jne 0x4677c5
cmp word [ebp + 0xc], 0xd
jne 0x4677c5
cmp byte [esi + 0x6a2], 0
je 0x4677aa
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4677c5
cmp byte [esi + 0x6a3], 0
jne 0x4677c5
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x4677c1
push 1
push edi
push edi
push edi
push str.return
push esi
call fcn.0045e781
xor eax, eax
jmp 0x4677d9
mov eax, dword [esi + 0x69c]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10
Function at 0x46a876
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x4cf03a
call fcn.00496d1f
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0046ac03
call fcn.0045b67f
push eax
lea ecx, [ebp - 0x94]
call fcn.00459099
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0045b685
mov ecx, eax
call fcn.0045978d
test al, al
je 0x46a98c
push ebx
lea ecx, [ebp - 0x94]
call fcn.0045928d
push edi
push 0x80
push 3
push edi
push 1
push closesocket
lea ecx, [ebp - 0x94]
call fcn.004582b0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0], eax
push edi
cmp eax, 0xffffffff
jne 0x46a8fd
push str.Error_opening_file
jmp 0x46aa6d
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x46aa06
cmp edi, 0x400000
ja 0x46aa17
and dword [ebp - 0x2c8], 0
push edi
call fcn.0049702c
pop ecx
mov ebx, eax
lea eax, [ebp - 0x2c8]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x2d0]
mov dword [ebp - 0x2cc], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x2d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c8], edi
je 0x46a975
push ebx
call fcn.00496dc7
pop ecx
mov ecx, esi
call fcn.0046ac03
push 0
push str.Could_not_read_file
jmp 0x46aa6d
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.0046aab8
push dword [ebp - 0x2cc]
jmp 0x46aa9b
call fcn.0045b685
push eax
lea ecx, [ebp - 0x94]
call fcn.00459270
call fcn.0045b879
test al, al
je 0x46a9ad
call fcn.0045b68b
jmp 0x46a9c4
push 2
push edi
lea ecx, [ebp - 0x94]
call fcn.004582b0
push eax
call fcn.0047a4ad
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x46a9d5
push eax
push str.Error_opening_zip_file
jmp 0x46aa6d
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.00479eed
add esp, 0x14
test eax, eax
je 0x46a9fc
push 0
push str.Could_not_find_ziped_file
jmp 0x46aa6d
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x46aa0f
push 0
push str.File_is_empty
jmp 0x46aa6d
cmp ebx, 0x400000
jbe 0x46aa20
push 0
push str.File_too_large
jmp 0x46aa6d
push ebx
call fcn.0049702c
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.0047a884
add esp, 0x18
test eax, eax
je 0x46aa78
cmp eax, 0x600
je 0x46aa78
push dword [ebp - 0x2c8]
call fcn.00496dc7
pop ecx
call fcn.0045b879
test al, al
jne 0x46aa66
push edi
call fcn.00479d49
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.0046ac2b
mov bl, al
jmp 0x46aaa3
call fcn.0045b879
test al, al
jne 0x46aa88
push edi
call fcn.00479d49
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push ebx
push edi
call fcn.0046aab8
push edi
mov bl, al
call fcn.00496dc7
pop ecx
lea ecx, [ebp - 0x94]
call fcn.00459170
mov al, bl
call fcn.00496cc9
ret 8
Function at 0x479d9b
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x50c7b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x479e55
movzx eax, word [esi]
test ax, ax
je 0x479e55
push edi
mov edi, esi
mov ecx, esi
mov edx, eax
cmp dx, 0x2f
je 0x479ddd
cmp dx, 0x5c
jne 0x479ddf
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x479dd1
cmp edi, esi
je 0x479e28
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.004ac9cb
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x479e63
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.00479d9b
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.004ac349
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004ac99a
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00496ca3
leave
ret
call fcn.00496eed
int3

Function at 0x47a427
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x47a4a3
cmp dword [edi + 4], 0xffffffff
jne 0x47a4a3
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x4d3930
push esi
call fcn.004ac99a
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x47a475
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x47a475
mov eax, 0x2000000
jmp 0x47a4a8
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0047c966
add esp, 0x10
test eax, eax
jne 0x47a493
mov eax, dword [ebp - 4]
jmp 0x47a4a8
push eax
call fcn.0047d088
mov dword [edi], eax
mov eax, dword [0x525774]
pop ecx
jmp 0x47a4a8
mov eax, 0x1000000
pop edi
leave
ret 0xc
Function at 0x47ca73
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x47caa6
push 0
lea eax, [ebp + 0x10]
push eax
push ecx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x47caa1
mov byte [edi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x47cad0
mov edx, dword [edi + 0x18]
push esi
mov esi, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x14]
cmovbe esi, ecx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.0049e730
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
pop esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret

Function at 0x47cc5e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x47cc6c
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x47cd2b
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e8400]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e8400]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e8400]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e8400]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e8400]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e8400]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e8400]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e8400]
sub edi, 1
jne 0x47cc84
pop edi
test esi, esi
je 0x47cd47
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4e8400]
inc edx
sub esi, 1
jne 0x47cd2f
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x4867ca
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x50c7b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00462edd
mov ecx, dword [esi + 0x6e8]
test ecx, ecx
je 0x486846
lea eax, [ebp - 0x14]
push eax
call fcn.00485dae
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6e8]
test eax, eax
je 0x486822
push 0
call fcn.0045963c
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x486846
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.0045963c
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00496ca3
leave
ret 0xc