joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401220
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4e2600
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
mov byte [esi + 0xc], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov byte [esp + 0x38], 1
lea ecx, [esi + 0x24]
mov dword [esi + 0x20], vtable.GameMgr::INotify.0
push ecx
mov dword [esi], vtable.GameMgr::GMWindowImplBase.1.0
mov dword [esi + 0x20], vtable.GameMgr::GMWindowImplBase.0
call fcn.00464c9b
mov byte [esp + 0x38], 2
push 0xffffffffffffffff
lea eax, [esi + 0x214]
mov dword [esi], vtable.GameMgr::GMMessageDlg.0
mov dword [esi + 0x20], vtable.GameMgr::GMMessageDlg.1.0
mov byte [esi + 0x210], bl
push ebx
lea edx, [esp + 0x4c]
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], ebx
push edx
mov word [eax + 4], bx
call fcn.00401690
mov ecx, ebp
lea edi, [esp + 0x14]
mov byte [esp + 0x38], 3
call fcn.0042efe9
mov edi, 8
mov byte [esp + 0x38], 4
cmp dword [eax + 0x18], edi
jb 0x4012ed
mov eax, dword [eax + 4]
jmp 0x4012f0
add eax, 4
push Ordinal_4
push Ordinal_4
push Ordinal_4
push Ordinal_4
push 1
push 0x86c00000
push eax
push ebp
mov eax, esi
call fcn.0046c718
cmp dword [esp + 0x2c], edi
jb 0x401327
mov eax, dword [esp + 0x18]
push eax
call fcn.004b6eae
add esp, 4
cmp dword [esp + 0x5c], edi
jb 0x40133a
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004b6eae
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x2c
ret 0x20
Function at 0x402cc0
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x714
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0x710], eax
push ebx
push esi
xor ebx, ebx
push 0x103
lea eax, [esp + 0x219]
push ebx
push eax
mov byte [esp + 0x220], bl
call fcn.004b9920
push 0x103
lea ecx, [esp + 0x1d]
push ebx
push ecx
mov byte [esp + 0x24], bl
call fcn.004b9920
push 0x103
lea edx, [esp + 0x12d]
push ebx
push edx
mov byte [esp + 0x134], bl
call fcn.004b9920
add esp, 0x24
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str._uninsep.bat
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x104
lea edx, [esp + 0x114]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x214]
push 0x5c
push edx
call fcn.004b75f0
add esp, 8
cmp eax, ebx
je 0x402d86
mov byte [eax + 1], bl
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x402e36
push 0x3ff
lea ecx, [esp + 0x31d]
push ebx
push ecx
mov byte [esp + 0x324], bl
call fcn.004b9920
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x124]
push ecx
mov edx, ecx
push edx
lea eax, [esp + 0x334]
push str.:Repeat_r_ndel__Q___s__r_nif_exist___s__goto_Repeat_r_nCD_..__rmdir__s__q___s___r_ndel___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
push ebx
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x320]
push edx
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [esp + 0x324]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x18]
push ecx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x718]
pop esi
pop ebx
xor ecx, esp
call fcn.004b6e9f
add esp, 0x714
ret
Function at 0x404c30
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4e0319
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
xor ebx, ebx
mov ebp, 7
mov edi, ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
lea eax, [esp + 0x34]
mov dword [esp + 0xe8], ebx
mov esi, dword [edi + 4]
push eax
call fcn.0042f16b
add esp, 4
test al, al
je 0x404e4c
cmp dword [esp + 0x48], ebx
je 0x404e4c
push 0x73
lea eax, [edi + 0x24]
call fcn.004684a6
mov esi, eax
cmp esi, ebx
je 0x404d13
lea ecx, [edi + 0x298]
push ecx
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x20]
call fcn.0043e96d
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea eax, [esp + 0x40]
mov byte [esp + 0xf4], 1
call fcn.00401690
mov byte [esp + 0xe8], bl
cmp dword [esp + 0x30], 8
jb 0x404d02
mov eax, dword [esp + 0x1c]
push eax
call fcn.004b6eae
add esp, 4
mov edx, dword [esi]
mov edx, dword [edx + 0x170]
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call edx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], bx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xd4], bl
push 3
xor ecx, ecx
lea esi, [esp + 0x54]
lea edx, [esp + 0x38]
mov byte [esp + 0xec], 2
call fcn.004075d0
mov byte [esp + 0xe8], 3
mov eax, dword [esp + 0x54]
mov esi, 8
cmp dword [esp + 0x68], esi
jae 0x404db0
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x404df3
cmp dword [esp + 0x68], esi
jb 0x404dcf
mov eax, dword [esp + 0x54]
push eax
call fcn.004b6eae
add esp, 4
lea esi, [esp + 0x6c]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
call fcn.00404700
cmp dword [esp + 0x4c], 8
jb 0x404e60
mov ecx, dword [esp + 0x38]
push ecx
jmp 0x404e58
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x54]
call fcn.00435a8a
add esp, 4
test al, al
jne 0x404e25
lea esi, [esp + 0x50]
call fcn.00401650
lea esi, [esp + 0x6c]
call fcn.00404700
lea esi, [esp + 0x34]
call fcn.00401650
jmp 0x404e60
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xcc]
push eax
push ecx
call fcn.00404e90
lea esi, [esp + 0x50]
call fcn.00401650
lea esi, [esp + 0x6c]
call fcn.00404700
cmp dword [esp + 0x4c], 8
jb 0x404e60
mov edx, dword [esp + 0x38]
push edx
call fcn.004b6eae
add esp, 4
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.004b6e9f
add esp, 0xd8
ret
Function at 0x407240
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4da3ab
mov eax, dword fs:[0]
push eax
mov eax, 0x1024
call fcn.004cf860
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0x1020], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x1038]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x238], ebx
mov edi, edx
jbe 0x4073e4
mov edx, dword [esi + 0x234]
mov eax, dword [esi + 0x248]
lea ecx, [esp + 0x24]
push ecx
xor ecx, ecx
add edx, dword [esi + 0x240]
push ebx
adc ecx, dword [esi + 0x244]
add edx, 0x1c
adc ecx, ebx
lea ebp, [esi + 0x248]
push ecx
push edx
mov edx, dword [eax + 0x18]
mov ecx, ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebp
call edx
test al, al
je 0x4073d7
mov dword [esp + 0x18], vtable.GameMgr::GMFile.0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x18]
mov dword [esp + 0x1040], ebx
call dword [0x4f2d74]
cmp dword [edi + 0x18], 8
jb 0x407305
mov edi, dword [edi + 4]
jmp 0x407308
add edi, 4
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x4073d7
mov esi, dword [esi + 0x238]
push 0xfff
lea eax, [esp + 0x39]
push ebx
push eax
xor edi, edi
mov byte [esp + 0x40], bl
call fcn.004b9920
add esp, 0xc
lea ebx, [ebx]
cmp edi, ebx
mov dword [esp + 0x14], ebx
ja 0x40736a
jb 0x407362
cmp esi, 0x1000
jae 0x40736a
mov eax, esi
mov dword [esp + 0x30], edi
jmp 0x407373
mov eax, 0x1000
mov dword [esp + 0x30], ebx
mov edx, dword [ebp]
mov edx, dword [edx + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
lea eax, [esp + 0x3c]
push eax
mov ecx, ebp
call edx
test al, al
je 0x4073ce
mov eax, dword [esp + 0x14]
sub esi, eax
sbb edi, ebx
cmp eax, ebx
je 0x4073ce
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
mov ebp, eax
je 0x4073ce
push ebx
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4073ce
cmp ebp, dword [esp + 0x14]
jne 0x4073ce
cmp edi, ebx
ja 0x4073c8
cmp esi, ebx
jbe 0x4073db
mov ebp, dword [esp + 0x20]
jmp 0x407350
lea esi, [esp + 0x18]
call fcn.00430a2d
xor al, al
jmp 0x4073e6
lea esi, [esp + 0x18]
call fcn.00430a2d
mov al, 1
mov ecx, dword [esp + 0x1038]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1020]
xor ecx, esp
call fcn.004b6e9f
add esp, 0x1030
ret
Function at 0x408420
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4dcfa8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.00401690
mov eax, ebx
mov dword [esp + 0x34], edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x408480
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00407df0
push 0xffffffffffffffff
push edi
push eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov eax, esi
mov word [esi + 4], di
call fcn.00401690
cmp dword [esp + 0x28], 8
jb 0x4084c7
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004b6eae
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x2c
ret
Function at 0x4088e0
Capabilities:
Set registry value

