joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44aa30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44aa63
push esi
call fcn.0044db20
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44aa5c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44aae9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44aad2
mov eax, dword [esi + 8]
test eax, eax
je 0x44aa87
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44aace
cmp eax, 2
je 0x44aad2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44aa7a
cmp eax, 3
je 0x44aaad
cmp eax, 1
jne 0x44aa7a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44aa7a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44aa7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044ab10
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44aaf8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044ab10
add esp, 4
pop esi
ret

Function at 0x459450
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4594f3
test eax, eax
jbe 0x4594f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4594f3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45949e
xor esi, esi
jmp 0x4594a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4594cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0040c920
add esi, eax
push esi
mov ebx, esi
call fcn.0040c920
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4594b0
pop ebp
test edi, edi
pop edi
jne 0x4594f3
test ebx, ebx
je 0x4594f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00465400
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x459895
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4599ad
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4599ad
mov eax, dword [esi + 0x3c]
push eax
call fcn.00476081
mov esi, eax
test esi, esi
je 0x4599ad
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4599ad
mov ecx, esi
call fcn.00459730
cmp edi, eax
jge 0x4599ad
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x459933
mov dword [esp + 0x34], 1
jmp 0x45998e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4599ad
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00456c40
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x476a25
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x476a5d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00474ab2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00474a8a
jmp 0x476a69
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x478113
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x478155
call fcn.0047dc0d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x478155
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47814c
xor eax, eax
jmp 0x47815d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00478163
pop edi
pop esi
pop ebx
ret 4
Function at 0x47e13d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47e16b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47e189
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047e0a3
jmp 0x47e189
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47e189
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047e0a3
test edi, edi
mov eax, edi
jne 0x47e173
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40e8cc
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40e744
mov eax, dword [0x5c8c8c]
cmp byte [eax], 0
je 0x40e948
mov eax, dword [0x5c88e8]
call fcn.0040395c
call fcn.004030e4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040b054
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40e990
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40e97e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x5c8858]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5cb7f8]
call fcn.004069d8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40f248
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40f31e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004054d4
lea eax, [ebp - 4]
call fcn.00405924
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004058cc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40f308
mov eax, ebx
call fcn.00402f88
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40f301
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004058cc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40f2eb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40f330
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40f2eb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f308
mov eax, dword [ebp - 0x10]
call fcn.00402fa4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40f325
lea eax, [ebp - 4]
call fcn.0040543c
ret

