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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x4f5608]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x74]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x18], eax
xor eax, eax
push esi
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], ebp
lea edi, [ebp + 3]
mov eax, 1
jmp 0x409614
mov ebp, dword [esp + 0x1c]
movzx ebx, byte [eax + ebp - 1]
movzx ebp, byte [eax + ebp]
lea ecx, [eax - 1]
and ecx, 1
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, 8
sub edx, ecx
mov ecx, edx
shl ebx, cl
mov ecx, eax
and ecx, 1
add ecx, ecx
lea esi, [eax - 1]
shr esi, 1
or dword [esp + esi*4 + 0x24], ebx
add ecx, ecx
add ecx, ecx
lea esi, [esp + esi*4 + 0x24]
mov esi, 8
sub esi, ecx
mov ecx, eax
shr ecx, 1
lea ebx, [esp + ecx*4 + 0x24]
mov ecx, esi
shl ebp, cl
mov ecx, edx
lea edx, [eax + 2]
shr edx, 1
or dword [ebx], ebp
movzx ebp, byte [edi - 1]
lea ebx, [eax + 1]
shr ebx, 1
shl ebp, cl
lea ebx, [esp + ebx*4 + 0x24]
mov ecx, esi
lea edx, [esp + edx*4 + 0x24]
or dword [ebx], ebp
movzx ebx, byte [edi]
shl ebx, cl
add eax, 4
add edi, 4
or dword [edx], ebx
lea edx, [eax - 1]
cmp edx, 0x10
jl 0x409610
or ebx, 0xffffffff
or eax, ebx
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x18], esi
lea edx, [ebx + 3]
lea edi, [esp + 0x28]
cmp dword [edi - 4], 0
jne 0x4096c4
cmp eax, 0xffffffff
jne 0x4096c1
lea eax, [edx - 2]
mov ecx, 1
jmp 0x4096dd
inc ecx
jmp 0x4096dd
cmp eax, 0xffffffff
je 0x4096dd
cmp ebx, 0xffffffff
je 0x4096d2
cmp ecx, esi
jle 0x4096da
mov ebx, eax
mov dword [esp + 0x18], ecx
mov esi, ecx
or eax, 0xffffffff
cmp dword [edi], 0
jne 0x4096f4
cmp eax, 0xffffffff
jne 0x4096f1
lea eax, [edx - 1]
mov ecx, 1
jmp 0x40970d
inc ecx
jmp 0x40970d
cmp eax, 0xffffffff
je 0x40970d
cmp ebx, 0xffffffff
je 0x409702
cmp ecx, esi
jle 0x40970a
mov ebx, eax
mov dword [esp + 0x18], ecx
mov esi, ecx
or eax, 0xffffffff
cmp dword [edi + 4], 0
jne 0x409724
cmp eax, 0xffffffff
jne 0x409721
mov eax, edx
mov ecx, 1
jmp 0x40973d
inc ecx
jmp 0x40973d
cmp eax, 0xffffffff
je 0x40973d
cmp ebx, 0xffffffff
je 0x409732
cmp ecx, esi
jle 0x40973a
mov ebx, eax
mov dword [esp + 0x18], ecx
mov esi, ecx
or eax, 0xffffffff
cmp dword [edi + 8], 0
jne 0x409755
cmp eax, 0xffffffff
jne 0x409752
lea eax, [edx + 1]
mov ecx, 1
jmp 0x40976e
inc ecx
jmp 0x40976e
cmp eax, 0xffffffff
je 0x40976e
cmp ebx, 0xffffffff
je 0x409763
cmp ecx, esi
jle 0x40976b
mov ebx, eax
mov dword [esp + 0x18], ecx
mov esi, ecx
or eax, 0xffffffff
add edx, 4
lea ebp, [edx - 2]
add edi, 0x10
cmp ebp, 8
jl 0x4096ac
cmp eax, 0xffffffff
je 0x409796
cmp ebx, 0xffffffff
je 0x40978e
cmp ecx, esi
jle 0x409796
mov ebx, eax
mov dword [esp + 0x18], ecx
mov esi, ecx
cmp ebx, 0xffffffff
je 0x4097a3
cmp esi, 2
jge 0x4097a3
or ebx, 0xffffffff
mov ebp, dword [esp + 0x40]
lea esi, [esp + 0x44]
xor edi, edi
lea ecx, [ecx]
cmp ebx, 0xffffffff
je 0x4097d5
cmp edi, ebx
jl 0x4097d5
mov eax, dword [esp + 0x18]
lea ecx, [eax + ebx]
cmp edi, ecx
jge 0x4097d9
cmp edi, ebx
jne 0x409898
mov byte [esi], 0x3a
inc esi
jmp 0x409898
mov eax, dword [esp + 0x18]
test edi, edi
je 0x4097e1
mov byte [esi], 0x3a
inc esi
cmp edi, 6
jne 0x40987c
test ebx, ebx
jne 0x40987c
cmp eax, edi
je 0x409800
cmp eax, 7
jne 0x40986d
cmp ebp, 1
je 0x40987c
mov eax, dword [esp + 0x1c]
movzx ecx, byte [eax + 0xf]
movzx edx, byte [eax + 0xe]
push ecx
movzx ecx, byte [eax + 0xd]
push edx
movzx edx, byte [eax + 0xc]
push ecx
push edx
push str._u._u._u._u
mov ecx, 0x10
lea edx, [esp + 0x38]
call fcn.00408d00
add esp, 0x14
test eax, eax
jl 0x4098c8
lea ecx, [esp + 0x72]
sub ecx, esi
cmp eax, ecx
jae 0x4098c8
inc eax
push eax
lea edx, [esp + 0x28]
push edx
push esi
call fcn.0040f1c0
add esp, 0xc
test esi, esi
je 0x4098d3
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409860
sub eax, edx
add esi, eax
jmp 0x4098a7
cmp eax, 5
jne 0x40987c
cmp dword [esp + 0x38], 0xffff
je 0x409800
mov edx, dword [esp + edi*4 + 0x24]
push edx
lea ecx, [esp + 0x76]
push 0x4f2ff4
sub ecx, esi
mov edx, esi
call fcn.00408d00
add esp, 8
add esi, eax
inc edi
cmp edi, 8
jl 0x4097b0
cmp ebx, 0xffffffff
je 0x4098b6
mov eax, dword [esp + 0x18]
add eax, ebx
cmp eax, 8
jne 0x4098b6
mov byte [esi], 0x3a
inc esi
mov byte [esi], 0
inc esi
lea ecx, [esp + 0x44]
sub esi, ecx
cmp esi, 0x80
jbe 0x4098e8
call fcn.0040b8d7
mov dword [eax], 0x1c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0040a326
add esp, 0x6c
ret
push esi
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x48]
push edx
push esi
call fcn.0040f1c0
mov ecx, dword [esp + 0x80]
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040a326
add esp, 0x6c
ret