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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x503463
sub esp, 0x54
mov edx, dword [esp + 0x58]
movzx ebx, byte [edx + 0xff]
test bl, bl
je 0x50303f
lea ebp, [ebx - 1]
xchg ebp, ebx
movzx eax, bl
xchg ebp, ebx
cmp eax, 0xff
jae 0x503458
lea ebp, [eax + edx]
cmp byte [ebp], 0x2e
jne 0x50303f
cmp byte [edx], 0x2e
jne 0x503019
cmp bl, 1
jne 0x503019
mov eax, dword [esp + 0x60]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x64]
cmp edx, ecx
jb 0x502fbd
mov ebx, dword [esp + 0x5c]
jmp 0x502ff2
lea ebx, [0x6cd7a0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.0044baf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc ecx
mov ebx, eax
mov eax, dword [esp + 0x60]
mov byte [ebx + eax], 0
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x54
ret
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x68]
mov eax, esi
mov ecx, ebp
xor eax, eax
mov dword [esp + 0x2c], eax
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov eax, esi
mov ecx, ebp
jmp 0x50307b
mov eax, dword [0x98a170]
mov ecx, dword [0x98a174]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x54
ret
inc ebx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x40], esi
mov dword [esp + 0x50], ebx
movzx edi, byte [edx + 0xff]
mov ebx, dword [esp + 0x2c]
cmp ebx, edi
jge 0x503323
cmp ebx, 0xff
jae 0x50344c
lea edi, [edx + ebx]
cmp byte [edi], 0x2e
jne 0x503141
mov edi, dword [esp + 0x30]
sub ebx, edi
cmp ebx, 0x40
jge 0x503269
mov edx, dword [esp + 0x2c]
cmp edi, edx
je 0x50323e
lea edx, [esi + 1]
cmp ebp, edx
jae 0x50311d
mov dword [esp + 0x3c], ebx
lea eax, [0x6cd7a0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.0044baf0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x50]
mov byte [edi + esi], bl
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
jmp 0x5033b2
test ebx, ebx
je 0x503152
lea edi, [ebx + edx - 1]
cmp byte [edi], 0x2e
jne 0x503235
mov edi, dword [esp + 0x68]
test edi, edi
je 0x503072
mov dword [esp + 0x38], ebp
lea eax, [0x6d0ac0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea ecx, [ebx - 0xff]
neg ecx
mov dword [esp + 0x3c], ecx
mov ebp, ecx
neg ecx
sar ecx, 0x1f
and ecx, ebx
add ecx, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
call fcn.0040fd80
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
movzx ecx, byte [esp + 0x14]
test cl, cl
jne 0x503294
mov edx, dword [esp + 0x40]
cmp edx, 0x3fff
jle 0x5031c0
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x40]
jmp 0x503214
mov dword [esp], 0
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0044f4c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea edx, [0x6d0ac0]
mov dword [esp], edx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004100e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x6c]
mov ebx, ecx
sub ecx, edx
mov dword [eax], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x68]
jmp 0x503072
mov edi, dword [esp + 0x68]
jmp 0x503072
mov edx, dword [0x98a1c8]
mov ebx, dword [0x98a1cc]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
add esp, 0x54
ret
mov edx, dword [0x98a190]
mov ebx, dword [0x98a194]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
add esp, 0x54
ret
mov ecx, dword [esp + 0x40]
lea edx, [ecx + 2]
mov ebx, dword [esp + 0x38]
cmp ebx, edx
jb 0x5032a9
mov ebp, dword [esp + 0x50]
jmp 0x5032ec
mov dword [esp + 0x24], eax
lea eax, [0x6cd7a0]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0044baf0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea edx, [eax + 2]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov esi, ebp
mov ebp, ebx
mov ebx, esi
mov esi, eax
sar eax, 8
or eax, 0xc0
mov byte [ebp + ecx], al
xchg esi, eax
mov byte [ebp + ecx + 1], al
xchg esi, eax
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x54
ret
lea eax, [esi + 1]
cmp ebp, eax
jb 0x503330
mov ebx, dword [esp + 0x50]
jmp 0x503363
lea ecx, [0x6cd7a0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
call fcn.0044baf0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
inc eax
mov esi, dword [esp + 0x40]
mov byte [ebx + esi], 0
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x54
ret
mov ecx, dword [esp + 0x50]
xchg esi, eax
mov byte [ecx + edx], al
xchg esi, eax
lea edx, [edi + 1]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x64]
mov esi, edi
mov dword [esp + 0x28], edx
mov edx, ebx
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x28]
cmp edi, ebx
jge 0x50342a
cmp edi, 0xff
jae 0x503440
lea ebx, [edx + 1]
movzx esi, byte [esi + edi]
cmp ebp, ebx
jae 0x50338a
mov dword [esp + 0x34], edx
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
lea eax, [0x6cd7a0]
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044baf0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x34]
movzx esi, byte [esp + 0x23]
mov dword [esp + 0x50], edi
mov edi, dword [esp + 0x28]
jmp 0x50338a
lea edi, [ebx + 1]
mov dword [esp + 0x30], edi
mov esi, edx
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x68]
jmp 0x503072
mov eax, edi
mov ecx, 0xff
call fcn.004633d0
mov eax, ebx
mov ecx, 0xff
call fcn.004633d0
mov ecx, 0xff
call fcn.004633d0
nop
call fcn.00461f40
jmp fcn.00502f50