joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408043
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x4bc]
sub esp, 0x53c
mov eax, dword [0x41e1c4]
xor eax, ebp
mov dword [ebp + 0x4b8], eax
mov eax, dword [ebp + 0x4c4]
push esi
xor esi, esi
push esi
push 2
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x74], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
jne 0x408084
xor eax, eax
jmp 0x408156
push ebx
push edi
lea ecx, [ebp - 0x70]
push ecx
push eax
mov dword [ebp - 0x70], 0x128
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 0x7c], esi
mov ebx, 0x400
xor edi, edi
lea esi, [ebp + edi - 0x4c]
movsx eax, byte [esi]
push eax
call fcn.00409a92
inc edi
cmp edi, 0x104
pop ecx
mov byte [esi], al
jl 0x4080a1
push ebx
push dword [ebp - 0x80]
lea eax, [ebp + 0xb8]
push ebx
push eax
call fcn.0040b700
lea eax, [ebp - 0x7c]
push eax
mov esi, 0x419bc8
lea eax, [ebp + 0xb8]
push esi
push eax
call fcn.0040b612
add esp, 0x1c
jmp 0x408121
mov ecx, eax
lea eax, [ebp - 0x4c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x408109
test dl, dl
je 0x408105
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x408109
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x4080eb
xor eax, eax
jmp 0x40810e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x408127
lea eax, [ebp - 0x7c]
push eax
push esi
push 0
call fcn.0040b612
add esp, 0xc
test eax, eax
jne 0x4080e6
jmp 0x40812e
mov dword [ebp - 0x74], 1
cmp dword [ebp - 0x74], 1
je 0x408148
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40809f
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x74]
pop edi
pop ebx
mov ecx, dword [ebp + 0x4b8]
xor ecx, ebp
pop esi
call fcn.004095cd
add ebp, 0x4bc
leave
ret 4

Function at 0x408383
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x41e1c4]
xor eax, ebp
mov dword [ebp + 0x88], eax
and dword [ebp - 0x80], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x98]
imul edi, edi, 0x64
mov esi, ecx
test edi, edi
jle 0x40844a
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push dword [esi + 8]
call ebx
test eax, eax
je 0x408424
push 0x103
lea eax, [ebp - 0x7b]
push 0
push eax
mov byte [ebp - 0x7c], 0
call fcn.00408f80
add esp, 0xc
push 0x415
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x104
lea ecx, [ebp - 0x7c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x7c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x408402
sub eax, ecx
cmp eax, 3
jle 0x408436
movsx eax, byte [ebp + eax - 0x7e]
sub eax, 0x30
cmp dword [ebp + 0x94], eax
jne 0x408436
mov al, 1
jmp 0x40844c
push 1
mov ecx, esi
call fcn.00408353
push dword [esi + 8]
call ebx
test eax, eax
je 0x40844a
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x80]
cmp dword [ebp - 0x80], edi
jl 0x4083be
xor al, al
mov ecx, dword [ebp + 0x88]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004095cd
add ebp, 0x8c
leave
ret 8
Function at 0x408466
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x41e1c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], eax
cmp dword [esi + 8], ebx
jne 0x40848e
call fcn.00408334
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40854e
push edi
push 0x415
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, 0x103
push esi
mov edi, eax
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.00408f80
push esi
lea eax, [ebp - 0x20b]
push ebx
push eax
mov byte [ebp - 0x20c], bl
call fcn.00408f80
add esp, 0x18
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x108]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4084fc
sub eax, esi
cmp eax, 3
jle 0x40854d
mov byte [ebp + eax - 0x10b], bl
mov eax, dword [ebp + 8]
push 0x20
add eax, 0x30
push eax
push 0x20
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str._s_c_c_c
push eax
call fcn.0040816e
add esp, 0x18
push ebx
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.004095cd
leave
ret 4

