joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d3d2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x250
mov eax, 0x47bb02
call fcn.0044ef46
mov eax, dword [ebp + 8]
push 7
mov dword [ebp - 0x258], eax
xor esi, esi
pop edi
xor eax, eax
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], esi
mov word [ebp - 0x254], ax
mov dword [ebp - 4], esi
mov byte [ebp - 4], 1
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.0043fd80
add esp, 0xc
lea ebx, [ebp - 0x21c]
call fcn.0040c09b
xor eax, eax
mov word [ebp - 0x238], ax
mov eax, ebx
push eax
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], esi
call fcn.0040315e
push 0xffffffffffffffff
push esi
push 0x4adb50
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 2
call fcn.00403461
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x40d487
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40d497
test al, 0x10
jne 0x40d4b1
cmp dword [ebp - 0x224], 8
mov edi, dword [ebp - 0x238]
jae 0x40d4ac
lea edi, [ebp - 0x238]
call fcn.0043296d
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x254]
call fcn.004030c3
mov ecx, dword [ebp - 0x258]
lea eax, [ebp - 0x254]
push eax
call fcn.00403afe
push esi
push 1
lea ecx, [ebp - 0x238]
call fcn.00403211
push esi
jmp 0x40d514
push 1
lea ecx, [ebp - 0x254]
call fcn.00403211
mov eax, dword [ebp - 0x258]
call fcn.0044efa2
ret 4
Function at 0x414e22
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x4a83e0]
xor eax, esp
mov dword [esp + 0x194], eax
push 0x4b5e68
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x414e64
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x4b5e6c
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0043e1a7
mov esp, ebp
pop ebp
ret

Function at 0x419942
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x4a83e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
xor edi, edi
mov esi, 0x400
push esi
mov word [ebp - 0x614], ax
lea eax, [ebp - 0x612]
push edi
push eax
mov dword [ebp - 0x61c], edi
mov dword [ebp - 0x618], edi
call fcn.0043fd80
xor eax, eax
push 0x208
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
mov dword [ebp - 0x624], esi
call fcn.0043fd80
add esp, 0x18
push 0x48fc6c
push 0x4930e0
mov dword [ebp - 0x620], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
je 0x4199dc
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x4199e2
mov eax, dword [ebp - 0x620]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x618]
push ecx
and eax, 0x200
inc eax
push eax
push edi
push 0x4930ec
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x419a72
lea eax, [ebp - 0x624]
push eax
lea eax, [ebp - 0x614]
push eax
push edi
push edi
push 0x4930fc
push dword [ebp - 0x618]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x419a66
push 0x104
lea eax, [ebp - 0x614]
push eax
lea eax, [ebp - 0x210]
push 0x105
push eax
mov dword [ebp - 0x61c], 1
call fcn.0044838d
lea eax, [ebp - 0x210]
push eax
call fcn.0043ed5b
add esp, 0x14
mov dword [ebx], eax
push dword [ebp - 0x618]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x61c]
pop edi
xor ecx, ebp
pop esi
call fcn.0043e1a7
leave
ret
Function at 0x41e34f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push ebx
push edi
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
mov dword [esi + 4], eax
cmp eax, edi
jne 0x41e3ac
call ebx
mov dword [esp + 0x10], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
call fcn.00452bc0
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x10], edi
je 0x41e3ac
lea eax, [esp + 0x18]
push eax
mov ecx, 0x493b48
call fcn.00414c95
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov dword [esi + 8], eax
cmp dword [ecx + 8], edi
jne 0x41e3f6
call ebx
mov dword [esp + 0x10], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
call fcn.00452bc0
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x10], edi
je 0x41e3f6
lea eax, [esp + 0x18]
push eax
mov ecx, 0x493b5c
jmp 0x41e3a7
lea eax, [esp + 0x14]
push eax
push edi
push esi
push 0x41e48d
push dword [ebp + 0xc]
mov dword [esp + 0x28], edi
push edi
call fcn.0043f8f9
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx + 4], eax
cmp eax, edi
jne 0x41e469
call ebx
mov ebx, eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
cmp dword [esp + 0xc], edi
je 0x41e438
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp eax, edi
je 0x41e449
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x18], ebx
call fcn.00452bc0
mov dword [esp + 0x1c], eax
cmp ebx, edi
je 0x41e469
lea eax, [esp + 0x18]
push eax
mov ecx, 0x493b70
jmp 0x41e3a7
cmp dword [esp + 0xc], edi
je 0x41e485
push 0xffffffffffffffff
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4231f9
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4b5ed4
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x423241
call dword [sym.imp.KERNEL32.dll_TerminateThread]
leave
ret
push method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_56
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
leave
ret

