joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4300c6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.0041687b
fld1
lea eax, [ebp - 0xc]
fstp qword [ebp - 0x28]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromIID]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x430262
push dword [ebp - 0xc]
or eax, 0xffffffff
call fcn.00416566
mov esi, eax
lea eax, [ebp - 0x20]
mov dword [esp], str.interface_
push eax
call fcn.00416988
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00416b57
push str.TypeLib
or eax, 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00416b57
push esi
call fcn.0044896c
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x20]
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x430262
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x140]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], 0xff
call edi
mov esi, eax
cmp esi, ebx
jne 0x430259
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x140], bl
lea eax, [ebp - 0x140]
push eax
or eax, 0xffffffff
call fcn.00416512
pop ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
push dword [ebp - 0x14]
mov esi, eax
call fcn.0044896c
cmp esi, ebx
pop ecx
jl 0x430259
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x140]
push eax
push ebx
push ebx
push str.Version
push dword [ebp - 8]
mov dword [ebp - 4], 0xff
call edi
test eax, eax
jne 0x430204
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x140], bl
lea eax, [ebp - 0x140]
push eax
call fcn.004491a0
fstp qword [ebp - 0x28]
pop ecx
lea eax, [ebp - 0x10]
fld1
push eax
push ebx
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x28]
fstp qword [esp]
call fcn.0044b380
add esp, 0x10
call fcn.0045659c
fld qword [ebp - 0x28]
push eax
call fcn.0045659c
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_RegisterTypeLib]
mov esi, eax
cmp esi, ebx
jl 0x430259
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x20]
call fcn.0044896c
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x430272
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
xor ebx, ebx
push esi
lea ecx, [ebp - 0x24]
mov esi, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.0041687b
lea ecx, [ebp - 0x18]
call fcn.0041687b
lea ecx, [ebp - 0x30]
call fcn.0041687b
push str.SOFTWAREClasses_
lea eax, [ebp - 0x24]
push eax
call fcn.00416988
push dword [ebp + 8]
or eax, 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00416b57
push str.CLSID
or eax, 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00416b57
push 0x45a5dc
lea eax, [ebp - 0x18]
push eax
call fcn.00416988
cmp esi, ebx
je 0x430302
cmp byte [esi], 0x5c
je 0x430302
cmp byte [esi + 1], 0x5c
je 0x430302
push 0x45d1b0
lea eax, [ebp - 0x18]
push eax
call fcn.00416988
push esi
or eax, 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00416b57
cmp dword [ebp + 0x10], ebx
je 0x430357
push 0x20
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.00449140
mov dword [ebp - 0x4c], ebx
add esp, 0xc
lea ebx, [ebp - 0x18]
lea eax, [ebp - 0x30]
call fcn.00416ba6
push str.IPC_
or eax, 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00416b57
mov eax, dword [ebp - 0x30]
push 0
push dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x50]
push eax
call sub.MPR.dll_WNetAddConnection2A
mov esi, eax
test esi, esi
jne 0x4303f4
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push reloc.WSOCK32.dll_bind
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
mov esi, eax
cmp esi, ebx
jne 0x4303f4
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x24]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x4303eb
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x154]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 0xc], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
cmp esi, ebx
jne 0x4303e2
mov eax, dword [ebp - 0xc]
mov byte [ebp + eax - 0x154], bl
lea eax, [ebp - 0x154]
push eax
or eax, 0xffffffff
call fcn.00416512
pop ecx
push dword [ebp + 0xc]
mov ebx, eax
push ebx
call dword [sym.imp.ole32.dll_CLSIDFromString]
push ebx
mov esi, eax
call fcn.0044896c
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x30]
call fcn.0044896c
push dword [ebp - 0x18]
call fcn.0044896c
push dword [ebp - 0x24]
call fcn.0044896c
add esp, 0xc
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x438af7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
push str.open
lea esi, [ebp - 0x14]
mov edi, eax
call fcn.00416898
xor ebx, ebx
push 0x3c
xor esi, esi
lea eax, [ebp - 0x50]
push ebx
inc esi
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], esi
call fcn.00449140
add esp, 0xc
cmp dword [ebp + 0x10], 2
jb 0x438b68
cmp dword [edi + 0xc], esi
ja 0x438b39
lea esi, [edi + 0x18]
jmp 0x438b3f
mov eax, dword [edi + 8]
mov esi, dword [eax + 4]
call fcn.004180e8
cmp byte [eax], 0
je 0x438b68
cmp dword [edi + 0xc], 1
ja 0x438b54
lea esi, [edi + 0x18]
jmp 0x438b5a
mov eax, dword [edi + 8]
mov esi, dword [eax + 4]
call fcn.004180e8
push eax
call fcn.00415d3b
pop ecx
mov ebx, eax
cmp dword [ebp + 0x10], 3
jb 0x438b8e
cmp dword [edi + 0xc], 2
ja 0x438b79
lea esi, [edi + 0x18]
jmp 0x438b7f
mov eax, dword [edi + 8]
mov esi, dword [eax + 8]
call fcn.004180e8
push eax
call fcn.00415d3b
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 4
jb 0x438bcf
cmp dword [edi + 0xc], 3
ja 0x438b9f
lea esi, [edi + 0x18]
jmp 0x438ba5
mov eax, dword [edi + 8]
mov esi, dword [eax + 0xc]
call fcn.004180e8
cmp byte [eax], 0
je 0x438bcf
cmp dword [edi + 0xc], 3
ja 0x438bba
lea esi, [edi + 0x18]
jmp 0x438bc0
mov eax, dword [edi + 8]
mov esi, dword [eax + 0xc]
call fcn.004180e8
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00416988
cmp dword [ebp + 0x10], 5
jb 0x438bf1
cmp dword [edi + 0xc], 4
ja 0x438be0
lea eax, [edi + 0x18]
jmp 0x438be6
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x10]
call fcn.004181c9
movzx eax, ax
mov dword [ebp - 8], eax
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.00449140
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp dword [edi + 0xc], 0
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x44], eax
ja 0x438c22
lea esi, [edi + 0x18]
jmp 0x438c27
mov eax, dword [edi + 8]
mov esi, dword [eax]
call fcn.004180e8
mov edi, dword [ebp - 4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test ebx, ebx
mov esi, eax
je 0x438c55
push ebx
call fcn.0044896c
pop ecx
test edi, edi
je 0x438c60
push edi
call fcn.0044896c
pop ecx
test esi, esi
jne 0x438ca9
mov ebx, dword [ebp + 8]
cmp byte [ebx + 0x194], 1
jne 0x438c85
push 0xffffffffffffffff
call fcn.0041faa0
push eax
push 0x87
call fcn.0041f907
inc esi
jmp 0x438c9d
xor ecx, ecx
push 0
inc ecx
mov eax, ebx
call fcn.004211df
mov esi, dword [ebp + 0x14]
push 0
call fcn.00418643
xor esi, esi
push dword [ebp - 0x14]
call fcn.0044896c
mov eax, esi
jmp 0x438ce0
cmp byte [ebp + 0xc], 0
je 0x438cbd
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x710], eax
jmp 0x438cd6
mov esi, dword [ebp + 0x14]
push 1
call fcn.00418643
cmp dword [ebp - 0x18], 0
je 0x438cd6
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call fcn.0044896c
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x43babd
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push edi
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], 0xff
call esi
mov edi, 0x103
jmp 0x43bb72
xor eax, eax
cmp byte [0x46d9c0], bl
je 0x43bb06
mov eax, 0x100
lea ecx, [ebp - 0xc]
push ecx
or eax, 0x20019
push eax
push ebx
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43bb7a
push dword [ebp - 0xc]
call fcn.0043babd
pop ecx
push dword [ebp - 0xc]
mov byte [ebp - 1], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 1], bl
je 0x43bb7a
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x43bb7a
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], 0xff
call esi
cmp eax, edi
jne 0x43baf7
mov al, 1
jmp 0x43bb7c
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43c500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
je 0x43c588
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
jne 0x43c588
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push eax
xor ebx, ebx
push ebx
push ebx
push edi
call esi
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], eax
je 0x43c55c
cmp dword [ebp + 0x10], ebx
jbe 0x43c55c
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43c554
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
jmp 0x43c58a
push ebx
push ebx
push dword [ebp - 4]
push edi
call esi
cmp dword [ebp + 0x18], ebx
je 0x43c57c
push 2
push ebx
push ebx
push edi
call esi
push ebx
push ebx
push dword [ebp - 4]
mov edi, eax
push dword [ebp + 8]
call esi
sub edi, dword [ebp - 4]
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
inc eax
jmp 0x43c592
push 6
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push esi
xor esi, esi
inc esi
mov dword [0x46b928], eax
push edi
mov edx, esi
mov eax, 0x46b928
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x46c2e4
jl 0x44127f
pop edi
mov dword [0x4632d8], esi
mov dword [0x46c304], esi
pop esi
ret

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

