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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff84
mov dword [esp], edx
mov ebx, eax
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
lea eax, [esp + 0x68]
mov edx, 0x10
call fcn.00470620
xor esi, esi
test esi, esi
lea eax, [esp + 0x58]
mov edx, 0x10
call fcn.00470620
lea eax, [esp + 0x48]
mov edx, 0x10
call fcn.00470620
xor esi, esi
test esi, esi
xor edi, edi
test edi, edi
lea eax, [esp + 0x38]
mov edx, 0x10
call fcn.00470620
mov byte [esp + 0x10], 0
cmp byte [esp + 0x10], 0
lea eax, [esp + 0x28]
mov edx, 0x10
call fcn.00470620
call fcn.004724cc
mov dword [esp + 0xc], eax
call fcn.004724cc
mov dword [esp + 8], eax
call fcn.004724cc
mov dword [esp + 4], eax
mov eax, dword [esp]
call fcn.0040388c
mov eax, dword [esp]
cmp dword [eax], 0
lea edx, [esp + 0x68]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x64]
lea eax, [esp + 0x68]
call fcn.00417a1c
mov dword [esp + 0x14], eax
mov esi, dword [ebx + 0x34]
cmp dword [esp + 0x14], 0
jne 0x419d25
test esi, esi
jne 0x419d25
mov eax, ebx
call fcn.0046f4b4
mov edi, ebx
mov cl, byte [edi + 0x34]
mov byte [esp + 0x78], 4
mov byte [esp + 0x79], 3
mov byte [esp + 0x7a], 7
mov byte [esp + 0x7b], 6
lea eax, [esp + 0x78]
mov edx, 3
call fcn.00470b8c
test al, al
je 0x419d82
mov eax, dword [esp + 0x14]
cdq
push edx
push eax
lea eax, [esp + 0x60]
call fcn.0041799c
xor ecx, ecx
lea edx, [esp + 0x58]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x68]
mov eax, dword [ebx + 0x28]
mov dword [eax + 0x34], esi
mov edx, dword [esp]
mov eax, ebx
call fcn.0046f810
jmp 0x419f49
lea edx, [esp + 0x48]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x64]
lea eax, [esp + 0x48]
call fcn.00417a1c
mov dword [esp + 0x14], eax
or esi, 0xffffffff
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov edi, dword [edi + 0x48]
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
dec eax
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
sub eax, edi
jl 0x419e1b
inc eax
mov dword [esp + 0x20], eax
call fcn.00404a24
inc dword [eax + 0x34]
call fcn.00404a24
cmp dword [eax + 0x34], 0xffff
jle 0x419de5
call fcn.004705bc
mov ebp, dword [ebx + 0x48]
mov edx, edi
mov eax, dword [ebp + 0x44]
call dword [ebp + 0x40]
sub al, 0xa
je 0x419dfa
sub al, 3
je 0x419dfe
jmp 0x419e14
mov esi, edi
jmp 0x419e1b
mov ebp, dword [ebx + 0x48]
lea esi, [edi + 1]
mov edx, esi
mov eax, dword [ebp + 0x44]
call dword [ebp + 0x40]
cmp al, 0xa
je 0x419e1b
mov esi, edi
jmp 0x419e1b
inc edi
dec dword [esp + 0x20]
jne 0x419dc4
test esi, esi
jge 0x419e35
lea edx, [esp + 0x38]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x60]
lea eax, [esp + 0x38]
call fcn.00417a1c
mov esi, eax
mov edi, ebx
mov ebp, dword [edi + 0x48]
mov edx, esi
dec edx
mov eax, dword [ebp + 0x44]
call dword [ebp + 0x40]
cmp al, 0xd
sete byte [esp + 0x10]
mov edx, 1
mov eax, esi
call fcn.004707c8
xor edx, edx
sub edx, eax
jns 0x419e6a
mov edx, 1
mov eax, esi
call fcn.004707c8
add esi, eax
lea eax, [esi + 1]
cdq
push edx
push eax
lea eax, [esp + 0x30]
call fcn.0041799c
xor ecx, ecx
lea edx, [esp + 0x28]
mov eax, ebx
mov ebp, dword [eax]
call dword [ebp + 0x68]
cmp byte [esp + 0x10], 0
je 0x419e8e
dec esi
cmp esi, dword [esp + 0x14]
jle 0x419f49
mov eax, esi
sub eax, dword [esp + 0x14]
cdq
push edx
push eax
mov edx, dword [esp + 8]
mov eax, 0x419f74
call fcn.00410478
dec esi
mov eax, dword [edi + 0x34]
sub eax, 2
jb 0x419ec4
je 0x419ef1
sub eax, 3
je 0x419f1e
jmp 0x419f49
mov eax, dword [esp + 0xc]
call fcn.00405604
push esi
mov eax, dword [ebx + 0x28]
mov edx, dword [eax + 0x48]
mov ecx, dword [esp + 0x18]
xor eax, eax
call fcn.00472690
mov dword [esp + 0xc], eax
mov edx, dword [esp]
mov eax, dword [esp + 0xc]
call fcn.004107a4
jmp 0x419f49
mov eax, dword [esp + 8]
call fcn.00405604
push esi
mov eax, dword [ebx + 0x28]
mov edx, dword [eax + 0x48]
mov ecx, dword [esp + 0x18]
xor eax, eax
call fcn.00472690
mov dword [esp + 8], eax
mov edx, dword [esp]
mov eax, dword [esp + 8]
call fcn.00410834
jmp 0x419f49
mov eax, dword [esp + 4]
call fcn.00405604
push esi
mov eax, dword [ebx + 0x28]
mov edx, dword [eax + 0x48]
mov ecx, dword [esp + 0x18]
xor eax, eax
call fcn.00472690
mov dword [esp + 4], eax
mov edx, dword [esp]
mov eax, dword [esp + 4]
call fcn.0041097c
mov eax, dword [esp + 4]
call fcn.00405604
mov eax, dword [esp + 8]
call fcn.00405604
mov eax, dword [esp + 0xc]
call fcn.00405604
add esp, 0x7c
pop ebp
pop edi
pop esi
pop ebx
ret