joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4079b9
Capabilities:
Terminate process

Disassembly:
push 8
push 0x40ba78
call fcn.00405e34
push 8
call fcn.00406da1
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x40f61c], esi
jne 0x4079ed
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x40f618], esi
mov al, byte [ebp + 0x10]
mov byte [0x40f614], al
cmp dword [ebp + 0xc], edi
jne 0x407a37
cmp dword [0x40fc88], edi
je 0x407a27
mov eax, dword [0x40fc84]
sub eax, 4
mov dword [0x40fc84], eax
cmp eax, dword [0x40fc88]
jb 0x407a27
mov eax, dword [eax]
cmp eax, edi
je 0x407a08
call eax
jmp 0x407a08
push 0x40e02c
mov eax, 0x40e028
call fcn.00407937
pop ecx
push 0x40e034
mov eax, 0x40e030
call fcn.00407937
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x407a68
cmp dword [ebp + 0x10], edi
jne 0x407a76
mov dword [0x40f61c], esi
push dword [ebp + 8]
call fcn.004078f5
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x407a75
push 8
call fcn.00406cec
pop ecx
ret
call fcn.00405e6f
ret

Function at 0x40811a
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x40e750]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x40e398]
je 0x40814f
inc eax
cmp eax, 0x13
jb 0x408140
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x40e398]
jne 0x408275
mov eax, dword [0x40f434]
cmp eax, 1
je 0x40824d
cmp eax, edx
jne 0x40817f
cmp dword [0x40e0c4], 1
je 0x40824d
cmp ecx, 0xfc
je 0x408275
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4081b5
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.004095f0
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.00409900
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4081e9
mov eax, edi
push eax
call fcn.00409900
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x40c068
push edi
call fcn.00409740
add esp, 0x10
push edi
call fcn.00409900
push dword [esi + 0x40e39c]
mov ebx, eax
call fcn.00409900
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.00406360
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.004095f0
push edi
push ebx
call fcn.00409600
push 0x40c048
push ebx
call fcn.00409600
push dword [esi + 0x40e39c]
push ebx
call fcn.00409600
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.0040a1ad
add esp, 0x2c
jmp 0x408275
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x40e39c]
push dword [esi]
call fcn.00409900
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.004099bc
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x40a1ad
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x40f7d8], ebx
push esi
push edi
jne 0x40a22d
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40a268
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x40f7d8], eax
je 0x40a268
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x40f7dc], eax
call esi
cmp dword [0x40f5dc], 2
mov dword [0x40f7e0], eax
jne 0x40a22d
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x40f7e8], eax
je 0x40a22d
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x40f7e4], eax
mov eax, dword [0x40f7e4]
test eax, eax
je 0x40a272
call eax
test eax, eax
je 0x40a259
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x40f7e8]
test eax, eax
je 0x40a259
test byte [ebp - 8], 1
jne 0x40a272
cmp dword [0x40f5e8], 4
jb 0x40a26c
or byte [ebp + 0x12], 0x20
jmp 0x40a291
xor eax, eax
jmp 0x40a2a1
or byte [ebp + 0x12], 4
jmp 0x40a291
mov eax, dword [0x40f7dc]
test eax, eax
je 0x40a291
call eax
mov ebx, eax
test ebx, ebx
je 0x40a291
mov eax, dword [0x40f7e0]
test eax, eax
je 0x40a291
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x40f7d8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0xb89058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00b891a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb8907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb8906a
add dl, dl
jne 0xb89089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb890dc
xor eax, eax
add dl, dl
jne 0xb89096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb8917d
add dl, dl
jne 0xb890a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb890b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb890bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb890c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb890d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb89075
mov eax, 1
add dl, dl
jne 0xb890ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb890f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb890e1
sub eax, ebx
mov ebx, 1
jne 0xb89128
mov ecx, 1
add dl, dl
jne 0xb8910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb89119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb89105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb89075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb8913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb8914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb89136
cmp eax, 0x7d00
jae 0xb8916d
cmp eax, 0x500
jb 0xb89168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb89075
cmp eax, 0x7f
ja 0xb89170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb89075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb8919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb89075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0xe3d058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xe3d1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xe3d07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe3d06a
add dl, dl
jne 0xe3d089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe3d0dc
xor eax, eax
add dl, dl
jne 0xe3d096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xe3d17d
add dl, dl
jne 0xe3d0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe3d0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe3d0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe3d0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xe3d0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xe3d075
mov eax, 1
add dl, dl
jne 0xe3d0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xe3d0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe3d0e1
sub eax, ebx
mov ebx, 1
jne 0xe3d128
mov ecx, 1
add dl, dl
jne 0xe3d10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe3d119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe3d105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe3d075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xe3d13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xe3d14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xe3d136
cmp eax, 0x7d00
jae 0xe3d16d
cmp eax, 0x500
jb 0xe3d168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe3d075
cmp eax, 0x7f
ja 0xe3d170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xe3d075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xe3d19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xe3d075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x405a90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4725e0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x48f4f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 5
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x14], 5
mov dword [ebp - 0x40], 0
jmp 0x405b02
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x28]
jge 0x405b23
call fcn.00447439
cdq
mov ecx, 0x64
idiv ecx
add edx, 1
mov eax, dword [ebp - 0x40]
mov dword [ebp + eax*4 - 0x3c], edx
jmp 0x405af9
mov dword [ebp - 0x48], 0x2b
push 0x48967c
lea ecx, [ebp - 0x48]
push ecx
call fcn.0044815b
mov edx, dword [ebp - 0x4c]
mov byte [edx], 0
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x4c], 0x67452301
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x50], 0xefcdab89
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x54], 0x98badcfe
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x58], 0x10325476
mov dword [ebp - 4], 0xffffffff
mov eax, 0x405b8e
ret
Function at 0x40b220
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47311b
mov eax, dword fs:[0]
push eax
mov eax, 0x5338
call fcn.0044ac70
mov eax, dword [0x48f4f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5344], ecx
mov ecx, dword [ebp + 8]
call fcn.00403da0
mov dword [ebp - 0x5320], 0x5100
lea eax, [ebp - 0x5320]
push eax
lea ecx, [ebp - 0x5114]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x5324], eax
cmp dword [ebp - 0x5324], 0
je 0x40b28e
jmp 0x40b374
lea edx, [ebp - 0x5114]
mov dword [ebp - 0x5118], edx
cmp dword [ebp - 0x5118], 0
je 0x40b374
mov eax, dword [ebp - 0x5118]
cmp dword [eax + 0x1a0], 6
jne 0x40b361
mov ecx, dword [ebp - 0x5118]
movzx edx, byte [ecx + 0x199]
push edx
mov eax, dword [ebp - 0x5118]
movzx ecx, byte [eax + 0x198]
push ecx
mov edx, dword [ebp - 0x5118]
movzx eax, byte [edx + 0x197]
push eax
mov ecx, dword [ebp - 0x5118]
movzx edx, byte [ecx + 0x196]
push edx
mov eax, dword [ebp - 0x5118]
movzx ecx, byte [eax + 0x195]
push ecx
mov edx, dword [ebp - 0x5118]
movzx eax, byte [edx + 0x194]
push eax
push str._.2x__.2x__.2x__.2x__.2x__.2x
push 0x200
lea ecx, [ebp - 0x531c]
push ecx
call fcn.0044730e
add esp, 0x24
lea edx, [ebp - 0x531c]
push edx
lea ecx, [ebp - 0x5340]
call fcn.004014c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x5340]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5340]
call fcn.00401540
mov ecx, dword [ebp - 0x5118]
mov edx, dword [ecx]
mov dword [ebp - 0x5118], edx
jmp 0x40b29a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00443a0f
mov esp, ebp
pop ebp
ret 4
Function at 0x418ad4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x47080c
call fcn.00447f7e
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00413329
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x418b36
call fcn.00412df1
cmp eax, 1
jne 0x418b36
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0041830e
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00416508
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004087a0
mov dword [ebp + 8], SysFreeString
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004087a0
mov eax, esi
call fcn.00448056
ret 0x10

