joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b740
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4791c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046a920
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00470099
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004715f1
test eax, eax
je 0x43b85c
mov ecx, dword [esp + 0x3c]
call fcn.004700c6
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43b820
push edi
mov ecx, esi
call fcn.0046d681
mov ecx, esi
call fcn.0043b9c0
cmp dword [esp + 0x38], 1
jne 0x43b855
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046d7eb
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43e280
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43e2b3
push esi
call fcn.00441380
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43e2ac
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 0x43e339
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43e322
mov eax, dword [esi + 8]
test eax, eax
je 0x43e2d7
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 0x43e31e
cmp eax, 2
je 0x43e322
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43e2ca
cmp eax, 3
je 0x43e2fd
cmp eax, 1
jne 0x43e2ca
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 0x43e2ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43e2ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043e360
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43e348
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043e360
add esp, 4
pop esi
ret

Function at 0x4495c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x449626
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x449626
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x449607
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x44a1c0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44a209
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x44a680
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479670
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044a230
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044a2b0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044a2b0
lea ecx, [esi + 0xc]
call fcn.004692b1
lea ecx, [esi + 0x10]
call fcn.004692b1
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044b840
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044b840
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044b840
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00469326
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00469326
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x44dce0
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 0x44dd83
test eax, eax
jbe 0x44dd83
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44dd83
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 0x44dd2e
xor esi, esi
jmp 0x44dd34
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44dd5f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0044fc80
add esi, eax
push esi
mov ebx, esi
call fcn.0044fc80
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44dd40
pop ebp
test edi, edi
pop edi
jne 0x44dd83
test ebx, ebx
je 0x44dd83
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004595f0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x44dec5
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 0x44dfdd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44dfdd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046ad72
mov esi, eax
test esi, esi
je 0x44dfdd
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 0x44dfdd
mov ecx, esi
call fcn.0044de30
cmp edi, eax
jge 0x44dfdd
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 0x44df63
mov dword [esp + 0x34], 1
jmp 0x44dfbe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44dfdd
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.0044d3d0
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 0x46b716
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46b74e
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.004697cd
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004697a5
jmp 0x46b75a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46ce07
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 0x46ce49
call fcn.00472bb2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46ce49
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46ce40
xor eax, eax
jmp 0x46ce51
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046ce57
pop edi
pop esi
pop ebx
ret 4

Function at 0x4730e2
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 0x473110
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47312e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00473048
jmp 0x47312e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47312e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00473048
test edi, edi
mov eax, edi
jne 0x473118
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x401549
xor ecx, ecx
jne 0x401549
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x401590
mov eax, dword [ebp - 0xc]
jmp 0x4015ed
cmp dword [ebp - 4], 1
je 0x4015a3
cmp dword [ebp - 4], 2
je 0x4015a3
mov eax, 0xd
jmp 0x4015ed
cmp dword [ebp + 0xc], 0
je 0x4015e1
cmp dword [ebp - 8], 0
je 0x4015d9
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x4015d0
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x4015d7
mov eax, 0xd
jmp 0x4015ed
jmp 0x4015e1
xor edx, edx
mov eax, dword [ebp + 0xc]
mov word [eax], dx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4057cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov byte [ebp - 4], 0x13
mov byte [ebp - 3], 0x35
mov byte [ebp - 2], 0x86
mov byte [ebp - 1], 7
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
push ebx
call fcn.00445da6
mov esi, eax
pop ecx
test esi, esi
je 0x40581a
xor edx, edx
test ebx, ebx
jbe 0x40581a
sub edi, esi
mov eax, edx
and eax, 3
mov al, byte [ebp + eax - 4]
lea ecx, [edx + esi]
xor al, byte [edi + ecx]
inc edx
mov byte [ecx], al
cmp edx, ebx
jb 0x405804
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x405911
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push esi
push esi
push 4
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
cmp ebx, esi
je 0x40596e
push edi
push esi
push esi
push esi
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, esi
je 0x405966
push dword [ebp + 0xc]
push dword [ebp - 4]
push edi
call fcn.004058fa
add esp, 0xc
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x405ba9
Capabilities:
Get file size

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x44
mov eax, 0x49f408
call fcn.004674a0
mov eax, dword [ebp + 0x110]
mov ebx, dword [ebp + 0x114]
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x405c93
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
push esi
push esi
push 4
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x405c8a
push esi
push esi
push esi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, esi
je 0x405c81
push 1
lea eax, [ebp - 0xd]
push eax
push ebx
lea ecx, [ebp - 0x50]
call fcn.00402540
mov dword [ebp - 4], esi
mov ecx, eax
call fcn.00405b5c
push eax
lea eax, [ebp]
push 0x104
push eax
call fcn.00467e01
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00401600
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
push edi
call fcn.00405884
add esp, 0xc
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x104]
xor ecx, ebp
call fcn.00467491
add ebp, 0x108
leave
ret