Function at 0x42269c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004223d8
dec esi
jne 0x4226be
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x423844
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5cd9f0
cmp dword [edi], 0
jne 0x4238c0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x5cd9ec]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4c8ba4
mov ecx, 2
call fcn.004032c4
mov edx, 0x42381c
lea eax, [esi + 5]
call fcn.0042383c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042383c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x423895
mov dword [0x5cd9ec], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4264b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004058cc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42650c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5c8eac]
mov dl, 1
mov eax, dword [0x425e6c]
call fcn.0040ea98
call fcn.00404dd0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00425f74
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42784c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x427852
ret
Function at 0x43d0ec
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x43d2c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.0045d118
mov eax, dword [esi]
cmp byte [eax + 0x258], 0
je 0x43d2a5
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi]
sub eax, dword [edx + 0x268]
mov edx, dword [esi]
cmp eax, dword [edx + 0x2c0]
jb 0x43d152
mov eax, dword [esi]
add eax, 0x264
call fcn.0040543c
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi]
mov dword [edx + 0x268], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
cmp al, 8
je 0x43d22c
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov edx, dword [0x5c8e70]
movzx eax, al
bt dword [edx], eax
jae 0x43d1e9
push 1
push 0x102
push 0x102
mov eax, dword [esi]
call fcn.0045e27c
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x43d270
mov eax, dword [esi]
push dword [eax + 0x264]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
movzx edx, byte [edx]
call fcn.00405624
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.00405624
push dword [ebp - 0x2c]
mov eax, dword [esi]
add eax, 0x264
mov edx, 3
call fcn.004057d0
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x43d270
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx edx, byte [edx]
call fcn.00405624
mov edx, dword [ebp - 0x30]
mov eax, dword [esi]
add eax, 0x264
call fcn.00405708
jmp 0x43d270
mov eax, dword [esi]
mov ebx, dword [eax + 0x264]
test ebx, ebx
je 0x43d219
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
add eax, 0x264
mov ecx, 1
mov edx, ebx
call fcn.00405974
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
call fcn.004056fc
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
call fcn.0040f3b0
cmp al, 2
je 0x43d208
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
test eax, eax
je 0x43d25d
sub eax, 4
mov eax, dword [eax]
mov edx, dword [esi]
add edx, 0x264
mov ecx, 1
xchg edx, eax
call fcn.00405974
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
test eax, eax
je 0x43d281
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x43d28e
push ebp
call fcn.0043d004
pop ecx
jmp 0x43d2a5
xor edx, edx
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
mov eax, dword [esi]
mov si, 0xffeb
call fcn.00404758
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d2c7
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405460
ret
Function at 0x4539ac
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 [0x5cdc94], 0
je 0x453af5
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x5c8bcc]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x453af5
mov eax, dword [0x5cdc98]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5cdc94]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x453ac4
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x5cdc94]
call fcn.0041b558
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x453abc
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x453abc
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x453abc
mov eax, dword [ebp - 0x14]
call fcn.0045e27c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453abc
push ebp
call fcn.00453968
pop ecx
test al, al
jne 0x453abc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00404758
test al, al
je 0x453abc
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, 0xffbc
call fcn.00404758
cmp byte [ebp - 1], 0
je 0x453abc
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x453abc
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5cdc98]
call fcn.004530d8
inc edi
dec ebx
jne 0x453a11
mov eax, dword [0x5cdc98]
cmp dword [eax + 8], 0
jle 0x453adc
mov eax, dword [0x5cdc98]
call fcn.00453190
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x453af5
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004537cc
pop ecx
test al, al
jne 0x453af5
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 0x463654
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x5c8e9c]
cmp byte [eax + 0xc], 0
je 0x4637c1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4637ba
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5cdca4], 0
jne 0x4636a8
push 0x4637c8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4637d0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5cdca4], eax
cmp dword [0x4c996c], 0
jne 0x4637a3
push 0x4637e0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4c996c], eax
cmp dword [0x4c996c], 0
je 0x4637a3
push 0x4637ec
mov eax, dword [0x4c996c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5cdca8], eax
push 0x4637fc
mov eax, dword [0x4c996c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5cdcac], eax
push 0x463810
mov eax, dword [0x4c996c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5cdcb0], eax
push 0x463828
mov eax, dword [0x4c996c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5cdcb4], eax
push 0x463840
mov eax, dword [0x4c996c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5cdcb8], eax
push 0x463854
mov eax, dword [0x4c996c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5cdcbc], eax
push 0x46386c
mov eax, dword [0x4c996c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5cdcc0], eax
push 0x463884
mov eax, dword [0x4c996c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5cdcc4], eax
push 0x4638a0
mov eax, dword [0x4c996c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5cdcc8], eax
push 0x4638ac
mov eax, dword [0x4c996c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5cdccc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4637c1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x472414
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x47242b
add esp, 0xfffffff0
call fcn.00404880
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422770
mov eax, dword [0x5c8acc]
cmp word [eax + 2], 0
jne 0x472453
mov eax, dword [0x5c8acc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047402c
mov eax, dword [0x5c8c10]
cmp word [eax + 2], 0
jne 0x47246d
mov eax, dword [0x5c8c10]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00474238
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418e88]
call fcn.0040452c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418e88]
call fcn.0040452c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x418e88]
call fcn.0040452c
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 [0x427688]
call fcn.0042f8f4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x472624
mov eax, dword [0x5c8930]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042fcc8
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47490c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5c8930]
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.0040f9d4
test eax, eax
je 0x472574
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040b0a8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040fa08
test eax, eax
je 0x472588
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.004056ac
mov byte [ebx + 0xd4], 0
push ebx
push 0x473b3c
call fcn.00423900
mov dword [ebx + 0xc8], eax
mov eax, dword [0x5c86d4]
cmp byte [eax], 0
jne 0x4725d9
mov eax, ebx
call fcn.00472768
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.00474ae4
mov eax, ebx
call fcn.00475648
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x472619
call fcn.004048d8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bfc14
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1d4], edx
mov dword [ebp - 0x1d8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058bc
xor eax, eax
push ebp
push 0x4bfd55
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4bfd25
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004058cc
mov ebx, eax
push ebx
call sub.kernel32.dll_DeleteFileA
push ebx
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 4]
call fcn.0040a88c
test al, al
jne 0x4bfc95
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call sub.kernel32.dll_CreateFileA_1
push eax
call sub.kernel32.dll_CloseHandle_1
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.004038ac
lea eax, [ebp - 0x1d0]
call fcn.00403648
call fcn.004030e4
push dword [0x5ced94]
push 0x4bfd6c
push dword [0x5ced98]
push 0x4bfd6c
push dword [0x5ced9c]
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.004057d0
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.004c3f68
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 0x1d0]
call fcn.00405bec
call fcn.00403fa4
call fcn.004030e4
lea eax, [ebp - 0x1d0]
call fcn.00403974
call fcn.004030e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bfd2f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bfd5c
lea eax, [ebp - 0x1d8]
mov edx, 2
call fcn.00405460
lea eax, [ebp - 4]
call fcn.0040543c
ret
Function at 0x4c121c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058bc
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4c1384
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.004c0a8c
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.004c0aac
mov ebx, eax
jmp 0x4c1356
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004056ac
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.0040ae20
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.0040999c
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.0040999c
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00405864
je 0x4c1336
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004056ac
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.0040999c
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.0040999c
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00405864
jne 0x4c134b
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.004c0acc
mov ebx, eax
test ebx, ebx
jne 0x4c1297
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c138b
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00405460
lea eax, [ebp - 4]
call fcn.0040543c
ret