Function at 0x4095cd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41e1c4]
jne 0x4095d7
repz ret
jmp fcn.0040d57c
Function at 0x415bad
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.0040c2ac
and dword [ebp - 4], 0
cmp dword [0x41ffc4], 0
mov ebx, eax
jne 0x415c5e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x415d0f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41b7f4
push edi
call esi
test eax, eax
je 0x415d0f
push eax
call fcn.0040c23a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41ffc4], eax
call esi
push eax
call fcn.0040c23a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41ffc8], eax
call esi
push eax
call fcn.0040c23a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41ffcc], eax
call esi
push eax
call fcn.0040c23a
pop ecx
mov dword [0x41ffd4], eax
test eax, eax
je 0x415c5e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040c23a
pop ecx
mov dword [0x41ffd0], eax
mov eax, dword [0x41ffd0]
cmp eax, ebx
je 0x415cb6
cmp dword [0x41ffd4], ebx
je 0x415cb6
push eax
call fcn.0040c2b5
push dword [0x41ffd4]
mov esi, eax
call fcn.0040c2b5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x415cb6
test edi, edi
je 0x415cb6
call esi
test eax, eax
je 0x415cad
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x415cad
test byte [ebp - 0xc], 1
jne 0x415cb6
or dword [ebp + 0x10], 0x200000
jmp 0x415cef
mov eax, dword [0x41ffc8]
cmp eax, ebx
je 0x415cef
push eax
call fcn.0040c2b5
pop ecx
test eax, eax
je 0x415cef
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x415cef
mov eax, dword [0x41ffcc]
cmp eax, ebx
je 0x415cef
push eax
call fcn.0040c2b5
pop ecx
test eax, eax
je 0x415cef
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41ffc4]
call fcn.0040c2b5
pop ecx
test eax, eax
je 0x415d0f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x415d11
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40dba0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x20
mov eax, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0xac743402
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
sub eax, 0x8411928e
je 0x40dd07
jmp 0x40dbd9
mov eax, dword [ebp - 0x1c]
sub eax, 0x85515766
je 0x40dcb9
jmp 0x40dbec
mov eax, dword [ebp - 0x1c]
sub eax, 0xa8112f82
je 0x40dd68
jmp 0x40dbff
mov eax, dword [ebp - 0x1c]
sub eax, 0xac743402
je 0x40dc76
jmp 0x40dc12
mov eax, dword [ebp - 0x1c]
sub eax, 0xbfdbe6fc
je 0x40dda6
jmp 0x40dc25
mov eax, dword [ebp - 0x1c]
sub eax, 0xe2a736d1
je 0x40ddb8
jmp 0x40dc38
mov eax, dword [ebp - 0x1c]
sub eax, 0x7bd3cd0
je 0x40dd7a
jmp 0x40dc4b
mov eax, dword [ebp - 0x1c]
sub eax, 0x1a55d2e0
je 0x40ddb2
jmp 0x40dc5e
mov eax, dword [ebp - 0x1c]
sub eax, 0x52f40a8f
je 0x40dd4d
jmp 0x40dc71
jmp 0x40ddbf
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor eax, 0xffffffff
mov edx, 0xffffffff
xor edx, 2
mov ecx, 0xffffffff
xor ecx, 0xa3cd1a9a
or eax, edx
or ecx, 0xa3cd1a9a
xor eax, 0xffffffff
and eax, ecx
cmp eax, 0
sete al
and al, 1
mov byte [ebp - 9], al
mov dword [ebp - 0x18], 0x85515766
jmp 0x40ddbf
mov eax, dword [0x43e54c]
mov ecx, dword [0x43e548]
mov edx, eax
sub edx, 0xb9b2f14f
sub edx, 1
add edx, 0xb9b2f14f
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xe2a736d1
mov ecx, 0x8411928e
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40ddbf
mov eax, dword [0x43e54c]
mov ecx, dword [0x43e548]
xor esi, esi
sub esi, 1
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xe2a736d1
mov ecx, 0x52f40a8f
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40ddbf
mov dl, byte [ebp - 9]
mov eax, 0x1a55d2e0
mov ecx, 0xa8112f82
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x18], eax
jmp 0x40ddbf
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x7bd3cd0
jmp 0x40ddbf
mov ecx, dword [ebp - 8]
mov eax, ecx
and eax, 2
xor ecx, 2
or eax, ecx
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
sub esp, 8
mov dword [ebp - 0x18], 0xbfdbe6fc
jmp 0x40ddbf
mov dword [ebp - 0x18], 0x1a55d2e0
jmp 0x40ddbf
add esp, 0x20
pop esi
pop ebp
ret
mov dword [ebp - 0x18], 0x8411928e
jmp 0x40dbc3
Function at 0x42639b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4263da
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4263da
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4263da
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4263da
cmp dword [ecx + 0x74], 0xe
jbe 0x4263da
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42db3b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x42dbd8
push ebx
push esi
call fcn.0042db04
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0042da98
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x42db85
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42dbd7
push edi
push eax
call fcn.0042c5d0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x42dba5
call fcn.0042c61e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x42dbd6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0042da98
add esp, 0x20
test eax, eax
jne 0x42dbc4
push edi
call fcn.0042c61e
jmp 0x42dbcc
push ebx
call fcn.0042c61e
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x42ede7
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x437e90
push 0x437e88
push str.FlsAlloc
push 0x1f
call fcn.0042eca6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42ee1b
push dword [ebp + 8]
mov ecx, esi
call dword [0x435144]
call esi
jmp 0x42ee21
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x42ee65
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x437ea0
push 0x437e98
push str.FlsGetValue
push 0x21
call fcn.0042eca6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42ee9c
push dword [ebp + 8]
mov ecx, esi
call dword [0x435144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x42eea4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x437ea8
push 0x437ea0
push str.FlsSetValue
push 0x22
call fcn.0042eca6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42eede
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x435144]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4341b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4341dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4341dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x66b008], 0x8088405
inc edx
mov dword [ebx + 0x66b008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cd64
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cd95
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cd7d
add dl, dl
jne 0x41cda0
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cdf1
xor eax, eax
add dl, dl
jne 0x41cdad
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ce8e
add dl, dl
jne 0x41cdbc
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdc7
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cdd2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cddd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cde7
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cd8c
mov eax, 1
add dl, dl
jne 0x41cdff
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41ce0a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cdf6
sub eax, ebx
mov ebx, 1
jne 0x41ce3d
mov ecx, 1
add dl, dl
jne 0x41ce23
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce2e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce1a
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41ce54
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41ce5f
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41ce4b
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cd8c
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41ceaf
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 0x41cd8c
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e5a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x652a63
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e655
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e63e
test esi, esi
jbe 0x41e655
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088e4
test eax, eax
jne 0x41e630
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e655
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e60d
jmp 0x41e655
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e655
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x652a6a
ret
Function at 0x41eec4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov word [ebp - 2], dx
xor eax, eax
push ebp
push 0x653473
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41eeff
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41ef18
lea eax, [ebp - 0x10]
mov edx, dword [0x66d2a4]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x41ef2b
lea eax, [ebp - 0x10]
mov edx, dword [0x66d2a4]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x41ef37
adc edx, 0
mov edx, dword [edx*4 + 0x66c10c]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x41f045
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41f038
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41f038
add eax, 4
mov dx, word [eax]
cmp dx, 0x14c
jb 0x41f038
cmp dx, 0x150
ja 0x41f038
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x41f038
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 2]
jne 0x41f038
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x41f05d
inc ebx
cmp ebx, 0x19
jne 0x41eef1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65347a
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x10223195
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x10246378], 0x1f19
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10222588
lea ecx, [0x10222b39]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x38], 0x12be00
mov edx, dword [0x10246364]
mov dword [esp + 0x50], edx
mov edx, dword [0x10246368]
mov dword [esp + 0x78], edx
mov edx, dword [0x1024636c]
mov dword [esp + 0x60], edx
mov edx, dword [0x10246370]
mov dword [esp + 0x34], edx
mov edx, dword [0x10246374]
mov dword [esp + 0x30], edx
mov dword [0x1024637c], 0x4bf
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x1022325c
jmp 0x10223270
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], eax
mov dword [0x1024637c], 0xe73
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x7c], edx
call fcn.10222b80
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
je 0x10223284
jmp 0x102232b8
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1022322a
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10223219
lea eax, [esp + 0x30]
mov dword [0x1024637c], 0x341
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10222c8f
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x43005ffd
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x12ec2e87
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10018d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003004]
jne 0x10018e1
test ecx, 0xffff0000
jne 0x10018e1
ret
jmp fcn.010018eb

