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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51f9fe
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.0051ef40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x51f416
mov ecx, dword [esp + 0x84]
jmp 0x51f43b
mov ecx, dword [0x7e73a0]
test ecx, ecx
jne 0x51f42c
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x20], eax
jmp 0x51f43b
mov ecx, dword [esp + 0x84]
lea edi, [ecx + 0x20]
call fcn.004518b0
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.0051ef40
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x51f462
mov ecx, dword [esp + 0x84]
jmp 0x51f487
mov ecx, dword [0x7e73a0]
test ecx, ecx
jne 0x51f478
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x1c], eax
jmp 0x51f487
mov ecx, dword [esp + 0x84]
lea edi, [ecx + 0x1c]
call fcn.004518b0
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [0x58c58b]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.0049b940
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x51f4de
mov ebx, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
cmp edx, ecx
jge 0x51f9e4
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.0049c9f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0049c470
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x51f52d
mov ecx, dword [esp + 0x84]
lea esi, [0x71f15c]
jmp 0x51f4cf
cmp eax, 1
jne 0x51f53b
cmp byte [ecx], 0x2a
je 0x51f942
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004fcff0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x51f600
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 0x51f5cf
mov dword [esp + 0x4c], eax
lea eax, [0x576540]
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.0043f320
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 [0x7e73a0]
test edx, edx
jne 0x51f5bd
mov dword [ebx + 0x24], eax
jmp 0x51f5c5
lea edi, [ebx + 0x24]
call fcn.004518b0
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, [0x71f15c]
mov dword [ebx], esi
mov ebx, dword [0x7e73a0]
lea edi, [ebp + edx*8 + 4]
test ebx, ebx
jne 0x51f5f6
mov dword [edi], eax
jmp 0x51f4cf
call fcn.004518b0
jmp 0x51f4cf
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
call fcn.004fe290
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 0x51f679
test ecx, ecx
jne 0x51f64a
mov ecx, dword [esp + 0x84]
lea esi, [0x71f15c]
jmp 0x51f4cf
cmp byte [edx], 0x5b
jne 0x51f675
lea esi, [ecx + edx - 1]
cmp byte [esi], 0x5d
jne 0x51f675
lea esi, [ecx - 1]
cmp esi, 1
jb 0x51f9f1
add ecx, 0xfffffffe
mov eax, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
add edx, ecx
jmp 0x51f681
mov eax, ecx
jmp 0x51f681
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.004fce30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x51f84e
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x51f6c3
mov ecx, dword [esp + 0x84]
lea esi, [0x71f15c]
jmp 0x51f4cf
cmp edx, 2
jge 0x51f6cc
xor eax, eax
jmp 0x51f6f3
mov eax, dword [esp + 0x44]
mov dword [esp], eax
lea ecx, [0x58c5a8]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.004028d0
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x2c]
test al, al
je 0x51f70e
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 0x51f714
mov ebx, edx
mov edx, dword [esp + 0x44]
test ebx, ebx
jbe 0x51f9e8
movzx ecx, byte [edx]
cmp cl, 0x2e
je 0x51f75e
mov byte [esp + 0x27], cl
mov dword [esp], 0
lea eax, [0x58c58d]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00441aa0
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.00451aab
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, [0x57f540]
mov dword [esp], ecx
lea edx, [esp + 0x58]
mov dword [esp + 4], edx
call fcn.00408000
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 0x51f81a
mov dword [esp + 0x54], eax
lea eax, [0x576540]
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.0043f320
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 [0x7e73a0]
test edx, edx
jne 0x51f803
mov dword [ebx + 0x30], eax
jmp 0x51f80b
lea edi, [ebx + 0x30]
call fcn.004518b0
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, [0x71f170]
mov dword [ebp], esi
mov ebp, dword [0x7e73a0]
lea edi, [ebx + edx*8 + 4]
test ebp, ebp
jne 0x51f83e
mov dword [edi], eax
jmp 0x51f843
call fcn.004518b0
lea esi, [0x71f15c]
jmp 0x51f4cf
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x6c]
mov ebx, eax
xor eax, eax
call fcn.00451aab
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, [0x57d7c0]
mov dword [esp], ecx
lea edx, [esp + 0x6c]
mov dword [esp + 4], edx
call fcn.00408000
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 0x51f90e
mov dword [esp + 0x54], eax
lea eax, [0x576540]
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.0043f320
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 [0x7e73a0]
test edx, edx
jne 0x51f8f7
mov dword [ebx + 0x24], eax
jmp 0x51f8ff
lea edi, [ebx + 0x24]
call fcn.004518b0
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, [0x71f184]
mov dword [ebp], esi
mov ebp, dword [0x7e73a0]
lea edi, [ebx + edx*8 + 4]
test ebp, ebp
jne 0x51f932
mov dword [edi], eax
jmp 0x51f937
call fcn.004518b0
lea esi, [0x71f15c]
jmp 0x51f4cf
lea eax, [0x5707e0]
mov dword [esp], eax
call fcn.0040a390
mov eax, dword [esp + 4]
lea ecx, [0x71f148]
mov dword [eax], ecx
lea edx, [0x7e722c]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x28], 1
mov dword [ebx + 0x2c], 1
mov ebp, dword [0x7e73a0]
test ebp, ebp
jne 0x51f989
mov dword [ebx + 0x24], eax
jmp 0x51f991
lea edi, [ebx + 0x24]
call fcn.004518b0
lea eax, [0x5707e0]
mov dword [esp], eax
call fcn.0040a390
mov eax, dword [esp + 4]
lea ecx, [0x71f148]
mov dword [eax], ecx
lea ecx, [0x7e722c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x84]
mov dword [ecx + 0x34], 1
mov dword [ecx + 0x38], 1
mov edx, dword [0x7e73a0]
test edx, edx
jne 0x51f9d8
mov dword [ecx + 0x30], eax
jmp 0x51f9e0
lea edi, [ecx + 0x30]
call fcn.004518b0
sub esp, 0xffffff80
ret
sub esp, 0xffffff80
ret
xor eax, eax
mov ecx, ebx
call fcn.00451930
mov eax, 1
mov ecx, esi
call fcn.00451990
nop
call fcn.00450480
jmp fcn.0051f3d0