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

Disassembly:
mov ecx, dword [0x7da588]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51d666
sub esp, 0x68
mov eax, 0
mov dword [esp + 0x64], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
call fcn.0051e1c0
mov eax, dword [esp]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ecx, [0x51d670]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x64], ecx
mov byte [esp + 0x23], 1
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x7c]
movzx esi, byte [esp + 0x84]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
jmp 0x51cfd4
inc ecx
mov ebp, dword [esp + 0x78]
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x48], eax
mov edi, ebx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x78]
movzx esi, byte [esp + 0x84]
mov ebx, edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x28]
cmp ebp, ebx
jle 0x51d4ad
movzx eax, byte [ecx + ebx]
mov byte [esp + 0x20], al
xchg esi, eax
test al, al
xchg esi, eax
je 0x51d1a4
cmp al, 0x3c
je 0x51d009
cmp al, 0x3e
je 0x51d009
cmp al, 0x26
jne 0x51d190
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
jge 0x51d0c4
ja 0x51d653
sub ebx, ebp
mov esi, dword [esp + 0x44]
lea eax, [ebx + esi]
sub edx, ebp
neg edx
sar edx, 0x1f
and edx, ebp
add edx, ecx
mov ebp, dword [esp + 0x48]
cmp ebp, eax
jae 0x51d077
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], edx
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov ebp, ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], eax
lea ecx, [edi + esi]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0046c780
movzx eax, byte [esp + 0x20]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x28]
movzx esi, byte [esp + 0x84]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x58]
jmp 0x51d0d9
mov ebp, dword [esp + 0x48]
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x44]
mov dword [esp + 0x48], eax
movzx eax, byte [esp + 0x2c]
mov dword [esp + 0x58], edi
mov esi, dword [esp + 0x48]
add esi, 6
shr al, 4
movzx eax, al
movzx ebx, byte [esp + 0x20]
and ebx, 0xf
lea edi, [0x60d4f0]
movzx eax, byte [eax + edi]
movzx ebx, byte [ebx + edi]
cmp ebp, esi
jae 0x51d15d
mov byte [esp + 0x22], al
mov byte [esp + 0x21], bl
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 6
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
movzx eax, byte [esp + 0x22]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
movzx ebx, byte [esp + 0x21]
mov dword [esp + 0x58], edi
lea edi, [0x60d4f0]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x48]
mov dword [edi + esi - 6], 0x3030755c
mov byte [edi + esi - 2], al
mov byte [edi + esi - 1], bl
mov eax, esi
mov esi, dword [esp + 0x28]
lea ebx, [esi + 1]
movzx esi, byte [esp + 0x84]
xchg esi, eax
test al, al
xchg esi, eax
jmp 0x51d1b2
xchg esi, eax
test al, al
xchg esi, eax
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x48]
mov eax, edi
mov edi, dword [esp + 0x44]
jmp 0x51d1b2
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x48]
mov eax, edi
mov edi, dword [esp + 0x44]
je 0x51d370
movzx esi, byte [esp + 0x20]
xchg esi, eax
cmp al, 0xe2
xchg esi, eax
jne 0x51d375
mov dword [esp + 0x40], ebx
mov esi, dword [esp + 0x28]
lea edx, [esi + 2]
mov ebx, dword [esp + 0x7c]
cmp ebx, edx
jle 0x51d365
mov dword [esp + 0x54], eax
lea eax, [esi + 1]
cmp ebx, eax
jbe 0x51d64c
lea eax, [esi + ecx + 1]
cmp byte [eax], 0x80
jne 0x51d356
cmp ebx, edx
jbe 0x51d643
movzx eax, byte [ecx + esi + 2]
and eax, 0xfffffffe
cmp al, 0xa8
jne 0x51d347
mov eax, dword [esp + 0x40]
cmp eax, esi
jge 0x51d2c8
ja 0x51d63c
sub esi, eax
lea ebx, [esi + edi]
mov edx, dword [esp + 0x80]
sub edx, eax
neg edx
sar edx, 0x1f
and eax, edx
add eax, ecx
cmp ebp, ebx
jb 0x51d247
mov edx, dword [esp + 0x54]
jmp 0x51d28f
mov dword [esp + 0x48], esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x3c]
mov edx, eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x58], edx
lea ecx, [edx + edi]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0046c780
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x58]
jmp 0x51d2cc
mov eax, dword [esp + 0x54]
add edi, 6
movzx edx, byte [ecx + esi + 2]
and edx, 0xf
lea ecx, [0x60d4f0]
movzx edx, byte [edx + ecx]
cmp ebp, edi
jae 0x51d32a
mov byte [esp + 0x22], dl
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 6
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [0x60d4f0]
movzx edx, byte [esp + 0x22]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x28]
mov byte [edi + eax - 6], 0x5c
mov dword [edi + eax - 5], 0x32303275
mov byte [edi + eax - 1], dl
lea edx, [esi + 3]
movzx esi, byte [esp + 0x20]
mov ebx, edx
jmp 0x51d375
movzx esi, byte [esp + 0x20]
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x54]
jmp 0x51d375
movzx esi, byte [esp + 0x20]
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x54]
jmp 0x51d375
movzx esi, byte [esp + 0x20]
mov ebx, dword [esp + 0x40]
jmp 0x51d375
movzx esi, byte [esp + 0x20]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [esp], ecx
xchg esi, eax
mov byte [esp + 4], al
xchg esi, eax
call eax
mov eax, dword [esp + 8]
cmp eax, 9
jl 0x51d47a
cmp eax, 0xb
je 0x51d493
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jl 0x51d3cb
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x58]
jmp 0x51d472
ja 0x51d637
sub ecx, eax
mov ebx, dword [esp + 0x44]
lea ebp, [ecx + ebx]
mov esi, dword [esp + 0x80]
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and eax, esi
mov esi, dword [esp + 0x78]
add eax, esi
mov edi, dword [esp + 0x48]
cmp edi, ebp
jae 0x51d444
mov dword [esp + 0x48], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x58], eax
mov edi, ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebp
mov edx, dword [esp + 0x58]
add ebx, edx
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0046c780
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x58]
lea esi, [ecx + 1]
jmp 0x51cfa0
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x58]
jmp 0x51cfa0
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x48], ecx
jmp 0x51d4c1
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], edi
mov dword [esp + 0x24], ebx
mov dword [esp], eax
call fcn.0051e2e0
cmp dword [esp + 4], 0xb
jne 0x51d52e
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x44]
cmp ecx, edx
ja 0x51d632
mov eax, dword [esp + 0x4c]
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x24]
cmp ecx, eax
jle 0x51d5e5
jb 0x51d62d
sub ecx, eax
mov edx, dword [esp + 0x48]
lea ebx, [ecx + edx]
mov ebp, dword [esp + 0x80]
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
mov eax, dword [esp + 0x78]
add eax, ebp
mov ebp, dword [esp + 0x44]
cmp ebp, ebx
jb 0x51d575
mov edi, dword [esp + 0x58]
jmp 0x51d5b9
mov dword [esp + 0x44], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
lea eax, [0x5dd460]
mov dword [esp + 0x10], eax
call fcn.00450060
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov ebp, esi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x58], edi
add edx, edi
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0046c780
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x58]
jmp 0x51d5f1
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
call fcn.0046bf50
call fcn.0046bf30
call fcn.0046bf50
mov ecx, esi
call fcn.0046bf50
mov eax, edx
mov ecx, ebx
call fcn.0046bef0
mov ecx, ebx
call fcn.0046bef0
mov eax, ebp
mov ecx, ebx
call fcn.0046bf50
nop
call fcn.00438ed0
add esp, 0x68
ret
call fcn.0046aa70
jmp fcn.0051ced0