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

Disassembly:
push 0xffffffffffffffff
push 0x42f88b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [esp + 0x6c]
push ebx
push esi
xor esi, esi
cmp eax, esi
mov ebx, ecx
mov dword [esp + 0xc], ebx
je 0x4118ab
push eax
call dword [0x443f58]
add esp, 4
cmp eax, 0x200
jle 0x4118c1
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 4
push ebp
lea eax, [eax + eax + 2]
push edi
push eax
mov dword [esp + 0x14], esi
xor ebp, ebp
call fcn.004250aa
add esp, 4
lea ecx, [ebx + 0x4c]
mov edi, eax
call fcn.0040d650
lea ecx, [ebx + 0x3c]
call fcn.0040d650
lea ecx, [ebx + 4]
mov byte [ebx], 0
call dword [0x443d94]
lea ecx, [ebx + 0x20]
call dword [0x443d94]
mov eax, dword [esp + 0x7c]
cmp word [eax], bp
je 0x411a68
lea ebx, [eax - 4]
lea ecx, [ecx]
mov edx, dword [esp + 0x7c]
mov cx, word [edx + ebp*2]
movzx eax, cx
add eax, 0xffffffdc
cmp eax, 0x38
ja case.0x41192e.37
movzx eax, byte [eax + 0x411b40]
jmp dword [eax*4 + 0x411b30]
mov eax, dword [esp + 0x10]
test eax, eax
jne case.0x41192e.37
cmp esi, 1
jl 0x411adf
push edi
lea ecx, [esp + 0x1c]
mov word [edi + esi*2], 0
call dword [0x443e44]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
xor esi, esi
add ecx, 0x3c
mov dword [esp + 0x78], esi
call fcn.00410f70
lea ecx, [esp + 0x18]
mov dword [esp + 0x74], 0xffffffff
call dword [0x443e38]
jmp 0x411a51
cmp ebp, 1
jle case.0x41192e.37
mov ax, word [edx + ebp*2 - 2]
cmp ax, 0x2f
je 0x4119a7
cmp ax, 0x5c
jne case.0x41192e.37
cmp word [ebx], 0x3a
jne case.0x41192e.37
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x411adf
mov ecx, dword [esp + 0x14]
push edi
add ecx, 4
mov word [edi + esi*2 - 4], 0
call dword [0x443e5c]
xor esi, esi
mov dword [esp + 0x10], 1
jmp 0x411a51
mov eax, dword [esp + 0x10]
cmp eax, 1
jne 0x411a07
mov ecx, dword [esp + 0x14]
push edi
add ecx, 0x20
mov word [edi + esi*2], 0
call dword [0x443e5c]
xor esi, esi
mov dword [esp + 0x10], 2
jmp 0x411a51
cmp eax, 2
jne case.0x41192e.37
push edi
lea ecx, [esp + 0x38]
mov word [edi + esi*2], 0
call dword [0x443e44]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x34]
push edx
add ecx, 0x4c
mov dword [esp + 0x78], 1
call fcn.00410f70
lea ecx, [esp + 0x34]
mov dword [esp + 0x74], 0xffffffff
call dword [0x443e38]
xor esi, esi
jmp 0x411a51
mov word [edi + esi*2], cx
inc esi
mov eax, dword [esp + 0x7c]
inc ebp
add ebx, 2
cmp word [eax + ebp*2], 0
jne 0x411910
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, 2
mov word [edi + esi*2], 0
jne 0x411aab
push edi
lea ecx, [esp + 0x54]
call dword [0x443e44]
lea ecx, [esp + 0x50]
push ecx
lea ecx, [ebx + 0x4c]
mov dword [esp + 0x78], 2
call fcn.00410f70
lea ecx, [esp + 0x50]
mov dword [esp + 0x74], 0xffffffff
call dword [0x443e38]
jmp 0x411ac9
test eax, eax
je 0x411ab4
cmp eax, 1
jne 0x411ac9
lea esi, [ebx + 0x20]
push edi
mov ecx, esi
call dword [0x443e5c]
push esi
call fcn.00411360
add esp, 4
lea ecx, [ebx + 0x3c]
call fcn.0040b970
lea ecx, [ebx + 0x4c]
mov esi, eax
call fcn.0040b970
cmp eax, esi
je 0x411ae4
or esi, 0xffffffff
jmp 0x411b0e
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x411af9
push str.file
lea ecx, [ebx + 4]
call dword [0x443e5c]
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x40]
push eax
push ecx
call fcn.004117e0
add esp, 8
mov byte [ebx], 1
xor esi, esi
push edi
call fcn.004252f2
mov ecx, dword [esp + 0x70]
add esp, 4
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 4