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

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

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

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x58b435
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c55c
mov eax, esi
mov edx, 8
test al, 1
je 0x58b451
shr eax, 1
xor eax, 0xedb88320
jmp 0x58b453
shr eax, 1
dec edx
jne 0x58b444
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x58b43d
pop esi
ret

Function at 0x58b480
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c558], 0
jne 0x58b48c
call fcn.0058b435
push 1
push 0x40c558
call fcn.00587fa1
mov eax, edi
test esi, esi
je 0x58b4b7
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x58b492
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4024f0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4589c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi - 0x20], 0x45d5e8
mov dword [esi], 0x45d5f4
mov eax, dword [esi + 0x40]
lea ebp, [esi + 0x40]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x81c], edi
je 0x402641
mov eax, dword [0x469ad4]
cmp eax, edi
je 0x40254d
cmp dword [0x469ad8], edi
jne 0x402634
push ebx
lea eax, [esp + 0x18]
push 0x400
push eax
push edi
call dword [0x45d1e0]
mov ebx, dword [0x45d39c]
lea ecx, [esp + 0x18]
push ecx
call ebx
mov eax, dword [0x469adc]
test eax, eax
jle 0x402586
lea edx, [esp + 0x18]
push edx
call ebx
mov eax, dword [0x469adc]
inc edi
cmp edi, eax
jl 0x402575
lea eax, [esp + 0x18]
push str.MiniUI.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [0x45d398]
push 0
call dword [0x45d1e4]
push eax
call fcn.004026a0
add esp, 8
test eax, eax
pop ebx
jne 0x4025f2
lea edx, [esp + 0x14]
test edx, edx
je 0x4025ee
lea eax, [esp + 0x14]
push eax
call dword [0x45d394]
test eax, eax
je 0x4025f2
lea ecx, [esp + 0x14]
push ecx
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x4025f2
push 1
call fcn.00457220
lea edx, [esp + 0x18]
push eax
push edx
call fcn.004574b0
add esp, 0xc
xor eax, eax
jmp 0x4025fd
lea eax, [esp + 0x14]
push eax
call dword [0x45d1f4]
test eax, eax
mov dword [0x469ad8], eax
je 0x402641
push str.GetMiniUI
push eax
call dword [0x45d1f8]
test eax, eax
mov dword [0x469ad4], eax
jne 0x402634
mov ecx, dword [0x469ad8]
push ecx
call dword [0x45d1fc]
mov dword [0x469ad8], 0
jmp 0x402641
call eax
test eax, eax
je 0x402641
mov edx, dword [eax]
push ebp
push eax
call dword [edx + 0x58]
mov dword [ebp], 0
mov dword [esi - 0x20], 0x45d60c
mov dword [esp + 0x10], esi
mov dword [esi], 0x45d600
mov ecx, esi
mov dword [esp + 0x81c], 2
call fcn.00449b10
lea ecx, [esi - 0x20]
mov byte [esp + 0x81c], 1
neg ecx
sbb ecx, ecx
and ecx, esi
call fcn.00449090
mov ecx, dword [esp + 0x814]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x814
ret
Function at 0x403780
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x469ad4]
sub esp, 0x80c
test eax, eax
je 0x40379d
mov ecx, dword [0x469ad8]
test ecx, ecx
jne 0x4038eb
push esi
push edi
lea eax, [esp + 0x14]
push 0x400
push eax
push 0
call dword [0x45d1e0]
mov edi, dword [0x45d39c]
lea ecx, [esp + 0x14]
push ecx
call edi
mov eax, dword [0x469adc]
xor esi, esi
test eax, eax
jle 0x4037da
lea edx, [esp + 0x14]
push edx
call edi
mov eax, dword [0x469adc]
inc esi
cmp esi, eax
jl 0x4037c9
lea eax, [esp + 0x14]
push str.MiniUI.dll
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [0x45d398]
call dword [0x45d1e4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
call dword [0x45d1e8]
mov esi, eax
cmp esi, 0xffffffff
je 0x403858
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x10]
push 4
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push 0x22204c
push esi
call dword [0x45d1ec]
push esi
mov edi, eax
call dword [0x45d1f0]
test edi, edi
je 0x403858
mov eax, dword [esp + 8]
test eax, eax
jne 0x403899
lea edx, [esp + 0x14]
test edx, edx
je 0x403895
lea eax, [esp + 0x14]
push eax
call dword [0x45d394]
test eax, eax
je 0x403899
lea ecx, [esp + 0x14]
push ecx
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x403899
push 1
call fcn.00457220
lea edx, [esp + 0x18]
push eax
push edx
call fcn.004574b0
add esp, 0xc
xor eax, eax
jmp 0x4038a4
lea eax, [esp + 0x14]
push eax
call dword [0x45d1f4]
pop edi
mov dword [0x469ad8], eax
test eax, eax
pop esi
jne 0x4038b6
add esp, 0x80c
ret
push str.GetMiniUI
push eax
call dword [0x45d1f8]
test eax, eax
mov dword [0x469ad4], eax
jne 0x4038eb
mov ecx, dword [0x469ad8]
push ecx
call dword [0x45d1fc]
mov dword [0x469ad8], 0
xor eax, eax
add esp, 0x80c
ret
call eax
add esp, 0x80c
ret
Function at 0x405ed0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x808
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0xb0], ebp
jne 0x405feb
mov eax, dword [0x469ad4]
cmp eax, ebp
je 0x405eff
cmp dword [0x469ad8], ebp
jne 0x4060bf
lea eax, [esp + 0x18]
push 0x400
push eax
push ebp
call dword [0x45d1e0]
mov ebx, dword [0x45d39c]
lea ecx, [esp + 0x18]
push ecx
call ebx
mov eax, dword [0x469adc]
xor edi, edi
cmp eax, ebp
jle 0x405f39
lea edx, [esp + 0x18]
push edx
call ebx
mov eax, dword [0x469adc]
inc edi
cmp edi, eax
jl 0x405f28
lea eax, [esp + 0x18]
push str.MiniUI.dll
lea ecx, [esp + 0x1c]
push eax
push ecx
call dword [0x45d398]
push ebp
call dword [0x45d1e4]
push eax
call fcn.004026a0
add esp, 8
test eax, eax
jne 0x405fa3
lea edx, [esp + 0x18]
test edx, edx
je 0x405f9f
lea eax, [esp + 0x18]
push eax
call dword [0x45d394]
test eax, eax
je 0x405fa3
lea ecx, [esp + 0x18]
push ecx
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x405fa3
push 1
call fcn.00457220
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.004574b0
add esp, 0xc
xor eax, eax
jmp 0x405fae
lea eax, [esp + 0x18]
push eax
call dword [0x45d1f4]
cmp eax, ebp
mov dword [0x469ad8], eax
je 0x405fe3
push str.GetMiniUI
push eax
call dword [0x45d1f8]
cmp eax, ebp
mov dword [0x469ad4], eax
jne 0x4060bf
mov ecx, dword [0x469ad8]
push ecx
call dword [0x45d1fc]
mov dword [0x469ad8], ebp
xor eax, eax
mov dword [esi + 0xb0], eax
mov eax, dword [esp + 0x820]
cmp eax, ebp
jg 0x405ffb
mov eax, 1
mov ecx, dword [esi + 0xb0]
mov ebx, dword [esp + 0x824]
mov edi, dword [esp + 0x81c]
cmp ecx, ebp
mov dword [esi + 0xd0], eax
je 0x406034
mov eax, dword [ecx]
mov edx, edi
push ebp
and edx, 0xffff
push ebx
push edx
mov edx, dword [0x469aa0]
push edx
call dword [eax + 0x1c]
test eax, eax
jne 0x40604d
mov eax, dword [esi + 0xb0]
cmp eax, ebp
je 0x406047
push eax
call fcn.0044c87a
add esp, 4
mov dword [esi + 0xb0], ebp
mov ecx, dword [esi + 0xb0]
cmp ecx, ebp
je 0x40609b
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jne 0x40609b
mov ecx, dword [esi + 0xb0]
lea eax, [esp + 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, eax
and edi, 0xffff
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esi + 0xb0]
mov dword [esp + 0x14], edx
cdq
idiv dword [esi + 0xd0]
mov ebp, dword [ecx]
push eax
mov eax, dword [0x469aa0]
push ebx
push edi
push eax
call dword [ebp + 0x1c]
mov ecx, dword [esi + 0xb0]
pop edi
pop esi
pop ebp
test ecx, ecx
pop ebx
je 0x4060d4
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne 0x4060d4
mov eax, 1
add esp, 0x808
ret 0xc
call eax
cmp eax, ebp
je 0x405fe3
mov edx, dword [eax]
push eax
call dword [edx + 0x54]
jmp 0x405fe5
xor eax, eax
add esp, 0x808
ret 0xc
Function at 0x407f40
Capabilities:
Check if file exists