Disassembly:
cmp dword [edi + 0x14], 0
push esi
mov esi, eax
je 0x408b29
cmp dword [edi + 0x4c], 0
je 0x408b29
push ebx
push ebp
mov ebp, 8
cmp dword [edi + 0x18], ebp
jb 0x408908
mov ebx, dword [edi + 4]
jmp 0x40890b
lea ebx, [edi + 4]
push ebx
call fcn.004b98fb
add esp, 4
add eax, eax
push eax
mov eax, dword [esi]
push ebx
push 1
push 0
push str.DisplayName
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x408937
mov dword [esi + 4], eax
pop ebp
pop ebx
xor al, al
pop esi
ret
cmp dword [edi + 0x30], 0
je 0x408959
cmp dword [edi + 0x34], ebp
jb 0x408947
mov eax, dword [edi + 0x20]
jmp 0x40894a
lea eax, [edi + 0x20]
push eax
push str.DisplayIcon
call fcn.0044001c
test al, al
je 0x408931
cmp dword [edi + 0x4c], 0
je 0x40897b
cmp dword [edi + 0x50], ebp
jb 0x408969
mov eax, dword [edi + 0x3c]
jmp 0x40896c
lea eax, [edi + 0x3c]
push eax
push str.UninstallString
call fcn.0044001c
test al, al
je 0x408931
cmp dword [edi + 0x68], 0
je 0x40899d
cmp dword [edi + 0x6c], ebp
jb 0x40898b
mov eax, dword [edi + 0x58]
jmp 0x40898e
lea eax, [edi + 0x58]
push eax
push str.HelpLink
call fcn.0044001c
test al, al
je 0x408931
cmp dword [edi + 0x84], 0
je 0x4089c9
cmp dword [edi + 0x88], ebp
jb 0x4089b3
mov eax, dword [edi + 0x74]
jmp 0x4089b6
lea eax, [edi + 0x74]
push eax
push str.Publisher
call fcn.0044001c
test al, al
je 0x408931
cmp dword [edi + 0xa0], 0
je 0x4089fb
cmp dword [edi + 0xa4], ebp
jb 0x4089e2
mov eax, dword [edi + 0x90]
jmp 0x4089e8
lea eax, [edi + 0x90]
push eax
push str.URLInfoAbout
call fcn.0044001c
test al, al
je 0x408931
cmp dword [edi + 0xbc], 0
je 0x408a2d
cmp dword [edi + 0xc0], ebp
jb 0x408a14
mov eax, dword [edi + 0xac]
jmp 0x408a1a
lea eax, [edi + 0xac]
push eax
push str.DisplayVersion
call fcn.0044001c
test al, al
je 0x408931
cmp dword [edi + 0xf8], 0
je 0x408a5f
cmp dword [edi + 0xfc], ebp
jb 0x408a46
mov eax, dword [edi + 0xe8]
jmp 0x408a4c
lea eax, [edi + 0xe8]
push eax
push str.ParentkeyName
call fcn.0044001c
test al, al
je 0x408931
cmp dword [edi + 0xdc], 0
je 0x408a91
cmp dword [edi + 0xe0], ebp
jb 0x408a78
mov eax, dword [edi + 0xcc]
jmp 0x408a7e
lea eax, [edi + 0xcc]
push eax
push str.InstallDate
call fcn.0044001c
test al, al
je 0x408931
cmp dword [edi + 0x114], 0
je 0x408ac3
cmp dword [edi + 0x118], ebp
jb 0x408aaa
mov eax, dword [edi + 0x104]
jmp 0x408ab0
lea eax, [edi + 0x104]
push eax
push str.QuietUninstallString
call fcn.0044001c
test al, al
je 0x408931
mov al, byte [edi + 0xc4]
test al, al
je 0x408ae3
movzx ecx, al
push ecx
push 0x4ecc00
call fcn.0044004d
test al, al
je 0x408931
mov al, byte [edi + 0xc6]
test al, al
je 0x408b03
movzx edx, al
push edx
push str.NoRepair
call fcn.0044004d
test al, al
je 0x408931
mov al, byte [edi + 0xc5]
test al, al
je 0x408b23
movzx eax, al
push eax
push str.NoRemove
call fcn.0044004d
test al, al
je 0x408931
pop ebp
pop ebx
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x40c6c0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4de868
mov eax, dword fs:[0]
push eax
sub esp, 0x874
mov eax, dword [0x515854]
xor eax, esp
mov dword [esp + 0x870], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x888]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x898]
xor ebx, ebx
push ebx
push eax
lea ecx, [esp + 0x274]
push ecx
push ebx
mov dword [esp + 0x8a0], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x40c743
cmp dword [esp + 0x8b4], 8
jb 0x40c73c
mov edx, dword [esp + 0x8a0]
push edx
call fcn.004b6eae
add esp, 4
xor eax, eax
jmp 0x40c8a0
cmp esi, ebx
je 0x40c78c
mov eax, esi
mov edx, esi
jmp 0x40c750
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40c750
lea edi, [esp + 0x26c]
sub eax, edx
add edi, 0xfffffffe
jmp 0x40c770
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x40c770
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x478]
push str._s.
push ecx
call fcn.004b7b68
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x478]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40c7e8
cmp dword [esp + 0x8b4], 8
jb 0x40c73c
mov ecx, dword [esp + 0x8a0]
push ecx
call fcn.004b6eae
add esp, 4
xor eax, eax
jmp 0x40c8a0
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov esi, 7
cmp dword [esp + 0x1c], 0x10
je 0x40c871
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x684]
push 0x4ed144
push ecx
call fcn.004b7b68
lea edx, [esp + 0x58]
push 0x2e
push edx
call fcn.004b7f56
add esp, 0x18
cmp eax, ebx
je 0x40c871
push 0x4ec9bc
push eax
call fcn.004b7ec5
add esp, 8
test eax, eax
jne 0x40c871
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x8c0]
mov dword [eax + 0x18], esi
mov dword [eax + 0x14], ebx
push ecx
mov word [eax + 4], bx
call fcn.00401690
lea edx, [esp + 0x698]
push edx
call fcn.0040c340
add esp, 0x20
lea eax, [esp + 0x1c]
push eax
push edi
call ebp
test eax, eax
jne 0x40c7f3
cmp dword [esp + 0x8b4], 8
jb 0x40c89b
mov ecx, dword [esp + 0x8a0]
push ecx
call fcn.004b6eae
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x888]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x870]
xor ecx, esp
call fcn.004b6e9f
add esp, 0x880
ret
Function at 0x40ecc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4de7b9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x30]
mov dword [edi + 4], esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], esi
mov ecx, dword [eax]
cmp ecx, 7
mov dword [esp + 0xc], 1
jne 0x40ed64
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x34]
push 1
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.0040ff80
add esp, 0x14
push eax
mov eax, edi
mov dword [esp + 0x2c], 1
call fcn.00420c20
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x40eedd
push eax
call fcn.004b6eae
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
cmp ecx, 4
jne 0x40edb7
mov edx, dword [esp + 0x34]
add eax, 0x5c
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.0040f5a0
add esp, 8
push eax
mov eax, edi
mov dword [esp + 0x2c], 2
call fcn.00420c20
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x40eedd
push eax
call fcn.004b6eae
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
cmp ecx, 6
jne 0x40ee0d
push 1
add eax, 0x20
push eax
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00410200
add esp, 0x10
push eax
mov eax, edi
mov dword [esp + 0x2c], 3
call fcn.00420c20
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x40eedd
push eax
call fcn.004b6eae
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
cmp ecx, 5
jne 0x40ee35
mov edx, dword [esp + 0x34]
add eax, 0x4c
push eax
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0040f0f0
add esp, 0xc
mov dword [esp + 0x28], 4
jmp 0x40eecc
cmp ecx, 3
jne 0x40ee5a
mov ecx, dword [esp + 0x34]
add eax, 0x3c
push eax
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0040ef00
add esp, 0xc
mov dword [esp + 0x28], 5
jmp 0x40eecc
cmp ecx, 1
jne 0x40ee84
fld qword [eax + 8]
mov eax, dword [esp + 0x34]
sub esp, 8
fstp qword [esp]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040fb70
add esp, 0x10
mov dword [esp + 0x28], 6
jmp 0x40eecc
cmp ecx, 2
jne 0x40eea9
mov edx, dword [esp + 0x34]
add eax, 0x18
push eax
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0040fe70
add esp, 0xc
mov dword [esp + 0x28], 7
jmp 0x40eecc
cmp ecx, esi
jne 0x40eedd
movzx ecx, byte [eax + 4]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0040fdb0
add esp, 0xc
mov dword [esp + 0x28], 8
push eax
mov eax, edi
call fcn.00420c20
lea esi, [esp + 0x10]
call fcn.004208a0
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x40fdb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dcc09
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x20], eax
cmp byte [esp + 0x30], al
mov dword [esp + 0x14], 1
mov esi, edi
je 0x40fe08
lea eax, [esp + 0x30]
mov byte [esp + 0x30], 9
push eax
jmp 0x40fe12
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], 8
push ecx
call fcn.00420e50
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x30], eax
jbe 0x40fe28
call fcn.004b7b58
mov ebp, dword [edi + 4]
cmp ebp, dword [edi + 8]
jbe 0x40fe35
call fcn.004b7b58
mov esi, dword [esp + 0x2c]
mov ebx, dword [esi + 0x14]
add esi, 0x10
cmp ebx, dword [esi + 8]
jbe 0x40fe49
call fcn.004b7b58
mov edx, dword [esp + 0x30]
push edx
push edi
push ebp
push edi
push ebx
push esi
call fcn.00424fb0
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x40fe70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4dcbd1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x515854]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x40]
fild qword [eax]
push ebx
sub esp, 8
lea ecx, [esp + 0x24]
fsub qword [0x4feeb8]
mov esi, 1
mov dword [esp + 0x20], esi
fstp qword [esp]
push ecx
call fcn.00412b80
add esp, 0x10
push eax
mov eax, edi
mov dword [esp + 0x34], esi
call fcn.00420c20
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x40fef8
push eax
call fcn.004b6eae
add esp, 4
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
mov byte [esp + 0x40], 0x33
jbe 0x40ff0a
call fcn.004b7b58
lea edx, [esp + 0x40]
push edx
push esi
push edi
lea eax, [esp + 0x24]
push eax
mov eax, edi
call fcn.00420ec0
mov ebp, dword [edi + 8]
cmp dword [edi + 4], ebp
jbe 0x40ff2a
call fcn.004b7b58
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x40], eax
jbe 0x40ff3b
call fcn.004b7b58
mov esi, dword [esp + 0x3c]
mov ebx, dword [esi + 0x14]
add esi, 0x10
cmp ebx, dword [esi + 8]
jbe 0x40ff4f
call fcn.004b7b58
mov ecx, dword [esp + 0x40]
push ebp
push edi
push ecx
push edi
push ebx
push esi
call fcn.00424fb0
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret