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

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4553b3
push esi
call fcn.00463560
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4553ac
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 0x455439
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x455422
mov eax, dword [esi + 8]
test eax, eax
je 0x4553d7
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 0x45541e
cmp eax, 2
je 0x455422
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4553ca
cmp eax, 3
je 0x4553fd
cmp eax, 1
jne 0x4553ca
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 0x4553ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4553ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00455460
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x455448
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00455460
add esp, 4
pop esi
ret

Function at 0x455ce0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x455d01
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x455d01
mov eax, dword [eax + 0x44]
test eax, eax
je 0x455d01
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x475d80
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 0x475de6
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 0x475de6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x475dc7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x476170
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4761a8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x476e80
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 0x476ec9
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 0x477340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b6da0
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.00476ef0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00476f70
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00476f70
lea ecx, [esi + 0xc]
call fcn.004a852c
lea ecx, [esi + 0x10]
call fcn.004a852c
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00478500
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00478500
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00478500
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004a85a1
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004a85a1
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47a0c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b7168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00479ca0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.00479d10
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00479ff0
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.00479cc0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10

Function at 0x47a0d8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b7168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00479ca0
mov eax, dword [esp + 0x24]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x20], 0
call fcn.00479d10
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00479ff0
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x1c], 0xffffffff
call fcn.00479cc0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x47ca70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x47ca7b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x47cb7e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x69f7a4]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x69f7a4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x69f7a4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x69f7a4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x69f7a4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x69f7a4]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x69f7a4]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x69f7a4]
xor eax, edx
inc ecx
dec edi
jne 0x47ca96
pop edi
test esi, esi
je 0x47cba0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x69f7a4]
xor eax, edx
inc ecx
dec esi
jne 0x47cb82
pop esi
pop ebx
not eax
ret

Function at 0x47d510
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x47d551
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x47d546
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x14]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x47d564
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x18]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x18], ecx
pop ebp
pop ebx
ret
Function at 0x481ed0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x705d44]
xor edx, edx
cmp eax, edx
jne 0x481ef6
xor eax, eax
mov byte [eax + 0x705c44], al
inc eax
cmp eax, 0x100
jl 0x481ede
mov dword [0x705d44], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x705c44
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x481f87
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x481f5a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x481f28
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x482000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x482053
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x48203a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4889e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b740e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00489300
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x69fdf4
call fcn.004a82e2
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x488a73
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a82e2
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x488a6c
push 0
mov ecx, eax
call fcn.0047fb00
mov dword [esi + 0xc], eax
jmp 0x488a75
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x488a75
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x499cfd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x499d1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00498c6a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x499d40
test byte [esp + 8], 2
je 0x499d40
call fcn.00498cdd
mov dword [eax], 0xd
call fcn.00498ce6
mov dword [eax], 5
jmp 0x499d19
xor eax, eax
ret

Function at 0x4aa96f
Capabilities:
Get graphical window text

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

Function at 0x4ac061
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 0x4ac0a3
call fcn.004b1ddf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ac0a3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ac09a
xor eax, eax
jmp 0x4ac0ab
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ac0b1
pop edi
pop esi
pop ebx
ret 4

