joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c4fc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45c6a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45c688
mov dl, 1
mov eax, dword [0x412e80]
call fcn.00403bec
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404afc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45c677
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044db68
test al, al
je 0x45c66a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45c6b8
lea eax, [ebp - 0x254]
call fcn.00409ba8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45c66a
xor eax, eax
push ebp
push 0x45c663
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45c6f0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45c64c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d6c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45c64c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404d6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c66a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45c56d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00416bc8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c6ae
lea eax, [ebp - 0x260]
call fcn.00404afc
ret

Function at 0x45d020
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x472c9c]
cmp byte [eax + 0xad], 0
jne 0x45d091
cmp dword [0x472cb8], 0
jne 0x45d052
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45cfdc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x472cb8], eax
cmp dword [0x472cb4], 0
jne 0x45d06d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x472cb4], eax
cmp dword [0x472cbc], 0
jne 0x45d091
push esp
push 0
push 0
push 0x45cf80
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x472cbc], eax
pop edx
ret
Function at 0x45d294
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45d2ab
add esp, 0xfffffff0
call fcn.00403f40
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041adb0
mov eax, dword [0x46dbb4]
cmp word [eax + 2], 0
jne 0x45d2d3
mov eax, dword [0x46dbb4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ef9c
mov eax, dword [0x46dc70]
cmp word [eax + 2], 0
jne 0x45d2ed
mov eax, dword [0x46dc70]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f1a8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412a5c]
call fcn.00403bec
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412a5c]
call fcn.00403bec
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x412a5c]
call fcn.00403bec
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x420910]
call fcn.00428018
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45d4a4
mov eax, dword [0x46dab8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004283ec
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45f87c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46dab8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d5cc
test eax, eax
je 0x45d3f4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040954c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d600
test eax, eax
je 0x45d408
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404d6c
mov byte [ebx + 0xd4], 0
push ebx
push 0x45ea10
call fcn.0041bf2c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x46d990]
cmp byte [eax], 0
jne 0x45d459
mov eax, ebx
call fcn.0045d5e8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045fa60
mov eax, ebx
call fcn.004605c4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d499
call fcn.00403f98
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d868
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45d907
cmp dword [ebx + 0x94], 0
jne 0x45d901
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d7f0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d901
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45d8c7
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d901
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414e70
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d8d6
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45db20
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x472c9c]
cmp dword [eax + 0x30], 0
je 0x45dc7d
test bl, bl
jne 0x45dbce
cmp dword [esi + 0x9c], 0
jne 0x45dbc3
mov eax, esi
call fcn.00460440
push eax
push 0x45da4c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45db94
mov eax, dword [0x472c9c]
call fcn.00460b20
test al, al
je 0x45db94
mov eax, dword [0x472cc0]
call fcn.00405b00
mov edi, eax
cmp edi, 0
jl 0x45db94
push 0
mov eax, dword [0x472cc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45db7e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45dbc3
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414e70
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45dba3
inc dword [esi + 0x9c]
jmp 0x45dc7d
cmp dword [esi + 0x9c], 0
jle 0x45dc7d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45dc7d
cmp dword [esi + 0x44], 0
je 0x45dc29
mov eax, dword [0x472c9c]
call fcn.00460b20
test al, al
je 0x45dc29
mov eax, dword [0x472cc0]
call fcn.00405b00
mov edi, eax
cmp edi, 0
jl 0x45dc29
push 5
mov eax, dword [0x472cc0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45dc13
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45dc58
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00414e70
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45dc38
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x472cc0
mov ecx, 1
mov edx, dword [0x45da2c]
call fcn.00405cb4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45e764
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45e7ce
mov eax, ebx
call fcn.00460b20
test al, al
jne 0x45e7ce
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404bec
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45e7bb
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45e7db
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b50
jmp 0x45e7db
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b50
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45fc44
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45fcb2
mov eax, esi
call fcn.00448750
test al, al
je 0x45fcb2
mov eax, dword [ebx + 0x84]
call fcn.004483b0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45fcb2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45fca6
push 0
mov eax, dword [ebx + 0x84]
call fcn.004483b0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00440230
jmp 0x45fcb2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045fa80
pop esi
pop ebx
ret

Function at 0x46115c
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x46116c
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x461181
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x461284
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.004611f0
mov esi, eax
mov eax, ebx
call fcn.00403c1c
mov eax, esi
pop esi
pop ebx
ret

Function at 0x4616b0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe2c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x461750
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1d4]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x44]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x46173a
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x461713
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 4]
call fcn.00404cf4
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x461701
call sub.wsock32.dll_WSACleanup
cmp dword [ebp - 4], 0
je 0x461734
mov eax, dword [ebp - 4]
mov edx, 0x461768
call fcn.00404f24
jne 0x461738
xor ebx, ebx
jmp 0x46173a
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461757
lea eax, [ebp - 4]
call fcn.00404afc
ret
Function at 0x461774
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffffff0
lea eax, [esp + 0xc]
push eax
push 0x4617e0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x4617d1
mov dword [esp], 4
push esp
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x461810
mov eax, dword [esp + 0x20]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4617be
cmp byte [esp + 4], 1
sete bl
jmp 0x4617c5
call fcn.004616b0
mov ebx, eax
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4617d8
call fcn.004616b0
mov ebx, eax
mov eax, ebx
add esp, 0x10
pop ebx
ret