Function at 0x425c26
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
cmp dword [ebp + 8], 0xffffffff
push ebx
push esi
push edi
mov esi, eax
je 0x425cf8
cmp byte [ebp + 0x10], 0
je 0x425c7c
mov edi, dword [ebp + 0xc]
test byte [edi], 8
je 0x425c7c
xor eax, eax
mov word [ebp - 8], ax
mov word [ebp - 6], ax
call fcn.00452bc0
push 4
lea eax, [ebp - 8]
push eax
push 0xffff
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov edx, 0x80
mov eax, edi
call fcn.00425eb6
add esp, 0x10
mov edi, dword [sym.imp.WS2_32.dll_WSASetLastError]
push 0
call edi
push dword [ebp + 8]
mov ebx, dword [sym.imp.WS2_32.dll_closesocket]
call ebx
push eax
call fcn.0042a2b6
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x425cf8
call fcn.00452bc0
cmp dword [esi + 4], eax
jne 0x425cb1
cmp dword [esi], 0x2733
je 0x425cc3
call fcn.00452bc0
cmp dword [esi + 4], eax
jne 0x425cf2
cmp dword [esi], 0x4d5
jne 0x425cf2
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x8004667e
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, dword [ebp + 0xc]
and byte [eax], 0xfc
push 0
call edi
push dword [ebp + 8]
call ebx
push eax
call fcn.0042a2b6
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x425d04
xor edi, edi
call fcn.00452bc0
mov dword [esi], edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x425d0c
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0xffffffff
push esi
push edi
mov esi, eax
mov edi, ecx
jne 0x425d2f
mov edi, 0x2719
call fcn.00452bc0
mov dword [esi + 4], eax
mov dword [esi], edi
xor al, al
jmp 0x425d71
push ebx
xor ebx, ebx
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
lea eax, [ebp - 4]
push eax
push 0x8004667e
push dword [ebp + 8]
mov dword [ebp - 4], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
push eax
call fcn.0042a2b6
pop ecx
test eax, eax
js 0x425d6e
call fcn.00452bc0
mov dword [esi + 4], eax
mov dword [esi], ebx
or byte [edi], 2
mov al, 1
jmp 0x425d70
xor al, al
pop ebx
pop edi
pop esi
leave
ret
Function at 0x425d75
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0xffffffff
push esi
push edi
mov esi, eax
jne 0x425d96
mov edi, 0x2719
call fcn.00452bc0
mov dword [esi + 4], eax
mov dword [esi], edi
or eax, 0xffffffff
jmp 0x425dc9
push ebx
xor edi, edi
push edi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_connect]
push eax
call fcn.0042a2b6
mov ebx, eax
pop ecx
cmp ebx, edi
jne 0x425dc6
call fcn.00452bc0
mov dword [esi], edi
mov dword [esi + 4], eax
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x425dcd
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
push edi
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push edi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
mov dword [ebp - 8], edi
call dword [sym.imp.WS2_32.dll_WSARecv]
push eax
call fcn.0042a2b6
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
pop ecx
cmp eax, 0x40
jne 0x425e17
mov ebx, 0x2746
jmp 0x425e23
cmp eax, 0x4d2
jne 0x425e2d
mov ebx, 0x274d
call fcn.00452bc0
mov dword [esi + 4], eax
mov dword [esi], ebx
cmp dword [ebp - 0xc], edi
je 0x425e37
or eax, 0xffffffff
jmp 0x425e44
call fcn.00452bc0
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [esi], edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x425eb6
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
or ebx, 0xffffffff
push edi
mov esi, ecx
mov edi, edx
cmp dword [ebp + 8], ebx
jne 0x425ecf
mov edi, 0x2719
jmp 0x425f4c
cmp dword [ebp + 0xc], 0xa5100000
jne 0x425f0e
cmp edi, 2
jne 0x425ee4
mov edi, 0x2726
jmp 0x425f4c
cmp edi, 1
jne 0x425f22
cmp dword [ebp + 0x14], 4
jne 0x425edd
mov ecx, dword [ebp + 0x10]
xor edi, edi
cmp dword [ecx], edi
je 0x425efd
or byte [eax], 4
jmp 0x425f00
and byte [eax], 0xfb
call fcn.00452bc0
mov dword [esi + 4], eax
mov dword [esi], edi
xor eax, eax
jmp 0x425f58
cmp dword [ebp + 0xc], 0xffff
jne 0x425f22
cmp edi, 0x80
jne 0x425f22
or byte [eax], 8
push 0
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
push eax
call fcn.0042a2b6
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x425f56
xor edi, edi
call fcn.00452bc0
mov dword [esi + 4], eax
mov dword [esi], edi
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x425fc4
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ebx, ebx
push ebx
mov esi, eax
mov edi, ecx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
cmp dword [ebp + 0xc], ebx
jne 0x426018
cmp dword [ebp + 0x10], ebx
jne 0x426018
cmp dword [ebp + 0x14], ebx
jne 0x426018
cmp edi, ebx
je 0x426033
mov eax, dword [edi + 4]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, dword [edi]
imul ecx, ecx, 0x3e8
add eax, ecx
jne 0x426002
inc eax
push eax
call sub.KERNEL32.dll_Sleep
xor edi, edi
call fcn.00452bc0
mov dword [esi + 4], eax
mov dword [esi], edi
xor eax, eax
jmp 0x426061
cmp edi, ebx
je 0x426033
cmp dword [edi], ebx
jne 0x426033
mov eax, dword [edi + 4]
cmp eax, ebx
jle 0x426033
mov ecx, 0x3e8
cmp eax, ecx
jge 0x426033
mov dword [edi + 4], ecx
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_select]
push eax
call fcn.0042a2b6
mov ebx, eax
pop ecx
test ebx, ebx
js 0x42605f
xor edi, edi
call fcn.00452bc0
mov dword [esi], edi
mov dword [esi + 4], eax
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x42674d
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
lea eax, [ebp - 5]
xor ebx, ebx
push esi
mov byte [ebp - 5], bl
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 1
call fcn.00452bc0
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
push ebx
call dword [sym.imp.WS2_32.dll_WSASetLastError]
push ebx
push ebx
push ebx
lea eax, [ebp + 8]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp + 8], ebx
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call fcn.00452bc0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
je 0x4267a9
cmp eax, 0x4d2
jne 0x4267ae
call fcn.00452bc0
cmp esi, ebx
jne 0x4267b7
call fcn.00452bc0
pop esi
pop ebx
leave
ret 4