Disassembly:
sub esp, 0xc
push esi
call dword [0x45d1e4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0
call dword [0x45d1e8]
mov esi, eax
cmp esi, 0xffffffff
je 0x407faf
push edi
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x10]
push 4
push ecx
lea edx, [esp + 0x1c]
push 4
push edx
push 0x22204c
push esi
call dword [0x45d1ec]
push esi
mov edi, eax
call dword [0x45d1f0]
test edi, edi
pop edi
je 0x407faf
mov eax, dword [esp + 4]
test eax, eax
jne 0x407fee
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x407fbe
xor eax, eax
pop esi
add esp, 0xc
ret
push esi
call dword [0x45d394]
test eax, eax
je 0x407fee
push esi
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x407fee
push 1
call fcn.00457220
push eax
push esi
call fcn.004574b0
add esp, 0xc
xor eax, eax
pop esi
add esp, 0xc
ret
mov eax, 1
pop esi
add esp, 0xc
ret

Function at 0x408000
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d638
push 0x4581bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [0x45d1e4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0x80
push str..360SelfProtection
call dword [0x45d1e8]
mov edi, eax
mov dword [ebp - 0x38], edi
cmp edi, 0xffffffff
jne 0x40805c
xor esi, esi
jmp 0x40808c
push ebx
lea eax, [ebp - 0x3c]
push eax
push 4
lea ecx, [ebp - 0x34]
push ecx
push 4
lea edx, [ebp - 0x40]
push edx
push 0x22204c
push edi
call dword [0x45d1ec]
mov esi, eax
mov dword [ebp - 0x30], esi
push edi
call dword [0x45d1f0]
neg esi
sbb esi, esi
and esi, dword [ebp - 0x34]
mov dword [ebp - 0x44], esi
cmp esi, ebx
je 0x4080a0
mov eax, 1
mov dword [ebp - 0x48], eax
mov esi, dword [ebp + 8]
jmp 0x4080ec
mov dword [ebp - 0x24], ebx
mov esi, dword [ebp + 8]
cmp esi, ebx
je 0x4080e4
push esi
call dword [0x45d394]
test eax, eax
je 0x4080e4
push esi
call fcn.004575d0
add esp, 4
test eax, eax
je 0x4080e4
push esi
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x4080e4
push 1
call fcn.00457220
push eax
push esi
call fcn.004574b0
add esp, 0xc
xor eax, eax
jmp 0x4080e9
mov eax, 1
mov dword [ebp - 0x48], eax
cmp eax, ebx
jne 0x4080f4
xor eax, eax
jmp 0x408109
push 5
push ebx
push 0x469b0c
push esi
push str.open
push ebx
call dword [0x45d388]
mov dword [ebp - 0x4c], eax
cmp eax, 0x20
jle 0x408123
mov dword [ebp - 0x1c], 1
jmp 0x408123
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4081e0
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push eax
push edi
push 0x30
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call dword [0x45d408]
push 0x469b0c
push str.Shell_TrayWnd
call dword [0x45d404]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x20]
sub esi, ebp
mov ebp, dword [0x45d400]
push 1
mov dword [esp + 0x14], eax
call ebp
mov ecx, dword [esp + 0x1c]
mov ebx, eax
sub ebx, esi
mov esi, dword [esp + 0x24]
push edi
sub esi, ecx
call ebp
mov ebp, eax
mov eax, dword [esp + 0x10]
sub ebp, esi
cmp eax, edi
je 0x40826d
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [0x45d3d4]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
cmp edx, eax
jg 0x40827d
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x40828b
mov edi, ebp
mov eax, dword [esp + 0x40]
mov dword [eax], edi
pop edi
pop esi
mov dword [eax + 4], ebx
pop ebp
pop ebx
add esp, 0x2c
ret

