joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405fca
Capabilities:
Access peb ldr_data
Get ntdll base address
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f228
push 0x4075e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 0x28], esi
mov dword [esi], 0x40f220
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 4], ebx
mov dword [ebp - 4], ebx
push 0x823
call fcn.00406900
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x18], eax
push 0xff
call fcn.00406900
mov dword [ebp - 0x20], eax
mov dword [esi + 0x1c], eax
push 0x7ff
call fcn.00406900
add esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [esi + 0x20], eax
push str.wininet
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x406113
push str.InternetOpenA
push eax
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
call edi
mov dword [esi + 0x2c], eax
push str.InternetConnectA
push dword [esi + 8]
call edi
mov dword [esi + 0x30], eax
push str.HttpOpenRequestA
push dword [esi + 8]
call edi
mov dword [esi + 0x38], eax
push str.HttpSendRequestA
push dword [esi + 8]
call edi
mov dword [esi + 0x3c], eax
push str.InternetCloseHandle
push dword [esi + 8]
call edi
mov dword [esi + 0x34], eax
push str.HttpQueryInfoA
push dword [esi + 8]
call edi
mov dword [esi + 0x40], eax
push str.InternetReadFile
push dword [esi + 8]
call edi
mov dword [esi + 0x44], eax
cmp dword [esi + 0x2c], ebx
je 0x4060ee
cmp dword [esi + 0x30], ebx
je 0x4060ee
cmp dword [esi + 0x38], ebx
je 0x4060ee
cmp dword [esi + 0x3c], ebx
je 0x4060ee
cmp dword [esi + 0x34], ebx
je 0x4060ee
cmp dword [esi + 0x40], ebx
je 0x4060ee
cmp eax, ebx
je 0x4060ee
push 1
pop ebx
mov dword [esi + 4], ebx
jmp 0x406113
or dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409f5a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x413e30
cmp edx, dword [eax]
je 0x409f7c
add eax, 8
inc ecx
cmp eax, 0x413ec0
jl 0x409f6d
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x413e30]
jne 0x40a0aa
mov eax, dword [0x417024]
cmp eax, 1
je 0x40a084
test eax, eax
jne 0x409fad
cmp dword [0x413a34], 1
je 0x40a084
cmp edx, 0xfc
je 0x40a0aa
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x409fe4
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040b9c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00406800
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40a027
lea eax, [ebp - 0x1a4]
push eax
call fcn.00406800
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40f6fc
push edi
call fcn.0040b8c0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040b9c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040b9d0
lea eax, [ebp - 0xa0]
push 0x40f6dc
push eax
call fcn.0040b9d0
push dword [esi + 0x413e34]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040b9d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040c968
add esp, 0x2c
pop edi
jmp 0x40a0aa
lea eax, [ebp + 8]
lea esi, [esi + 0x413e34]
push 0
push eax
push dword [esi]
call fcn.00406800
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop esi
leave
ret
Function at 0x401030
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x2e8
test eax, eax
jbe 0x401134
xor eax, eax
mov byte [esp + eax + 4], al
inc eax
cmp eax, 0x2e3
jb 0x401044
push ebx
push ebp
mov ebp, dword [esp + 0x2f4]
push esi
push edi
mov edi, dword [esp + 0x300]
xor esi, esi
xor ecx, ecx
mov eax, ecx
xor edx, edx
div edi
mov bl, byte [esp + ecx + 0x14]
xor eax, eax
mov al, byte [edx + ebp]
mov edx, eax
mov eax, ebx
and eax, 0xff
add esi, edx
add eax, esi
xor edx, edx
mov esi, 0x2e3
div esi
inc ecx
cmp ecx, 0x2e3
mov esi, edx
mov al, byte [esp + esi + 0x14]
mov byte [esp + ecx + 0x13], al
mov byte [esp + esi + 0x14], bl
jb 0x401066
mov ebp, dword [esp + 0x308]
mov ebx, dword [esp + 0x304]
xor edi, edi
xor esi, esi
dec ebp
inc ebp
lea eax, [esi + 1]
xor edx, edx
mov ecx, 0x2e3
push str.hello__
div ecx
mov esi, edx
xor edx, edx
mov cl, byte [esp + esi + 0x18]
mov eax, ecx
mov byte [esp + 0x14], cl
and eax, 0xff
add eax, edi
mov edi, 0x2e3
div edi
mov edi, edx
mov dl, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], dl
mov byte [esp + edi + 0x18], cl
call dword [sym.imp.MSVCRT.dll_printf]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov al, byte [esp + esi + 0x18]
and ecx, 0xff
add eax, ecx
mov ecx, 0x2e3
cdq
idiv ecx
mov al, byte [ebx]
add esp, 4
mov dl, byte [esp + edx + 0x14]
xor al, dl
mov byte [ebx], al
inc ebx
dec ebp
jne 0x4010b6
mov eax, dword [esp + 0x304]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret
xor eax, eax
add esp, 0x2e8
ret

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

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + edi + 0x78]
mov eax, dword [esi + edi + 0x20]
add esi, edi
add eax, edi
mov ecx, dword [esi + 0x1c]
add ecx, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x24]
add ecx, edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x18]
test ecx, ecx
jbe 0x401196
mov ebp, eax
mov eax, dword [ebp]
add eax, edi
push eax
call section..text
mov ecx, dword [esp + 0x20]
add esp, 4
cmp eax, ecx
je 0x40119e
mov eax, dword [esi + 0x18]
inc ebx
add ebp, 4
cmp ebx, eax
jb 0x401175
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov cx, word [edx + ebx*2]
mov eax, dword [eax + ecx*4]
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4011c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
push 0
push 0
push str.mshta.exe
call esi
test eax, eax
jne 0x4011e0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push str.KERNEL32.dll
call esi
push 0x16de565f
push eax
call fcn.00401140
add esp, 8
mov ebx, eax
push 0xa
push 0xa797
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x401217
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x40122d
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
mov ebp, eax
push 0x40
push 0x3000
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
mov ebx, eax
test ebx, ebx
jne 0x40125a
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
mov ecx, ebp
mov edi, ebx
mov eax, ecx
mov edx, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
push edx
call fcn.00401030
add esp, 0x10
call ebx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret

Function at 0x404088
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4434f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
push 0x100
lea ecx, [esp + 0x10]
call fcn.0042ed90
mov ecx, dword [esi + 4]
mov dl, 0x28
push 1
push 0
mov al, byte [ecx]
mov cl, byte [ecx + 4]
imul dl
add cl, al
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x13]
mov byte [esp + 0x13], cl
push 1
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], 0
call dword [eax + 0x14]
mov edi, 2
mov eax, dword [esi + 4]
test eax, eax
je 0x4040f6
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x4040f6
mov edx, dword [eax + edi*4]
lea eax, [esp + 0xc]
push edx
push eax
call fcn.00403f80
add esp, 8
inc edi
jmp 0x4040cf
mov esi, dword [esp + 0x38]
push 1
push 0
lea eax, [esp + 0x13]
mov edx, dword [esi]
push 1
push eax
mov ecx, esi
mov byte [esp + 0x1b], 6
call dword [edx + 0x14]
lea ecx, [esp + 0xc]
call fcn.0042f130
push eax
push esi
call fcn.00403630
mov edx, dword [esp + 0x14]
add esp, 8
lea ecx, [esp + 0x38]
or edi, 0xffffffff
push 1
push 0x460e70
push ecx
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], edi
call dword [edx + 0x7c]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], edi
call fcn.0042f040
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x4081f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4439f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0xa8]
test eax, eax
je 0x408244
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xa8]
mov ecx, dword [esp + 0x2c]
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, eax
call dword [edx + 0x44]
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
push 0
lea ecx, [esp + 8]
call fcn.00406fd0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 4], 0x449d68
mov dword [esp + 8], 0x449d60
push 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
push 0x460e70
lea edx, [esp + 0xc]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [eax + 0x7c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x409180
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x443ba0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x1c]
push ebx
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.0040b6d0
xor ebx, ebx
push 0x100
lea ecx, [esi + 0x14]
mov dword [esp + 0x18], ebx
call fcn.0042ed90
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x30], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x34], edx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], bl
mov dword [esi + 0x48], ebx
mov dword [esi], 0x449fcc
mov dword [esi + 4], 0x449fc4
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc

Function at 0x4142a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4445e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, dword [esp + 0x30]
push edi
lea ecx, [esp + 0xc]
lea eax, [esi + 0x20]
mov dword [esp + 8], 0
shr eax, 5
push eax
push 0
call fcn.00414980
push 1
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.00414520
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00413d70
mov edi, dword [esp + 0x18]
test edi, edi
mov edx, edi
je 0x414317
mov ecx, dword [esp + 0x14]
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.00442b1e
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x414840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.00413d70
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call fcn.004195d0
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00413d70
mov edi, dword [esp + 0x18]
test edi, edi
mov edx, edi
je 0x4148a8
mov ecx, dword [esp + 0x14]
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.00442b1e
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x4148c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.00413d70
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
call fcn.00413d70
mov edi, dword [esp + 0x18]
test edi, edi
mov edx, edi
je 0x414927
mov ecx, dword [esp + 0x14]
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.00442b1e
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4

Function at 0x414c30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4446f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x24]
call fcn.0041bcf0
xor ebx, ebx
mov dword [esp + 0x2c], 0xffffffff
mov byte [esp + 0x30], bl
push ebx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x2c], 0x44a900
mov dword [esp + 0x30], 0x44a8f8
mov dword [esp + 0x24], ebx
call fcn.00406660
mov dword [esp + 0x20], eax
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
push ebx
push edi
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 1
call fcn.0040e7f0
lea ecx, [esp + 0xc]
lea edx, [esp + 0x40]
push ecx
push str.InputBuffer
push edx
mov byte [esp + 0x7c], 2
call fcn.0041da90
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 3
call fcn.0040e360
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
push eax
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 5
call fcn.0040f0f0
mov edx, dword [esp + 0x1c]
mov eax, 0x449d28
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], bl
call fcn.0040f0f0
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x24]
push ecx
push edi
push edx
mov ecx, esi
mov dword [esp + 0x7c], 6
call fcn.00414d50
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 0xc
Function at 0x414ff8
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push 0
lea ecx, [esp + 8]
call fcn.00406fd0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x449d68
mov dword [esp + 8], 0x449d60
mov ecx, dword [esp + 0x30]
lea edx, [esp + 4]
push ecx
push eax
push edx
mov ecx, esi
mov dword [esp + 0x2c], 0
call fcn.00415060
mov ecx, dword [esp + 0x18]
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x4151a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444778
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x34]
push esi
mov esi, ecx
push 2
push eax
lea ecx, [esp + 0xc]
call fcn.00404f50
push 1
push 1
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.00414ee0
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, esi
call fcn.00415060
lea ecx, [esp + 4]
call fcn.00405070
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.00404ff0
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4

Function at 0x41549c
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x34]
push esi
mov esi, ecx
push 4
push eax
lea ecx, [esp + 0xc]
call fcn.00404f50
mov ecx, dword [esp + 0x3c]
push 0
lea edx, [esp + 8]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00415060
lea ecx, [esp + 4]
call fcn.00405070
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.00404ff0
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 8
Function at 0x415c10
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x444a33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
mov eax, dword [esp + 0x1b0]
push ebx
push esi
mov esi, ecx
push eax
lea ecx, [esp + 0x10]
push 0x456008
push ecx
call fcn.0041eea0
add esp, 0xc
mov edx, dword [esp + 0x1bc]
lea ecx, [esp + 0x30]
push edx
push 0x456004
push ecx
mov ecx, eax
mov dword [esp + 0x1b8], 0
call fcn.0041f1a0
lea edx, [esp + 0x1c0]
lea ecx, [esp + 0xd8]
push edx
push str.RandomNumberType
push ecx
mov ecx, eax
mov byte [esp + 0x1b8], 1
call fcn.0041f4d0
mov edx, dword [esp + 0x1c4]
lea ecx, [esp + 0x70]
push edx
push str.EquivalentTo
push ecx
mov ecx, eax
mov byte [esp + 0x1b8], 2
call fcn.0041f820
mov edx, dword [esp + 0x1c8]
lea ecx, [esp + 0x120]
push edx
push 0x455fdc
push ecx
mov ecx, eax
mov byte [esp + 0x1b8], 3
call fcn.0041fba0
mov edx, dword [esp + 0x1b4]
push eax
push edx
mov ecx, esi
mov byte [esp + 0x1b4], 4
call fcn.00416170
mov bl, al
lea eax, [esp + 0x18c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x194]
mov edx, dword [esp + 0x198]
push ecx
push edx
lea ecx, [esp + 0x198]
mov byte [esp + 0x1b4], 7
call fcn.0041c9e0
lea eax, [esp + 0x124]
mov dword [esp + 0x18c], 0x44a8e0
mov dword [esp + 8], eax
lea ecx, [esp + 0x174]
mov byte [esp + 0x1ac], 9
call fcn.00417b10
lea ecx, [esp + 0x128]
mov byte [esp + 0x1ac], 8
call fcn.00415f70
mov esi, 0x449d28
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], esi
lea ecx, [esp + 0xc0]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xcc]
push edx
push eax
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1b4], 0xc
call fcn.0041c9e0
lea ecx, [esp + 0x74]
mov dword [esp + 0xc0], 0x44a8e0
mov dword [esp + 8], ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0x1ac], 0xd
call fcn.00415ef0
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], esi
lea edx, [esp + 0xdc]
mov dword [esp + 8], edx
lea ecx, [esp + 0x104]
mov byte [esp + 0x1ac], 0x10
call fcn.00417b10
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1ac], 0xf
call fcn.00415ea0
mov dword [esp + 0xdc], esi
mov dword [esp + 0xd8], esi
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
push ecx
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0x1b4], 0x13
call fcn.0041c9e0
lea ecx, [esp + 0x34]
mov dword [esp + 0x58], 0x44a8e0
mov byte [esp + 0x1ac], 0x11
call fcn.00415ea0
mov dword [esp + 0x30], esi
mov dword [esp + 0x1ac], 0x14
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x1b4], 0x16
call fcn.0041c9e0
mov ecx, dword [esp + 0x1a4]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a8
ret 0x18
Function at 0x4192e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444f48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.00413d70
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], 0
push ecx
mov ecx, eax
call fcn.004183f0
mov esi, dword [esp + 0x30]
push eax
mov ecx, esi
call fcn.00413d70
mov edi, dword [esp + 0x18]
test edi, edi
mov edx, edi
je 0x419347
mov ecx, dword [esp + 0x14]
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.00442b1e
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8

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

Disassembly:
push 0xffffffffffffffff
push 0x444fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push esi
mov esi, ecx
mov dword [esp + 4], 0
cmp dword [esi + 0x10], 1
je 0x4196a2
call fcn.00414420
test al, al
je 0x4196c7
call fcn.00414330
mov esi, dword [esp + 0x7c]
push eax
mov ecx, esi
call fcn.00413d70
mov eax, esi
pop esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 4
push edi
lea ecx, [esp + 0xc]
call fcn.00413cd0
mov ecx, esi
mov dword [esp + 0x78], 0
call fcn.00414bf0
inc eax
shr eax, 1
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004142a0
add esp, 8
mov byte [esp + 0x78], 1
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x10]
call fcn.00414440
lea edx, [esp + 0xc]
lea eax, [esp + 0x5c]
push edx
push esi
push eax
call fcn.004180f0
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
mov byte [esp + 0x90], 2
call fcn.00417f70
add esp, 0x18
lea ecx, [esp + 0x34]
push 1
push ecx
mov ecx, eax
mov byte [esp + 0x80], 3
call fcn.004192e0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 4
call fcn.00414440
mov edi, dword [esp + 0x40]
test edi, edi
mov edx, edi
je 0x41976f
mov ecx, dword [esp + 0x3c]
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.00442b1e
add esp, 4
mov edi, dword [esp + 0x54]
mov dword [esp + 0x34], 0x44a8e0
test edi, edi
mov edx, edi
je 0x419792
mov ecx, dword [esp + 0x50]
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.00442b1e
add esp, 4
mov edi, dword [esp + 0x68]
mov dword [esp + 0x48], 0x44a8e0
test edi, edi
mov byte [esp + 0x78], 1
mov edx, edi
je 0x4197ba
mov ecx, dword [esp + 0x64]
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.00442b1e
add esp, 4
lea edx, [esp + 0xc]
lea ecx, [esp + 0x20]
push edx
mov dword [esp + 0x60], 0x44a8e0
call fcn.00419630
test eax, eax
jl 0x4196f6
mov esi, dword [esp + 0x80]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00413d70
mov edi, dword [esp + 0x2c]
test edi, edi
mov edx, edi
je 0x419806
mov ecx, dword [esp + 0x28]
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.00442b1e
add esp, 4
mov edi, dword [esp + 0x18]
mov dword [esp + 0x20], 0x44a8e0
test edi, edi
mov edx, edi
je 0x419829
mov ecx, dword [esp + 0x14]
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.00442b1e
add esp, 4
mov ecx, dword [esp + 0x70]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x74
ret 4