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

Disassembly:
push 0xffffffffffffffff
push 0x5c3df1
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x694114]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x694114]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
xor ebp, ebp
push ebp
mov ecx, edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebp
call fcn.0041df80
mov eax, 1
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebp
mov word [esp + 0x38], cx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
push ebp
push 0x400
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], eax
call fcn.004012a0
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
mov dword [esp + 0x48], ebp
jae 0x41510a
lea eax, [esp + 0x38]
xor edx, edx
mov word [eax], dx
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x41511b
mov ecx, dword [esi]
jmp 0x41511d
mov ecx, esi
mov edx, dword [esi + 0x10]
lea edx, [ecx + edx*2]
mov dword [esp + 0x18], edx
cmp eax, 8
jb 0x415130
mov esi, dword [esi]
mov edi, edi
cmp esi, edx
je 0x415148
movzx eax, word [esi]
cmp eax, 0x20
je 0x415141
cmp eax, 9
jne 0x41518a
add esi, 2
cmp esi, edx
jne 0x415134
mov edx, dword [esp + 0x54]
push edx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x4c], 8
jb 0x415169
mov eax, dword [esp + 0x38]
push eax
call fcn.00584768
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00585b7b
add esp, 0x58
ret
cmp esi, edx
je 0x415148
mov eax, dword [esp + 0x38]
xor bl, bl
xor edi, edi
cmp dword [esp + 0x4c], 8
mov byte [esp + 0x17], bl
mov dword [esp + 0x48], ebp
jae 0x4151a9
lea eax, [esp + 0x38]
xor ecx, ecx
mov word [eax], cx
mov edi, edi
movzx eax, word [esi]
cmp dword [esp + 0x78], ebp
jne 0x4151f8
cmp eax, 0x22
jne 0x4151d2
test bl, bl
jne 0x415241
cmp byte [esp + 0x17], bl
sete al
mov byte [esp + 0x17], al
jmp 0x4152b2
cmp byte [esp + 0x17], 0
jne 0x4151eb
cmp eax, 0x20
je 0x4152bf
cmp eax, 9
je 0x4152bf
test bl, bl
jne 0x415241
cmp eax, 0x5c
jne 0x415241
mov bl, 1
jmp 0x415243
test bl, bl
jne 0x415241
cmp byte [esp + 0x17], bl
je 0x415210
cmp ax, di
jne 0x41522c
mov byte [esp + 0x17], bl
jmp 0x4152b2
cmp eax, 0x27
je 0x415238
cmp eax, 0x22
je 0x415238
cmp eax, 0x20
je 0x4152bf
cmp eax, 9
je 0x4152bf
cmp eax, 0x5c
sete bl
test bl, bl
jne 0x4152b2
jmp 0x415243
mov byte [esp + 0x17], 1
mov edi, eax
jmp 0x4152b2
xor bl, bl
lea ecx, [eax - 0x10000]
mov dword [esp + 0x24], eax
cmp ecx, 0xfffff
jbe 0x415263
push eax
push 1
lea ecx, [esp + 0x40]
call fcn.00413a50
jmp 0x4152ae
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.004572d0
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov dx, word [eax + 4]
lea eax, [esp + 0x38]
mov word [esp + 0x3c], dx
add esp, 8
lea edx, [eax + 2]
jmp 0x415290
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x415290
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
call fcn.004024f0
mov edx, dword [esp + 0x18]
add esi, 2
cmp esi, edx
jne 0x4151b0
jmp 0x4152c2
add esi, 2
push 1
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0041ef80
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
jmp 0x415130