Disassembly:
push ecx
cmp dword [0x46c304], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x46b928
jne 0x4412cd
push 0
call fcn.0044b3b2
pop ecx
call fcn.0044126e
mov dword [0x4632d8], 0x270
mov dword [0x46b920], esi
mov edx, 0xe3
mov ecx, bind
mov eax, 0x9908b0df
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi + 0x634]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x4412ec
mov edx, 0x18c
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi - 0x38c]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x441322
mov edx, dword [0x46b928]
mov edi, dword [esi]
xor edi, edx
and edi, ecx
xor edi, dword [esi]
and dl, 1
shr edi, 1
neg dl
sbb edx, edx
and edx, eax
xor edi, edx
xor edi, dword [esi - 0x38c]
mov dword [esi], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x44137c
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4632d8]
jne 0x441389
call fcn.004412ad
mov eax, dword [0x46b920]
mov ecx, dword [eax]
add dword [0x46b920], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4632d8]
jne 0x4413d2
call fcn.004412ad
mov eax, dword [0x46b920]
mov eax, dword [eax]
add dword [0x46b920], 4
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
test ecx, ecx
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
jge 0x441418
fadd qword [0x45de40]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x45de30]
leave
ret

Function at 0x441a92
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00449140
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

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

Disassembly:
push ebx
push esi
push edi
xor edi, edi
inc edi
mov dword [eax], ecx
mov esi, edi
mov ecx, eax
mov edx, dword [ecx]
mov ebx, edx
shr ebx, 0x1e
xor ebx, edx
imul ebx, ebx, 0x6c078965
add ebx, esi
mov dword [ecx + 4], ebx
inc esi
add ecx, 4
cmp esi, 0x270
jl 0x442415
mov dword [eax + 0x9c0], edi
mov dword [eax + 0x9c4], edi
pop edi
pop esi
pop ebx
ret
Function at 0x442445
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebx, eax
cmp dword [ebx + 0x9c4], 0
push esi
push edi
mov esi, ebx
jne 0x442469
push 0
call fcn.0044b3b2
pop ecx
mov ecx, eax
mov eax, ebx
call fcn.00442409
mov dword [ebx + 0x9c0], 0x270
mov dword [ebx + 0x9c8], ebx
mov dword [esp + 0x10], 0xe3
mov ecx, bind
mov eax, 0x9908b0df
mov edx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor edx, ebp
and edx, ecx
xor edx, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, ebp
and cl, 1
shr edx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor edx, ecx
xor edx, dword [esi + 0x634]
dec dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi], edx
mov esi, edi
jne 0x44248b
mov dword [esp + 0x10], 0x18c
mov edx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor edx, ebp
and edx, ecx
xor edx, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, ebp
and cl, 1
shr edx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor edx, ecx
xor edx, dword [esi - 0x38c]
dec dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi], edx
mov esi, edi
jne 0x4424c7
mov ebx, dword [ebx]
mov edx, dword [esi]
xor edx, ebx
and edx, ecx
xor edx, dword [esi]
and bl, 1
shr edx, 1
neg bl
pop edi
sbb ebx, ebx
and ebx, eax
xor edx, ebx
xor edx, dword [esi - 0x38c]
mov dword [esi], edx
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret

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

