joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c46fb
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10130aa4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x100c473e
call fcn.1006f583
mov dword [eax], 0xf
call fcn.1006f596
mov dword [eax], 0xd
call fcn.1006f41f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e187
leave
ret
test eax, eax
jne 0x100c4745
inc eax
jmp 0x100c4732
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x100c4730
xor eax, eax
cmp ecx, 1
setne al
jmp 0x100c4732
Function at 0x100c7eb2
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100c7cd3
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100c8021
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100c8021
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100c7fd6
jg 0x100c7f0e
test eax, eax
je 0x100c7fcc
push 1
push 0x1000
call fcn.100b04b7
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100c7f31
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100c7fc3
push 0x8000
push ebx
call fcn.100c7b08
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100c7f5a
jg 0x100c7f55
cmp ecx, 0x1000
jb 0x100c7f5a
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100b4179
add esp, 0x10
cmp eax, 0xffffffff
je 0x100c7f9f
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100c7f55
jl 0x100c7f86
test ecx, ecx
jne 0x100c7f47
push dword [ebp - 0xc]
push ebx
call fcn.100c7b08
push esi
call fcn.100adc38
add esp, 0xc
xor ebx, ebx
jmp 0x100c802f
cmp byte [edi + 0x24], 0
je 0x100c7fb6
cmp dword [edi + 0x20], 5
jne 0x100c7fb6
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100c7fc1
mov ebx, dword [edi + 0x18]
jmp 0x100c7fc3
xor ebx, ebx
push esi
call fcn.100adc38
pop ecx
jmp 0x100c802f
test ecx, ecx
jg 0x100c7f98
jl 0x100c7fd6
test eax, eax
jae 0x100c7f98
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100b5a48
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100c7ff6
cmp byte [edi + 0x1c], 0
je 0x100c7f98
jmp 0x100c8027
push ebx
call fcn.100b2d42
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100c7f98
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100c802f
cmp byte [edi + 0x1c], 0
je 0x100c802c
mov ebx, dword [edi + 0x18]
jmp 0x100c802f
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100b5a48
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100c82ce
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100c81a2

Function at 0x100ca4a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100ca4cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100ca4cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1001a45
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001258
call fcn.01001c48
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1001a82
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001a82
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1001a9a
cmp eax, 0x20b
je 0x1001a87
mov dword [ebp - 0x1c], ebx
jmp 0x1001aae
cmp dword [ecx + 0x84], 0xe
jbe 0x1001a82
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1001aa8
cmp dword [ecx + 0x74], 0xe
jbe 0x1001a82
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1003078], 0xffffffff
or dword [0x100307c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1003070]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100306c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1003080], eax
call fcn.01001c3e
cmp dword [0x1003050], ebx
jne 0x1001b09
push fcn.01001c3e
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01001c27
push 0x1003010
push 0x100300c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1003068]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1003064]
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 0x1003008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x1001b9f
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1001b73
cmp al, 0x22
jne 0x1001b65
cmp byte [esi], 0x22
jne 0x1001b7c
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1001b86
cmp al, 0x20
jbe 0x1001b78
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x1001baa
movzx eax, word [ebp - 0x50]
jmp 0x1001bad
cmp byte [esi], 0x20
jbe 0x1001b7c
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1001b9f
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x1001bca
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1001bff
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01001c83
ret

