Function at 0x42f6c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50be15
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x174], 0
je 0x42f8c0
cmp dword [esi + 0x168], 1
je 0x42f8c0
mov ebx, dword [ebp + 8]
lea edi, [esi + 0x28]
shl ebx, 5
lea eax, [ebp + 0xc]
add edi, ebx
push eax
mov ecx, edi
call fcn.00404540
push eax
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004049a0
mov eax, dword [eax + 4]
test eax, eax
jne 0x42f72a
mov eax, dword [edi + 4]
cmp eax, dword [ebx + esi + 0x2c]
jne 0x42fa5b
push dword [ebp + 8]
lea eax, [ebp - 0x80]
push 0x18
push str._0x
push eax
call fcn.00428b60
push dword [ebp + 0x10]
lea eax, [ebp - 0x68]
push dword [ebp + 0xc]
push str._016llx
push eax
call fcn.00428b60
push dword [esi + 0xc]
lea eax, [ebp - 0x80]
push 0x28
push 1
push eax
call fcn.004f17d4
add esp, 0x30
cmp eax, 0x28
jne 0x42f8c0
mov ebx, dword [ebp + 0x1c]
test bl, 1
je 0x42f799
mov ebx, dword [ebp + 0x18]
cmp ebx, 0x10
jb 0x42f8c0
push dword [esi + 0xc]
push ebx
push 1
push dword [ebp + 0x14]
jmp 0x42f8b0
test bl, 2
je 0x42f8d5
push dword [ebp + 0x18]
call fcn.00436bf0
mov ecx, dword [esi + 0x170]
add esp, 4
mov dword [ebp + 0x1c], eax
cmp ecx, eax
jae 0x42f804
push eax
push dword [esi + 0x16c]
call fcn.004f1a2d
add esp, 8
test eax, eax
je 0x42f7e0
mov dword [esi + 0x16c], eax
mov eax, dword [ebp + 0x1c]
mov ecx, eax
mov dword [esi + 0x170], eax
jmp 0x42f804
push dword [esi + 0x16c]
call fcn.004f075f
add esp, 4
mov dword [esi + 0x16c], 0
mov dword [esi + 0x170], 0
xor ecx, ecx
cmp dword [esi + 0x16c], 0
je 0x42f8c0
mov edx, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov eax, ebx
and eax, 4
mov dword [ebp - 0x20], edx
add eax, eax
mov dword [ebp - 0x28], 2
or eax, 1
mov dword [ebp + 8], ecx
push eax
push edx
push dword [ebp + 0x14]
lea eax, [ebp + 8]
push eax
push dword [esi + 0x16c]
call fcn.004368d0
add esp, 0x14
test eax, eax
jne 0x42f8c0
mov eax, dword [ebp + 8]
mov dword [ebp + 0x18], eax
mov dword [ebp - 0x2c], eax
test bl, 8
je 0x42f87c
push eax
push dword [esi + 0x16c]
push 0
call fcn.00436c40
add esp, 0xc
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0042b800
push dword [esi + 0xc]
lea eax, [ebp - 0x3c]
push 0x10
push 1
push eax
call fcn.004f17d4
add esp, 0x18
cmp eax, 0x10
jne 0x42f8c0
push dword [esi + 0xc]
mov ebx, dword [ebp + 0x18]
push ebx
push 1
push dword [esi + 0x16c]
call fcn.004f17d4
add esp, 0x10
cmp eax, ebx
je 0x42f948
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
xor eax, eax
test bl, 8
mov ebx, dword [ebp + 0x18]
je 0x42f8ec
push ebx
push dword [ebp + 0x14]
push eax
call fcn.00436c40
add esp, 0xc
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x2c], ebx
push eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x20], ebx
call fcn.0042b800
push dword [esi + 0xc]
lea eax, [ebp - 0x3c]
push 0x10
push 1
push eax
call fcn.004f17d4
add esp, 0x18
cmp eax, 0x10
jne 0x42f8c0
push dword [esi + 0xc]
push ebx
push 1
push dword [ebp + 0x14]
call fcn.004f17d4
add esp, 0x10
cmp eax, ebx
jne 0x42f8c0
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0xc]
push eax
call fcn.00404540
mov esi, eax
mov ecx, edi
push esi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004049a0
cmp dword [ebp - 0x10], 0
jne 0x42fa5b
cmp dword [edi + 8], 0x6666666
je 0x42fa70
lea eax, [edi + 4]
mov dword [ebp - 0x1c], eax
push 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.004e5c9b
mov dword [ebp + 0x14], eax
add esp, 4
mov dword [ebp - 0x18], eax
lea ebx, [eax + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 8]
fld dword [edi]
add eax, 1
mov dword [ebp + 0x18], eax
fild dword [ebp + 0x18]
mov dword [ebp - 4], 1
jns 0x42f9f3
fadd dword [0x51a9b0]
fstp dword [ebp + 0x18]
fld dword [ebp + 0x18]
mov eax, dword [edi + 0x1c]
fild dword [edi + 0x1c]
test eax, eax
jns 0x42fa09
fadd dword [0x51a9b0]
fstp dword [ebp + 0x18]
fdiv dword [ebp + 0x18]
fcompi st(1)
fstp st(0)
jbe 0x42fa4c
mov ecx, edi
call fcn.0042b620
push esi
push ebx
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
call fcn.004049a0
push dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
push esi
mov ecx, edi
call fcn.0042b540
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x14]
push ecx
push esi
mov ecx, edi
call fcn.0042b540
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18
push str.unordered_map_set_too_long
call fcn.004e3511
int3