Disassembly:
dec dword [esi + 0x9c0]
jne 0x442530
mov eax, esi
call fcn.00442445
lea eax, [esi + 0x9c8]
mov edx, dword [eax]
mov ecx, dword [edx]
add edx, 4
mov dword [eax], edx
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x442730
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9cc
push ebx
xor ebx, ebx
lea eax, [ebp - 0x9cc]
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], ebx
call fcn.00442409
cmp dword [ebp + 0xc], ebx
jbe 0x442773
push esi
push edi
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x9cc]
lea edi, [ebx + eax]
call fcn.00442521
xor byte [edi], al
inc ebx
cmp ebx, dword [ebp + 0xc]
jb 0x442758
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x44a781
Capabilities:
Terminate process

Disassembly:
push 8
push 0x4590c8
call fcn.0044cebc
push 8
call fcn.0044c14c
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x46340c], esi
jne 0x44a7b5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x463408], esi
mov al, byte [ebp + 0x10]
mov byte [0x463404], al
cmp dword [ebp + 0xc], edi
jne 0x44a7ff
cmp dword [0x47310c], edi
je 0x44a7ef
mov eax, dword [0x473108]
sub eax, 4
mov dword [0x473108], eax
cmp eax, dword [0x47310c]
jb 0x44a7ef
mov eax, dword [eax]
cmp eax, edi
je 0x44a7d0
call eax
jmp 0x44a7d0
push 0x461050
mov eax, 0x461048
call fcn.0044a6ff
pop ecx
push 0x461058
mov eax, 0x461054
call fcn.0044a6ff
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x44a830
cmp dword [ebp + 0x10], edi
jne 0x44a83e
mov dword [0x46340c], esi
push dword [ebp + 8]
call fcn.0044a6bd
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x44a83d
push 8
call fcn.0044c097
pop ecx
ret
call fcn.0044cef7
ret

