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

Disassembly:
sub esp, 0x6ec
mov eax, dword [0x46ad0c]
push ebx
push esi
push edi
mov edi, dword [esp + 0x6fc]
xor ebx, ebx
mov dword [esp + 0x6f4], eax
xor esi, esi
push 0x5c
push edi
call fcn.0044b7e0
add esp, 8
cmp eax, ebx
je 0x401f54
mov ecx, dword [esi*8 + 0x46a140]
push ecx
push eax
call fcn.0044c040
add esp, 8
test eax, eax
jne 0x401f5c
inc esi
cmp esi, 0x19
jb 0x401f30
jmp 0x401f7a
mov eax, dword [esi*8 + 0x46a144]
mov edx, 0x46a0af
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x401f70
push 0x45d358
push edi
mov dword [esp + 0x18], ebx
call fcn.0044b906
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x401fc2
push edi
lea edx, [esp + 0x248]
push 0x45d344
push edx
call fcn.0044b73f
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x6e8]
call fcn.0044b7c8
add esp, 0x6ec
ret 8
mov edi, dword [esp + 0x700]
push ebp
push 0x45d190
push edi
call fcn.0044b906
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x401ffb
push edi
lea eax, [esp + 0x24c]
push 0x45d344
push eax
call fcn.0044b73f
add esp, 0xc
xor eax, eax
jmp 0x402437
mov eax, dword [esi + 0xc]
and eax, 0x10
jne 0x402423
jmp 0x402010
test eax, eax
lea edi, [esp + 0x248]
jne 0x402037
jmp 0x402020
push esi
call fcn.0044ba6c
add esp, 4
cmp al, 0xa
mov byte [edi], al
je 0x402037
mov al, byte [esi + 0xc]
inc edi
test al, 0x10
je 0x402020
lea eax, [esp + 0x248]
mov byte [edi], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402044
sub eax, edx
mov dword [esp + 0x18], eax
je 0x402101
test byte [esi + 0xc], 0x10
mov ebx, 1
jne 0x402115
lea ecx, [esp + 0x248]
push 0x5b
push ecx
call fcn.0044bd28
add esp, 8
test eax, eax
je 0x402092
lea edx, [esp + 0x248]
push 0x5d
push edx
call fcn.0044bd28
add esp, 8
test eax, eax
jne 0x402101
test byte [esi + 0xc], 0x10
jne 0x402101
mov al, byte [esp + 0x248]
cmp al, 0x23
je 0x4020d5
test al, al
je 0x4020d5
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0x250]
push str._s__s
push edx
call fcn.0044c14f
mov eax, dword [esp + 0x24]
add esp, 0x10
inc eax
mov dword [esp + 0x14], eax
test byte [esi + 0xc], 0x10
jne 0x402101
lea edi, [esp + 0x248]
push esi
call fcn.0044ba6c
add esp, 4
cmp al, 0xa
mov byte [edi], al
je 0x4020f9
mov al, byte [esi + 0xc]
inc edi
test al, 0x10
je 0x4020e2
mov byte [edi], 0
jmp 0x402066
mov eax, dword [esi + 0xc]
and eax, 0x10
je 0x402010
test ebx, ebx
je 0x402423
mov eax, dword [esp + 0x14]
test eax, eax
je 0x402423
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
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 + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
push ebp
mov dword [esp + 0x78], eax
push 1
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
push 0x98
push 0x46a0a8
mov dword [esp + 0x90], eax
call fcn.0044ba20
push ebp
push 0x1a
lea ecx, [esp + 0x34]
push 4
push ecx
call fcn.0044ba20
push ebp
push 0x1b
lea edx, [esp + 0xac]
push 4
push edx
call fcn.0044ba20
push ebp
push 1
lea eax, [esp + 0x4c]
push 4
push eax
call fcn.0044ba20
add esp, 0x40
push esi
call fcn.0044c0c6
mov eax, dword [esi + 0xc]
add esp, 4
and eax, 0x10
jne 0x4023ab
mov edi, edi
test eax, eax
lea edi, [esp + 0x248]
jne 0x402217
jmp 0x402200
push esi
call fcn.0044ba6c
add esp, 4
cmp al, 0xa
mov byte [edi], al
je 0x402217
mov al, byte [esi + 0xc]
inc edi
test al, 0x10
je 0x402200
lea eax, [esp + 0x248]
mov byte [edi], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402224
sub eax, edx
mov dword [esp + 0x18], eax
je 0x40239f
test byte [esi + 0xc], 0x10
jne 0x402423
lea ecx, [esp + 0x248]
push 0x5b
push ecx
call fcn.0044bd28
add esp, 8
test eax, eax
je 0x402271
lea edx, [esp + 0x248]
push 0x5d
push edx
call fcn.0044bd28
add esp, 8
test eax, eax
jne 0x40239f
test byte [esi + 0xc], 0x10
jne 0x40239f
mov al, byte [esp + 0x248]
cmp al, 0x23
je 0x40236f
test al, al
je 0x40236f
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0x250]
push str._s__s
push edx
call fcn.0044c14f
movsx eax, byte [esp + 0x100]
sub eax, 0x61
mov ecx, dword [esp + eax*4 + 0x2c]
lea eax, [esp + eax*4 + 0x2c]
add esp, 0x10
inc ecx
mov dword [eax], ecx
lea eax, [esp + 0xf0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4022d7
sub eax, edx
push ebp
shl al, 1
push 1
mov byte [esp + 0x1b], al
lea eax, [esp + 0x1b]
push 1
push eax
call fcn.0044ba20
movzx eax, byte [esp + 0x23]
shr eax, 1
add esp, 0x10
xor ecx, ecx
test eax, eax
jle 0x40230a
inc ecx
cmp ecx, eax
jl 0x402305
push ebp
push eax
lea ecx, [esp + 0xf8]
push 1
push ecx
call fcn.0044ba20
lea eax, [esp + 0x154]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402328
push ebp
sub eax, edx
push 1
lea edx, [esp + 0x1b]
shl al, 1
push 1
push edx
mov byte [esp + 0x23], al
call fcn.0044ba20
movzx eax, byte [esp + 0x23]
shr eax, 1
add esp, 0x10
xor ecx, ecx
test eax, eax
jle 0x40235b
inc ecx
cmp ecx, eax
jl 0x402356
push ebp
push eax
lea eax, [esp + 0x14c]
push 1
push eax
call fcn.0044ba20
add esp, 0x10
test byte [esi + 0xc], 0x10
jne 0x402423
lea edi, [esp + 0x248]
push esi
call fcn.0044ba6c
add esp, 4
cmp al, 0xa
mov byte [edi], al
je 0x402397
mov al, byte [esi + 0xc]
inc edi
test al, 0x10
je 0x402380
mov byte [edi], 0
jmp 0x402241
mov eax, dword [esi + 0xc]
and eax, 0x10
je 0x4021f0
push ebp
call fcn.0044c0c6
push ebp
push 1
push 0x98
push 0x46a0a8
call fcn.0044ba20
push ebp
push 0x1a
lea ecx, [esp + 0x38]
push 4
push ecx
call fcn.0044ba20
add esp, 0x24
mov dword [esp + 0x84], 0
mov eax, 4
mov edx, dword [esp + eax + 0x80]
add edx, dword [esp + eax + 0x18]
mov dword [esp + eax + 0x84], edx
add eax, 4
cmp eax, 0x6c
jb 0x4023e5
push ebp
push 0x1b
lea eax, [esp + 0x8c]
push 4
push eax
call fcn.0044ba20
push ebp
push 1
lea ecx, [esp + 0x2c]
push 4
push ecx
call fcn.0044ba20
add esp, 0x20
push esi
call fcn.0044b859
push ebp
call fcn.0044b859
add esp, 8
mov eax, 1
mov ecx, dword [esp + 0x6f8]
pop ebp
pop edi
pop esi
pop ebx
call fcn.0044b7c8
add esp, 0x6ec
ret 8