Function at 0x418b5f
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x47080c
call fcn.00447f7e
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00413329
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x418bc1
call fcn.00412df1
cmp eax, 1
jne 0x418bc1
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0041830e
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00416508
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004087a0
mov dword [ebp + 8], SysFreeString
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004087a0
mov eax, esi
call fcn.00448056
ret 0x14

Function at 0x418bed
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x47080c
call fcn.00447f7e
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00413329
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x418c4f
call fcn.00412df1
cmp eax, 1
jne 0x418c4f
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0041830e
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00416508
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004087a0
mov dword [ebp + 8], SysFreeString
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004087a0
mov eax, esi
call fcn.00448056
ret 8
Function at 0x4246a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4246e8
call fcn.00413832
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4246e8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x424704
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042421b
mov esi, eax
test edi, edi
je 0x424702
test ebx, ebx
je 0x424702
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4251bd
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x471657
call fcn.00447f7e
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4251e2
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x425228
lea ecx, [ebp - 0x10]
call fcn.004130f8
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004120d5
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004087a0
mov eax, esi
call fcn.00448056
ret 8
Function at 0x42c497
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x48f4f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x42c535
push 0x4769ec
push 4
push eax
call fcn.00448e40
push eax
call fcn.004120a9
add esp, 0x10
push ebx
push edi
call fcn.004489cb
mov edi, dword [eax]
call fcn.004489cb
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0044734b
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.004489cb
cmp dword [eax], ebx
je 0x42c54c
call fcn.004489cb
push dword [eax]
call fcn.00414a8e
pop ecx
jmp 0x42c553
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x42c4dd
jmp 0x42c5da
call fcn.004489cb
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x42c5d6
cmp dword [ebp - 0x11c], esi
jae 0x42c5d6
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.00446e90
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x42c5c5
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x42c5c5
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x42c5c5
push ebx
push ebx
push esi
jmp 0x42c5ce
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x42c5d8
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00443a0f
leave
ret

