Function at 0x4306f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50e785
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x174], 0
je 0x4307b7
cmp dword [esi + 0x168], 1
je 0x4307b7
mov ebx, dword [ebp + 8]
lea eax, [ebp + 0xc]
shl ebx, 5
push eax
lea edi, [ebx + 0x28]
add edi, esi
mov ecx, edi
call fcn.00404450
push eax
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00404930
mov eax, dword [eax + 4]
test eax, eax
jne 0x43075a
mov eax, dword [edi + 4]
cmp eax, dword [ebx + esi + 0x2c]
jne 0x430a77
push dword [ebp + 8]
lea eax, [ebp - 0x60]
push 0x18
push str._0x
push eax
call fcn.00429c00
push dword [ebp + 0x10]
lea eax, [ebp - 0x48]
push dword [ebp + 0xc]
push str._016llx
push eax
call fcn.00429c00
push dword [esi + 0xc]
lea eax, [ebp - 0x60]
push 0x28
push 1
push eax
call fcn.004f5aec
add esp, 0x30
cmp eax, 0x28
jne 0x4307b7
mov ebx, dword [ebp + 0x1c]
test bl, 1
je 0x4307cc
mov ebx, dword [ebp + 0x18]
cmp ebx, 0x10
jae 0x43094b
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
test bl, 2
je 0x4308ed
push dword [ebp + 0x18]
call fcn.00437d00
mov ecx, dword [esi + 0x170]
add esp, 4
mov dword [ebp + 0x1c], eax
cmp ecx, eax
jae 0x430837
push eax
push dword [esi + 0x16c]
call fcn.004f5e05
add esp, 8
test eax, eax
je 0x430813
mov dword [esi + 0x16c], eax
mov eax, dword [ebp + 0x1c]
mov ecx, eax
mov dword [esi + 0x170], eax
jmp 0x430837
push dword [esi + 0x16c]
call fcn.004f4a6e
add esp, 4
mov dword [esi + 0x16c], 0
mov dword [esi + 0x170], 0
xor ecx, ecx
cmp dword [esi + 0x16c], 0
je 0x4307b7
mov edx, dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 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.004379c0
add esp, 0x14
test eax, eax
jne 0x4307b7
mov eax, dword [ebp + 8]
mov dword [ebp + 0x18], eax
mov dword [ebp - 0x2c], eax
test bl, 8
je 0x4308b3
push eax
push dword [esi + 0x16c]
push 0
call fcn.00437d50
add esp, 0xc
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042ca10
push dword [esi + 0xc]
lea eax, [ebp - 0x1c]
push 0x10
push 1
push eax
call fcn.004f5aec
add esp, 0x18
cmp eax, 0x10
jne 0x4307b7
push dword [esi + 0xc]
mov ebx, dword [ebp + 0x18]
push ebx
push 1
push dword [esi + 0x16c]
jmp 0x430954
xor eax, eax
test bl, 8
mov ebx, dword [ebp + 0x18]
je 0x430904
push ebx
push dword [ebp + 0x14]
push eax
call fcn.00437d50
add esp, 0xc
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ebx
push eax
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x10], ebx
call fcn.0042ca10
push dword [esi + 0xc]
lea eax, [ebp - 0x2c]
push 0x10
push 1
push eax
call fcn.004f5aec
add esp, 0x18
cmp eax, 0x10
jne 0x4307b7
push dword [esi + 0xc]
push ebx
push 1
push dword [ebp + 0x14]
call fcn.004f5aec
add esp, 0x10
cmp eax, ebx
jne 0x4307b7
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp + 0xc]
push eax
call fcn.00404450
mov esi, eax
mov ecx, edi
push esi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404930
cmp dword [ebp - 0x10], 0
jne 0x430a77
cmp dword [edi + 8], 0x6666666
je 0x430a8c
lea eax, [edi + 4]
mov dword [ebp - 0x24], eax
push 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
call fcn.004e9663
mov dword [ebp + 0x14], eax
add esp, 4
mov dword [ebp - 0x20], 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 0x430a0f
fadd dword [0x51d990]
fstp dword [ebp + 0x18]
fld dword [ebp + 0x18]
mov eax, dword [edi + 0x1c]
fild dword [edi + 0x1c]
test eax, eax
jns 0x430a25
fadd dword [0x51d990]
fstp dword [ebp + 0x18]
fdiv dword [ebp + 0x18]
fcompi st(1)
fstp st(0)
jbe 0x430a68
mov ecx, edi
call fcn.0042c890
push esi
push ebx
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00404930
push dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
push esi
mov ecx, edi
call fcn.0042c830
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.0042c830
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.004e72d1
int3