Function at 0x406064
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x38c]
sub esp, 0x40c
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x388], eax
push ebx
push esi
mov esi, dword [ebp + 0x394]
xor ebx, ebx
mov byte [ebp - 0x79], bl
cmp esi, ebx
je 0x4060dd
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x400
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x80], 2
jb 0x4060c3
movzx eax, byte [ebp - 0x78]
cmp eax, 0xffffffff
jne 0x4060c3
movzx eax, byte [ebp - 0x77]
cmp eax, 0xfffffffe
jne 0x4060c3
mov byte [ebp - 0x79], 1
jmp 0x4060dd
xor eax, eax
cmp dword [ebp - 0x80], ebx
jbe 0x4060dd
cmp byte [ebp - 0x79], bl
jne 0x4060dd
cmp byte [ebp + eax - 0x78], bl
sete byte [ebp - 0x79]
inc eax
cmp eax, dword [ebp - 0x80]
jb 0x4060ca
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp + 0x388]
mov al, byte [ebp - 0x79]
pop esi
xor ecx, ebp
pop ebx
call fcn.00467491
add ebp, 0x38c
leave
ret 4

Function at 0x406bde
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
cmp dword [eax + 0x18], 8
push esi
jb 0x406bee
mov esi, dword [eax + 4]
jmp 0x406bf1
lea esi, [eax + 4]
push esi
call fcn.00466de0
pop ecx
push 0
push dword [esp + 0x14]
add eax, eax
push eax
push esi
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
ret 0x10
Function at 0x409b54
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
je 0x409c55
cmp byte [ebp + 0xc], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
jne 0x409c07
lea eax, [esi + 1]
push eax
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x409c55
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and dword [ebp - 8], 0
push 0
lea ecx, [ebp - 8]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
test eax, eax
je 0x409c4a
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x409bda
xor eax, eax
jmp 0x409bee
lea eax, [esi + esi]
call fcn.004687b0
mov eax, esp
push 3
push esi
push ebx
push eax
call fcn.00405e95
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004091ba
push ebx
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, 1
jmp 0x409c57
lea eax, [esi + 3]
push eax
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x409c55
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and dword [ebp - 8], 0
push 0
lea ecx, [ebp - 8]
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x409c49
mov ecx, 0xfeff
mov eax, ebx
cmp word [ebx], cx
jne 0x409bee
lea eax, [ebx + 2]
jmp 0x409bee
push ebx
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor al, al
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467491
leave
ret 0xc
Function at 0x40e38a
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004056af
mov ecx, eax
call fcn.00435f0e
mov edi, dword [esp + 0x10]
push edi
push dword [esp + 0x18]
mov esi, eax
shr esi, 0xa
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x40e3cb
push 0x8003
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push esi
push edi
mov ecx, ebx
call fcn.0040dbd7
test eax, eax
jne 0x40e417
push dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jle 0x40e3e7
push esi
push edi
mov ecx, ebx
call fcn.0040dbd7
test eax, eax
jne 0x40e417
push 0x4c1ca0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
push esi
push 3
call fcn.004439d4
add esp, 0xc
test eax, eax
jge 0x40e417
push edi
push esi
push 4
call fcn.004439d4
add esp, 0xc
test eax, eax
jge 0x40e417
xor eax, eax
jmp 0x40e41a
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret 8
Function at 0x4132a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
xor ebx, ebx
push dword [ebp + 8]
mov dword [esi + 8], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
jne 0x4132ce
push ebx
push ebx
call fcn.004675aa
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
cmp eax, ebx
je 0x4132c7
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x4132c7
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi], eax
cmp eax, ebx
je 0x4132c7
push dword [esi + 4]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push dword [esi]
call fcn.00468920
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x413ea1
Capabilities:
Copy file
Create thread

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4db020]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x30
mov eax, 0x4a1a7d
call fcn.004674a0
mov ebx, dword [ebp + 0x80c]
mov edi, dword [ebp + 0x810]
push ebx
mov esi, ecx
mov dword [ebp - 0x10], edi
call fcn.0041388d
test al, al
je 0x413eef
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x414036
xor eax, eax
push 0x7fe
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
call fcn.00468830
add esp, 0xc
lea eax, [ebp]
push eax
push ebx
mov ecx, esi
call fcn.004138b8
lea eax, [ebp]
lea ebx, [esi + 0x104]
push eax
mov ecx, ebx
call fcn.00402630
push dword [ebp - 0x10]
lea ecx, [esi + 0x138]
call fcn.00402630
push 0x2c
call fcn.00468747
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x413f5d
mov ecx, ebx
call fcn.00402210
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
push 4
push esi
push eax
call fcn.00413ca8
jmp 0x413f5f
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x16c], eax
lea eax, [ebp - 0x20]
push eax
push edi
push esi
push 0x413cee
push edi
push edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
push 4
mov dword [ebp - 0x10], ebx
call fcn.00445da6
pop ecx
push 0xff
push 0xffffffffffffffff
push edi
mov dword [eax], ebx
mov ebx, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x1c], eax
push eax
jmp 0x413fde
cmp dword [ebp - 0x38], 0x8032
jne 0x413fb6
mov ecx, dword [esi + 0x16c]
call fcn.004141c9
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 1
push edi
push edi
push edi
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x413fa2
push 0xff
push 0xffffffffffffffff
push edi
push dword [ebp - 0x1c]
push 1
call ebx
mov dword [ebp - 0x18], eax
cmp eax, 1
je 0x413fc0
push dword [ebp - 0x1c]
call fcn.00466dfa
mov esi, dword [esi + 0x16c]
pop ecx
cmp esi, edi
je 0x41400b
mov ecx, esi
call fcn.00413b36
push esi
call fcn.00466cfb
pop ecx
cmp dword [ebp - 0x18], 0xffffffff
jne 0x414015
xor eax, eax
jmp 0x414036
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x14], edi
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.00467491
add ebp, 0x804
leave
ret 8
Function at 0x415f0a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x28
mov eax, 0x4a22c0
call fcn.00467509
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x28], 0x49
mov byte [ebp - 0x27], 0x6e
mov byte [ebp - 0x26], 0x73
mov byte [ebp - 0x25], 0x74
mov byte [ebp - 0x24], 0x61
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x21], 0x53
mov byte [ebp - 0x20], 0x68
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x6c
mov byte [ebp - 0x1c], 0x64
mov byte [ebp - 0x1b], bl
cmp byte [ebp + 0xc], bl
je 0x415f7c
mov byte [ebp - 0x1b], 0x20
mov byte [ebp - 0x1a], 0x57
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x18], 0x7a
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x64
mov byte [ebp - 0x14], bl
push 1
lea eax, [ebp - 0x29]
push eax
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.0040a0dc
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], 1
mov eax, esi
call fcn.0046758c
ret 8