joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469bc0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4f2b58]
cmp dword [eax + 0x30], 0
je 0x469c6a
cmp dword [ebx + 0x94], 0
jne 0x469c64
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x469b50
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x469c64
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 0x469c2a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x469c64
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.0041dc48
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x469c39
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46a7cc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46a801
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.00404d28
jmp 0x46a80e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c8c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46b7bc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46b7fd
mov eax, esi
call fcn.00480900
test al, al
je 0x46b7fd
mov eax, dword [ebx + 0x84]
call fcn.004805fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46b7fd
push 0
mov eax, dword [ebx + 0x84]
call fcn.004805fc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46ec80
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404c38
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x46eccf
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404eb8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477904
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4f2bd8], 0
je 0x477a53
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4f1174]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x477a53
mov eax, dword [0x4f2bdc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4f2bd8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x477a22
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4f2bd8]
call fcn.0041dc48
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x477a1a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x477a1a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x477a1a
mov eax, dword [ebp - 0x14]
call fcn.004805fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x477a1a
push ebp
call fcn.004778c0
pop ecx
test al, al
jne 0x477a1a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4779d6
mov eax, dword [ebp - 0x14]
call fcn.0047f0f4
dec eax
jle 0x477a1a
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403fd0
cmp byte [ebp - 1], 0
je 0x477a1a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x477a1a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4f2bdc]
call fcn.0047708c
inc edi
dec ebx
jne 0x477969
mov eax, dword [0x4f2bdc]
cmp dword [eax + 8], 0
jle 0x477a3a
mov eax, dword [0x4f2bdc]
call fcn.0047711c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x477a53
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00477728
pop ecx
test al, al
jne 0x477a53
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47b05c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x47b0a8
mov eax, esi
call fcn.004619b8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47b0a8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x47b0a8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x47b1e7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x47b0e8
cmp eax, 0x108
ja 0x47b0e8
mov eax, esi
call fcn.004619b8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47b1de
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x47b1e7
jmp 0x47b1de
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x47b1c7
cmp eax, 0x20a
ja 0x47b1c7
test byte [esi + 0x50], 0x80
jne 0x47b11a
sub eax, 0x203
je 0x47b117
sub eax, 3
je 0x47b117
sub eax, 3
jne 0x47b11a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x47b12e
dec eax
je 0x47b143
dec eax
je 0x47b160
dec eax
je 0x47b143
jmp 0x47b167
mov ecx, ebx
mov eax, dword [0x4f1174]
mov eax, dword [eax]
mov edx, esi
call fcn.0046b674
jmp 0x47b1de
cmp byte [esi + 0x5d], 1
jne 0x47b159
mov eax, esi
mov si, 0xffed
call fcn.00403fd0
jmp 0x47b1e7
or word [esi + 0x54], 1
jmp 0x47b1de
and word [esi + 0x54], 0xfffe
jmp 0x47b1de
mov eax, dword [0x4f2b94]
cmp byte [eax + 0x20], 0
je 0x47b1de
mov eax, dword [0x4f2b94]
cmp dword [eax + 0x1c], 0
je 0x47b1de
mov eax, dword [ebx]
mov edx, dword [0x4f2b94]
cmp eax, dword [edx + 0x1c]
jne 0x47b1de
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004618fc
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403fd0
jmp 0x47b1e7
cmp eax, 0xb00b
jne 0x47b1de
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0047997c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e754
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x47e770
cmp dword [esi + 4], 0
je 0x47e79d
test byte [ebx + 0x55], 1
jne 0x47e78f
mov eax, ebx
call fcn.0047d2f4
test eax, eax
jne 0x47e78f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x47e8ad
mov edx, esi
mov eax, ebx
call fcn.0047e278
jmp 0x47e8ad
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x47e8a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004805fc
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0047af90
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0047e754
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004805fc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e8ad
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x481c74
Capabilities:
Check for time delay via gettickcount
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x4f1320]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x481e4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00479e0c
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0047b034
mov eax, dword [esi]
call fcn.004685b4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x481ce6
mov eax, dword [esi]
call fcn.004685b4
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.004685c0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x481d0a
mov eax, dword [esi]
call fcn.004685c0
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.004685a8
cmp eax, dword [ebp - 0x18]
jle 0x481d20
mov eax, dword [esi]
call fcn.004685a8
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0046859c
cmp eax, dword [ebp - 0xc]
jle 0x481d36
mov eax, dword [esi]
call fcn.0046859c
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.004805fc
push eax
call sub.user32.dll_SetWindowPos
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x481dfd
mov eax, ebx
call fcn.00404f08
cmp eax, 0x64
jge 0x481dfd
cmp dword [0x4f01e8], 0
je 0x481dfd
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x481dfd
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x481dc0
mov bl, 2
jmp 0x481ddb
lea edx, [ebp - 0x20]
mov eax, dword [0x4f2b94]
call fcn.00484f0c
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x481dd9
xor ebx, ebx
jmp 0x481ddb
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x4f02f0]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.004805fc
push eax
call dword [0x4f01e8]
mov eax, dword [0x4f1174]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.0047dcf8
push 4
mov eax, dword [ebp - 4]
call fcn.004805fc
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481e54
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x48501c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4f134c]
cmp byte [eax + 0xc], 0
je 0x485189
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x485182
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f2be8], 0
jne 0x485070
push 0x485190
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x485198
push ebx
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4f2be8], eax
cmp dword [0x4f0318], 0
jne 0x48516b
push 0x4851a8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4f0318], eax
cmp dword [0x4f0318], 0
je 0x48516b
push 0x4851b4
mov eax, dword [0x4f0318]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4f2bec], eax
push 0x4851c4
mov eax, dword [0x4f0318]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4f2bf0], eax
push 0x4851d8
mov eax, dword [0x4f0318]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4f2bf4], eax
push 0x4851f0
mov eax, dword [0x4f0318]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4f2bf8], eax
push 0x485208
mov eax, dword [0x4f0318]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4f2bfc], eax
push 0x48521c
mov eax, dword [0x4f0318]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4f2c00], eax
push 0x485234
mov eax, dword [0x4f0318]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4f2c04], eax
push 0x48524c
mov eax, dword [0x4f0318]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4f2c08], eax
push 0x485268
mov eax, dword [0x4f0318]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4f2c0c], eax
push 0x485274
mov eax, dword [0x4f0318]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x4f2c10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485189
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x485b40
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41a978]
call fcn.004059ac
xor eax, eax
push ebp
push 0x485c84
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4f0324], 0
jne 0x485b93
mov ecx, dword [0x4f0e50]
mov dl, 1
mov eax, dword [0x409964]
call fcn.0040f658
call fcn.004045a8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403344
mov eax, ebx
call fcn.004055cc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x485c94
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406b24
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004055dc
test eax, eax
jle 0x485c2b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x485c24
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404ed0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404eb8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040a894
test eax, eax
jne 0x485c24
mov ebx, 0x15
jmp 0x485c30
mov ebx, 0x10
jmp 0x485c30
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4f0324]
call fcn.00485a98
mov eax, dword [ebp - 8]
call fcn.00485a98
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406b3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485c8b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404c5c
lea eax, [ebp - 0x10]
mov edx, dword [0x41a978]
call fcn.00405a7c
ret
Function at 0x48b1ec
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48b2c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4f0ed8]
cmp byte [eax], 0
je 0x48b244
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
lea eax, [ebp - 4]
mov edx, esi
call fcn.004054f8
mov eax, dword [ebp - 4]
call fcn.0048aa44
push eax
push ebx
call sub.shell32.dll_ShellExecuteW
mov ebx, eax
jmp 0x48b29e
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 8]
mov edx, dword [ebp + 0xc]
call fcn.00404e70
mov eax, dword [ebp - 8]
call fcn.0048aa24
push eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp + 0x10]
call fcn.00404e70
mov eax, dword [ebp - 0xc]
call fcn.0048aa24
push eax
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404e70
mov eax, dword [ebp - 0x10]
call fcn.0048aa24
push eax
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.00404e70
mov eax, dword [ebp - 0x14]
call fcn.0048aa24
push eax
push ebx
call sub.shell32.dll_ShellExecuteA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48b2c8
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404c5c
lea eax, [ebp - 4]
call fcn.00405390
ret