Function at 0x4082a0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x214
mov ax, word [0x469b0c]
push esi
push edi
mov word [esp + 0x14], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
push ecx
push str.safemon360TrayLive.dll
push 0
stosw word es:[edi], ax
call fcn.004083e0
add esp, 0x10
call dword [0x45d1e4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
call dword [0x45d1e8]
mov esi, eax
cmp esi, 0xffffffff
je 0x408344
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x10]
push 4
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push 0x22204c
push esi
call dword [0x45d1ec]
push esi
mov edi, eax
call dword [0x45d1f0]
test edi, edi
je 0x408344
mov eax, dword [esp + 8]
test eax, eax
jne 0x40838c
lea edx, [esp + 0x14]
test edx, edx
je 0x40839d
lea eax, [esp + 0x14]
push eax
call dword [0x45d394]
test eax, eax
je 0x40838c
lea ecx, [esp + 0x14]
push ecx
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x40838c
push 1
call fcn.00457220
lea edx, [esp + 0x18]
push eax
push edx
call fcn.004574b0
add esp, 0xc
xor eax, eax
pop edi
pop esi
add esp, 0x214
ret
lea eax, [esp + 0x14]
push eax
call dword [0x45d1f4]
mov esi, eax
test esi, esi
jne 0x4083a8
pop edi
xor eax, eax
pop esi
add esp, 0x214
ret
push str.IsGameMode
push esi
call dword [0x45d1f8]
test eax, eax
jne 0x4083c1
pop edi
pop esi
add esp, 0x214
ret
call eax
push esi
mov edi, eax
call dword [0x45d1fc]
mov eax, edi
pop edi
pop esi
add esp, 0x214
ret
Function at 0x40cca0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [0x469ab8]
sub esp, 0x80c
test eax, eax
jne 0x40ce40
mov eax, dword [0x469abc]
push esi
test eax, eax
jne 0x40cdd1
push edi
lea eax, [esp + 0x14]
push 0x400
push eax
push 0
call dword [0x45d1e0]
mov edi, dword [0x45d39c]
lea ecx, [esp + 0x14]
push ecx
call edi
mov eax, dword [0x469ac0]
xor esi, esi
test eax, eax
jle 0x40ccfd
lea edx, [esp + 0x14]
push edx
call edi
mov eax, dword [0x469ac0]
inc esi
cmp esi, eax
jl 0x40ccec
lea eax, [esp + 0x14]
push str.360Common.dll
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [0x45d398]
call dword [0x45d1e4]
push 0
push 0
push 3
push 0
push 3
push 0x80
push str..360SelfProtection
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
call dword [0x45d1e8]
mov esi, eax
cmp esi, 0xffffffff
je 0x40cd7b
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x10]
push 4
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push 0x22204c
push esi
call dword [0x45d1ec]
push esi
mov edi, eax
call dword [0x45d1f0]
test edi, edi
je 0x40cd7b
mov eax, dword [esp + 8]
test eax, eax
jne 0x40cdbc
lea edx, [esp + 0x14]
test edx, edx
je 0x40cdb8
lea eax, [esp + 0x14]
push eax
call dword [0x45d394]
test eax, eax
je 0x40cdbc
lea ecx, [esp + 0x14]
push ecx
call fcn.00401e30
add esp, 4
test eax, eax
jne 0x40cdbc
push 1
call fcn.00457220
lea edx, [esp + 0x18]
push eax
push edx
call fcn.004574b0
add esp, 0xc
xor eax, eax
jmp 0x40cdc7
lea eax, [esp + 0x14]
push eax
call dword [0x45d1f4]
test eax, eax
mov dword [0x469abc], eax
pop edi
je 0x40ce2f
mov esi, dword [0x45d1f8]
push str.Get360CommonInstance
push eax
call esi
mov ecx, dword [0x469abc]
push str.Get360ProductHistoryManager
push ecx
mov dword [0x469ab8], eax
call esi
mov edx, dword [0x469abc]
push str.Create360FireWareStateFunction
push edx
mov dword [0x469ab4], eax
call esi
mov dword [0x469ab0], eax
mov eax, dword [0x469abc]
push str.GetFireWallState
push eax
call esi
mov ecx, dword [0x469abc]
push str.Create360FireWareStateFunction2
push ecx
mov dword [0x469aac], eax
call esi
mov dword [0x469aa8], eax
mov eax, dword [0x469ab8]
pop esi
test eax, eax
jne 0x40ce40
add esp, 0x80c
ret
call eax
add esp, 0x80c
ret
Function at 0x40ce50
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x1800
call fcn.004581d0
push esi
mov esi, dword [esp + 0x180c]
test esi, esi
push edi
jne 0x40ce72
pop edi
xor eax, eax
pop esi
add esp, 0x1800
ret
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
test eax, eax
je 0x40ce67
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x808]
push esi
rep stosd dword es:[edi], eax
mov word [esp + 0xc], 0
call dword [0x45d3a0]
test eax, eax
je 0x40cefd
mov edx, dword [esp + 0x180c]
lea ecx, [esp + 0x808]
push 0x800
push ecx
push edx
call dword [0x45d1e0]
lea eax, [esp + 0x808]
push eax
call dword [0x45d39c]
lea ecx, [esp + 0x808]
push esi
lea edx, [esp + 0x80c]
push ecx
push edx
call dword [0x45d398]
lea eax, [esp + 0x808]
push 0x400
lea ecx, [esp + 0xc]
push eax
push ecx
jmp 0x40cf08
push 0x400
lea edx, [esp + 0xc]
push esi
push edx
call dword [0x45d318]
add esp, 0xc
lea eax, [esp + 8]
push eax
call dword [0x45d394]
pop edi
pop esi
add esp, 0x1800
ret
Function at 0x40da20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45923f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
xor esi, esi
mov dword [esp + 0xc], esi
mov al, byte [esp + 0x30]
mov dword [esp + 0x28], 1
mov byte [esp + 0x10], al
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov ecx, dword [0x4641a0]
mov dword [esp + 4], ecx
mov byte [esp + 0x28], 3
call fcn.004081a0
test eax, eax
je 0x40db1a
mov edx, dword [0x4641a0]
push 0x81
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], edx
call fcn.00405950
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp ecx, eax
mov byte [esp + 0x28], 4
je 0x40dae6
cmp dword [ecx - 0xc], esi
jge 0x40dab2
mov edx, dword [0x4641a4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x40dab7
cmp dword [eax - 0xc], esi
jge 0x40dac7
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0xc]
call fcn.00408770
jmp 0x40dae2
lea ecx, [esp + 4]
call fcn.00405b60
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
add eax, 0xfffffff4
push eax
call dword [0x45d1b4]
mov eax, dword [esp + 8]
mov edx, dword [0x4641a4]
lea ecx, [eax - 0xc]
cmp ecx, edx
mov byte [esp + 0x28], 3
je 0x40dbb8
add eax, 0xfffffff4
push eax
call dword [0x45d1b0]
test eax, eax
jg 0x40dbb8
mov edx, dword [esp + 8]
lea eax, [edx - 0xc]
jmp 0x40dbaf
mov eax, dword [0x4641a0]
push 0x82
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.00405950
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp ecx, eax
mov byte [esp + 0x28], 5
je 0x40db88
cmp dword [ecx - 0xc], esi
jge 0x40db54
mov edx, dword [0x4641a4]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x40db59
cmp dword [eax - 0xc], esi
jge 0x40db69
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0xc]
call fcn.00408770
jmp 0x40db84
lea ecx, [esp + 4]
call fcn.00405b60
mov eax, dword [esp + 8]
mov dword [esp + 4], eax
add eax, 0xfffffff4
push eax
call dword [0x45d1b4]
mov eax, dword [esp + 8]
mov ecx, dword [0x4641a4]
lea edx, [eax - 0xc]
cmp edx, ecx
mov byte [esp + 0x28], 3
je 0x40dbb8
add eax, 0xfffffff4
push eax
call dword [0x45d1b0]
test eax, eax
jg 0x40dbb8
mov eax, dword [esp + 8]
add eax, 0xfffffff4
push eax
call fcn.0044c87a
add esp, 4
mov ecx, dword [esp + 4]
cmp dword [ecx - 8], esi
jne 0x40dbe8
mov edx, 0x464adc
test edx, edx
jne 0x40dbce
xor eax, eax
jmp 0x40dbd9
push 0x464adc
call dword [0x45d1cc]
push 0x464adc
push eax
lea ecx, [esp + 0xc]
call fcn.00408770
mov esi, dword [esp + 0x30]
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.0040c550
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x28], 2
call fcn.00401c80
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.0040e6a0
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 0
call fcn.00401c80
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x40f520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4593b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, dword [esp + 0x2c]
lea eax, [esp + 0xc]
xor esi, esi
push eax
push ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [0x45d4f4]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
cmp eax, 4
ja case.default.0x40f572
jmp dword [eax*4 + 0x40f680]
mov ecx, dword [0x469c8c]
cmp ecx, esi
je case.default.0x40f572
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne case.default.0x40f572
mov eax, dword [0x469c8c]
push esi
push esi
push esi
push esi
jmp 0x40f618
mov ecx, dword [0x469c84]
cmp ecx, esi
je case.default.0x40f572
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne case.default.0x40f572
mov eax, dword [0x469c84]
push esi
push esi
push esi
push esi
jmp 0x40f618
mov ecx, dword [0x469c80]
cmp ecx, esi
je case.default.0x40f572
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne case.default.0x40f572
mov eax, dword [0x469c80]
push esi
push esi
push esi
push esi
jmp 0x40f618
mov ecx, dword [0x469c88]
cmp ecx, esi
je case.default.0x40f572
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne case.default.0x40f572
mov eax, dword [0x469c88]
push esi
push esi
push esi
push esi
jmp 0x40f618
mov ecx, dword [0x469c94]
cmp ecx, esi
je case.default.0x40f572
mov edx, dword [ecx]
call dword [edx]
test eax, eax
jne case.default.0x40f572
mov eax, dword [0x469c94]
push esi
push esi
push esi
push esi
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
sub esp, 0x10
mov ecx, esp
push edi
mov dword [ecx], edx
mov edx, dword [esp + 0x3c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.00448750
add esp, 0x28
mov edx, dword [esp + 0xc]
push 5
mov eax, dword [esp + 0x14]
sub esp, 0x10
mov ecx, esp
push edi
push ebx
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.0040f290
mov ecx, dword [esp + 0x38]
add esp, 0x1c
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret