joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4177a4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4213ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00410a37
and dword [ebp - 0x14], 0
cmp dword [0x4390b0], 0
mov dword [ebp - 0x18], eax
jne 0x417857
push 0x403f50
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4178ff
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403f44
push ebx
call edi
test eax, eax
je 0x4178ff
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403f34
push ebx
mov dword [0x4390b0], eax
call edi
push eax
call esi
push 0x403f20
push ebx
mov dword [0x4390b4], eax
call edi
push eax
call esi
push 0x403f04
push ebx
mov dword [0x4390b8], eax
call edi
push eax
call esi
mov dword [0x4390c0], eax
test eax, eax
je 0x417857
push 0x403eec
push ebx
call edi
push eax
call esi
mov dword [0x4390bc], eax
mov eax, dword [0x4390bc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4178b0
cmp dword [0x4390c0], ecx
je 0x4178b0
push eax
call esi
push dword [0x4390c0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4178b0
test ebx, ebx
je 0x4178b0
call edi
test eax, eax
je 0x4178a7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4178a7
test byte [ebp - 8], 1
jne 0x4178b0
or dword [ebp + 0x10], 0x200000
jmp 0x4178e3
mov eax, dword [0x4390b4]
cmp eax, dword [ebp - 0x18]
je 0x4178e3
push eax
call esi
test eax, eax
je 0x4178e3
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4178e3
mov eax, dword [0x4390b8]
cmp eax, dword [ebp - 0x18]
je 0x4178e3
push eax
call esi
test eax, eax
je 0x4178e3
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4390b0]
call esi
test eax, eax
je 0x4178ff
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x417901
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b21b
leave
ret
Function at 0x419290
Capabilities:
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x13a0
call fcn.00418060
cmp dword [0x8e3504], 0x37
push esi
jne 0x4193aa
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualUnlock]
push 0
lea ecx, [esp + 0xba4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitForDebugEvent]
mov eax, dword [esp + 0xc]
push 0
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
push 0
lea ecx, [esp + 0x3a4]
push ecx
push 0x40405c
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea edx, [esp + 0x7a4]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x180]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
lea ecx, [esp + 0x1c]
push ecx
push 0
lea edx, [esp + 0x5c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0
call esi
push 0x404074
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
lea ecx, [esp + 0x14]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeW]
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetProfileSectionW]
push 0x30
lea eax, [esp + 0x28]
push 0
push eax
mov dword [esp + 0x2c], 0
call fcn.0040a540
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
mov edx, dword [0x8e5c68]
mov dword [esp + 8], edx
mov eax, 0x5d1
add dword [esp + 8], eax
mov eax, dword [esp + 8]
mov cl, byte [eax + edi]
mov edx, dword [0x8e1cfc]
mov byte [edx + edi], cl
pop esi
add esp, 0x13a0
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1fa45ad0
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xf27216f
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4068db
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068ff
xor eax, eax
test eax, eax
je 0x406912
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406912
xor ecx, ecx
jmp 0x406915
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a38
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43110c], 0
push esi
jne 0x406a6f
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 0x406a49
mov dword [ecx*4 + 0x431108], eax
inc ecx
cmp ecx, 0x100
jl 0x406a44
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406aa0
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 + 0x431108]
xor eax, esi
inc ecx
dec edx
jne 0x406a82
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x40f600
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x7a2470], eax
xor eax, eax
nop
add eax, 1
mov ecx, dword [eax*4 + 0x7a246c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x7a2470], edx
cmp eax, 0x26f
jl 0x40f608
mov dword [0x586fd0], 0x270
ret

Function at 0x40f640
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, 0xffffffff
mov esi, esi
add eax, 1
mov ecx, dword [eax*4 + 0x7a2474]
mov ebx, dword [eax*4 + 0x7a2470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x7a2aa4]
mov dword [eax*4 + 0x7a2470], edx
cmp eax, 0xe2
jl 0x40f648
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x7a2474]
mov ebx, dword [eax*4 + 0x7a2470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x7a20e4]
mov dword [eax*4 + 0x7a2470], edx
cmp eax, 0x26e
jl 0x40f698
mov edx, dword [0x7a2470]
mov ecx, dword [0x7a2e2c]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x7a2aa0]
mov dword [0x7a2e2c], eax
mov dword [0x586fd0], 0
pop ebx
ret

Function at 0x40f720
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, dword [0x586fd0]
add dword [0x586fd0], 1
mov eax, dword [0x7a1020]
cmp eax, dword [0x586720]
jne 0x40f743
cmp ebx, 0x271
jb 0x40f764
mov eax, dword [0x7a1020]
call fcn.0040f600
not dword [0x7a1020]
mov eax, dword [0x7a1020]
mov dword [0x586720], eax
mov ebx, 0x270
mov esi, esi
cmp ebx, 0x270
jne 0x40f780
call fcn.0040f640
xor ebx, ebx
mov dword [0x586fd0], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x7a2470]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
ret
Function at 0x411340
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x586470]
cmp ax, 0xcb
je 0x41144c
cmp ax, 0xcc
je 0x41144c
lea esi, [esi]
mov edx, dword [0x7a3070]
test edx, edx
je 0x411375
mov eax, dword [0x7a2f20]
call edx
mov ebx, eax
jmp 0x41137a
mov ebx, 0x7a2f24
cmp word [0x7a2f10], 0
jle 0x4113a0
mov eax, 0x7a2ef0
call fcn.00411600
mov eax, ebx
call fcn.00410f00
mov eax, ebx
call fcn.00410f70
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x4113c2
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x4113bd
mov edx, edi
mov eax, ebx
call fcn.00410370
jmp 0x4113c0
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x4113a8
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x7a2f10], 0
jle 0x41144c
mov edx, 0x7a2e30
mov eax, ebx
call fcn.004104b0
mov edi, eax
test edi, edi
je 0x41141c
mov eax, dword [0x7a2ec4]
mov dword [edi + 0xc], eax
cmp dword [0x7a2ec4], 0
je 0x411410
mov eax, dword [0x7a2ec4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x7a2ec4], eax
nop
sub word [0x7a2f10], 1
cmp word [0x7a2f10], 0
sete bl
mov eax, 0x7a2ef0
call fcn.00411620
test bl, bl
je 0x41144c
mov eax, 0x7a2ef0
call fcn.004115f0
lea esi, [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x413650
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
push esi
push edi
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00413630
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x20], 0xff
je 0x41377a
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov word [ebp - 4], 0
mov word [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040bbf0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
jne 0x4136df
mov edx, 0x7a22f0
push edx
push esi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
test ebx, ebx
jne 0x413731
call sub.kernel32.dll_GetLastError
call fcn.004042b0
lea eax, [ebp - 0x10]
call fcn.0040a3e0
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
lea edx, [ebp - 0x14]
call fcn.0040a990
mov edx, dword [ebp - 0x14]
mov ecx, 0x743344
lea eax, [ebp - 0x10]
call fcn.0040a710
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0040b3a0
jmp 0x4137c8
mov eax, esi
mov edx, 0
sub eax, 1
sbb edx, 0
mov ecx, ebx
xor edi, edi
cmp edx, edi
jne 0x41374a
cmp eax, ecx
je 0x413754
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call fcn.0040bbf0
cmp byte [0x5866f0], 0
jne 0x4137c8
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040c190
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040b4b0
lea esi, [esi]
jmp 0x4137c8
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040bbf0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x41379e
mov eax, 0x7a22f0
push eax
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x5866f0], 0
jne 0x4137c8
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040c190
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040b4b0
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00413630
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413be0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x7a2260], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.00413dc0
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x7a2260]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.004037b0
call sub.kernel32.dll_GetCommandLineA
mov dword [0x5864f0], eax
mov ebx, eax
jmp 0x413d83
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x413c68
cmp byte [ebx], 0
je 0x413d8c
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x413ce3
mov al, byte [ebx]
cmp al, 1
jb 0x413cd8
sub al, 0x20
jbe 0x413ca8
sub al, 2
je 0x413cbc
jmp 0x413cd8
mov al, byte [ebp - 0x114]
test al, al
je 0x413ce8
add dword [ebp - 0x110], 1
jmp 0x413ce0
cmp byte [ebx + 1], 0x22
je 0x413cd3
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x413ce0
add ebx, 1
jmp 0x413ce0
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x413c98
test dword [ebp - 0x10c], 0xffffffff
je 0x413d7c
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.00413dc0
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x7a2260]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x413d73
mov al, byte [ebx]
cmp al, 1
jb 0x413d68
sub al, 0x20
jbe 0x413d38
sub al, 2
je 0x413d4c
jmp 0x413d68
mov al, byte [ebp - 0x114]
test al, al
je 0x413d78
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x413d70
cmp byte [ebx + 1], 0x22
je 0x413d63
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x413d70
add ebx, 1
jmp 0x413d70
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x413d28
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x413c6b
mov ebx, dword [ebp - 0x10c]
mov dword [0x7a2250], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x7a2260
call fcn.00411180
mov eax, dword [0x7a2260]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a450
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x14]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
je 0x42a46b
jmp 0x42a478
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
nop
cmp dword [ebp - 0xc], 0
je 0x42a480
jmp 0x42a488
jmp 0x42a612
xor eax, eax
push 0x42a5ef
push ebp
push 0x414de0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x44], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [eax + 0x3c], edx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0xc]
mov byte [eax + 4], 1
mov eax, dword [ebp - 0xc]
mov byte [eax + 5], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 7], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 8], 1
mov eax, dword [ebp - 0xc]
mov byte [eax + 6], 0
mov eax, dword [ebp - 0xc]
mov byte [eax + 9], 0
mov dword [ebp - 0x14], 0x11
lea eax, [ebp - 0x14]
push eax
mov edx, 0x750c58
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x2c]
mov ecx, 1
call fcn.0040d060
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0xc]
mov edx, 0
call fcn.00408bc0
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x10]
mov edx, 0
call fcn.00408bc0
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x14]
mov edx, 0
call fcn.00408bc0
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x18]
mov edx, 0
call fcn.00408bc0
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x1c]
mov edx, 0
call fcn.00408bc0
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x20]
mov edx, 0
call fcn.00408bc0
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x24]
mov edx, 0
call fcn.0040a690
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x28]
mov edx, 0
call fcn.0040a690
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x38], 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [eax + 0x48], edx
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
mov edx, 0x750c80
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0x40]
mov ecx, 1
call fcn.0040d060
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
jne 0x42a5d0
jmp 0x42a5e4
cmp dword [ebp - 8], 0
jne 0x42a5d8
jmp 0x42a5e4
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x42a612
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42b160
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov cl, 0
mov edx, 0x58
call fcn.004037f0
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x42f2b0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x34]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], 0
xor eax, eax
push fcn.0042f280
push ebp
push 0x414a60
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x18], 1
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x10], 0
call sub.kernel32.dll_GetCommandLineW
lea ecx, [ebp - 0x1c]
mov dx, 0
call fcn.0040b430
lea eax, [ebp - 0x28]
push eax
mov eax, dword [0x7218d0]
call fcn.0040cf30
mov ecx, eax
mov edx, dword [0x7218d0]
mov eax, 0x747e58
call fcn.004268c0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
mov ecx, 1
call fcn.00409a90
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
ja 0x42f34b
jmp 0x42f37a
call fcn.00413e30
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 2
jae 0x42f35b
jmp 0x42f378
lea edx, [ebp - 0x34]
mov eax, 2
call fcn.00415170
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 4]
call fcn.0040a5c0
mov byte [ebp - 0x14], 1
nop
jmp 0x42f398
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42f388
mov eax, dword [eax - 4]
shr eax, 1
cmp eax, 0
jg 0x42f38f
jmp 0x42f398
mov byte [ebp - 0x14], 1
mov byte [ebp - 0x10], 1
nop
cmp byte [ebp - 0x14], 0
je 0x42f3a0
jmp 0x42f3d0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [0x722c20]
call fcn.0040cf30
mov ecx, eax
mov edx, dword [0x722c20]
mov eax, 0x747e58
call fcn.004268c0
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 4]
call fcn.0040a5c0
mov byte [ebp - 0x10], 1
nop
cmp byte [ebp - 0x10], 0
jne 0x42f3db
jmp 0x42f458
mov eax, dword [ebp - 4]
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
mov dx, 0
call fcn.0040a540
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.0042d0f0
mov byte [ebp - 0x18], al
lea ecx, [ebp - 0x24]
mov edx, 0x10
mov eax, 0x751028
call fcn.0042f920
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
mov dx, 0
call fcn.0040a540
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.00408cc0
lea eax, [ebp - 0x28]
push eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
mov cl, 0
call fcn.0042f210
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
call fcn.0040a5c0
cmp byte [ebp - 0x18], 0
je 0x42f451
jmp 0x42f458
mov byte [ebp - 0xc], 0
jmp 0x42f45c
mov byte [ebp - 0xc], 1
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042f280
mov al, byte [ebp - 0xc]
mov esp, ebp
pop ebp
ret