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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x51dfea
sub esp, 0x88
mov eax, 0
mov dword [esp + 0x84], eax
mov byte [esp + 0x22], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
call fcn.0051e1c0
mov eax, dword [esp]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x51e000]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x84], ecx
mov byte [esp + 0x22], 1
xor ecx, ecx
xor edx, edx
xor ebx, ebx
mov ebp, dword [esp + 0x94]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x90]
jmp 0x51d7dc
mov ecx, dword [esp + 0x5c]
inc ecx
mov edi, eax
mov eax, dword [esp + 0x6c]
mov eax, edx
mov edx, esi
mov esi, ebp
mov ebp, ebx
mov ebx, eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x78], esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x3c], edi
mov ebx, dword [esp + 0x9c]
cmp ebx, ecx
jle 0x51dce8
mov dword [esp + 0x5c], ecx
mov byte [esp + 0x20], dl
mov ebx, dword [esp + 0x98]
movzx ebp, byte [ebx + ecx]
xchg ebp, eax
mov byte [esp + 0x21], al
xchg ebp, eax
mov esi, dword [eax + 0x1c]
mov edi, dword [eax + 0x20]
add esi, 1
mov dword [eax + 0x1c], esi
adc edi, 0
mov dword [eax + 0x20], edi
mov edx, dword [eax]
mov esi, dword [edx]
mov dword [esp], eax
xchg ebp, eax
mov byte [esp + 4], al
xchg ebp, eax
call esi
mov eax, dword [esp + 8]
cmp eax, 9
jne 0x51d858
movzx esi, byte [esp + 0x20]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x78]
jmp 0x51d7c3
cmp eax, 0xb
je 0x51dce4
movzx ecx, byte [esp + 0x20]
test cl, cl
je 0x51d980
cmp eax, 5
je 0x51d96e
cmp eax, 8
jne 0x51d891
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x3c]
jmp 0x51d990
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x3c]
inc ecx
mov edx, dword [esp + 0x48]
cmp edx, ecx
jb 0x51d8a8
mov esi, dword [esp + 0x78]
jmp 0x51d8e0
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov edx, ebp
mov byte [ecx + esi - 1], 0xa
mov ebx, dword [esp + 0xa8]
lea ebp, [ebx + ecx]
cmp edx, ebp
jae 0x51d92c
mov dword [esp + 0x3c], ecx
mov dword [esp], esi
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x78], esi
lea eax, [esi + ecx]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0046c780
mov eax, dword [esp + 0x54]
inc eax
mov dword [esp + 0x50], eax
mov ecx, eax
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x78]
jmp 0x51df77
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x3c]
jmp 0x51d990
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x4c], edx
mov byte [esp + 0x20], cl
test eax, eax
jne 0x51d9ea
lea eax, [esi + 1]
cmp ebx, eax
jae 0x51d9da
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov esi, ecx
movzx ecx, byte [esp + 0x21]
mov byte [eax + ebp - 1], cl
jmp 0x51d7c3
movzx eax, byte [esp + 0x21]
cmp al, 0x5b
ja 0x51db5f
cmp al, 0x2c
je 0x51da5a
cmp al, 0x3a
jne 0x51da4c
lea eax, [esi + 2]
cmp ebx, eax
jae 0x51da40
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 2
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov word [eax + ebp - 2], 0x203a
jmp 0x51dcdd
cmp al, 0x5b
je 0x51db69
jmp 0x51dc96
lea eax, [esi + 1]
cmp ebx, eax
jae 0x51da98
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov byte [eax + ebp - 1], 0x2c
inc eax
cmp ebx, eax
jae 0x51dad9
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov byte [eax + ebp - 1], 0xa
mov esi, dword [esp + 0xa8]
lea edi, [esi + eax]
cmp ebx, edi
jae 0x51db25
mov dword [esp + 0x38], eax
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0xa8]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x74], ebp
add eax, ebp
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0046c780
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x74]
jmp 0x51ded2
cmp al, 0x5d
je 0x51dbc0
cmp al, 0x7b
jne 0x51dbb7
lea ecx, [esi + 1]
cmp ebx, ecx
jae 0x51dba7
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
movzx eax, byte [esp + 0x21]
mov edx, dword [esp + 0x4c]
mov byte [ecx + ebp - 1], al
mov eax, ecx
mov ecx, 1
jmp 0x51dcdd
cmp al, 0x7d
jne 0x51dc96
test cl, cl
je 0x51dbcb
xor ecx, ecx
jmp 0x51de47
inc esi
cmp ebx, esi
jae 0x51dc07
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov byte [esi + ebp - 1], 0xa
mov edi, dword [esp + 0xa8]
lea eax, [edi + esi]
cmp ebx, eax
jae 0x51dc53
mov dword [esp + 0x34], esi
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0xa8]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], ebp
lea ecx, [ebp + esi]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.0046c780
mov eax, dword [esp + 0x4c]
dec eax
mov dword [esp + 0x54], eax
mov ecx, eax
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x70]
jmp 0x51dde1
inc esi
cmp ebx, esi
jae 0x51dcd7
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
movzx eax, byte [esp + 0x21]
movzx ecx, byte [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov byte [esi + ebp - 1], al
mov eax, esi
mov esi, ecx
jmp 0x51d7c3
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.0051e2e0
cmp dword [esp + 4], 0xb
jne 0x51dd52
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x48]
cmp ecx, edx
ja 0x51dda0
mov eax, dword [esp + 0x6c]
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], eax
mov byte [esp + 0x22], 0
mov edx, dword [esp + 0x84]
mov eax, dword [edx]
call eax
add esp, 0x88
ret
mov eax, dword [esp + 0x78]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov byte [esp + 0x22], 0
mov edx, dword [esp + 0x84]
mov eax, dword [edx]
call eax
add esp, 0x88
ret
call fcn.0046bf30
mov dword [esp + 0x40], edx
mov dword [esp + 0x34], edi
mov dword [esp + 0x70], ebp
lea eax, [ebp + ebx]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0046c780
mov eax, dword [esp + 0x28]
dec eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x70]
test eax, eax
jle 0x51de35
mov dword [esp + 0x28], eax
mov esi, dword [esp + 0xb0]
lea edi, [esi + ebx]
cmp edx, edi
jae 0x51dda5
mov dword [esp + 0x58], ebx
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0xb0]
jmp 0x51dda5
movzx eax, byte [esp + 0x21]
mov esi, ebx
movzx ecx, byte [esp + 0x20]
mov ebx, edx
mov edx, dword [esp + 0x54]
inc esi
cmp ebx, esi
jae 0x51de90
mov dword [esp + 0x68], edx
mov byte [esp + 0x23], cl
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
movzx eax, byte [esp + 0x21]
movzx ecx, byte [esp + 0x23]
mov edx, dword [esp + 0x68]
mov byte [esi + ebp - 1], al
mov eax, esi
jmp 0x51dcdd
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x74], ebx
lea eax, [ebx + edx]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.0046c780
mov eax, dword [esp + 0x2c]
dec eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x74]
test eax, eax
jle 0x51df27
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0xb0]
lea esi, [ebp + edx]
cmp ecx, esi
jae 0x51de9b
mov dword [esp + 0x64], edx
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
mov ebp, dword [esp + 0xb0]
jmp 0x51de9b
mov eax, edx
mov ebp, ebx
mov edx, dword [esp + 0x4c]
mov ebx, ecx
movzx ecx, byte [esp + 0x20]
jmp 0x51dcdd
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x78], ebp
lea eax, [ebp + ebx]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0046c780
mov eax, dword [esp + 0x30]
dec eax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x78]
test eax, eax
jle 0x51dfcb
mov dword [esp + 0x30], eax
mov esi, dword [esp + 0xb0]
lea edi, [esi + ebx]
cmp edx, edi
jae 0x51df3b
mov dword [esp + 0x60], ebx
mov dword [esp], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0xb0]
jmp 0x51df3b
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov esi, ebx
mov ebx, edx
mov edx, dword [esp + 0x50]
jmp 0x51d990
call fcn.0046aa70
jmp fcn.0051d700