Function at 0x461c0c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f7c
xor eax, eax
push ebp
push 0x461ccd
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x461ce4
call fcn.004050d8
test eax, eax
jne 0x461c54
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x461cf0
call fcn.00404e14
test bl, bl
je 0x461c93
lea edx, [ebp - 8]
mov eax, 0x461d00
call fcn.0046188c
cmp dword [ebp - 8], 0
je 0x461c93
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00404f8c
push eax
mov eax, dword [ebp - 8]
call fcn.00404f8c
push eax
push 0x461d08
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x461cb2
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404f8c
push eax
push 0x461d08
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461cd4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b20
ret

Function at 0x461d10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x461dc6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x106]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x106]
call fcn.00409738
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0040d400
mov eax, dword [ebx]
call fcn.00461dd4
test al, al
jne 0x461da8
lea edx, [ebp - 0x114]
mov eax, dword [0x46dc50]
mov eax, dword [eax]
call fcn.0045f594
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.00409304
mov eax, dword [ebp - 0x110]
mov edx, ebx
call fcn.0040d400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461dcd
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.00404b20
ret

Function at 0x461dd4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404f8c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x461ded
test al, 0x10
jne 0x461df1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x462354
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f7c
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x4624db
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x4624f8
call fcn.004050d8
test eax, eax
jne 0x46239f
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x462504
call fcn.00404e14
mov eax, esi
mov edx, 0x3c
call fcn.0046335c
mov dword [esi + 8], 0x21
mov dword [esi + 0x14], 0x101
mov dword [esi + 0x20], 0x81
mov dword [esi + 0x28], 0x81
mov dword [esi + 0x30], 0x801
mov dword [esi + 0x38], 0x801
mov eax, 0x21
call fcn.00402e80
mov dword [esi + 4], eax
mov eax, 0x101
call fcn.00402e80
mov dword [esi + 0x10], eax
mov eax, 0x81
call fcn.00402e80
mov dword [esi + 0x1c], eax
mov eax, 0x81
call fcn.00402e80
mov dword [esi + 0x24], eax
mov eax, 0x801
call fcn.00402e80
mov dword [esi + 0x2c], eax
mov eax, 0x801
call fcn.00402e80
mov dword [esi + 0x34], eax
push esi
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404dbc
push eax
mov eax, dword [ebp - 4]
call fcn.00404f8c
push eax
call sub.wininet.dll_InternetCrackUrlA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x462495
mov eax, edi
mov edx, dword [esi + 4]
call fcn.00404cf4
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x10]
call fcn.00404cf4
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x2c]
call fcn.00404cf4
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x1c]
call fcn.00404cf4
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x24]
call fcn.00404cf4
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
call fcn.00404cf4
mov eax, dword [ebp + 8]
movzx edx, word [esi + 0x18]
mov word [eax], dx
mov eax, dword [esi + 4]
call fcn.00402e9c
mov eax, dword [esi + 0x10]
call fcn.00402e9c
mov eax, dword [esi + 0x1c]
call fcn.00402e9c
mov eax, dword [esi + 0x24]
call fcn.00402e9c
mov eax, dword [esi + 0x2c]
call fcn.00402e9c
mov eax, dword [esi + 0x34]
call fcn.00402e9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4624e2
lea eax, [ebp - 4]
call fcn.00404afc
ret
Function at 0x463134
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov esi, eax
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
mov eax, esi
call fcn.00404f8c
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x4631f1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
call sub.kernel32.dll_GetFileTime
fld qword [ebp + 0x18]
fcomp dword [0x4631fc]
wait
fnstsw ax
sahf
je 0x463199
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
lea eax, [ebp - 8]
call fcn.004630e0
fld qword [ebp + 8]
fcomp dword [0x4631fc]
wait
fnstsw ax
sahf
je 0x4631b6
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x10]
call fcn.004630e0
fld qword [ebp + 0x10]
fcomp dword [0x4631fc]
wait
fnstsw ax
sahf
je 0x4631d3
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [ebp - 0x18]
call fcn.004630e0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
call sub.kernel32.dll_SetFileTime
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x46323c
Capabilities:
Get file size

