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

Disassembly:
push 0xffffffffffffffff
push 0x42caf3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
xor ebx, ebx
push ebp
push esi
push edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov edx, dword [esp + 0x130]
mov esi, dword [esp + 0x124]
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x84]
push ecx
push edx
push ebx
lea edi, [esp + 0x34]
mov eax, esi
mov byte [esp + 0x12c], 2
call fcn.00407a40
mov al, byte [esi + 0x78]
mov byte [esp + 0xfc], al
xor eax, eax
mov byte [esp + 0xac], bl
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
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 dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0x108], eax
mov byte [esp + 0x11c], 3
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x28], ebx
jbe 0x4082cb
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x50]
sub ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x30]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x8c], eax
push 8
call fcn.004259f0
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x408430
mov esi, dword [esp + 0x134]
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
jne 0x408138
mov ecx, eax
shr ecx, 2
lea edi, [ecx + eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
mov dword [esp + 0x20], edi
neg ecx
or eax, ecx
push eax
call fcn.004259f0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x408443
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x408124
mov ecx, dword [esi]
add eax, eax
add eax, eax
push eax
push ecx
push edi
call fcn.00429520
add esp, 0xc
mov eax, dword [esi]
push eax
call fcn.004259b6
mov edx, dword [esp + 0x24]
add esp, 4
mov dword [esi], edi
mov dword [esi + 8], edx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [esp + 0x7c]
mov dword [ecx + eax*4], ebp
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x30]
inc dword [esi + 4]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x20], eax
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 0x1c]
add eax, dword [edx + ecx]
mov ecx, dword [esp + 0x4c]
mov edi, dword [ecx + eax*8]
mov eax, dword [ecx + eax*8 + 4]
cmp edi, edi
jne 0x408456
cmp ebx, eax
jne 0x408456
cmp edi, dword [ebp + 4]
je 0x4081b6
mov eax, dword [ebp]
cmp eax, ebx
je 0x408198
push eax
call fcn.004259b6
add esp, 4
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
cmp edi, ebx
je 0x4081b6
push edi
call fcn.004259f0
add esp, 4
cmp eax, ebx
je 0x40845b
mov dword [ebp], eax
mov dword [ebp + 4], edi
push 0x14
call fcn.004259f0
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x40846e
mov dword [esi + 4], ebx
mov dword [esi], vtable.CBufPtrSeqOutStream.0
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
mov dword [esp + 0x110], esi
call eax
push ebx
push ebx
push 1
push ebx
mov byte [esp + 0x12c], 4
mov eax, dword [ebp]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x140]
lea ecx, [esp + 0x27]
push ecx
push ebx
push esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], edi
mov ecx, dword [eax]
add ecx, dword [esp + 0x144]
push ebx
lea edx, [esp + 0x44]
push edx
mov edx, dword [eax + 4]
adc edx, dword [esp + 0x150]
mov eax, dword [esp + 0x148]
mov eax, dword [eax]
push edx
push ecx
push eax
lea ecx, [esp + 0xdc]
push ecx
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x4b], bl
call fcn.00401cf0
mov dword [esp + 0x90], eax
cmp eax, ebx
jne 0x408481
cmp byte [esp + 0x17], bl
je 0x408263
mov edx, dword [esp + 0x124]
mov byte [edx + 0x3c], 1
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x18], eax
jae 0x408295
mov ecx, dword [esp + 0x20]
cmp byte [ecx], bl
je 0x408295
mov edx, dword [ebp]
push 0x4397c0
push edi
or ecx, 0xffffffff
call dword [0x43b7c0]
mov edx, dword [esp + 0x1c]
not eax
cmp eax, dword [edx]
jne 0x408551
mov byte [esp + 0x11c], 3
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], 4
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x28]
jb 0x4080b1
mov eax, dword [esp + 0x108]
mov esi, dword [esp + 0x124]
mov edi, dword [esp + 0x2c]
cmp edi, ebx
je 0x4082e4
mov ecx, dword [esp + 0x24]
mov edx, dword [edi + ecx*8]
add dword [esi + 0x70], edx
mov ecx, dword [edi + ecx*8 + 4]
adc dword [esi + 0x74], ecx
mov byte [esp + 0x11c], 6
cmp eax, ebx
je 0x4082f8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.004259b6
mov edx, dword [esp + 0xe8]
add esp, 4
push edx
call fcn.004259b6
mov eax, dword [esp + 0xdc]
add esp, 4
push eax
call fcn.004259b6
mov ecx, dword [esp + 0xcc]
add esp, 4
push ecx
call fcn.004259b6
mov edx, dword [esp + 0xc0]
add esp, 4
push edx
call fcn.004259b6
mov eax, dword [esp + 0xb4]
add esp, 4
push eax
call fcn.004259b6
mov ecx, dword [esp + 0xa4]
add esp, 4
push ecx
call fcn.004259b6
mov edx, dword [esp + 0x98]
add esp, 4
push edx
call fcn.004259b6
mov eax, dword [esp + 0x84]
add esp, 4
push eax
call fcn.004259b6
mov ecx, dword [esp + 0x74]
add esp, 4
push ecx
call fcn.004259b6
mov edx, dword [esp + 0x64]
add esp, 4
push edx
call fcn.004259b6
mov eax, dword [esp + 0x60]
add esp, 4
push eax
call fcn.004259b6
mov ecx, dword [esp + 0x5c]
add esp, 4
push ecx
call fcn.004259b6
mov edx, dword [esp + 0x58]
add esp, 4
push edx
call fcn.004259b6
mov eax, dword [esp + 0x54]
add esp, 4
push eax
call fcn.004259b6
mov ecx, dword [esp + 0x50]
add esp, 4
push ecx
call fcn.004259b6
mov edx, dword [esp + 0x4c]
add esp, 4
push edx
call fcn.004259b6
mov eax, dword [esp + 0x40]
add esp, 4
push eax
call fcn.004259b6
mov ecx, dword [esp + 0x34]
add esp, 4
push ecx
call fcn.004259b6
add esp, 4
push edi
call fcn.004259b6
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x110
ret 0x14
push 0x433900
lea edx, [esp + 0x1a]
push edx
mov byte [esp + 0x1e], bl
call fcn.0042a55f
push 0x433900
lea eax, [esp + 0x1a]
push eax
mov byte [esp + 0x1e], bl
call fcn.0042a55f
call fcn.00405520
push 0x433900
lea ecx, [esp + 0x1a]
push ecx
mov byte [esp + 0x1e], bl
call fcn.0042a55f
push 0x433900
lea edx, [esp + 0x1a]
push edx
mov byte [esp + 0x1e], bl
call fcn.0042a55f
mov byte [esp + 0x11c], 3
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov byte [esp + 0x11c], 5
mov eax, dword [esp + 0x108]
cmp eax, ebx
je 0x4084ac
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0xf0]
push ecx
call fcn.004259b6
mov edx, dword [esp + 0xe8]
add esp, 4
push edx
call fcn.004259b6
mov eax, dword [esp + 0xdc]
add esp, 4
push eax
call fcn.004259b6
mov ecx, dword [esp + 0xcc]
add esp, 4
push ecx
call fcn.004259b6
mov edx, dword [esp + 0xc0]
add esp, 4
push edx
call fcn.004259b6
mov eax, dword [esp + 0xb4]
add esp, 4
push eax
call fcn.004259b6
mov ecx, dword [esp + 0xa4]
add esp, 4
push ecx
call fcn.004259b6
mov edx, dword [esp + 0x98]
add esp, 4
push edx
call fcn.004259b6
mov eax, dword [esp + 0x84]
add esp, 4
push eax
call fcn.004259b6
add esp, 4
lea esi, [esp + 0x24]
call fcn.00404920
mov eax, dword [esp + 0x90]
jmp 0x408415
call fcn.00405500
int3