Function at 0x44a94a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x44a967
call fcn.0044e8b1
mov dword [eax], 0x16
xor eax, eax
jmp 0x44a9d1
push esi
push 0x8c
push 1
call fcn.0044f732
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x44a9bc
push esi
call fcn.0044bd10
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x44a99a
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x44a8b5
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x44a9d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.00449621
test ebx, ebx
pop ecx
je 0x44a9ce
push ebx
call fcn.0044e8c3
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x44b10c
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
xor ebx, ebx
test edi, edi
jne 0x44b128
call fcn.0044e8b1
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x44b19a
push esi
push 0x8c
push 1
call fcn.0044f732
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x44b180
push esi
call fcn.0044bd10
mov eax, dword [esp + 0x1c]
pop ecx
push esi
push 4
push esi
push 0x44b07a
push dword [esp + 0x24]
mov dword [esi + 0x4c], edi
push 0
mov dword [esi + 0x50], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
mov dword [esi + 4], edi
je 0x44b178
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x44b197
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.00449621
test ebx, ebx
pop ecx
je 0x44b192
push ebx
call fcn.0044e8c3
pop ecx
or eax, 0xffffffff
jmp 0x44b199
mov eax, edi
pop esi
pop edi
pop ebx
ret
Function at 0x44b8b9
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x459150
call fcn.0044cebc
mov edi, 0x94
mov eax, edi
call fcn.0044ba90
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4633cc], ecx
mov eax, dword [esi + 4]
mov dword [0x4633d8], eax
mov edx, dword [esi + 8]
mov dword [0x4633dc], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4633d0], esi
cmp ecx, 2
je 0x44b919
or esi, 0x8000
mov dword [0x4633d0], esi
shl eax, 8
add eax, edx
mov dword [0x4633d4], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x44b954
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44b954
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x44b96c
cmp eax, 0x20b
je 0x44b959
mov dword [ebp - 0x1c], esi
jmp 0x44b980
cmp dword [ecx + 0x84], 0xe
jbe 0x44b954
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x44b97a
cmp dword [ecx + 0x74], 0xe
jbe 0x44b954
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0044d4dd
pop ecx
test eax, eax
jne 0x44b994
push 0x1c
call fcn.0044b895
pop ecx
call fcn.0044bf0a
test eax, eax
jne 0x44b9a5
push 0x10
call fcn.0044b895
pop ecx
call fcn.0044f546
mov dword [ebp - 4], esi
call fcn.0044f848
test eax, eax
jge 0x44b9be
push 0x1b
call fcn.0044b870
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x4720e4], eax
call fcn.00452863
mov dword [0x463414], eax
call fcn.004527c1
test eax, eax
jge 0x44b9e4
push 8
call fcn.0044b870
pop ecx
call fcn.0045258e
test eax, eax
jge 0x44b9f5
push 9
call fcn.0044b870
pop ecx
push 1
call fcn.0044a717
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x44ba0b
push eax
call fcn.0044b870
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00452531
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x44ba2c
movzx eax, word [ebp - 0x40]
jmp 0x44ba2f
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00401827
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x44ba4d
push edi
call fcn.0044a844
call fcn.0044a866
jmp 0x44ba7f
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0044cef7
ret