Function at 0x502240
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9a77
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x62a780]
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.00558849
add esp, 4
mov dword [ebp - 0x67c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x5022af
push 0x256
mov ecx, eax
call fcn.00448260
mov ebx, eax
mov dword [ebp - 0x690], eax
jmp 0x5022b7
xor ebx, ebx
mov dword [ebp - 0x690], ebx
push dword [ebp + 0xc]
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.004487a0
lea eax, [ebp - 0x669]
mov dword [ebx + 8], 0
xor edi, edi
mov dword [ebp - 0x684], 9
push eax
mov ecx, ebx
mov dword [ebp - 0x698], edi
call fcn.004482c0
lea eax, [ebp - 0x669]
mov ecx, ebx
push eax
call fcn.004482c0
mov al, byte [ebp - 0x669]
mov ecx, ebx
mov byte [ebp - 0x418], al
lea eax, [ebp - 0x669]
push eax
call fcn.004482c0
cmp byte [ebp - 0x418], 0
mov al, byte [ebp - 0x669]
mov byte [ebp - 0x413], al
je 0x502347
cmp al, 1
mov dword [ebp - 0x684], 0xb
mov ecx, 2
cmove edi, ecx
mov dword [ebp - 0x698], edi
mov eax, edi
mov dword [ebp - 0x678], edi
shl eax, 5
mov dword [ebp - 0x670], eax
mov esi, eax
mov dword [ebp - 0x67c], eax
lea eax, [ebp - 0x474]
lea eax, [eax + edi*4]
mov dword [ebp - 0x680], eax
nop
lea eax, [ebp - 0x507]
mov ecx, ebx
add eax, edi
push eax
call fcn.004482a0
cmp byte [ebp + edi - 0x507], 0xff
jne 0x502397
mov byte [ebp + esi - 0x667], 0
jmp 0x50250d
mov edi, dword [ebp - 0x690]
xor ebx, ebx
nop
mov eax, dword [ebp - 0x670]
lea esi, [ebp - 0x667]
add eax, ebx
mov ecx, edi
add esi, eax
push esi
call fcn.004482a0
cmp byte [esi], 0
je 0x5023c6
inc ebx
cmp ebx, 0x3e8
jl 0x5023a0
mov edi, dword [ebp - 0x680]
mov ebx, dword [ebp - 0x690]
mov ecx, ebx
lea esi, [edi - 0x30]
lea eax, [esi - 0x58]
push eax
call fcn.00448360
push esi
mov ecx, ebx
call fcn.00448360
lea eax, [esi - 0x2c]
mov ecx, ebx
push eax
call fcn.00448360
mov esi, dword [ebp - 0x678]
movsx eax, byte [ebp + esi - 0x507]
dec eax
cmp eax, 0xd
ja case.0x502412.4
movzx eax, byte [eax + 0x503258]
jmp dword [eax*4 + 0x503240]
lea eax, [ebp - 0x688]
mov ecx, ebx
push eax
call fcn.00448360
movd xmm0, dword [ebp - 0x688]
cvtdq2ps xmm0, xmm0
movss dword [edi], xmm0
lea eax, [ebp - 0x688]
mov ecx, ebx
push eax
call fcn.00448360
movd xmm0, dword [ebp - 0x688]
jmp 0x5024f9
lea eax, [ebp - 0x68c]
mov ecx, ebx
push eax
call fcn.00448320
movd xmm0, dword [ebp - 0x68c]
cvtdq2ps xmm0, xmm0
movss dword [edi], xmm0
jmp 0x5024e3
lea eax, [ebp - 0x694]
mov ecx, ebx
push eax
call fcn.00448380
mov eax, dword [ebp - 0x694]
mov ecx, ebx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5d1230]
lea eax, [ebp - 0x694]
push eax
cvtpd2ps xmm0, xmm0
movss dword [edi], xmm0
call fcn.00448380
mov eax, dword [ebp - 0x694]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5d1230]
cvtpd2ps xmm0, xmm0
jmp 0x5024fc
push edi
mov ecx, ebx
call fcn.004483a0
jmp 0x502436
push edi
mov ecx, ebx
call fcn.004483a0
lea eax, [ebp - 0x68c]
mov ecx, ebx
push eax
call fcn.00448320
movd xmm0, dword [ebp - 0x68c]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x2c], xmm0
mov esi, dword [ebp - 0x670]
mov edi, dword [ebp - 0x678]
add dword [ebp - 0x680], 4
inc edi
add esi, 0x20
mov dword [ebp - 0x678], edi
mov dword [ebp - 0x670], esi
cmp edi, dword [ebp - 0x684]
jl 0x502370
lea eax, [ebp - 0x478]
mov ecx, ebx
push eax
call fcn.00448360
lea eax, [ebp - 0x417]
mov ecx, ebx
push eax
call fcn.00448360
lea eax, [ebp - 0x41c]
mov ecx, ebx
push eax
call fcn.00448320
mov ecx, ebx
call fcn.00448290
push 0x14
push ebx
call fcn.00558879
mov edi, dword [ebp - 0x698]
add esp, 8
cmp byte [ebp - 0x418], 0
je 0x502ba8
mov esi, dword [ebp - 0x674]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [esi + 0x214]
mov dword [esi + 0x22e4], eax
mov eax, dword [ebp - 0x417]
mov dword [esi + 0x2314], eax
mov eax, dword [esi + 0x22fc]
cmp eax, 0xc8
jne 0x502653
push 0x22
add ecx, 0x140
call fcn.0044e250
push 0x5d1adc
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, dword [esi + 0x214]
push 0x23
add ecx, 0x140
call fcn.0044e250
push 0x5d1adc
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, dword [esi + 0x214]
push 0x1c
add ecx, 0x140
call fcn.0044e250
mov ecx, dword [ebp - 0x674]
mov esi, eax
lea eax, [ebp - 0x410]
push dword [ecx + 0x2314]
push 0x5e00f8
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 + 0x214]
mov eax, dword [esi + 0x13c]
mov dword [ecx + 0x164], eax
jmp 0x50269c
cmp eax, 0xc9
jne 0x502662
mov eax, dword [esi + 0x144]
jmp 0x502677
cmp eax, 0xca
jne 0x502671
mov eax, dword [esi + 0x148]
jmp 0x502677
mov eax, dword [esi + 0x140]
mov dword [ecx + 0x164], eax
mov ecx, dword [esi + 0x214]
push 0x1c
add ecx, 0x140
call fcn.0044e250
push 0x5d1adc
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, 0x290
add eax, esi
mov dword [ebp - 0x680], eax
nop dword [eax + eax]
mov ecx, dword [esi + 0x214]
lea eax, [edi + 0x22]
push eax
add ecx, 0x140
call fcn.0044e250
cmp byte [ebx], 0
mov esi, eax
jne 0x5026e5
mov byte [ebp - 0x410], 0
jmp 0x50271e
mov eax, dword [ebp + edi*4 - 0x4a4]
cmp eax, 1
jle 0x502709
push eax
push ebx
lea eax, [ebp - 0x410]
push str._s___ld_
push eax
call fcn.0043d370
add esp, 0x10
jmp 0x50271e
push ebx
lea eax, [ebp - 0x410]
push 0x5d1428
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 0x50274a
mov dword [esi + 0x170], 0xff96ff96
cmp byte [ebp + edi - 0x507], 1
jne 0x50275e
mov dword [esi + 0x170], 0xffff9696
cmp byte [ebp + edi - 0x507], 0xe
jne 0x502772
mov dword [esi + 0x170], 0xff9696ff
cmp byte [ebp + edi - 0x507], 2
jne 0x502786
mov dword [esi + 0x170], 0xffff96ff
cmp byte [ebp + edi - 0x507], 9
jne 0x50279a
mov dword [esi + 0x170], 0xffffeb96
cmp byte [ebp + edi - 0x507], 0xa
jne 0x5027ae
mov dword [esi + 0x170], 0xffd27300
cmp byte [ebp + edi - 0x507], 3
jne 0x5027c2
mov dword [esi + 0x170], 0xffffff96
cmp byte [ebp + edi - 0x507], 4
jne 0x5027d6
mov dword [esi + 0x170], 0xff96ffff
cmp byte [ebp + edi - 0x507], 8
jne 0x5027ea
mov dword [esi + 0x170], 0xffff73c8
cmp byte [ebp + edi - 0x507], 0xb
jne 0x5027fe
mov dword [esi + 0x170], 0xff64ff64
cmp byte [ebp + edi - 0x507], 0xc
jne 0x502812
mov dword [esi + 0x170], 0xff32ff64
cmp byte [ebp + edi - 0x507], 0xd
jne 0x502826
mov dword [esi + 0x170], 0xff00ff64
cmp byte [ebp + edi - 0x507], 0xf
jne 0x50283a
mov dword [esi + 0x170], 0xff3264ff
cmp byte [ebp + edi - 0x507], 0x10
jne 0x50284e
mov dword [esi + 0x170], 0xff969637
cmp byte [ebp + edi - 0x507], 0x11
jne 0x502862
mov dword [esi + 0x170], 0xffff9637
cmp byte [ebp + edi - 0x507], 0x14
jne 0x502876
mov dword [esi + 0x170], 0xffff9637
cmp byte [ebp + edi - 0x507], 0x12
jne 0x50288a
mov dword [esi + 0x170], 0xffffb437
cmp byte [ebp + edi - 0x507], 0x13
jne 0x50289e
mov dword [esi + 0x170], 0xffffb437
cmp byte [ebp + edi - 0x507], 0x15
jne 0x5028b2
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
lea eax, [ebp - 0x448]
lea eax, [eax + edi*4]
mov dword [ebp - 0x670], eax
cmp cl, 1
jne 0x502960
cmp byte [ebx], 0
jne 0x5028f0
mov byte [ebp - 0x410], 0
jmp 0x50294c
mov edx, dword [ebp + edi*4 - 0x4a4]
mov dword [ebp - 0x670], eax
cvttss2si eax, dword [eax]
cvttss2si ecx, dword [ebp + edi*4 - 0x474]
cmp edx, 1
jle 0x502929
push edx
push eax
push ecx
push ebx
lea eax, [ebp - 0x410]
push str._s___d__d___ld_
push eax
call fcn.0043d370
add esp, 0x18
jmp 0x50294c
push eax
push ecx
push ebx
lea eax, [ebp - 0x410]
push str._s___d__d_
push eax
call fcn.0043d370
mov eax, dword [ebp - 0x670]
add esp, 0x14
mov dword [ebp - 0x670], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [ebp - 0x670]
cmp byte [ebp + edi - 0x507], 6
jne 0x5029aa
cmp byte [ebx], 0
jne 0x502978
mov byte [ebp - 0x410], 0
jmp 0x50299c
cvttss2si eax, dword [eax]
push eax
cvttss2si eax, dword [ebp + edi*4 - 0x474]
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 0x5029ec
cmp byte [ebx], 0
jne 0x5029c2
mov byte [ebp - 0x410], 0
jmp 0x5029de
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 0x502ac2
cmp byte [ebx], 0
jne 0x502a0b
mov byte [ebp - 0x410], 0
jmp 0x502ab4
movss xmm0, dword [ebp + edi*4 - 0x448]
movss xmm2, dword [0x5d208c]
divss xmm0, xmm2
movss xmm3, dword [0x5d2058]
mulss xmm0, dword [0x5d2094]
comiss xmm3, xmm0
movaps xmm1, xmm0
jbe 0x502a3c
mulss xmm1, xmm2
cvttss2si eax, xmm1
mov ecx, str._s___d__dm_
push eax
cvttss2si eax, dword [ebp + edi*4 - 0x474]
neg eax
comiss xmm3, xmm0
push eax
mov eax, str._s___d__dh_
push ebx
cmova eax, ecx
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0043d370
mov edx, dword [ebp + edi*4 - 0x4a4]
add esp, 0x14
cmp edx, 1
jle 0x502ab4
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 0x502a90
sub ecx, dword [ebp - 0x67c]
lea eax, [ebp - 0x410]
push edx
add eax, ecx
push 0x5e0150
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 0x502b86
cmp byte [ebx], 0
jne 0x502ae1
mov byte [ebp - 0x410], 0
jmp 0x502b78
movss xmm0, dword [ebp + edi*4 - 0x448]
movss xmm1, dword [0x5df554]
cvttss2si ecx, dword [ebp + edi*4 - 0x474]
ucomiss xmm1, xmm0
lahf
neg ecx
test ah, 0x44
jp 0x502b1e
push ecx
push ebx
lea eax, [ebp - 0x410]
push str._s___d_
push eax
call fcn.0043d370
add esp, 0x10
jmp 0x502b39
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 0x502b78
lea ecx, [ebp - 0x410]
lea eax, [ecx + 1]
mov dword [ebp - 0x67c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x502b54
sub ecx, dword [ebp - 0x67c]
lea eax, [ebp - 0x410]
push edx
add eax, ecx
push 0x5e0150
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 - 0x684]
jl 0x5026c0
jmp 0x503222
mov al, byte [ebp - 0x413]
cmp al, 6
je 0x502e8d
cmp al, 7
je 0x502e8d
cmp al, 0xb
je 0x502e8d
test al, al
je 0x502e8d
cmp al, 0xc
jne 0x502c72
mov edi, dword [ebp - 0x674]
mov ecx, edi
push 1
call fcn.00503b40
mov ecx, dword [edi + 0x20c]
push 0x3c
add ecx, 0x140
call fcn.0044e250
test eax, eax
jne 0x502c1e
mov ecx, dword [edi + 0x20c]
push dword [edi + 0x228]
add ecx, 0x140
call fcn.0044e1c0
mov ecx, dword [edi + 0x20c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [edi + 0x228]
mov eax, dword [ebp - 0x478]
add ecx, 0x140
push 0x3d
mov dword [edi + 0x2318], eax
call fcn.0044e250
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 ebx, dword [edi + 0x228]
jmp 0x502f4c
cmp al, 8
jne 0x502d88
mov edi, dword [ebp - 0x674]
push 0x2e
mov ecx, dword [edi + 0x20c]
add ecx, 0x140
call fcn.0044e250
test eax, eax
je 0x502cae
mov ecx, dword [edi + 0x20c]
push dword [edi + 0x21c]
add ecx, 0x140
call fcn.0044e560
mov ecx, dword [edi + 0x20c]
push 0x3c
add ecx, 0x140
call fcn.0044e250
test eax, eax
je 0x502cdc
mov ecx, dword [edi + 0x20c]
push dword [edi + 0x228]
add ecx, 0x140
call fcn.0044e560
mov ecx, dword [edi + 0x20c]
push 0x4c
add ecx, 0x140
call fcn.0044e250
test eax, eax
jne 0x502d15
mov ecx, dword [edi + 0x20c]
push dword [edi + 0x224]
add ecx, 0x140
call fcn.0044e1c0
mov ecx, dword [edi + 0x20c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ebx, dword [edi + 0x224]
mov eax, dword [ebp - 0x41c]
push 0x4d
mov dword [edi + 0x22f8], eax
lea ecx, [ebx + 0x140]
mov dword [ebp - 0x674], 0x50
call fcn.0044e250
push dword [ebp - 0x417]
lea ecx, [edi + 0x2348]
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 dword [esi + 0x170], 0xfffff0be
mov eax, 0x1c70
mov ecx, 0x50
jmp 0x502f68
cmp al, 9
jne 0x503222
mov edi, dword [ebp - 0x674]
push 0x2e
mov ecx, dword [edi + 0x20c]
add ecx, 0x140
call fcn.0044e250
test eax, eax
je 0x502dc4
mov ecx, dword [edi + 0x20c]
push dword [edi + 0x21c]
add ecx, 0x140
call fcn.0044e560
mov ecx, dword [edi + 0x20c]
push 0x3c
add ecx, 0x140
call fcn.0044e250
test eax, eax
je 0x502df2
mov ecx, dword [edi + 0x20c]
push dword [edi + 0x228]
add ecx, 0x140
call fcn.0044e560
mov ecx, dword [edi + 0x20c]
push 0x3e
add ecx, 0x140
call fcn.0044e250
test eax, eax
jne 0x502e2b
mov ecx, dword [edi + 0x20c]
push dword [edi + 0x220]
add ecx, 0x140
call fcn.0044e1c0
mov ecx, dword [edi + 0x20c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ebx, dword [edi + 0x220]
mov eax, dword [ebp - 0x41c]
push 0x3f
mov dword [edi + 0x22f4], eax
lea ecx, [ebx + 0x140]
mov dword [ebp - 0x674], 0x42
call fcn.0044e250
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, 0x15f8
mov ecx, 0x42
jmp 0x502f68
mov edi, dword [ebp - 0x674]
mov ecx, edi
push 1
call fcn.00503b40
mov ecx, dword [edi + 0x20c]
push 0x2e
add ecx, 0x140
call fcn.0044e250
test eax, eax
jne 0x502ed5
mov ecx, dword [edi + 0x20c]
push dword [edi + 0x21c]
add ecx, 0x140
call fcn.0044e1c0
mov ecx, dword [edi + 0x20c]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [edi + 0x21c]
mov eax, dword [ebp - 0x478]
add ecx, 0x140
push 0x2f
mov dword [edi + 0x2318], eax
call fcn.0044e250
mov esi, eax
movsx eax, byte [ebp - 0x413]
cmp eax, 0xc
ja case.0x502f09.1
movzx ecx, byte [eax + 0x503280]
jmp dword [ecx*4 + 0x503268]
mov edx, dword [esi]
mov ecx, esi
push str.Trader
call dword [edx + 0x30]
jmp 0x502f46
push str.Trainer
jmp 0x502f3f
push str.Tower_Chest
jmp 0x502f3f
push str.Ground
jmp 0x502f3f
push str.Account_Storage
jmp 0x502f3f
push 0x5d1adc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov ebx, dword [edi + 0x21c]
mov eax, dword [ebp - 0x41c]
mov ecx, 0x32
mov dword [edi + 0x22e8], eax
mov eax, 0x908
mov dword [ebp - 0x674], ecx
xor esi, esi
lea edx, [ebx + 0x140]
add eax, edi
mov dword [ebp - 0x67c], edx
lea ebx, [ebp - 0x667]
mov dword [ebp - 0x684], eax
lea eax, [ecx + esi]
mov ecx, edx
push eax
call fcn.0044e250
cmp byte [ebx], 0
mov edi, eax
jne 0x502f9f
mov byte [ebp - 0x410], 0
jmp 0x502fe1
mov ecx, dword [ebp + esi*4 - 0x4a4]
mov eax, dword [ebp + esi*4 - 0x4d0]
cmp ecx, 1
jle 0x502fcb
push ecx
push eax
push ebx
lea eax, [ebp - 0x410]
push str._s__ldg___ld_
push eax
call fcn.0043d370
add esp, 0x14
jmp 0x502fe1
push eax
push ebx
lea eax, [ebp - 0x410]
push str._s__ldg
push eax
call fcn.0043d370
add esp, 0x10
mov eax, dword [edi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov dword [edi + 0x170], 0xffffffff
cmp byte [ebp + esi - 0x507], 0
jne 0x50300d
mov dword [edi + 0x170], 0xff96ff96
cmp byte [ebp + esi - 0x507], 1
jne 0x503021
mov dword [edi + 0x170], 0xffff9696
cmp byte [ebp + esi - 0x507], 0xe
jne 0x503035
mov dword [edi + 0x170], 0xff9696ff
cmp byte [ebp + esi - 0x507], 2
jne 0x503049
mov dword [edi + 0x170], 0xffff96ff
cmp byte [ebp + esi - 0x507], 9
jne 0x50305d
mov dword [edi + 0x170], 0xffffeb96
cmp byte [ebp + esi - 0x507], 0xa
jne 0x503071
mov dword [edi + 0x170], 0xffd27300
cmp byte [ebp + esi - 0x507], 3
jne 0x503085
mov dword [edi + 0x170], 0xffffff96
cmp byte [ebp + esi - 0x507], 4
jne 0x503099
mov dword [edi + 0x170], 0xff96ffff
cmp byte [ebp + esi - 0x507], 8
jne 0x5030ad
mov dword [edi + 0x170], 0xffff73c8
cmp byte [ebp + esi - 0x507], 0xb
jne 0x5030c1
mov dword [edi + 0x170], 0xff64ff64
cmp byte [ebp + esi - 0x507], 0xc
jne 0x5030d5
mov dword [edi + 0x170], 0xff32ff64
cmp byte [ebp + esi - 0x507], 0xd
jne 0x5030e9
mov dword [edi + 0x170], 0xff00ff64
cmp byte [ebp + esi - 0x507], 0xf
jne 0x5030fd
mov dword [edi + 0x170], 0xff3264ff
cmp byte [ebp + esi - 0x507], 0x10
jne 0x503111
mov dword [edi + 0x170], 0xff969637
cmp byte [ebp + esi - 0x507], 0x11
jne 0x503125
mov dword [edi + 0x170], 0xffff9637
cmp byte [ebp + esi - 0x507], 0x14
jne 0x503139
mov dword [edi + 0x170], 0xffff9637
cmp byte [ebp + esi - 0x507], 0x12
jne 0x50314d
mov dword [edi + 0x170], 0xffffb437
cmp byte [ebp + esi - 0x507], 0x13
jne 0x503161
mov dword [edi + 0x170], 0xffffb437
mov edx, dword [ebp - 0x684]
mov cl, byte [ebp + esi - 0x507]
movsx eax, cl
mov dword [edx - 8], eax
mov eax, dword [ebp + esi*4 - 0x4fc]
mov dword [edx], eax
cmp cl, 1
jne 0x503200
cmp byte [ebx], 0
jne 0x503190
mov byte [ebp - 0x410], 0
jmp 0x5031ec
cmp dword [ebp + esi*4 - 0x4a4], 1
mov eax, dword [ebp + esi*4 - 0x4d0]
cvttss2si ecx, dword [ebp + esi*4 - 0x448]
cvttss2si edx, dword [ebp + esi*4 - 0x474]
jle 0x5031d4
push dword [ebp + esi*4 - 0x4a4]
push ecx
push edx
push eax
push ebx
lea eax, [ebp - 0x410]
push str._s__ldg___d__d___ld_
push eax
call fcn.0043d370
add esp, 0x1c
jmp 0x5031ec
push ecx
push edx
push eax
push ebx
lea eax, [ebp - 0x410]
push str._s__ldg___d__d_
push eax
call fcn.0043d370
add esp, 0x18
mov eax, dword [edi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov edx, dword [ebp - 0x684]
mov ecx, dword [ebp - 0x674]
add edx, 0x5c
inc esi
mov dword [ebp - 0x684], edx
mov edx, dword [ebp - 0x67c]
add ebx, 0x20
cmp esi, 9
jl 0x502f84
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.00558887
mov esp, ebp
pop ebp
ret 8