Function at 0x5022c1
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c97f7
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.00558629
add esp, 4
mov dword [ebp - 0x67c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x50206f
push 0x256
mov ecx, eax
call fcn.00448260
mov ebx, eax
mov dword [ebp - 0x690], eax
jmp 0x502077
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 0x502107
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 0x502157
mov byte [ebp + esi - 0x667], 0
jmp 0x5022cd
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 0x502186
inc ebx
cmp ebx, 0x3e8
jl 0x502160
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.0x5021d2.4
movzx eax, byte [eax + 0x503018]
jmp dword [eax*4 + 0x503000]
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 0x5022b9
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 0x5022a3
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 0x5022bc
push edi
mov ecx, ebx
call fcn.004483a0
jmp 0x5021f6
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 0x502130
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.00558659
mov edi, dword [ebp - 0x698]
add esp, 8
cmp byte [ebp - 0x418], 0
je 0x502968
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 0x502413
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 0x5e00e8
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 0x50245c
cmp eax, 0xc9
jne 0x502422
mov eax, dword [esi + 0x144]
jmp 0x502437
cmp eax, 0xca
jne 0x502431
mov eax, dword [esi + 0x148]
jmp 0x502437
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 0x5024a5
mov byte [ebp - 0x410], 0
jmp 0x5024de
mov eax, dword [ebp + edi*4 - 0x4a4]
cmp eax, 1
jle 0x5024c9
push eax
push ebx
lea eax, [ebp - 0x410]
push str._s___ld_
push eax
call fcn.0043d370
add esp, 0x10
jmp 0x5024de
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 0x50250a
mov dword [esi + 0x170], 0xff96ff96
cmp byte [ebp + edi - 0x507], 1
jne 0x50251e
mov dword [esi + 0x170], 0xffff9696
cmp byte [ebp + edi - 0x507], 0xe
jne 0x502532
mov dword [esi + 0x170], 0xff9696ff
cmp byte [ebp + edi - 0x507], 2
jne 0x502546
mov dword [esi + 0x170], 0xffff96ff
cmp byte [ebp + edi - 0x507], 9
jne 0x50255a
mov dword [esi + 0x170], 0xffffeb96
cmp byte [ebp + edi - 0x507], 0xa
jne 0x50256e
mov dword [esi + 0x170], 0xffd27300
cmp byte [ebp + edi - 0x507], 3
jne 0x502582
mov dword [esi + 0x170], 0xffffff96
cmp byte [ebp + edi - 0x507], 4
jne 0x502596
mov dword [esi + 0x170], 0xff96ffff
cmp byte [ebp + edi - 0x507], 8
jne 0x5025aa
mov dword [esi + 0x170], 0xffff73c8
cmp byte [ebp + edi - 0x507], 0xb
jne 0x5025be
mov dword [esi + 0x170], 0xff64ff64
cmp byte [ebp + edi - 0x507], 0xc
jne 0x5025d2
mov dword [esi + 0x170], 0xff32ff64
cmp byte [ebp + edi - 0x507], 0xd
jne 0x5025e6
mov dword [esi + 0x170], 0xff00ff64
cmp byte [ebp + edi - 0x507], 0xf
jne 0x5025fa
mov dword [esi + 0x170], 0xff3264ff
cmp byte [ebp + edi - 0x507], 0x10
jne 0x50260e
mov dword [esi + 0x170], 0xff969637
cmp byte [ebp + edi - 0x507], 0x11
jne 0x502622
mov dword [esi + 0x170], 0xffff9637
cmp byte [ebp + edi - 0x507], 0x14
jne 0x502636
mov dword [esi + 0x170], 0xffff9637
cmp byte [ebp + edi - 0x507], 0x12
jne 0x50264a
mov dword [esi + 0x170], 0xffffb437
cmp byte [ebp + edi - 0x507], 0x13
jne 0x50265e
mov dword [esi + 0x170], 0xffffb437
cmp byte [ebp + edi - 0x507], 0x15
jne 0x502672
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 0x502720
cmp byte [ebx], 0
jne 0x5026b0
mov byte [ebp - 0x410], 0
jmp 0x50270c
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 0x5026e9
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 0x50270c
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 0x50276a
cmp byte [ebx], 0
jne 0x502738
mov byte [ebp - 0x410], 0
jmp 0x50275c
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 0x5027ac
cmp byte [ebx], 0
jne 0x502782
mov byte [ebp - 0x410], 0
jmp 0x50279e
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 0x502882
cmp byte [ebx], 0
jne 0x5027cb
mov byte [ebp - 0x410], 0
jmp 0x502874
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 0x5027fc
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 0x502874
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 0x502850
sub ecx, dword [ebp - 0x67c]
lea eax, [ebp - 0x410]
push edx
add eax, ecx
push 0x5e0140
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 0x502946
cmp byte [ebx], 0
jne 0x5028a1
mov byte [ebp - 0x410], 0
jmp 0x502938
movss xmm0, dword [ebp + edi*4 - 0x448]
movss xmm1, dword [0x5df544]
cvttss2si ecx, dword [ebp + edi*4 - 0x474]
ucomiss xmm1, xmm0
lahf
neg ecx
test ah, 0x44
jp 0x5028de
push ecx
push ebx
lea eax, [ebp - 0x410]
push str._s___d_
push eax
call fcn.0043d370
add esp, 0x10
jmp 0x5028f9
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 0x502938
lea ecx, [ebp - 0x410]
lea eax, [ecx + 1]
mov dword [ebp - 0x67c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x502914
sub ecx, dword [ebp - 0x67c]
lea eax, [ebp - 0x410]
push edx
add eax, ecx
push 0x5e0140
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 0x502480
jmp 0x502fe2
mov al, byte [ebp - 0x413]
cmp al, 6
je 0x502c4d
cmp al, 7
je 0x502c4d
cmp al, 0xb
je 0x502c4d
test al, al
je 0x502c4d
cmp al, 0xc
jne 0x502a32
mov edi, dword [ebp - 0x674]
mov ecx, edi
push 1
call fcn.00503900
mov ecx, dword [edi + 0x20c]
push 0x3c
add ecx, 0x140
call fcn.0044e250
test eax, eax
jne 0x5029de
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 0x502d0c
cmp al, 8
jne 0x502b48
mov edi, dword [ebp - 0x674]
push 0x2e
mov ecx, dword [edi + 0x20c]
add ecx, 0x140
call fcn.0044e250
test eax, eax
je 0x502a6e
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 0x502a9c
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 0x502ad5
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 0x502d28
cmp al, 9
jne 0x502fe2
mov edi, dword [ebp - 0x674]
push 0x2e
mov ecx, dword [edi + 0x20c]
add ecx, 0x140
call fcn.0044e250
test eax, eax
je 0x502b84
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 0x502bb2
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 0x502beb
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 0x502d28
mov edi, dword [ebp - 0x674]
mov ecx, edi
push 1
call fcn.00503900
mov ecx, dword [edi + 0x20c]
push 0x2e
add ecx, 0x140
call fcn.0044e250
test eax, eax
jne 0x502c95
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.0x502cc9.1
movzx ecx, byte [eax + 0x503040]
jmp dword [ecx*4 + 0x503028]
mov edx, dword [esi]
mov ecx, esi
push str.Trader
call dword [edx + 0x30]
jmp 0x502d06
push str.Trainer
jmp 0x502cff
push str.Tower_Chest
jmp 0x502cff
push str.Ground
jmp 0x502cff
push str.Account_Storage
jmp 0x502cff
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 0x502d5f
mov byte [ebp - 0x410], 0
jmp 0x502da1
mov ecx, dword [ebp + esi*4 - 0x4a4]
mov eax, dword [ebp + esi*4 - 0x4d0]
cmp ecx, 1
jle 0x502d8b
push ecx
push eax
push ebx
lea eax, [ebp - 0x410]
push str._s__ldg___ld_
push eax
call fcn.0043d370
add esp, 0x14
jmp 0x502da1
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 0x502dcd
mov dword [edi + 0x170], 0xff96ff96
cmp byte [ebp + esi - 0x507], 1
jne 0x502de1
mov dword [edi + 0x170], 0xffff9696
cmp byte [ebp + esi - 0x507], 0xe
jne 0x502df5
mov dword [edi + 0x170], 0xff9696ff
cmp byte [ebp + esi - 0x507], 2
jne 0x502e09
mov dword [edi + 0x170], 0xffff96ff
cmp byte [ebp + esi - 0x507], 9
jne 0x502e1d
mov dword [edi + 0x170], 0xffffeb96
cmp byte [ebp + esi - 0x507], 0xa
jne 0x502e31
mov dword [edi + 0x170], 0xffd27300
cmp byte [ebp + esi - 0x507], 3
jne 0x502e45
mov dword [edi + 0x170], 0xffffff96
cmp byte [ebp + esi - 0x507], 4
jne 0x502e59
mov dword [edi + 0x170], 0xff96ffff
cmp byte [ebp + esi - 0x507], 8
jne 0x502e6d
mov dword [edi + 0x170], 0xffff73c8
cmp byte [ebp + esi - 0x507], 0xb
jne 0x502e81
mov dword [edi + 0x170], 0xff64ff64
cmp byte [ebp + esi - 0x507], 0xc
jne 0x502e95
mov dword [edi + 0x170], 0xff32ff64
cmp byte [ebp + esi - 0x507], 0xd
jne 0x502ea9
mov dword [edi + 0x170], 0xff00ff64
cmp byte [ebp + esi - 0x507], 0xf
jne 0x502ebd
mov dword [edi + 0x170], 0xff3264ff
cmp byte [ebp + esi - 0x507], 0x10
jne 0x502ed1
mov dword [edi + 0x170], 0xff969637
cmp byte [ebp + esi - 0x507], 0x11
jne 0x502ee5
mov dword [edi + 0x170], 0xffff9637
cmp byte [ebp + esi - 0x507], 0x14
jne 0x502ef9
mov dword [edi + 0x170], 0xffff9637
cmp byte [ebp + esi - 0x507], 0x12
jne 0x502f0d
mov dword [edi + 0x170], 0xffffb437
cmp byte [ebp + esi - 0x507], 0x13
jne 0x502f21
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 0x502fc0
cmp byte [ebx], 0
jne 0x502f50
mov byte [ebp - 0x410], 0
jmp 0x502fac
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 0x502f94
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 0x502fac
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 0x502d44
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.00558667
mov esp, ebp
pop ebp
ret 8