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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x541dce
add esp, 0xffffff80
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00541310
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x5417e6
mov ecx, dword [esp + 0x84]
jmp 0x54180b
mov ecx, dword [0x705d20]
test ecx, ecx
jne 0x5417fc
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x20], eax
jmp 0x54180b
mov ecx, dword [esp + 0x84]
lea edi, [ecx + 0x20]
call fcn.0045d700
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00541310
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x541832
mov ecx, dword [esp + 0x84]
jmp 0x541857
mov ecx, dword [0x705d20]
test ecx, ecx
jne 0x541848
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x1c], eax
jmp 0x541857
mov ecx, dword [esp + 0x84]
lea edi, [ecx + 0x1c]
call fcn.0045d700
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x5a232b]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004acb50
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x5418ae
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x541db4
mov dword [esp + 0x3c], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004ae190
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004ad8d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x5418fd
mov ecx, dword [esp + 0x84]
lea esi, [0x5eb738]
jmp 0x54189f
cmp eax, 1
jne 0x54190b
cmp byte [ecx], 0x2a
je 0x541d12
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0051c510
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x5419d0
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x28]
lea ebx, [edx + 1]
mov ebp, dword [ecx + 0x24]
mov esi, dword [ecx + 0x2c]
cmp esi, ebx
jae 0x54199f
mov dword [esp + 0x4c], eax
lea eax, [0x588a80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
call fcn.004472c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x705d20]
test edx, edx
jne 0x54198d
mov dword [ebx + 0x24], eax
jmp 0x541995
lea edi, [ebx + 0x24]
call fcn.0045d700
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x4c]
mov ecx, ebx
lea ebx, [edx + 1]
mov dword [ecx + 0x28], ebx
lea ebx, [ebp + edx*8]
lea esi, [0x5eb738]
mov dword [ebx], esi
mov ebx, dword [0x705d20]
lea edi, [ebp + edx*8 + 4]
test ebx, ebx
jne 0x5419c6
mov dword [edi], eax
jmp 0x54189f
call fcn.0045d700
jmp 0x54189f
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.0051d7b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 0x10]
mov dword [esp + 0x48], ebp
test eax, eax
jne 0x541a49
test ecx, ecx
jne 0x541a1a
mov ecx, dword [esp + 0x84]
lea esi, [0x5eb738]
jmp 0x54189f
cmp byte [edx], 0x5b
jne 0x541a45
lea esi, [ecx + edx - 1]
cmp byte [esi], 0x5d
jne 0x541a45
lea esi, [ecx - 1]
cmp esi, 1
jb 0x541dc1
add ecx, 0xfffffffe
mov eax, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add edx, ecx
jmp 0x541a51
mov eax, ecx
jmp 0x541a51
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], edx
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.0051c350
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x541c1e
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x541a93
mov ecx, dword [esp + 0x84]
lea esi, [0x5eb738]
jmp 0x54189f
cmp edx, 2
jge 0x541a9c
xor eax, eax
jmp 0x541ac3
mov eax, dword [esp + 0x44]
mov dword [esp], eax
lea ecx, [0x5a2357]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.00402360
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x2c]
test al, al
je 0x541ade
lea eax, [edx - 1]
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebp, dword [esp + 0x44]
lea edx, [ebp + eax]
jmp 0x541ae4
mov ebx, edx
mov edx, dword [esp + 0x44]
test ebx, ebx
jbe 0x541db8
movzx ecx, byte [edx]
cmp cl, 0x2e
je 0x541b2e
mov byte [esp + 0x27], cl
mov dword [esp], 0
lea eax, [0x5a232d]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.0044a720
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
movzx eax, byte [esp + 0x27]
cmp al, 0x2e
lea edi, [esp + 0x58]
mov eax, 0
call fcn.0045d93b
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
setne cl
mov byte [esp + 0x68], cl
lea ecx, [0x5935a0]
mov dword [esp], ecx
lea edx, [esp + 0x58]
mov dword [esp + 4], edx
call fcn.004088f0
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x30]
mov ebp, dword [ecx + 0x38]
lea esi, [edx + 1]
mov eax, dword [esp + 8]
cmp ebp, esi
jae 0x541bea
mov dword [esp + 0x54], eax
lea eax, [0x588a80]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.004472c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x38], edx
mov edx, dword [0x705d20]
test edx, edx
jne 0x541bd3
mov dword [ebx + 0x30], eax
jmp 0x541bdb
lea edi, [ebx + 0x30]
call fcn.0045d700
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x84]
lea ebp, [edx + 1]
mov dword [ecx + 0x34], ebp
lea ebp, [ebx + edx*8]
lea esi, [0x5eb74c]
mov dword [ebp], esi
mov ebp, dword [0x705d20]
lea edi, [ebx + edx*8 + 4]
test ebp, ebp
jne 0x541c0e
mov dword [edi], eax
jmp 0x541c13
call fcn.0045d700
lea esi, [0x5eb738]
jmp 0x54189f
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x6c]
mov ebx, eax
xor eax, eax
call fcn.0045d93b
mov dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x7c], ecx
lea ecx, [0x591320]
mov dword [esp], ecx
lea edx, [esp + 0x6c]
mov dword [esp + 4], edx
call fcn.004088f0
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x24]
mov ebp, dword [ecx + 0x2c]
lea esi, [edx + 1]
mov eax, dword [esp + 8]
cmp ebp, esi
jae 0x541cde
mov dword [esp + 0x54], eax
lea eax, [0x588a80]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.004472c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x705d20]
test edx, edx
jne 0x541cc7
mov dword [ebx + 0x24], eax
jmp 0x541ccf
lea edi, [ebx + 0x24]
call fcn.0045d700
mov edx, ecx
mov ebx, eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x84]
lea ebp, [edx + 1]
mov dword [ecx + 0x28], ebp
lea ebp, [ebx + edx*8]
lea esi, [0x5eb760]
mov dword [ebp], esi
mov ebp, dword [0x705d20]
lea edi, [ebx + edx*8 + 4]
test ebp, ebp
jne 0x541d02
mov dword [edi], eax
jmp 0x541d07
call fcn.0045d700
lea esi, [0x5eb738]
jmp 0x54189f
lea eax, [0x5818c0]
mov dword [esp], eax
call fcn.0040b060
mov eax, dword [esp + 4]
lea ecx, [0x5eb724]
mov dword [eax], ecx
lea edx, [0x705b6c]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], 1
mov ebp, dword [0x705d20]
test ebp, ebp
jne 0x541d59
mov dword [ebx + 0x24], eax
jmp 0x541d61
lea edi, [ebx + 0x24]
call fcn.0045d700
lea eax, [0x5818c0]
mov dword [esp], eax
call fcn.0040b060
mov eax, dword [esp + 4]
lea ecx, [0x5eb724]
mov dword [eax], ecx
lea ecx, [0x705b6c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x34], 1
mov dword [ecx + 0x38], 1
mov edx, dword [0x705d20]
test edx, edx
jne 0x541da8
mov dword [ecx + 0x30], eax
jmp 0x541db0
lea edi, [ecx + 0x30]
call fcn.0045d700
sub esp, 0xffffff80
ret
sub esp, 0xffffff80
ret
xor eax, eax
mov ecx, ebx
call fcn.0045d780
mov eax, 1
mov ecx, esi
call fcn.0045d7e0
nop
call fcn.0045c2f0
jmp fcn.005417a0