Function at 0x4270ff
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
mov eax, dword [ebx + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [ebp + 0x18], 0
je 0x42711e
push 0
push 0
jmp 0x42712f
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x427139
push 0
push 0x2719
mov eax, dword [ebx + 4]
call fcn.00425bba
jmp 0x42718d
and dword [ebp + 0x18], 0
push edi
push 0
push esi
push dword [ebp + 0x14]
lea ecx, [ebp + 0x18]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
jne 0x427169
mov eax, 0x274d
test edi, edi
je 0x427182
cmp eax, 0x3e5
je 0x427182
push dword [ebp + 0x18]
push eax
mov eax, dword [ebx + 4]
call fcn.00425bba
jmp 0x42718c
mov eax, dword [ebx + 4]
mov edi, esi
call fcn.00425b5b
pop edi
pop esi
pop ebp
ret 0x14

Function at 0x427192
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
mov eax, dword [ebx + 4]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp byte [ebp + 0x18], 0
je 0x4271b1
push 0
push 0
jmp 0x4271c2
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x4271cc
push 0
push 0x2719
mov eax, dword [ebx + 4]
call fcn.00425bba
jmp 0x427233
mov ecx, dword [ebp + 0x14]
and dword [ebp + 0x18], 0
push edi
push 0
push esi
mov dword [ebp + 8], ecx
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp + 0x18]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_WSARecv]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
jne 0x427203
mov eax, 0x2746
jmp 0x42720f
cmp eax, 0x4d2
jne 0x42720f
mov eax, 0x274d
test edi, edi
je 0x427228
cmp eax, 0x3e5
je 0x427228
push dword [ebp + 0x18]
push eax
mov eax, dword [ebx + 4]
call fcn.00425bba
jmp 0x427232
mov eax, dword [ebx + 4]
mov edi, esi
call fcn.00425b5b
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x43275f
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x4a83e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x420], eax
xor eax, eax
mov esi, 0x208
xor edi, edi
push esi
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push edi
push eax
mov ebx, ecx
mov dword [ebp - 0x434], edi
call fcn.0043fd80
xor eax, eax
push esi
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push edi
push eax
call fcn.0043fd80
add esp, 0x18
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x430], edi
cmp ebx, edi
je 0x432927
xor eax, eax
cmp ax, word [ebx]
je 0x432927
cmp dword [ebp - 0x420], edi
je 0x432927
push esi
push edi
push dword [ebp - 0x420]
call fcn.0043fd80
add esp, 0xc
push edi
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
cmp esi, edi
je 0x43291f
push esi
call fcn.0043ec7c
pop ecx
mov dword [ebp - 0x428], eax
cmp eax, edi
je 0x43291f
push eax
push esi
push edi
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x432913
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x430]
push eax
push 0x495170
push dword [ebp - 0x428]
call esi
test eax, eax
je 0x432913
xor ebx, ebx
test dword [ebp - 0x424], 0xfffffffc
jbe 0x4328f1
mov eax, dword [ebp - 0x430]
lea eax, [eax + ebx*4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
push 0x4951a8
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.0045f51a
add esp, 0x18
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x428]
mov dword [ebp - 0x42c], edi
call esi
test eax, eax
jne 0x4328d9
mov eax, dword [ebp - 0x424]
inc ebx
shr eax, 2
cmp ebx, eax
jb 0x432875
jmp 0x4328f1
push 0x104
push dword [ebp - 0x42c]
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x104
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 0x434], 1
push dword [ebp - 0x428]
call fcn.0043ec87
pop ecx
mov eax, dword [ebp - 0x434]
jmp 0x432929
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e1a7
leave
ret
Function at 0x43296d
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4a83e0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0043fd80
push 0x4951f4
push edi
call fcn.004546e1
add esp, 0x14
test eax, eax
lea eax, [ebp - 0x210]
jne 0x4329ed
push ebx
push esi
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
sub esi, ebx
push esi
push edi
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.00454549
add esp, 0x10
pop esi
pop ebx
jmp 0x432a01
push 0x104
push edi
push 0x105
push eax
call fcn.0044838d
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432a16
xor eax, eax
jmp 0x432a27
push 0
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e1a7
leave
ret