Function at 0x10019d0
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001278
call fcn.01001bf8
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or edi, 0xffffffff
mov dword [ebp - 4], edi
cmp word [0x1000000], 0x5a4d
jne 0x1001a24
mov eax, dword [0x100003c]
cmp dword [eax + 0x1000000], 0x4550
jne 0x1001a24
movzx ecx, word [eax + 0x1000018]
cmp ecx, 0x10b
je 0x1001a3c
cmp ecx, 0x20b
je 0x1001a29
mov dword [ebp - 0x1c], ebx
jmp 0x1001a53
cmp dword [eax + 0x1000084], 0xe
jbe 0x1001a24
xor ecx, ecx
cmp dword [eax + 0x10000f8], ebx
jmp 0x1001a4d
cmp dword [eax + 0x1000074], 0xe
jbe 0x1001a24
xor ecx, ecx
cmp dword [eax + 0x10000e8], ebx
setne cl
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 1
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
mov dword [0x1003344], edi
mov dword [0x1003348], edi
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1003338]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1003334]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100334c], eax
call fcn.01001bf0
cmp dword [0x1003008], ebx
jne 0x1001ab0
push fcn.01001bf0
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01001bd9
push 0x1001120
push 0x100111c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1003330]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x100332c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1001118
push 0x1001110
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp byte [eax], 0x22
jne 0x1001b3b
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x1001b1b
cmp cl, 0x22
jne 0x1001b0c
cmp byte [eax], 0x22
jne 0x1001b24
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x1001b2f
cmp cl, 0x20
jbe 0x1001b20
test byte [ebp - 0x54], 1
je 0x1001b46
movzx ecx, word [ebp - 0x50]
jmp 0x1001b49
cmp byte [eax], 0x20
jbe 0x1001b24
inc eax
mov dword [ebp - 0x20], eax
jmp 0x1001b3b
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call fcn.01001625
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x1001b67
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], edi
jmp 0x1001ba3
mov eax, esi
jmp 0x1001bb7
call fcn.01001c33
ret