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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50bc18
sub esp, 0x68
mov eax, dword [esp + 0x70]
cmp eax, 1
jge 0x50b616
xor ecx, ecx
jmp 0x50b63f
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
lea ecx, [0x58c59c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
call fcn.004028d0
movzx eax, byte [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x70]
test cl, cl
jne 0x50b6d9
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x58c591]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.0049b520
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
je 0x50ba1a
mov ecx, dword [esp + 0x70]
cmp ecx, eax
jb 0x50bc12
mov edx, ecx
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
mov eax, dword [esp + 0x6c]
add ecx, eax
test ebx, ebx
je 0x50b6cf
cmp byte [ecx], 0x3a
jne 0x50b6c8
mov dword [esp + 0x40], ebx
mov dword [esp + 0x54], ecx
lea ebp, [ebx - 1]
mov dword [esp + 0x3c], ebp
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add ebp, ecx
mov dword [esp + 0x5c], ebp
xor edi, edi
jmp 0x50bbb6
xor ebp, ebp
jmp 0x50bb25
mov ebp, 1
jmp 0x50bb25
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x71dfce]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call fcn.0049b520
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x50b77d
lea edx, [eax + 1]
mov ecx, dword [esp + 0x70]
cmp ecx, edx
jb 0x50bb1e
mov dword [esp + 0x28], eax
mov ebx, ecx
sub ecx, eax
mov dword [esp + 0x40], ecx
lea ebp, [ecx - 1]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and edx, ebp
mov ebp, dword [esp + 0x6c]
add edx, ebp
cmp ecx, 1
je 0x50b776
cmp byte [edx], 0x3a
jne 0x50b772
mov dword [esp + 0x3c], esi
mov dword [esp + 0x58], edx
lea edi, [ecx - 2]
mov dword [esp + 0x38], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, 1
add edi, edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
jmp 0x50baaa
xor edi, edi
jmp 0x50b7c3
mov edi, 1
jmp 0x50b7c3
lea eax, [0x576700]
mov dword [esp], eax
call fcn.0040a390
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x58fa34]
mov dword [eax], ecx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ecx, [0x71eedc]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x68
ret
xchg edi, eax
test al, al
xchg edi, eax
je 0x50b997
mov dword [esp], ebp
mov dword [esp + 4], eax
lea ecx, str._250001030405060708091011121314_01_02_03_04_05_06_08_09_11_12....js___125200204206304400404443500625::1ACKADTASTBSTCATCDTCETCSTDltEATEDTEETEOFESTGETGMTHDTHSTHanIDTISTJSTKSTLaoMD4MD5MDTMSKMSTMayMroNDTNSTNULNaNNkoPDTPKTPSTStdUTCVaiWAT_
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
call fcn.0049cb50
mov ecx, dword [esp + 0x10]
test ecx, ecx
jl 0x50ba1a
mov edx, dword [esp + 0x70]
cmp edx, ecx
jb 0x50ba95
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 3
call fcn.00509af0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test edx, edx
jne 0x50b978
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
cmp edx, ebx
ja 0x50ba8c
mov dword [esp + 0x30], ecx
mov dword [esp + 0x50], eax
sub ebx, edx
mov ecx, ebx
neg ebx
sar ebx, 0x1f
and ebx, edx
mov edx, dword [esp + 0x6c]
add ebx, edx
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call fcn.00509af0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test edx, edx
jne 0x50b959
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
mov ecx, eax
neg eax
sar eax, 0x1f
mov edx, dword [esp + 0x28]
and eax, edx
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 3
call fcn.00509af0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test edx, edx
je 0x50b8fe
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
add esp, 0x68
ret
mov dword [esp], 0
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.00441b40
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
add esp, 0x68
ret
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp], edx
mov dword [esp + 4], esi
call fcn.00408130
mov eax, dword [esp + 8]
lea ecx, [0x572ea0]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x5920df]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00491d30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], 3
call fcn.00509af0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
test eax, eax
je 0x50ba6d
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x68
ret
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x68
ret
mov eax, edx
mov ecx, ebx
call fcn.00451990
call fcn.00451950
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
cmp ecx, ebx
jge 0x50bb0c
movzx esi, byte [ecx + edi]
cmp esi, 0x80
jge 0x50bac5
inc ecx
jmp 0x50baf1
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0044c8b0
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x5c]
add esi, 0xffffffd0
cmp esi, 9
jbe 0x50ba9a
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
xor edi, edi
jmp 0x50b7c3
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x70]
mov edi, 1
jmp 0x50b7c3
mov eax, edx
call fcn.00451990
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x50ba1a
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp], ecx
mov dword [esp + 4], ebx
call fcn.00408130
mov eax, dword [esp + 8]
lea ecx, [0x572ea0]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [0x5920df]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00491d30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
add esp, 0x68
ret
mov ebx, dword [esp + 0x40]
cmp edi, esi
jge 0x50bc08
movzx ebx, byte [edi + ebp]
cmp ebx, 0x80
jge 0x50bbc9
inc edi
jmp 0x50bbf5
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call fcn.0044c8b0
mov ebx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x70]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x3c]
add ebx, 0xffffffd0
cmp ebx, 9
jbe 0x50bbb2
mov ebx, dword [esp + 0x40]
xor ebp, ebp
jmp 0x50bb25
mov ebp, 1
jmp 0x50bb25
call fcn.00451990
nop
call fcn.00450480
jmp fcn.0050b5f0