Function at 0x432b0b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4a83e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
mov esi, 0xfffffc18
mov dword [ebp - 0x118], 0x114
call fcn.0043fd80
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x432c89
cmp dword [ebp - 0x108], 2
jne 0x432c89
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x110]
mov dword [edi], eax
mov dword [ebx], ecx
cmp eax, 5
jne 0x432c04
test ecx, ecx
jne 0x432b8b
xor esi, esi
inc esi
jmp 0x432c89
cmp ecx, 1
jne 0x432bf3
push 0x7f
lea eax, [ebp - 0x104]
push eax
push 0x48fc98
call fcn.0043efb8
add esp, 0xc
test eax, eax
jne 0x432bae
push 3
jmp 0x432bfe
push 0x7f
lea eax, [ebp - 0x104]
push eax
push 0x48fcb8
call fcn.0043efb8
add esp, 0xc
test eax, eax
jne 0x432bcc
push 4
jmp 0x432bfe
push 0x7f
lea eax, [ebp - 0x104]
push eax
push 0x48fcd8
call fcn.0043efb8
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffffd
add esi, 5
jmp 0x432c89
cmp ecx, 2
jne 0x432c89
push 6
pop esi
jmp 0x432c89
cmp eax, 6
jne 0x432c82
test ecx, ecx
jne 0x432c4f
push 0x7f
lea eax, [ebp - 0x104]
push eax
push 0x48fc98
call fcn.0043efb8
add esp, 0xc
test eax, eax
jne 0x432c2b
push 8
jmp 0x432bfe
push 0x7f
lea eax, [ebp - 0x104]
push eax
push 0x48fcb8
call fcn.0043efb8
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
and esi, 0xfffffffe
add esi, 9
jmp 0x432c89
cmp ecx, 1
jne 0x432c58
push 0xa
jmp 0x432bfe
call fcn.00432adc
movzx eax, ax
cmp eax, 2
jne 0x432c69
push 0xb
jmp 0x432bfe
xor ecx, ecx
cmp eax, 3
setne cl
lea esi, [ecx - 1]
and esi, 0xfffffc24
add esi, 0x3e8
jmp 0x432c89
jbe 0x432c89
mov esi, 0x3e8
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043e1a7
leave
ret
Function at 0x432df4
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a83e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x20], eax
mov eax, dword [ecx]
push edi
mov esi, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
xor edi, edi
sub esi, eax
lea eax, [esi + edi*4]
mov eax, dword [ebp + eax - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + edi*4 - 0x14], eax
inc edi
cmp edi, 4
jl 0x432e41
push 0x10
xor eax, eax
pop esi
mov edi, ecx
shr edi, 5
add edi, dword [ebp - 0x10]
mov ebx, ecx
shl ebx, 4
add ebx, dword [ebp - 0x14]
sub eax, 0x61c88647
xor edi, ebx
lea ebx, [eax + ecx]
xor edi, ebx
add edx, edi
mov edi, edx
shr edi, 5
add edi, dword [ebp - 8]
mov ebx, edx
shl ebx, 4
add ebx, dword [ebp - 0xc]
xor edi, ebx
lea ebx, [eax + edx]
xor edi, ebx
add ecx, edi
dec esi
jne 0x432e6a
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e1a7
leave
ret
Function at 0x432ee1
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a83e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x20], eax
mov eax, dword [ecx]
push edi
mov esi, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
xor edi, edi
sub esi, eax
lea eax, [esi + edi*4]
mov eax, dword [ebp + eax - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + edi*4 - 0x14], eax
inc edi
cmp edi, 4
jl 0x432f2e
push 0x10
mov eax, 0xe3779b90
pop esi
mov edi, edx
shr edi, 5
add edi, dword [ebp - 8]
mov ebx, edx
shl ebx, 4
add ebx, dword [ebp - 0xc]
xor edi, ebx
lea ebx, [eax + edx]
xor edi, ebx
sub ecx, edi
mov edi, ecx
shr edi, 5
add edi, dword [ebp - 0x10]
mov ebx, ecx
shl ebx, 4
add ebx, dword [ebp - 0x14]
xor edi, ebx
lea ebx, [eax + ecx]
xor edi, ebx
sub edx, edi
add eax, 0x61c88647
dec esi
jne 0x432f5a
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x1c]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e1a7
leave
ret