Disassembly:
push ebx
add esp, 0xfffffff4
mov ebx, eax
mov dword [esp], 0xffffffff
mov dword [esp + 4], 0xffffffff
push 0
push 0x80
push 3
push 0
push 3
push 0
mov eax, ebx
call fcn.00404f8c
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x463297
lea eax, [esp + 8]
push eax
push ebx
call sub.kernel32.dll_GetFileSize
mov edx, eax
mov eax, dword [esp + 8]
call fcn.00463200
mov dword [esp], eax
mov dword [esp + 4], edx
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [esp]
mov edx, dword [esp + 4]
add esp, 0xc
pop ebx
ret

Function at 0x4632a4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, eax
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
je 0x463327
push ecx
push edx
push edi
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x463327
push ebx
push edi
call sub.kernel32.dll_LoadResource
mov esi, eax
test esi, esi
je 0x463327
push esi
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
push esi
call sub.kernel32.dll_FreeResource
cmp dword [ebp - 8], 0
je 0x463327
push ebx
push edi
call sub.kernel32.dll_SizeofResource
test eax, eax
je 0x463327
xor edx, edx
push ebp
push 0x46331d
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 8]
mov ecx, eax
mov eax, dword [ebp + 8]
call fcn.00416f50
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x463327
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x463eac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x463ec5
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x463ed2
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x463ef0
cld
pop edi
pop esi
movzx ecx, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x463f14
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
mov dword [ebp - 0x184], ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0x80]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
movzx ecx, byte [ebp - 0x80]
lea edx, [ebp - 0x7f]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
push esi
push edi
xor eax, eax
lea esi, [ebp - 0x80]
lodsb al, byte [esi]
push esi
push eax
mov ecx, eax
mov edx, eax
mov edi, esi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x463f5a
pop eax
pop esi
lea edi, [ebp - 0x100]
mov cl, byte [esi]
inc ecx
sub eax, ecx
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x180]
stosb byte es:[edi], al
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, esi
lea edx, [ebp - 0x100]
call fcn.00404d60
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.00404d60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4644ec
Capabilities:
Read data from internet
Read file on windows
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp byte [eax - 0x1009], 0
je 0x46453d
push 0
mov eax, dword [ebp + 8]
add eax, 0xffffeff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1010]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x130]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x168]
push eax
call sub.kernel32.dll_ReadFile
cmp eax, 1
sbb eax, eax
inc eax
pop ebp
ret
mov eax, dword [ebp + 8]
add eax, 0xffffeff8
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1010]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x130]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1004]
mov eax, dword [eax + 0x164]
push eax
call sub.wininet.dll_InternetReadFile
cmp eax, 1
sbb eax, eax
inc eax
pop ebp
ret