Function at 0x43470a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x43472e
cmp dword [edi + 0x54], 0
jne 0x43472e
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00413832
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004346cb
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x441863
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x48f4f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x441898
xor eax, eax
jmp 0x4418eb
lea eax, [ebp - 0x210]
push eax
call fcn.004485c1
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x4418c9
push 0x47a400
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0044b048
add esp, 0xc
test eax, eax
jne 0x441894
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0044b048
add esp, 0xc
test eax, eax
jne 0x441894
lea eax, [ebp - 0x210]
push eax
call fcn.004417d5
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00443a0f
leave
ret

Function at 0x443a0f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48f4f4]
jne 0x443a19
repz ret
jmp fcn.0044b0c5

Function at 0x4606db
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0044b5c1
and dword [ebp - 4], 0
cmp dword [0x60e948], 0
mov ebx, eax
jne 0x46078c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46083d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x47c618
push edi
call esi
test eax, eax
je 0x46083d
push eax
call fcn.0044b54f
mov dword [esp], 0x47c608
push edi
mov dword [0x60e948], eax
call esi
push eax
call fcn.0044b54f
mov dword [esp], 0x47c5f4
push edi
mov dword [0x60e94c], eax
call esi
push eax
call fcn.0044b54f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x60e950], eax
call esi
push eax
call fcn.0044b54f
pop ecx
mov dword [0x60e958], eax
test eax, eax
je 0x46078c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044b54f
pop ecx
mov dword [0x60e954], eax
mov eax, dword [0x60e954]
cmp eax, ebx
je 0x4607e4
cmp dword [0x60e958], ebx
je 0x4607e4
push eax
call fcn.0044b5ca
push dword [0x60e958]
mov esi, eax
call fcn.0044b5ca
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4607e4
test edi, edi
je 0x4607e4
call esi
test eax, eax
je 0x4607db
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4607db
test byte [ebp - 0xc], 1
jne 0x4607e4
or dword [ebp + 0x10], 0x200000
jmp 0x46081d
mov eax, dword [0x60e94c]
cmp eax, ebx
je 0x46081d
push eax
call fcn.0044b5ca
pop ecx
test eax, eax
je 0x46081d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46081d
mov eax, dword [0x60e950]
cmp eax, ebx
je 0x46081d
push eax
call fcn.0044b5ca
pop ecx
test eax, eax
je 0x46081d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x60e948]
call fcn.0044b5ca
pop ecx
test eax, eax
je 0x46083d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46083f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219