Function at 0x50410c
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb167
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x62b768]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x674], ecx
mov esi, dword [ebp + 8]
push 0x14
mov byte [ebp - 0x668], 0x12
call fcn.00559eaa
add esp, 4
mov dword [ebp - 0x67c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x503eaf
push 0x256
mov ecx, eax
call fcn.00448470
mov ebx, eax
mov dword [ebp - 0x68c], eax
jmp 0x503eb7
xor ebx, ebx
mov dword [ebp - 0x68c], ebx
push dword [ebp + 0xc]
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.004489b0
lea eax, [ebp - 0x66d]
mov dword [ebx + 8], 0
xor edi, edi
mov dword [ebp - 0x678], 9
push eax
mov ecx, ebx
mov dword [ebp - 0x69c], edi
call fcn.004484d0
lea eax, [ebp - 0x66d]
mov ecx, ebx
push eax
call fcn.004484d0
mov al, byte [ebp - 0x66d]
mov ecx, ebx
mov byte [ebp - 0x418], al
lea eax, [ebp - 0x66d]
push eax
call fcn.004484d0
cmp byte [ebp - 0x418], 0
mov al, byte [ebp - 0x66d]
mov byte [ebp - 0x413], al
je 0x503f47
cmp al, 1
mov dword [ebp - 0x678], 0xb
mov ecx, 2
cmove edi, ecx
mov dword [ebp - 0x69c], edi
mov eax, edi
mov ecx, edi
shl eax, 5
mov dword [ebp - 0x66c], eax
mov esi, eax
mov dword [ebp - 0x67c], eax
lea eax, [ebp - 0x474]
lea eax, [eax + edi*4]
mov dword [ebp - 0x698], ecx
mov dword [ebp - 0x680], eax
mov edi, eax
lea eax, [ebp - 0x507]
add eax, ecx
mov ecx, ebx
push eax
mov dword [ebp - 0x694], eax
call fcn.004484b0
mov eax, dword [ebp - 0x694]
cmp byte [eax], 0xff
jne 0x503fa1
mov byte [ebp + esi - 0x667], 0
jmp 0x504112
mov edi, dword [ebp - 0x68c]
xor ebx, ebx
nop dword [eax]
mov eax, dword [ebp - 0x66c]
lea esi, [ebp - 0x667]
add eax, ebx
mov ecx, edi
add esi, eax
push esi
call fcn.004484b0
cmp byte [esi], 0
je 0x503fd6
inc ebx
cmp ebx, 0x3e8
jl 0x503fb0
mov edi, dword [ebp - 0x680]
mov ebx, dword [ebp - 0x68c]
mov ecx, ebx
lea esi, [edi - 0x30]
lea eax, [esi - 0x58]
push eax
call fcn.00448570
push esi
mov ecx, ebx
call fcn.00448570
lea eax, [esi - 0x2c]
mov ecx, ebx
push eax
call fcn.00448570
mov ecx, dword [ebp - 0x694]
movsx eax, byte [ecx]
dec eax
cmp eax, 0xd
ja case.0x50401d.4
movzx eax, byte [eax + 0x504e9c]
jmp dword [eax*4 + 0x504e84]
lea eax, [ebp - 0x684]
mov ecx, ebx
push eax
call fcn.00448570
movd xmm0, dword [ebp - 0x684]
cvtdq2ps xmm0, xmm0
movss dword [edi], xmm0
lea eax, [ebp - 0x684]
mov ecx, ebx
push eax
call fcn.00448570
movd xmm0, dword [ebp - 0x684]
jmp 0x504104
lea eax, [ebp - 0x688]
mov ecx, ebx
push eax
call fcn.00448530
movd xmm0, dword [ebp - 0x688]
cvtdq2ps xmm0, xmm0
movss dword [edi], xmm0
jmp 0x5040ee
lea eax, [ebp - 0x690]
mov ecx, ebx
push eax
call fcn.00448590
mov eax, dword [ebp - 0x690]
mov ecx, ebx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5d2230]
lea eax, [ebp - 0x690]
push eax
cvtpd2ps xmm0, xmm0
movss dword [edi], xmm0
call fcn.00448590
mov eax, dword [ebp - 0x690]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5d2230]
cvtpd2ps xmm0, xmm0
jmp 0x504107
push edi
mov ecx, ebx
call fcn.004485b0
jmp 0x504041
push edi
mov ecx, ebx
call fcn.004485b0
lea eax, [ebp - 0x688]
mov ecx, ebx
push eax
call fcn.00448530
movd xmm0, dword [ebp - 0x688]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x2c], xmm0
mov esi, dword [ebp - 0x66c]
mov ecx, dword [ebp - 0x698]
add esi, 0x20
inc ecx
mov dword [ebp - 0x66c], esi
add edi, 4
mov dword [ebp - 0x698], ecx
mov dword [ebp - 0x680], edi
cmp ecx, dword [ebp - 0x678]
jl 0x503f73
lea eax, [ebp - 0x478]
mov ecx, ebx
push eax
call fcn.00448570
lea eax, [ebp - 0x417]
mov ecx, ebx
push eax
call fcn.00448570
lea eax, [ebp - 0x41c]
mov ecx, ebx
push eax
call fcn.00448530
mov ecx, ebx
call fcn.004484a0
push 0x14
push ebx
call fcn.00559eda
mov edi, dword [ebp - 0x69c]
add esp, 8
cmp byte [ebp - 0x418], 0
je 0x5047e4
mov esi, dword [ebp - 0x674]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [esi + 0x218]
mov dword [esi + 0x22f0], eax
mov eax, dword [ebp - 0x417]
mov dword [esi + 0x2320], eax
mov eax, dword [esi + 0x2308]
cmp eax, 0xc8
jne 0x504260
push 0x22
add ecx, 0x140
call fcn.0044e3e0
push 0x5d2af4
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, dword [esi + 0x218]
push 0x23
add ecx, 0x140
call fcn.0044e3e0
push 0x5d2af4
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, dword [esi + 0x218]
push 0x1c
add ecx, 0x140
call fcn.0044e3e0
mov ecx, dword [ebp - 0x674]
mov esi, eax
lea eax, [ebp - 0x410]
push dword [ecx + 0x2320]
push 0x5e1264
push eax
call fcn.0043d370
mov edx, dword [esi]
lea eax, [ebp - 0x410]
add esp, 0xc
mov ecx, esi
push eax
call dword [edx + 0x30]
mov dword [esi + 0x170], 0xfffff0be
mov esi, dword [ebp - 0x674]
mov ecx, dword [esi + 0x218]
mov eax, dword [esi + 0x13c]
mov dword [ecx + 0x164], eax
jmp 0x5042a9
cmp eax, 0xc9
jne 0x50426f
mov eax, dword [esi + 0x144]
jmp 0x504284
cmp eax, 0xca
jne 0x50427e
mov eax, dword [esi + 0x148]
jmp 0x504284
mov eax, dword [esi + 0x140]
mov dword [ecx + 0x164], eax
mov ecx, dword [esi + 0x218]
push 0x1c
add ecx, 0x140
call fcn.0044e3e0
push 0x5d2af4
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x30]
imul eax, edi, 0x5c
lea ebx, [ebp - 0x667]
add ebx, dword [ebp - 0x67c]
add eax, 0x29c
add eax, esi
mov dword [ebp - 0x680], eax
mov ecx, dword [esi + 0x218]
lea eax, [edi + 0x22]
push eax
add ecx, 0x140
call fcn.0044e3e0
cmp byte [ebx], 0
mov esi, eax
jne 0x5042ea
mov byte [ebp - 0x410], 0
jmp 0x504323
mov eax, dword [ebp + edi*4 - 0x4a4]
cmp eax, 1
jle 0x50430e
push eax
push ebx
lea eax, [ebp - 0x410]
push str._s___ld_
push eax
call fcn.0043d370
add esp, 0x10
jmp 0x504323
push ebx
lea eax, [ebp - 0x410]
push 0x5d2440
push eax
call fcn.0043d370
add esp, 0xc
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov dword [esi + 0x170], 0xffffffff
cmp byte [ebp + edi - 0x507], 0
jne 0x50434f
mov dword [esi + 0x170], 0xff96ff96
cmp byte [ebp + edi - 0x507], 1
jne 0x504363
mov dword [esi + 0x170], 0xffff9696
cmp byte [ebp + edi - 0x507], 0xe
jne 0x504377
mov dword [esi + 0x170], 0xff9696ff
cmp byte [ebp + edi - 0x507], 2
jne 0x50438b
mov dword [esi + 0x170], 0xffff96ff
cmp byte [ebp + edi - 0x507], 9
jne 0x50439f
mov dword [esi + 0x170], 0xffffeb96
cmp byte [ebp + edi - 0x507], 0xa
jne 0x5043b3
mov dword [esi + 0x170], 0xffd27300
cmp byte [ebp + edi - 0x507], 3
jne 0x5043c7
mov dword [esi + 0x170], 0xffffff96
cmp byte [ebp + edi - 0x507], 4
jne 0x5043db
mov dword [esi + 0x170], 0xff96ffff
cmp byte [ebp + edi - 0x507], 8
jne 0x5043ef
mov dword [esi + 0x170], 0xffff73c8
cmp byte [ebp + edi - 0x507], 0xb
jne 0x504403
mov dword [esi + 0x170], 0xff64ff64
cmp byte [ebp + edi - 0x507], 0xc
jne 0x504417
mov dword [esi + 0x170], 0xff32ff64
cmp byte [ebp + edi - 0x507], 0xd
jne 0x50442b
mov dword [esi + 0x170], 0xff00ff64
cmp byte [ebp + edi - 0x507], 0xf
jne 0x50443f
mov dword [esi + 0x170], 0xff3264ff
cmp byte [ebp + edi - 0x507], 0x10
jne 0x504453
mov dword [esi + 0x170], 0xff969637
cmp byte [ebp + edi - 0x507], 0x11
jne 0x504467
mov dword [esi + 0x170], 0xffff9637
cmp byte [ebp + edi - 0x507], 0x14
jne 0x50447b
mov dword [esi + 0x170], 0xffff9637
cmp byte [ebp + edi - 0x507], 0x12
jne 0x50448f
mov dword [esi + 0x170], 0xffffb437
cmp byte [ebp + edi - 0x507], 0x13
jne 0x5044a3
mov dword [esi + 0x170], 0xffffb437
cmp byte [ebp + edi - 0x507], 0x15
jne 0x5044b7
mov dword [esi + 0x170], 0xffffc8c8
mov edx, dword [ebp - 0x680]
mov cl, byte [ebp + edi - 0x507]
movsx eax, cl
mov dword [edx - 8], eax
mov eax, dword [ebp + edi*4 - 0x4fc]
mov dword [edx], eax
cmp cl, 1
jne 0x504592
cmp byte [ebx], 0
jne 0x5044f6
lea eax, [ebp - 0x474]
mov byte [ebp - 0x410], 0
lea eax, [eax + edi*4]
jmp 0x504576
mov eax, dword [ebp + edi*4 - 0x4a4]
lea ecx, [ebp - 0x474]
lea ecx, [ecx + edi*4]
mov dword [ebp - 0x66c], ecx
cmp eax, 1
jle 0x50454c
push eax
cvttss2si eax, dword [ebp + edi*4 - 0x448]
push eax
cvttss2si eax, dword [ecx]
push eax
push ebx
lea eax, [ebp - 0x410]
push str._s___d__d___ld_
push eax
call fcn.0043d370
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
add esp, 0x18
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x66c]
jmp 0x5045a1
cvttss2si eax, dword [ebp + edi*4 - 0x448]
push eax
cvttss2si eax, dword [ecx]
push eax
push ebx
lea eax, [ebp - 0x410]
push str._s___d__d_
push eax
call fcn.0043d370
mov eax, dword [ebp - 0x66c]
add esp, 0x14
mov dword [ebp - 0x66c], eax
lea ecx, [ebp - 0x410]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x66c]
jmp 0x5045a1
lea ecx, [ebp - 0x474]
lea ecx, [ecx + edi*4]
mov dword [ebp - 0x66c], ecx
cmp byte [ebp + edi - 0x507], 6
jne 0x5045eb
cmp byte [ebx], 0
jne 0x5045b9
mov byte [ebp - 0x410], 0
jmp 0x5045dd
cvttss2si eax, dword [ebp + edi*4 - 0x448]
push eax
cvttss2si eax, dword [ecx]
push eax
push ebx
lea eax, [ebp - 0x410]
push str._s__d___ld_
push eax
call fcn.0043d370
add esp, 0x14
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, esi
call dword [eax + 0x30]
cmp byte [ebp + edi - 0x507], 3
jne 0x50462d
cmp byte [ebx], 0
jne 0x504603
mov byte [ebp - 0x410], 0
jmp 0x50461f
push dword [ebp + edi*4 - 0x4a4]
lea eax, [ebp - 0x410]
push ebx
push str._s___d_
push eax
call fcn.0043d370
add esp, 0x10
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, esi
call dword [eax + 0x30]
cmp byte [ebp + edi - 0x507], 2
jne 0x5046fa
cmp byte [ebx], 0
jne 0x50464c
mov byte [ebp - 0x410], 0
jmp 0x5046ec
movss xmm0, dword [ebp + edi*4 - 0x448]
movss xmm2, dword [0x5d309c]
divss xmm0, xmm2
movss xmm3, dword [0x5d3068]
mulss xmm0, dword [0x5d30a4]
comiss xmm3, xmm0
movaps xmm1, xmm0
jbe 0x50467d
mulss xmm1, xmm2
mov eax, str._s___d__dm_
mov ecx, str._s___d__dh_
cmova ecx, eax
cvttss2si eax, xmm1
push eax
mov eax, dword [ebp - 0x66c]
cvttss2si eax, dword [eax]
neg eax
push eax
push ebx
push ecx
lea eax, [ebp - 0x410]
push eax
call fcn.0043d370
mov edx, dword [ebp + edi*4 - 0x4a4]
add esp, 0x14
cmp edx, 1
jle 0x5046ec
lea ecx, [ebp - 0x410]
lea eax, [ecx + 1]
mov dword [ebp - 0x67c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5046c8
sub ecx, dword [ebp - 0x67c]
lea eax, [ebp - 0x410]
push edx
add eax, ecx
push 0x5e12bc
push eax
call fcn.0043d370
add esp, 0xc
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, esi
call dword [eax + 0x30]
cmp byte [ebp + edi - 0x507], 0xe
jne 0x5047c2
cmp byte [ebx], 0
jne 0x504719
mov byte [ebp - 0x410], 0
jmp 0x5047b4
mov eax, dword [ebp - 0x66c]
movss xmm0, dword [ebp + edi*4 - 0x448]
movss xmm1, dword [0x5e0604]
ucomiss xmm1, xmm0
cvttss2si ecx, dword [eax]
lahf
neg ecx
test ah, 0x44
jp 0x504757
push ecx
push ebx
lea eax, [ebp - 0x410]
push str._s___d_
push eax
call fcn.0043d370
add esp, 0x10
jmp 0x504772
cvttss2si eax, xmm0
push eax
push ecx
push ebx
lea eax, [ebp - 0x410]
push str._s___d__dc_
push eax
call fcn.0043d370
add esp, 0x14
mov edx, dword [ebp + edi*4 - 0x4a4]
cmp edx, 1
jle 0x5047b4
lea ecx, [ebp - 0x410]
lea eax, [ecx + 1]
mov dword [ebp - 0x67c], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x504790
sub ecx, dword [ebp - 0x67c]
lea eax, [ebp - 0x410]
push edx
add eax, ecx
push 0x5e12bc
push eax
call fcn.0043d370
add esp, 0xc
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, esi
call dword [eax + 0x30]
add dword [ebp - 0x680], 0x5c
inc edi
mov esi, dword [ebp - 0x674]
add ebx, 0x20
cmp edi, dword [ebp - 0x678]
jl 0x5042c5
jmp 0x504e66
mov al, byte [ebp - 0x413]
cmp al, 6
je 0x504ae3
cmp al, 7
je 0x504ae3
cmp al, 0xb
je 0x504ae3
test al, al
je 0x504ae3
cmp al, 0xc
jne 0x5048ba
mov edi, dword [ebp - 0x674]
mov ecx, edi
push 1
call fcn.00505ae0
mov ecx, dword [edi + 0x210]
push 0x3c
add ecx, 0x140
call fcn.0044e3e0
test eax, eax
jne 0x50485a
mov ecx, dword [edi + 0x210]
push dword [edi + 0x230]
add ecx, 0x140
call fcn.0044e350
mov ecx, dword [edi + 0x210]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [edi + 0x230]
mov eax, dword [ebp - 0x478]
add ecx, 0x140
push 0x3d
mov dword [edi + 0x2324], eax
call fcn.0044e3e0
push dword [ebp - 0x417]
mov esi, eax
lea eax, [ebp - 0x410]
push str.Bank:__ld
push eax
call fcn.0043d370
mov edx, dword [esi]
lea eax, [ebp - 0x410]
add esp, 0xc
mov ecx, esi
push eax
call dword [edx + 0x30]
mov eax, dword [ebp - 0x41c]
mov dword [edi + 0x22f4], eax
mov eax, dword [edi + 0x230]
jmp 0x504bae
cmp al, 8
jne 0x5049d7
mov edi, dword [ebp - 0x674]
push 0x2e
mov ecx, dword [edi + 0x210]
add ecx, 0x140
call fcn.0044e3e0
test eax, eax
je 0x5048f6
mov ecx, dword [edi + 0x210]
push dword [edi + 0x224]
add ecx, 0x140
call fcn.0044e6f0
mov ecx, dword [edi + 0x210]
push 0x3c
add ecx, 0x140
call fcn.0044e3e0
test eax, eax
je 0x504924
mov ecx, dword [edi + 0x210]
push dword [edi + 0x230]
add ecx, 0x140
call fcn.0044e6f0
mov ecx, dword [edi + 0x210]
push 0x4c
add ecx, 0x140
call fcn.0044e3e0
test eax, eax
jne 0x50495d
mov ecx, dword [edi + 0x210]
push dword [edi + 0x22c]
add ecx, 0x140
call fcn.0044e350
mov ecx, dword [edi + 0x210]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x41c]
mov dword [edi + 0x2304], eax
mov eax, dword [edi + 0x22c]
push 0x4d
mov dword [ebp - 0x678], eax
mov dword [ebp - 0x674], 0x50
lea ecx, [eax + 0x140]
call fcn.0044e3e0
push dword [ebp - 0x417]
lea ecx, [edi + 0x2354]
mov esi, eax
push ecx
lea eax, [ebp - 0x410]
push str._s:__ld
push eax
call fcn.0043d370
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
add esp, 0x10
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [ebp - 0x678]
mov ecx, 0x1c7c
mov dword [esi + 0x170], 0xfffff0be
jmp 0x504bbd
cmp al, 9
jne 0x504e66
mov edi, dword [ebp - 0x674]
push 0x2e
mov ecx, dword [edi + 0x210]
add ecx, 0x140
call fcn.0044e3e0
test eax, eax
je 0x504a13
mov ecx, dword [edi + 0x210]
push dword [edi + 0x224]
add ecx, 0x140
call fcn.0044e6f0
mov ecx, dword [edi + 0x210]
push 0x3c
add ecx, 0x140
call fcn.0044e3e0
test eax, eax
je 0x504a41
mov ecx, dword [edi + 0x210]
push dword [edi + 0x230]
add ecx, 0x140
call fcn.0044e6f0
mov ecx, dword [edi + 0x210]
push 0x3e
add ecx, 0x140
call fcn.0044e3e0
test eax, eax
jne 0x504a7a
mov ecx, dword [edi + 0x210]
push dword [edi + 0x228]
add ecx, 0x140
call fcn.0044e350
mov ecx, dword [edi + 0x210]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x41c]
mov dword [edi + 0x2300], eax
mov eax, dword [edi + 0x228]
push 0x3f
mov dword [ebp - 0x678], eax
mov dword [ebp - 0x674], 0x42
lea ecx, [eax + 0x140]
call fcn.0044e3e0
push dword [ebp - 0x417]
mov esi, eax
lea eax, [ebp - 0x410]
push str.You:__ld
push eax
call fcn.0043d370
mov edx, dword [esi]
lea eax, [ebp - 0x410]
add esp, 0xc
mov ecx, esi
push eax
call dword [edx + 0x30]
mov eax, dword [ebp - 0x678]
mov ecx, 0x1604
jmp 0x504bbd
mov edi, dword [ebp - 0x674]
mov ecx, edi
push 1
call fcn.00505ae0
mov ecx, dword [edi + 0x210]
push 0x2e
add ecx, 0x140
call fcn.0044e3e0
test eax, eax
jne 0x504b2b
mov ecx, dword [edi + 0x210]
push dword [edi + 0x224]
add ecx, 0x140
call fcn.0044e350
mov ecx, dword [edi + 0x210]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [edi + 0x224]
mov eax, dword [ebp - 0x478]
add ecx, 0x140
push 0x2f
mov dword [edi + 0x2324], eax
call fcn.0044e3e0
mov esi, eax
movsx eax, byte [ebp - 0x413]
cmp eax, 0xc
ja case.0x504b5f.1
movzx ecx, byte [eax + 0x504ec4]
jmp dword [ecx*4 + 0x504eac]
mov edx, dword [esi]
mov ecx, esi
push str.Trader
call dword [edx + 0x30]
jmp 0x504b9c
push str.Trainer
jmp 0x504b95
push str.Tower_Chest
jmp 0x504b95
push str.Ground
jmp 0x504b95
push str.Account_Storage
jmp 0x504b95
push 0x5d2af4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [ebp - 0x41c]
mov dword [edi + 0x22f4], eax
mov eax, dword [edi + 0x224]
mov ecx, 0x914
mov dword [ebp - 0x674], 0x32
lea edx, [eax + 0x140]
xor ebx, ebx
lea eax, [ebp - 0x667]
mov dword [ebp - 0x67c], edx
mov dword [ebp - 0x66c], eax
lea eax, [edi + ecx]
mov dword [ebp - 0x678], eax
lea ecx, [ebp - 0x507]
mov eax, dword [ebp - 0x674]
sub eax, ecx
mov dword [ebp - 0x674], eax
lea edi, [ebp - 0x507]
mov ecx, edx
add edi, ebx
add eax, edi
push eax
call fcn.0044e3e0
mov esi, eax
mov eax, dword [ebp - 0x66c]
cmp byte [eax], 0
jne 0x504c1c
mov byte [ebp - 0x410], 0
jmp 0x504c63
mov ecx, dword [ebp + ebx*4 - 0x4a4]
cmp ecx, 1
jle 0x504c47
push ecx
push dword [ebp + ebx*4 - 0x4d0]
push eax
lea eax, [ebp - 0x410]
push str._s__ldg___ld_
push eax
call fcn.0043d370
add esp, 0x14
jmp 0x504c63
push dword [ebp + ebx*4 - 0x4d0]
push eax
lea eax, [ebp - 0x410]
push str._s__ldg
push eax
call fcn.0043d370
add esp, 0x10
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov dword [esi + 0x170], 0xffffffff
cmp byte [edi], 0
jne 0x504c8a
mov dword [esi + 0x170], 0xff96ff96
cmp byte [edi], 1
jne 0x504c99
mov dword [esi + 0x170], 0xffff9696
cmp byte [edi], 0xe
jne 0x504ca8
mov dword [esi + 0x170], 0xff9696ff
cmp byte [edi], 2
jne 0x504cb7
mov dword [esi + 0x170], 0xffff96ff
cmp byte [edi], 9
jne 0x504cc6
mov dword [esi + 0x170], 0xffffeb96
cmp byte [edi], 0xa
jne 0x504cd5
mov dword [esi + 0x170], 0xffd27300
cmp byte [edi], 3
jne 0x504ce4
mov dword [esi + 0x170], 0xffffff96
cmp byte [edi], 4
jne 0x504cf3
mov dword [esi + 0x170], 0xff96ffff
cmp byte [edi], 8
jne 0x504d02
mov dword [esi + 0x170], 0xffff73c8
cmp byte [edi], 0xb
jne 0x504d11
mov dword [esi + 0x170], 0xff64ff64
cmp byte [edi], 0xc
jne 0x504d20
mov dword [esi + 0x170], 0xff32ff64
cmp byte [edi], 0xd
jne 0x504d2f
mov dword [esi + 0x170], 0xff00ff64
cmp byte [edi], 0xf
jne 0x504d3e
mov dword [esi + 0x170], 0xff3264ff
cmp byte [edi], 0x10
jne 0x504d4d
mov dword [esi + 0x170], 0xff969637
cmp byte [edi], 0x11
jne 0x504d5c
mov dword [esi + 0x170], 0xffff9637
cmp byte [edi], 0x14
jne 0x504d6b
mov dword [esi + 0x170], 0xffff9637
cmp byte [edi], 0x12
jne 0x504d7a
mov dword [esi + 0x170], 0xffffb437
cmp byte [edi], 0x13
jne 0x504d89
mov dword [esi + 0x170], 0xffffb437
mov edx, dword [ebp - 0x678]
movsx eax, byte [edi]
cmp byte [edi], 1
mov edi, dword [ebp - 0x66c]
mov dword [edx - 8], eax
mov eax, dword [ebp + ebx*4 - 0x4fc]
mov dword [edx], eax
jne 0x504e3e
cmp byte [edi], 0
jne 0x504dbb
mov byte [ebp - 0x410], 0
jmp 0x504e2a
mov eax, dword [ebp + ebx*4 - 0x4a4]
cmp eax, 1
jle 0x504dfa
push eax
cvttss2si eax, dword [ebp + ebx*4 - 0x448]
push eax
cvttss2si eax, dword [ebp + ebx*4 - 0x474]
push eax
push dword [ebp + ebx*4 - 0x4d0]
lea eax, [ebp - 0x410]
push edi
push str._s__ldg___d__d___ld_
push eax
call fcn.0043d370
add esp, 0x1c
jmp 0x504e2a
cvttss2si eax, dword [ebp + ebx*4 - 0x448]
push eax
cvttss2si eax, dword [ebp + ebx*4 - 0x474]
push eax
push dword [ebp + ebx*4 - 0x4d0]
lea eax, [ebp - 0x410]
push edi
push str._s__ldg___d__d_
push eax
call fcn.0043d370
add esp, 0x18
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov edx, dword [ebp - 0x678]
mov eax, dword [ebp - 0x674]
add edx, 0x5c
inc ebx
mov dword [ebp - 0x678], edx
mov edx, dword [ebp - 0x67c]
add edi, 0x20
mov dword [ebp - 0x66c], edi
cmp ebx, 9
jl 0x504bf4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00559ee8
mov esp, ebp
pop ebp
ret 8