joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403a00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4132e0
push 0x409a94
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, 0x94
call fcn.00409ba0
mov dword [ebp - 0x7c], esp
mov dword [ebp - 0x18], esp
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ecx], 0x94
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0x10]
mov dword [0x4168dc], ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 4]
mov dword [0x4168e8], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 8]
mov dword [0x4168ec], edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0xc]
and ecx, 0x7fff
mov dword [0x4168e0], ecx
cmp dword [0x4168dc], 2
je 0x403a9f
mov edx, dword [0x4168e0]
or edx, 0x8000
mov dword [0x4168e0], edx
mov eax, dword [0x4168e8]
shl eax, 8
add eax, dword [0x4168ec]
mov dword [0x4168e4], eax
call fcn.00403c70
mov dword [ebp - 0x6c], eax
push 0
call fcn.00409960
add esp, 4
test eax, eax
jne 0x403ad2
push 0x1c
call fcn.00403c40
add esp, 4
call fcn.00409830
mov dword [ebp - 4], 0
call fcn.004094c0
test eax, eax
jge 0x403af1
push 0x1b
call fcn.00403c10
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x417ee0], eax
call fcn.004092a0
mov dword [0x416870], eax
call fcn.00408e40
test eax, eax
jge 0x403b19
push 8
call fcn.00403c10
add esp, 4
call fcn.00408cc0
test eax, eax
jge 0x403b2c
push 9
call fcn.00403c10
add esp, 4
push 1
call fcn.00408730
add esp, 4
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x403b4b
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00403c10
add esp, 4
mov dword [ebp - 0x34], 0
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00408bf0
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x34]
and eax, 1
je 0x403b75
movzx ecx, word [ebp - 0x30]
mov dword [ebp - 0x80], ecx
jmp 0x403b7c
mov dword [ebp - 0x80], 0xa
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x6c], 0
jne 0x403ba6
mov ecx, dword [ebp - 0x74]
push ecx
call fcn.00408790
call fcn.004087d0
mov dword [ebp - 4], 0xffffffff
jmp 0x403bf3
mov eax, dword [ebp - 0x74]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403c70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x403c96
xor eax, eax
jmp 0x403d1d
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4550
je 0x403cb1
xor eax, eax
jmp 0x403d1d
mov edx, dword [ebp - 8]
add edx, 0x18
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x10b
je 0x403cd7
cmp dword [ebp - 0x14], 0x20b
je 0x403cf7
jmp 0x403d1b
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x5c], 0xe
ja 0x403ce4
xor eax, eax
jmp 0x403d1d
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp dword [eax + 0xd0], 0
setne cl
mov eax, ecx
jmp 0x403d1d
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x6c], 0xe
ja 0x403d0a
xor eax, eax
jmp 0x403d1d
mov ecx, dword [ebp - 0x10]
xor eax, eax
cmp dword [ecx + 0xe0], 0
setne al
jmp 0x403d1d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x403d30
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x416068]
jne 0x403d39
ret
jmp fcn.00403d40
Function at 0x408810
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x41691c], 1
jne 0x40882d
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x416918], 1
mov cl, byte [ebp + 0x10]
mov byte [0x416914], cl
cmp dword [ebp + 0xc], 0
jne 0x408892
cmp dword [0x417ec8], 0
je 0x408880
mov edx, dword [0x417ec4]
sub edx, 4
mov dword [0x417ec4], edx
mov eax, dword [0x417ec4]
cmp eax, dword [0x417ec8]
jb 0x408880
mov ecx, dword [0x417ec4]
cmp dword [ecx], 0
je 0x40887e
mov edx, dword [0x417ec4]
call dword [edx]
jmp 0x40884f
push 0x41602c
push 0x416024
call fcn.00408940
add esp, 8
push 0x416038
push 0x416030
call fcn.00408940
add esp, 8
cmp dword [0x416920], 0
jne 0x4088cb
push 0xffffffffffffffff
call fcn.00406d50
add esp, 4
and eax, 0x20
je 0x4088cb
mov dword [0x416920], 1
call fcn.00407630
cmp dword [ebp + 0x10], 0
je 0x4088d3
jmp 0x4088e9
mov dword [0x41691c], 1
mov eax, dword [ebp + 8]
push eax
call fcn.004088f0
add esp, 4
pop ebp
ret
Function at 0x409c30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x416068]
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 4], 0
jmp 0x409c54
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x13
jae 0x409c6d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx*8 + 0x4161a0]
jne 0x409c6b
jmp 0x409c6d
jmp 0x409c4b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax*8 + 0x4161a0]
jne 0x409e2b
cmp dword [ebp + 8], 0xfc
je 0x409cb3
cmp dword [ebp + 8], 0xff
je 0x409cb3
mov edx, dword [ebp - 4]
mov eax, dword [edx*8 + 0x4161a4]
push eax
push 0
push 0
push 0
push 1
call fcn.00407f90
add esp, 0x14
cmp eax, 1
jne 0x409cb3
int3
cmp dword [0x416878], 1
je 0x409cce
cmp dword [0x416878], 0
jne 0x409d07
cmp dword [0x416064], 1
jne 0x409d07
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx*8 + 0x4161a4]
push eax
call fcn.00403480
add esp, 4
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*8 + 0x4161a4]
push edx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x409e2b
cmp dword [ebp + 8], 0xfc
je 0x409e2b
mov byte [ebp - 0x1c], 0
push 0x104
lea eax, [ebp - 0x120]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x409d44
push str._program_name_unknown_
lea ecx, [ebp - 0x120]
push ecx
call fcn.0040d380
add esp, 8
lea edx, [ebp - 0x120]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00403480
add esp, 4
add eax, 1
cmp eax, 0x3c
jbe 0x409d8d
lea ecx, [ebp - 0x120]
push ecx
call fcn.00403480
add esp, 4
mov edx, dword [ebp - 0x10]
lea eax, [edx + eax - 0x3b]
mov dword [ebp - 0x10], eax
push 3
push 0x414304
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0040dae0
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.00403480
add esp, 4
mov esi, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x4161a4]
push ecx
call fcn.00403480
add esp, 4
lea eax, [esi + eax + 0x1c]
add eax, 3
and eax, 0xfffffffc
call fcn.00409ba0
mov dword [ebp - 0x124], esp
mov edx, dword [ebp - 0x124]
mov dword [ebp - 0xc], edx
push str.Runtime_Error__n_nProgram:
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040d380
add esp, 8
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0040d390
add esp, 8
push 0x414278
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040d390
add esp, 8
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*8 + 0x4161a4]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040d390
add esp, 8
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040d970
add esp, 0xc
lea esp, [ebp - 0x128]
mov ecx, dword [ebp - 0x14]
call fcn.00403d30
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40d970
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
cmp dword [0x416aa8], 0
jne 0x40da2b
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x40d9c2
push 0x414be4
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x416aa8], eax
cmp dword [0x416aa8], 0
jne 0x40d9c9
xor eax, eax
jmp 0x40dada
push str.GetActiveWindow
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x416aac], eax
push str.GetLastActivePopup
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x416ab0], eax
cmp dword [0x4168dc], 2
jne 0x40da2b
push str.GetUserObjectInformationA
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x416ab8], eax
cmp dword [0x416ab8], 0
je 0x40da2b
push str.GetProcessWindowStation
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x416ab4], eax
cmp dword [0x416ab4], 0
je 0x40da6c
call dword [0x416ab4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40da65
lea edx, [ebp - 0x18]
push edx
push 0xc
lea eax, [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [0x416ab8]
test eax, eax
je 0x40da65
mov edx, dword [ebp - 4]
and edx, 1
jne 0x40da6c
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
je 0x40da96
cmp dword [0x4168e8], 4
jb 0x40da88
mov eax, dword [ebp + 0x10]
or eax, 0x200000
mov dword [ebp + 0x10], eax
jmp 0x40da94
mov ecx, dword [ebp + 0x10]
or ecx, 0x40000
mov dword [ebp + 0x10], ecx
jmp 0x40dac4
cmp dword [0x416aac], 0
je 0x40daa8
call dword [0x416aac]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x40dac4
cmp dword [0x416ab0], 0
je 0x40dac4
mov edx, dword [ebp - 0x14]
push edx
call dword [0x416ab0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [0x416aa8]
mov esp, ebp
pop ebp
ret
Function at 0x410d70
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, 4
call fcn.00409ba0
mov dword [ebp - 0x64], esp
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
push 0x1c
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x410da4
xor eax, eax
jmp 0x410eb2
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
sub eax, 1
not eax
and eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x4168dc]
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff1
add ecx, 0x11
imul ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x60]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 8]
jae 0x410df7
xor eax, eax
jmp 0x410eb2
cmp dword [0x4168dc], 1
je 0x410e7d
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
push 0x1c
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x410e21
xor eax, eax
jmp 0x410eb2
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x48]
and ecx, 0x1000
je 0x410e06
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x44]
and eax, 0x100
je 0x410e4c
mov eax, 1
jmp 0x410eb2
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x5c]
jae 0x410e58
xor eax, eax
jmp 0x410eb2
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 8]
jae 0x410e66
mov eax, dword [ebp - 8]
mov dword [ebp - 0x5c], eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x410e83
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov ecx, dword [0x4168dc]
sub ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x103
add ecx, 1
mov dword [ebp - 4], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x64]
mov esp, ebp
pop ebp
ret