Function at 0x48b47c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor esi, esi
mov eax, ebx
call fcn.00408320
cmp ax, 0xffff
jne 0x48b49d
neg ebx
mov eax, ebx
shr eax, 4
and eax, 0xffff
inc eax
and ebx, 0xf
push 6
push eax
push edi
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x48b529
push eax
push edi
call sub.kernel32.dll_LoadResource
mov edi, eax
test edi, edi
je 0x48b529
push edi
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
mov eax, ebx
dec eax
test eax, eax
jl 0x48b4ea
inc eax
mov edx, dword [ebp - 8]
movzx edx, word [edx]
add edx, edx
add edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
dec eax
jne 0x48b4d6
mov eax, dword [ebp - 8]
movzx esi, word [eax]
add dword [ebp - 8], 2
cmp dword [ebp - 4], 0
je 0x48b529
cmp dword [ebp + 8], 0
jle 0x48b529
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.00431c9c
mov esi, eax
test esi, esi
jle 0x48b520
mov ecx, esi
add ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408334
mov eax, dword [ebp - 4]
mov word [eax + esi*2], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x48c220
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x48c284
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404eb8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040aee4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48c28b
lea eax, [ebp - 0xc]
call fcn.00404c38
ret

Function at 0x48c4fc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov ebx, ecx
mov edi, edx
mov esi, eax
test ebx, ebx
je 0x48c515
cmp dword [ebx], 0
jne 0x48c60f
mov dword [esp], esi
lea eax, [esp + 8]
push eax
push 0x40
push 6
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x48c534
call fcn.00410b98
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0xc]
cmp word [eax], 0x25ff
jne 0x48c596
add dword [esp + 0xc], 2
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0xc]
push eax
push 6
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x48c573
call fcn.00410b98
mov eax, dword [esp + 0xc]
mov dword [esp], eax
lea eax, [esp + 8]
push eax
push 0x40
push 6
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x48c596
call fcn.00410b98
test ebx, ebx
je 0x48c5af
lea edx, [ebx + 4]
mov eax, dword [esp]
mov ecx, 6
call fcn.00402d64
mov eax, dword [esp]
mov dword [ebx], eax
mov eax, dword [esp]
mov byte [eax], 0xe9
mov eax, edi
sub eax, dword [esp + 0xc]
sub eax, 5
mov edx, eax
and dl, 0xff
mov ecx, dword [esp]
mov byte [ecx + 1], dl
mov edx, eax
shr edx, 8
and dl, 0xff
mov ecx, dword [esp]
mov byte [ecx + 2], dl
mov edx, eax
shr edx, 0x10
and dl, 0xff
mov ecx, dword [esp]
mov byte [ecx + 3], dl
shr eax, 0x18
and al, 0xff
mov edx, dword [esp]
mov byte [edx + 4], al
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0xc]
push eax
push 6
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x48c60f
call fcn.00410b98
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x48c618
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x48c674
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x48c643
call fcn.00410b98
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00402d64
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x48c674
call fcn.00410b98
add esp, 0x14
pop edi
pop esi
pop ebx
ret