Function at 0xe523fc
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe52406
pushal
call 0xe5240c
pop ebp
sub ebp, 0x10
sub ebp, 0xa523fc
jmp 0xe52422
mov eax, 0xa523fc
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c7
mov edx, 0x5d43c50a
xor byte [eax], dl
inc eax
dec ecx
jne 0xe52439
jmp 0xe5244c
add edi, 0xa368381
or cl, byte [edx]
mov ecx, ebx
or cl, byte [edx]
or cl, byte [ecx]
invalid
Function at 0x10001a20
Capabilities:
Acquire credentials from windows credential manager

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov dword [ebp - 0x1c], edx
lea edx, [ebp - 0x10]
mov dword [ebp - 0x24], ecx
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x14]
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CredEnumerateW]
sub esp, 0x10
test eax, eax
je 0x10001b0f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10001b00
xor ebx, ebx
jmp 0x10001aa6
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x30]
cmp word [ecx], 0
je 0x10001b25
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 8
test eax, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
je 0x10001b20
add ebx, 1
cmp ebx, dword [ebp - 0x14]
jae 0x10001b00
mov eax, dword [ebp - 0x18]
lea edi, [ebx*4]
lea esi, [eax + edi]
mov edx, dword [esi]
mov eax, dword [edx + 4]
lea ecx, [eax - 1]
cmp ecx, 1
jbe 0x10001a70
test byte [0x10005060], 1
je 0x10001a9e
mov dword [esp + 0x10], eax
add ebx, 1
mov dword [esp + 0xc], str.no_support_for_type__lu_credentials_n
mov dword [esp + 8], str.find_existing_credential
mov dword [esp + 4], 0x10005060
mov dword [esp], 0
call fcn.10001870
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
cmp ebx, dword [ebp - 0x14]
jb 0x10001aa6
nop
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CredFree]
sub esp, 4
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esi, [eax + edi]
mov edx, dword [esi]
mov ecx, dword [edx + 0x30]
cmp word [ecx], 0
mov dword [ebp - 0x20], ecx
je 0x10001bd8
mov eax, ecx
lea esi, [esi]
nop
add eax, 2
cmp word [eax], 0
jne 0x10001b40
sub eax, ecx
mov dword [ebp - 0x20], ecx
sar eax, 1
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
jae 0x10001a9e
mov eax, dword [edx + 0x18]
shr eax, 1
cmp eax, dword [ebp + 0xc]
jae 0x10001a9e
mov ecx, dword [ebp - 0x20]
test byte [0x10005060], 8
jne 0x10001bdf
mov ebx, dword [ebp - 0x1c]
xor eax, eax
lea esi, [esi]
movzx edx, word [ecx + eax]
mov word [ebx + eax], dx
add eax, 2
test dx, dx
jne 0x10001b80
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.ucrtbase.dll_memcpy
mov eax, dword [esi]
xor edx, edx
mov edi, dword [ebp + 8]
mov eax, dword [eax + 0x18]
and eax, 0xfffffffe
mov word [edi + eax], dx
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_CredFree]
mov eax, 1
sub esp, 4
jmp 0x10001b11
xor eax, eax
jmp 0x10001b50
mov eax, ecx
call fcn.10001590
mov dword [esp + 0xc], str.found_existing_credential_for__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.find_existing_credential
mov dword [esp + 4], 0x10005060
mov dword [esp], 3
call fcn.10001870
mov eax, dword [ebp - 0x10]
lea esi, [eax + edi]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x30]
jmp 0x10001b75
Function at 0x10003310
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 8]
test byte [0x10005060], 8
je 0x1000336a
mov edx, dword [ebp + 0xc]
mov eax, str.TRUE
mov ebx, str.FALSE
test edx, edx
cmovne ebx, eax
mov eax, esi
call fcn.10001590
mov dword [esp + 0xc], str.__s___s__n
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.CredUIConfirmCredentialsW
mov dword [esp + 4], 0x10005060
mov dword [esp], 3
call fcn.10001870
test esi, esi
je 0x100034c0
mov dword [esp], 0x10005040
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ebx, dword [0x10005058]
mov edi, dword [sym.imp.kernel32.dll_lstrcmpW]
sub esp, 4
cmp ebx, 0x10005058
jne 0x100033ae
jmp 0x100034b8
mov ebx, dword [ebx]
cmp ebx, 0x10005058
je 0x100034b8
mov eax, dword [ebx + 8]
mov dword [esp], esi
mov dword [esp + 4], eax
call edi
sub esp, 8
test eax, eax
jne 0x100033a0
mov eax, dword [ebp + 0xc]
xor esi, esi
test eax, eax
jne 0x100034d8
mov edx, dword [ebx]
mov eax, dword [ebx + 4]
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [edx + 4], eax
mov edx, dword [ebx]
mov dword [eax], edx
mov eax, dword [ebx + 8]
mov edx, dword fs:[0x18]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x10], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0xc]
sub esp, 0xc
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, dword [ebx + 0x10]
sub esp, 0xc
cmp word [eax], 0
je 0x10003457
mov edx, eax
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x10003438
cmp eax, edx
je 0x10003457
lea esi, [esi]
mov ecx, eax
add eax, 1
mov byte [ecx], 0
cmp eax, edx
jne 0x10003448
mov eax, dword [ebx + 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x10], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
sub esp, 0xc
mov dword [esp], 0x10005040
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov esi, 0x490
jmp 0x10003498
lea esp, [ebp - 0xc]
mov esi, 0x57
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret 8
mov esi, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
mov dword [esp], esi
call fcn.100018c0
mov esi, eax
jmp 0x100033ce
Function at 0x10004a90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x214
mov eax, dword [0x100090c0]
test eax, eax
je 0x10004b48
mov dword [esp], ebx
call eax
sub esp, 4
test eax, eax
mov dword [ebx + 8], eax
jns 0x10004ad0
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x214]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x10004abc
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x10004b7d
mov dword [esp + 4], str.AtlCreateRegistrar
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
mov dword [0x100090c0], eax
test eax, eax
jne 0x10004aad
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x10004abe
Function at 0x403408
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00405de0
test esi, esi
jne 0x403440
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00405f1c
jmp 0x40345e
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040334c
mov edi, eax
test esi, esi
je 0x40345e
cmp dword [ebx], 0
je 0x40345e
dec esi
jmp 0x403447
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x403490
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x403ba4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x52f024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403c3c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x403c1c
xor eax, eax
push ebp
push 0x403c15
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403c74
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403c1c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x52f024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x52f024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404db8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x542054], 0
je 0x404e19
cmp word [0x542330], 0xd7b2
jne 0x404de1
cmp dword [0x542338], 0
jbe 0x404de1
mov eax, 0x54232c
call dword [0x542348]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404e44
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x52f030], 0
jne 0x404e35
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404fe4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x52f034], 0
je 0x40500a
mov edx, esi
mov eax, ebx
call dword [0x52f034]
jmp 0x405019
mov eax, 8
call fcn.00403064
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x542055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404fac
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x4083fe
Capabilities:
Access peb ldr_data
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x338
mov dword [ebp - 0x10], 0x531db0
mov dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x10]
inc ebp
invalid
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1c4], eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 0x1c8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1bc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x1c0]
add eax, 0xc
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax

Function at 0x408494
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x138]
je 0x4084d2
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x130], eax
mov esi, dword [ebp - 0x1c4]
mov eax, dword [ebp - 0x130]
mov ecx, dword [eax + 0x30]
call fcn.0040835e
cmp esi, eax
jne 0x4084c8
mov eax, dword [ebp - 0x130]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x13c], eax
jmp 0x4084dc
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
jmp 0x40848b
mov dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x64]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x2c]
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x2a0], esi
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x29c], eax
invalid
inc ebp

Function at 0x408714
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x280], esi
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x30]
add eax, dword [ecx + 0x3c]
invalid
invalid

Function at 0x408970
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov byte [edi], cl
mov esi, 0x4d8b0804
mov ah, 0x8b
push ebp
enter 0xffffffffffff8966, 4
push ecx

Function at 0x408b38
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push dword [ebp + 0x21]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x254]
mov edx, dword [ebp - 0x250]
mov esi, dword [ebp - 0x64]
movzx edx, word [edx + esi*2]
add eax, dword [ecx + edx*4]

Function at 0x408b54
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0x150], eax
jmp 0x408b74
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x1a8], eax

Function at 0x408b5c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [ebp - 0x64], eax
jmp 0x408a22
invalid
invalid
Function at 0x408b70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc edi
test dword [eax + 0xfffffe], esi
add byte [eax], al
add byte [ebx - 0x14f7b], cl
dec dword [ecx - 0x1a77b]
dec dword [ebx - 0x1a77b]
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [ebp - 0x10]

Function at 0x408b98
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x28]
mov edi, dword [ebp - 0x10]
mov edi, dword [edi + 0x38]
mov ebx, dword [ebp - 0x4c]
xor eax, eax
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0

Function at 0x408bbc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0
call dword [ebp - 0x178]
sub esp, 0x1c
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x64]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 0x2c]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x240], esi
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x28]
invalid
invalid
invalid
std
invalid

Function at 0x408d70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x88]
cmp eax, dword [ecx + 0x18]
jae 0x408db2
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x238]
mov edx, dword [ebp - 0x60]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x2c8], ecx
mov dword [ebp - 0xd0], 0
mov ecx, dword [ebp - 0x168]
call fcn.004083be
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x2c4]
jae 0x408d75
mov eax, dword [ebp - 0x168]
mov ecx, dword [ebp - 0xa4]
mov al, byte [eax + ecx]
mov byte [ebp - 0x40], al
mov eax, dword [ebp - 0x2c8]
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x300], eax
mov dword [ebp - 0x2fc], ecx
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 0x300]
jae 0x408d4f
mov eax, dword [ebp - 0x2fc]
add eax, dword [ebp - 0xfc]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xf8]
add eax, 1
mov dword [ebp - 0xf8], eax
test dword [eax], ecx
invalid
invalid
invalid
jmp 0x408d1e
mov eax, dword [ebp - 0xfc]
movzx ecx, byte [ebp - 0x40]
rol byte [ecx], 0xc8
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xa4]
add eax, 1
rol byte [ecx], 0x89
test dword [edi + edi*8 - 1], ebx
invalid
jmp 0x408cce
invalid
test dword [eax], esi

Function at 0x408d98
Capabilities:
Resolve function by parsing pe exports

Disassembly:
dec dword [ebx - 0x48f05f8b]
adc al, 0x72
invalid