Function at 0x410ec0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x416068]
mov dword [ebp - 8], eax
mov byte [ebp - 0xa], 0
push 6
lea eax, [ebp - 0x10]
push eax
push 0x1004
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x410ef4
mov dword [ebp - 4], 0xffffffff
jmp 0x410f03
lea edx, [ebp - 0x10]
push edx
call fcn.00411a30
add esp, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.00403d30
mov esp, ebp
pop ebp
ret
Function at 0xad8010
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x564000]
push edi
or ebp, 0xffffffff
jmp 0xad8032
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xad8039
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xad8028
mov eax, 1
add ebx, ebx
jne 0xad804b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xad805c
jne 0xad807b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xad807b
dec eax
add ebx, ebx
jne 0xad8068
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xad8040
add ebx, ebx
jne 0xad8077
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xad80cd
xor ecx, ecx
sub eax, 3
jb 0xad8093
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xad8102
sar eax, 1
mov ebp, eax
jmp 0xad809e
add ebx, ebx
jne 0xad809e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xad806c
inc ecx
add ebx, ebx
jne 0xad80ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xad806c
add ebx, ebx
jne 0xad80b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xad80ae
jne 0xad80ca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xad80ae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xad80ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xad80de
jmp 0xad802e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xad80ec
add edi, ecx
jmp 0xad802e
pop esi
mov edi, esi
mov ecx, 0x121d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xad810a
cmp byte [edi], 0x34
jne 0xad810a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xad810f
lea edi, [esi + 0x6d5000]
mov eax, dword [edi]
or eax, eax
je 0xad8187
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6d9d1c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6d9e5c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xad813c
mov ecx, edi
jns 0xad816b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6d9e60]
or eax, eax
je 0xad8181
mov dword [ebx], eax
add ebx, 4
jmp 0xad8159
call dword [esi + 0x6d9e70]
mov ebp, dword [esi + 0x6d9e64]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xad81bb
sub esp, 0xffffff80
jmp 0x61a2b3
Function at 0x5cd690
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xce000]
push edi
jmp 0x5cd6aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5cd6b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cd6a0
mov eax, 1
add ebx, ebx
jne 0x5cd6c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5cd6d4
jne 0x5cd6f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cd6f3
dec eax
add ebx, ebx
jne 0x5cd6e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5cd6b8
add ebx, ebx
jne 0x5cd6ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5cd745
xor ecx, ecx
sub eax, 3
jb 0x5cd70b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5cd77a
sar eax, 1
mov ebp, eax
jmp 0x5cd716
add ebx, ebx
jne 0x5cd716
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cd6e4
inc ecx
add ebx, ebx
jne 0x5cd724
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cd6e4
add ebx, ebx
jne 0x5cd731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5cd726
jne 0x5cd742
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5cd726
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5cd764
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5cd756
jmp 0x5cd6a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5cd764
add edi, ecx
jmp 0x5cd6a6
pop esi
mov edi, esi
mov ecx, 0x3bf1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5cd782
cmp byte [edi], 0x1e
jne 0x5cd782
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5cd787
lea edi, [esi + 0x1ca000]
mov eax, dword [edi]
or eax, eax
je 0x5cd7ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d1934]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d1a4c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5cd7b4
mov ecx, edi
jns 0x5cd7e3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d1a50]
or eax, eax
je 0x5cd7f9
mov dword [ebx], eax
add ebx, 4
jmp 0x5cd7d1
call dword [esi + 0x1d1a60]
mov ebp, dword [esi + 0x1d1a54]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5cd833
sub esp, 0xffffff80
jmp 0x472556
Function at 0x4192a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x493feb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00488665
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x419322
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048633b
mov eax, dword [eax]
push 0x4cf218
push eax
call fcn.004667c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004888f0
test bl, bl
je 0x419322
push 0x4cf218
lea ecx, [esp + 0xc]
call fcn.00488c80
push 0x4d2d94
lea ecx, [esp + 0xc]
call fcn.00488c80
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41935e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004888f0
jmp 0x419429
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4193e2
lea edx, [esp + 0x7c]
push 0x4d2d90
push edx
call fcn.004667c4
add esp, 8
test eax, eax
je 0x4193e2
lea eax, [esp + 0x7c]
push 0x4d2d8c
push eax
call fcn.004667c4
add esp, 8
test eax, eax
je 0x4193e2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x419372
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004888f0
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41a6a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41a702
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x41a710
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49414b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d971c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x41a848
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41a776
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004888f0
xor eax, eax
jmp 0x41a8bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00488a2d
push esi
lea ecx, [esp + 0xc]
call fcn.00488cbc
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4d2dcc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41a89d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0041a6a0
test eax, eax
jne 0x41a89d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.0041a6a0
test eax, eax
jne 0x41a89d
lea eax, [esp + 0x14]
push 0x4d2da8
push eax
call fcn.004678e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a87c
lea ecx, [esp + 0x14]
push 0x4d2da4
push ecx
call fcn.00467860
mov esi, eax
add esp, 8
test esi, esi
jne 0x41a87c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41a87f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004889dd
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41a78e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004888f0
xor eax, eax
jmp 0x41a8bf
mov byte [esi], 0
push 0x4d2da0
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004888f0
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4