Function at 0x4b230f
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 0x4b233d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b235b
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b2275
jmp 0x4b235b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b235b
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b2275
test edi, edi
mov eax, edi
jne 0x4b2345
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x408e90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x401506
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x401270
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov ecx, 0x3e
xor eax, eax
lea edi, [ebp - 0x120]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [ebp - 0x160]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x164], esi
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x178], esi
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
push esi
push 0x80
push 3
lea ecx, [ebp - 0x174]
push ecx
push 3
push 0xc0000000
mov ebx, dword [ebp + 8]
mov edx, dword [ebx]
push edx
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
call fcn.00404420
mov edi, eax
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
call esi
mov ecx, dword [ebp - 0x178]
push ecx
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
lea ecx, [ebp - 0x178]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
cmp edi, 0xffffffff
jne 0x408f7e
mov dword [ebp - 0x168], 0
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x409091
jmp 0x409090
mov dword [ebp - 0x20], edi
push 0
push 0
push 0
push edi
call fcn.0040454c
call esi
lea edx, [ebp - 0x160]
push edx
mov ebx, dword [sym.imp.MSVBVM60.DLL_VarPtr]
call ebx
push 0
lea ecx, [ebp - 0x24]
push ecx
push 4
push eax
push edi
call fcn.004044c0
call esi
cmp word [ebp - 0x160], 0x5a4d
jne 0x40903e
push 0
push 0
push 0x3c
push edi
call fcn.0040454c
call esi
lea edx, [ebp - 0x164]
push edx
call ebx
push 0
lea ecx, [ebp - 0x24]
push ecx
push 4
push eax
push edi
call fcn.004044c0
call esi
push 0
push 0
mov edx, dword [ebp - 0x164]
push edx
push edi
call fcn.0040454c
call esi
lea eax, [ebp - 0x120]
push eax
call ebx
push 0
lea ecx, [ebp - 0x24]
push ecx
push 4
push eax
push edi
call fcn.004044c0
call esi
xor edx, edx
cmp dword [ebp - 0x120], 0x4550
setne dl
dec edx
mov dword [ebp - 0x168], edx
push edi
call fcn.00404464
call esi
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x409091
jmp 0x409090
mov dword [ebp - 0x168], 0
push edi
call fcn.00404464
call esi
call dword [sym.imp.MSVBVM60.DLL___vbaExitProc]
push 0x409091
jmp 0x409090
ret
Function at 0x401030
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 1
jne 0x401044
mov eax, dword [0x4380cc]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
jmp 0x401056
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [0x4380d0]
shr edx, 1
cmp dword [ebp - 4], edx
jae 0x4010db
mov eax, dword [ebp - 4]
mov ecx, dword [0x4380b4]
movzx edx, word [ecx + eax*2]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
shr eax, 0xc
cmp eax, 3
jne 0x4010d6
mov ecx, dword [ebp - 0xc]
and ecx, 0xfff
add ecx, 0x1474
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
sub edx, 0x1474
mov dword [ebp - 8], edx
cmp dword [ebp - 4], 0
jne 0x4010b7
push 0x20e
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x4010b7
xor eax, eax
jmp 0x4010db
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx]
add eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx], eax
jmp 0x40104d
mov esp, ebp
pop ebp
ret
Function at 0x4016e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 0x114], str.55222
mov eax, dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x11c], eax
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [ebp - 0x11c]
push 0
push 0x80
push 3
push 0
push 3
push 1
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x40175a
cmp dword [ebp - 0x118], 0
je 0x40175a
jmp 0x4017bc
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0
je 0x4017bc
mov dword [ebp - 0x120], 0x1046a
mov eax, dword [ebp + 8]
add eax, 8
mov dword [0x4380b4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [0x4380d0], edx
mov dword [ebp - 0x120], 0x1046a
mov dword [ebp - 0x120], 0x1046a
call fcn.004011f0
mov eax, dword [ebp + 8]
mov dword [0x4380cc], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
call fcn.00401a60
add esp, 0xc
mov dword [ebp + 8], eax
jmp 0x40175a
mov esp, ebp
pop ebp
ret

Function at 0x4017c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x4017e9
xor eax, eax
jmp 0x4018ca
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
jne 0x401801
xor eax, eax
jmp 0x4018ca
push ebp
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
add eax, 0x1046a
call fcn.00401330
mov esp, ebp
pop ebp
ret
Function at 0x401aa0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4380c0], 0x24e1
mov eax, dword [0x4380c0]
sub eax, 0x24e1
mov dword [0x4380c0], eax
mov ecx, 1
test ecx, ecx
je 0x401b4b
mov edx, dword [0x4380c0]
cmp edx, dword [ebp + 0xc]
jb 0x401ad7
jmp 0x401b4b
cmp dword [0x4380c0], 0
jne 0x401af5
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401af5
xor eax, eax
jmp 0x401b4b
mov eax, dword [ebp + 8]
add eax, dword [0x4380c0]
mov ecx, dword [eax]
add ecx, dword [0x4380c0]
mov edx, dword [ebp + 8]
add edx, dword [0x4380c0]
mov dword [edx], ecx
mov dword [ebp - 4], 0x32dc04
mov eax, dword [0x4380c0]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x4380c0]
push eax
call fcn.00401200
add esp, 8
mov ecx, dword [0x4380c0]
add ecx, 4
mov dword [0x4380c0], ecx
jmp 0x401abd
mov esp, ebp
pop ebp
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40974c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40975b
pop dword [ebp - 0x40]
mov eax, 0x40975b
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xd6842bc
sub dword [ebp - 0x50], 0xbf15fd71
mov dword [ebp - 0x4c], 0xf385566
sub dword [ebp - 0x4c], 0xdd050921
mov dword [ebp - 0x48], 0xd143fef1
sub dword [ebp - 0x48], 0x84f7bac3
mov dword [ebp - 0x44], 0xc00020f
add dword [ebp - 0x44], 0xf3fffdf1
lea eax, [ebp - 0x50]
push eax
mov eax, 0x4a3f124e
sub eax, 0x49fe4202
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x10c3ea48
sub dword [ebp - 0x50], 0x9c5180f2
mov dword [ebp - 0x4c], 0x98f4d2b3
sub dword [ebp - 0x4c], 0x5788713e
mov dword [ebp - 0x48], 0xdcbde132
sub dword [ebp - 0x48], 0x794e74c6
mov dword [ebp - 0x44], 0x9231bc22
sub dword [ebp - 0x44], 0x9231bc22
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x39970ff
sub eax, 0x358a0b7
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x388be
push 0
call eax
mov ecx, 0x43ea
xor ebx, ebx
add ebx, eax
mov edi, 0x17eff9b7
add edi, 0xe851b649
add edi, dword [ebp - 0x40]
mov edx, 0xc589a6c3
add edx, 0x9e4733a3
add dword [ebp - 0x28], eax
mov esi, dword [edi]
sub dword [ebp - 0x30], 0xd363b6e6
xor esi, edx
mov dword [ebx], esi
xor dword [ebp - 0x18], eax
add ebx, 4
add edi, 0xe53d44da
sub edi, 0xe53d44d6
loop 0x409874
add eax, 0x1027b
mov ebx, eax
add eax, 0x548ae54a
add eax, 0xab751abb
mov ecx, 0xc344e8b3
sub ecx, 0xc304e8b3
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x401550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, 8
sub esp, 0x18
push esi
push edi
test eax, eax
jne 0x4019f9
call fcn.00403680
insd dword es:[edi], dx
or byte [eax], cl
dec edx
or al, 4
adc byte [ebp - 0xe], ch
add dword [eax], edx
inc eax
insd dword es:[edi], dx
push esp
ror dword [ecx], 8
int3
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0xc], esi
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, eax
mov esi, dword [ebp + 0xc]
lodsb al, byte [esi]
inc ecx
test eax, eax
jne 0x401931
dec ecx
mov dword [ebp - 0x10], ecx
test ecx, ecx
jne 0x401e4b
daa
push 4
push 1
push eax
call 0x4463cd
mov eax, dword [esi + 0x14]
push 3
push 1
push eax
call 0x4463cd
mov ecx, dword [esi + 0x14]
push 2
push 1
push ecx
call 0x4463cd
add esp, 0x24
mov eax, esi
pop esi
pop ebx
ret
mov edi, dword [0x4051da]
push 0x10000
mov edx, dword [ebp + 8]
pop esi
mov eax, dword [0x405161]
and edx, eax
mov eax, dword [edx]
cmp ax, di
je 0x401a1a
sub edx, esi
jmp 0x401a0f
mov dword [ebp - 8], edx
mov eax, edx
mov ecx, dword [eax + 0x3c]
add eax, 0x78
and ecx, 0xffff
add eax, ecx
mov eax, dword [eax]
mov esi, dword [ebp - 8]
push esi
add esi, eax
mov eax, dword [esi + 0x20]
pop edi
add edi, eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x14], eax
jmp 0x401924
push dword [ebp - 0x14]
pop ecx
mov eax, dword [edi]
mov esi, dword [ebp - 8]
add esi, eax
xor eax, eax
push ecx
mov ecx, eax
push esi
add edi, 4
lodsb al, byte [esi]
add ecx, 1
test eax, eax
jne 0x401e5f
dec ecx
pop esi
cmp ecx, dword [ebp - 0x10]
je 0x401e74
inc dword [ebp - 4]
pop ecx
loop 0x401e4f
push esi
push dword [ebp + 0xc]
call fcn.00403680
test eax, eax
jne 0x401e6e
je 0x4033d0
add dword [ebx + ecx - 0x73], esi
lea eax, [edi + edi*8 - 1]
invalid
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov ecx, dword [esi + 0x24]
add eax, eax
add ecx, dword [ebp - 8]
add ecx, eax
movzx eax, word [ecx]
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax]
add eax, ecx
test eax, eax
jne 0x4018af
pop esi
and byte [eax + 0x68b105e], cl
cmp eax, ebx
je 0x40340d
push eax
call 0x469e79
add esp, 4
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
pop esi
pop ebx
ret