Function at 0x497f80
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549d07
mov eax, dword fs:[0]
push eax
sub esp, 0x6cc
mov eax, dword [0x597f2c]
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 - 0x6a4], ecx
mov esi, dword [ebp + 8]
push 0x14
mov byte [ebp - 0x698], 0x12
call fcn.004de236
add esp, 4
mov dword [ebp - 0x6c4], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x497fef
push 0x286
mov ecx, eax
call fcn.0044ad80
mov ebx, eax
mov dword [ebp - 0x6cc], eax
jmp 0x497ff7
xor ebx, ebx
mov dword [ebp - 0x6cc], ebx
push dword [ebp + 0xc]
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.0044b2c0
lea eax, [ebp - 0x69d]
mov dword [ebx + 8], 0
xor edi, edi
mov dword [ebp - 0x6a8], 9
push eax
mov ecx, ebx
mov dword [ebp - 0x6c0], edi
call fcn.0044ade0
lea eax, [ebp - 0x69d]
mov ecx, ebx
push eax
call fcn.0044ade0
mov al, byte [ebp - 0x69d]
mov ecx, ebx
mov byte [ebp - 0x41c], al
lea eax, [ebp - 0x69d]
push eax
call fcn.0044ade0
cmp byte [ebp - 0x41c], 0
mov al, byte [ebp - 0x69d]
mov byte [ebp - 0x413], al
je 0x498087
cmp al, 1
mov dword [ebp - 0x6a8], 0xb
mov ecx, 2
cmove edi, ecx
mov dword [ebp - 0x6c0], edi
mov eax, edi
mov dword [ebp - 0x69c], edi
shl eax, 5
mov dword [ebp - 0x6ac], eax
mov esi, eax
mov dword [ebp - 0x6c4], eax
lea eax, [ebp - 0x4a4]
lea eax, [eax + edi*4]
mov dword [ebp - 0x6b0], eax
mov eax, edi
mov edi, dword [ebp - 0x6b0]
nop word [eax + eax]
lea ecx, [ebp - 0x537]
add eax, ecx
mov ecx, ebx
push eax
mov dword [ebp - 0x6bc], eax
call fcn.0044adc0
mov eax, dword [ebp - 0x6bc]
cmp byte [eax], 0xff
jne 0x4980ee
mov byte [ebp + esi - 0x697], 0
jmp 0x498262
mov edi, dword [ebp - 0x6cc]
xor ebx, ebx
nop word [eax + eax]
mov eax, dword [ebp - 0x6ac]
lea esi, [ebp - 0x697]
add eax, ebx
mov ecx, edi
add esi, eax
push esi
call fcn.0044adc0
cmp byte [esi], 0
je 0x498126
inc ebx
cmp ebx, 0x3e8
jl 0x498100
mov edi, dword [ebp - 0x6b0]
mov ebx, dword [ebp - 0x6cc]
mov ecx, ebx
lea esi, [edi - 0x30]
lea eax, [esi - 0x58]
push eax
call fcn.0044ae80
push esi
mov ecx, ebx
call fcn.0044ae80
lea eax, [esi - 0x2c]
mov ecx, ebx
push eax
call fcn.0044ae80
mov ecx, dword [ebp - 0x6bc]
movsx eax, byte [ecx]
dec eax
cmp eax, 0xd
ja case.0x49816d.4
movzx eax, byte [eax + 0x499080]
jmp dword [eax*4 + 0x499068]
lea eax, [ebp - 0x6b4]
mov ecx, ebx
push eax
call fcn.0044ae80
movd xmm0, dword [ebp - 0x6b4]
cvtdq2ps xmm0, xmm0
movss dword [edi], xmm0
lea eax, [ebp - 0x6b4]
mov ecx, ebx
push eax
call fcn.0044ae80
movd xmm0, dword [ebp - 0x6b4]
jmp 0x498247
lea eax, [ebp - 0x6b8]
mov ecx, ebx
push eax
call fcn.0044ae40
movd xmm0, dword [ebp - 0x6b8]
cvtdq2ps xmm0, xmm0
movss dword [edi], xmm0
jmp 0x498231
lea eax, [ebp - 0x6d0]
mov ecx, ebx
push eax
call fcn.0044aea0
mov eax, dword [ebp - 0x6d0]
mov ecx, ebx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5500e0]
lea eax, [ebp - 0x6d8]
push eax
cvtpd2ps xmm0, xmm0
movss dword [edi], xmm0
call fcn.0044b090
mov edx, dword [ebp - 0x6d4]
mov ecx, dword [ebp - 0x6d8]
call fcn.004de0d0
jmp 0x49824d
push edi
mov ecx, ebx
call fcn.0044aec0
jmp 0x498191
push edi
mov ecx, ebx
call fcn.0044aec0
lea eax, [ebp - 0x6b8]
mov ecx, ebx
push eax
call fcn.0044ae40
movd xmm0, dword [ebp - 0x6b8]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
mov esi, dword [ebp - 0x69c]
movsd qword [ebp + esi*8 - 0x478], xmm0
mov esi, dword [ebp - 0x6ac]
mov eax, dword [ebp - 0x69c]
add esi, 0x20
inc eax
mov dword [ebp - 0x6ac], esi
add edi, 4
mov dword [ebp - 0x69c], eax
mov dword [ebp - 0x6b0], edi
cmp eax, dword [ebp - 0x6a8]
jl 0x4980c0
lea eax, [ebp - 0x4a8]
mov ecx, ebx
push eax
call fcn.0044ae80
lea eax, [ebp - 0x41b]
mov ecx, ebx
push eax
call fcn.0044b070
lea eax, [ebp - 0x420]
mov ecx, ebx
push eax
call fcn.0044ae40
mov ecx, ebx
call fcn.0044adb0
push 0x14
push ebx
call fcn.004ddd12
mov edi, dword [ebp - 0x6c0]
add esp, 8
cmp byte [ebp - 0x41c], 0
je 0x4989bc
mov esi, dword [ebp - 0x6a4]
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0x417]
mov dword [esi + 0x23a4], eax
mov eax, dword [ebp - 0x41b]
mov dword [esi + 0x23e0], eax
mov eax, dword [esi + 0x23bc]
mov dword [esi + 0x23e4], ecx
mov ecx, dword [esi + 0x2c0]
cmp eax, 0xc8
jne 0x4983c2
push 0x22
add ecx, 0x140
call fcn.00450a20
push 0x550d1c
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, dword [esi + 0x2c0]
push 0x23
add ecx, 0x140
call fcn.00450a20
push 0x550d1c
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, dword [esi + 0x2c0]
push 0x1c
add ecx, 0x140
call fcn.00450a20
mov ecx, dword [ebp - 0x6a4]
mov esi, eax
lea eax, [ebp - 0x410]
push dword [ecx + 0x23e4]
push dword [ecx + 0x23e0]
push str._lld
push eax
call fcn.00441710
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 esi, dword [ebp - 0x6a4]
mov ecx, dword [esi + 0x2c0]
mov eax, dword [esi + 0x13c]
mov dword [ecx + 0x164], eax
jmp 0x49840b
cmp eax, 0xc9
jne 0x4983d1
mov eax, dword [esi + 0x144]
jmp 0x4983e6
cmp eax, 0xca
jne 0x4983e0
mov eax, dword [esi + 0x148]
jmp 0x4983e6
mov eax, dword [esi + 0x140]
mov dword [ecx + 0x164], eax
mov ecx, dword [esi + 0x2c0]
push 0x1c
add ecx, 0x140
call fcn.00450a20
push 0x550d1c
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x30]
imul eax, edi, 0x5c
lea ebx, [ebp - 0x697]
add ebx, dword [ebp - 0x6c4]
add eax, 0x350
add eax, esi
mov dword [ebp - 0x6b0], eax
nop word [eax + eax]
mov ecx, dword [esi + 0x2c0]
lea eax, [edi + 0x22]
push eax
add ecx, 0x140
call fcn.00450a20
cmp byte [ebx], 0
mov esi, eax
jne 0x498455
mov byte [ebp - 0x410], 0
jmp 0x49848e
mov eax, dword [ebp + edi*4 - 0x4d4]
cmp eax, 1
jle 0x498479
push eax
push ebx
lea eax, [ebp - 0x410]
push str._s___ld_
push eax
call fcn.00441710
add esp, 0x10
jmp 0x49848e
push ebx
lea eax, [ebp - 0x410]
push 0x551330
push eax
call fcn.00441710
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 - 0x537], 0
jne 0x4984ba
mov dword [esi + 0x170], 0xff96ff96
cmp byte [ebp + edi - 0x537], 1
jne 0x4984ce
mov dword [esi + 0x170], 0xffff9696
cmp byte [ebp + edi - 0x537], 0xe
jne 0x4984e2
mov dword [esi + 0x170], 0xff9696ff
cmp byte [ebp + edi - 0x537], 2
jne 0x4984f6
mov dword [esi + 0x170], 0xffff96ff
cmp byte [ebp + edi - 0x537], 9
jne 0x49850a
mov dword [esi + 0x170], 0xffffeb96
cmp byte [ebp + edi - 0x537], 0xa
jne 0x49851e
mov dword [esi + 0x170], 0xffd27300
cmp byte [ebp + edi - 0x537], 3
jne 0x498532
mov dword [esi + 0x170], 0xffffff96
cmp byte [ebp + edi - 0x537], 4
jne 0x498546
mov dword [esi + 0x170], 0xff96ffff
cmp byte [ebp + edi - 0x537], 8
jne 0x49855a
mov dword [esi + 0x170], 0xffff73c8
cmp byte [ebp + edi - 0x537], 0xb
jne 0x49856e
mov dword [esi + 0x170], 0xff64ff64
cmp byte [ebp + edi - 0x537], 0xc
jne 0x498582
mov dword [esi + 0x170], 0xff32ff64
cmp byte [ebp + edi - 0x537], 0xd
jne 0x498596
mov dword [esi + 0x170], 0xff00ff64
cmp byte [ebp + edi - 0x537], 0xf
jne 0x4985aa
mov dword [esi + 0x170], 0xff3264ff
cmp byte [ebp + edi - 0x537], 0x10
jne 0x4985be
mov dword [esi + 0x170], 0xff969637
cmp byte [ebp + edi - 0x537], 0x11
jne 0x4985d2
mov dword [esi + 0x170], 0xffff9637
cmp byte [ebp + edi - 0x537], 0x14
jne 0x4985e6
mov dword [esi + 0x170], 0xffff9637
cmp byte [ebp + edi - 0x537], 0x12
jne 0x4985fa
mov dword [esi + 0x170], 0xffffb437
cmp byte [ebp + edi - 0x537], 0x13
jne 0x49860e
mov dword [esi + 0x170], 0xffffb437
cmp byte [ebp + edi - 0x537], 0x15
jne 0x498622
mov dword [esi + 0x170], 0xffffc8c8
mov edx, dword [ebp - 0x6b0]
mov cl, byte [ebp + edi - 0x537]
movsx eax, cl
mov dword [edx - 8], eax
mov eax, dword [ebp + edi*4 - 0x52c]
mov dword [edx], eax
lea eax, [edi*8]
cmp cl, 1
jne 0x4986d1
cmp byte [ebx], 0
mov dword [ebp - 0x69c], eax
jne 0x498662
mov byte [ebp - 0x410], 0
jmp 0x4986bd
mov edx, dword [ebp + edi*4 - 0x4d4]
cvttsd2si eax, qword [ebp + eax - 0x478]
cvttss2si ecx, dword [ebp + edi*4 - 0x4a4]
cmp edx, 1
jle 0x49869a
push edx
push eax
push ecx
push ebx
lea eax, [ebp - 0x410]
push str._s___d__d___ld_
push eax
call fcn.00441710
add esp, 0x18
jmp 0x4986bd
push eax
push ecx
push ebx
lea eax, [ebp - 0x410]
push str._s___d__d_
push eax
call fcn.00441710
mov eax, dword [ebp - 0x69c]
add esp, 0x14
mov dword [ebp - 0x69c], eax
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [ebp - 0x69c]
cmp byte [ebp + edi - 0x537], 6
lea eax, [ebp + eax - 0x478]
mov dword [ebp - 0x69c], eax
jne 0x4987ba
cmp byte [ebx], 0
jne 0x49870b
mov byte [ebp - 0x410], 0
lea ecx, [ebp - 0x410]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
jmp 0x4987c0
movsd xmm1, qword [0x559398]
xorps xmm0, xmm0
movlpd qword [ebp - 0x6c8], xmm0
movsd xmm0, qword [eax]
comisd xmm0, xmm1
jb 0x498754
subsd xmm0, xmm1
comisd xmm1, xmm0
jbe 0x498754
mov eax, dword [ebp - 0x6c8]
add eax, 0
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp - 0x6c4]
adc eax, 0x80000000
mov dword [ebp - 0x6bc], eax
jmp 0x49876c
mov eax, dword [ebp - 0x6c4]
mov dword [ebp - 0x6bc], eax
mov eax, dword [ebp - 0x6c8]
mov dword [ebp - 0x6c0], eax
call fcn.004de020
add eax, dword [ebp - 0x6c0]
adc edx, dword [ebp - 0x6bc]
push edx
push eax
cvttss2si eax, dword [ebp + edi*4 - 0x4a4]
push eax
push ebx
lea eax, [ebp - 0x410]
push str._s__d___llu_
push eax
call fcn.00441710
mov eax, dword [ebp - 0x69c]
lea ecx, [ebp - 0x410]
add esp, 0x18
mov dword [ebp - 0x69c], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
jmp 0x4987c0
mov dword [ebp - 0x69c], eax
cmp byte [ebp + edi - 0x537], 3
jne 0x498802
cmp byte [ebx], 0
jne 0x4987d8
mov byte [ebp - 0x410], 0
jmp 0x4987f4
push dword [ebp + edi*4 - 0x4d4]
lea eax, [ebp - 0x410]
push ebx
push str._s___d_
push eax
call fcn.00441710
add esp, 0x10
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, esi
call dword [eax + 0x30]
cmp byte [ebp + edi - 0x537], 2
jne 0x4988d4
cmp byte [ebx], 0
jne 0x498821
mov byte [ebp - 0x410], 0
jmp 0x4988c6
mov eax, dword [ebp - 0x69c]
movss xmm2, dword [0x551298]
movsd xmm0, qword [eax]
divsd xmm0, qword [0x559388]
mulsd xmm0, qword [0x5593b0]
cvtpd2ps xmm1, xmm0
comiss xmm2, xmm1
movaps xmm0, xmm1
jbe 0x498857
mulss xmm0, dword [0x5512cc]
mov eax, str._s___d__dm_
mov ecx, str._s___d__dh_
cmova ecx, eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, dword [ebp + edi*4 - 0x4a4]
neg eax
push eax
push ebx
push ecx
lea eax, [ebp - 0x410]
push eax
call fcn.00441710
add esp, 0x14
cmp dword [ebp + edi*4 - 0x4d4], 1
jle 0x4988c6
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4988a0
push dword [ebp + edi*4 - 0x4d4]
sub ecx, edx
lea eax, [ebp - 0x410]
add eax, ecx
push 0x556654
push eax
call fcn.00441710
add esp, 0xc
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, esi
call dword [eax + 0x30]
cmp byte [ebp + edi - 0x537], 0xe
jne 0x49899a
cmp byte [ebx], 0
jne 0x4988f3
mov byte [ebp - 0x410], 0
jmp 0x49898c
mov eax, dword [ebp - 0x69c]
movsd xmm1, qword [0x5593b8]
cvttss2si ecx, dword [ebp + edi*4 - 0x4a4]
movsd xmm0, qword [eax]
ucomisd xmm1, xmm0
lahf
neg ecx
test ah, 0x44
jp 0x498932
push ecx
push ebx
lea eax, [ebp - 0x410]
push str._s___d_
push eax
call fcn.00441710
add esp, 0x10
jmp 0x49894d
cvttsd2si eax, xmm0
push eax
push ecx
push ebx
lea eax, [ebp - 0x410]
push str._s___d__dc_
push eax
call fcn.00441710
add esp, 0x14
mov edx, dword [ebp + edi*4 - 0x4d4]
cmp edx, 1
jle 0x49898c
lea ecx, [ebp - 0x410]
lea eax, [ecx + 1]
mov dword [ebp - 0x6c4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x498968
sub ecx, dword [ebp - 0x6c4]
lea eax, [ebp - 0x410]
push edx
add eax, ecx
push 0x556654
push eax
call fcn.00441710
add esp, 0xc
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, esi
call dword [eax + 0x30]
add dword [ebp - 0x6b0], 0x5c
inc edi
mov esi, dword [ebp - 0x6a4]
add ebx, 0x20
cmp edi, dword [ebp - 0x6a8]
jl 0x498430
jmp 0x499049
mov al, byte [ebp - 0x413]
cmp al, 6
je 0x498ccd
cmp al, 7
je 0x498ccd
cmp al, 0xb
je 0x498ccd
test al, al
je 0x498ccd
cmp al, 0xc
jne 0x498a98
mov edi, dword [ebp - 0x6a4]
mov ecx, edi
push 1
call fcn.00499cc0
mov ecx, dword [edi + 0x2b8]
push 0x3c
add ecx, 0x140
call fcn.00450a20
test eax, eax
jne 0x498a32
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2dc]
add ecx, 0x140
call fcn.00450990
mov ecx, dword [edi + 0x2b8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [edi + 0x2dc]
mov eax, dword [ebp - 0x4a8]
add ecx, 0x140
push 0x3d
mov dword [edi + 0x23d4], eax
call fcn.00450a20
push dword [ebp - 0x417]
mov esi, eax
lea eax, [ebp - 0x410]
push dword [ebp - 0x41b]
push str.Bank:__lld
push eax
call fcn.00441710
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
add esp, 0x10
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [ebp - 0x420]
mov dword [edi + 0x23a8], eax
mov eax, dword [edi + 0x2dc]
jmp 0x498d98
cmp al, 8
jne 0x498bbb
mov edi, dword [ebp - 0x6a4]
push 0x2e
mov ecx, dword [edi + 0x2b8]
add ecx, 0x140
call fcn.00450a20
test eax, eax
je 0x498ad4
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2d0]
add ecx, 0x140
call fcn.00450d30
mov ecx, dword [edi + 0x2b8]
push 0x3c
add ecx, 0x140
call fcn.00450a20
test eax, eax
je 0x498b02
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2dc]
add ecx, 0x140
call fcn.00450d30
mov ecx, dword [edi + 0x2b8]
push 0x4c
add ecx, 0x140
call fcn.00450a20
test eax, eax
jne 0x498b3b
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2d8]
add ecx, 0x140
call fcn.00450990
mov ecx, dword [edi + 0x2b8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x420]
mov dword [edi + 0x23b8], eax
mov eax, dword [edi + 0x2d8]
push 0x4d
mov dword [ebp - 0x6a8], eax
mov dword [ebp - 0x6a4], 0x50
lea ecx, [eax + 0x140]
call fcn.00450a20
push dword [ebp - 0x417]
lea ecx, [edi + 0x2418]
mov esi, eax
push dword [ebp - 0x41b]
lea eax, [ebp - 0x410]
push ecx
push str._s:__lld
push eax
call fcn.00441710
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
add esp, 0x14
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [ebp - 0x6a8]
mov ecx, 0x1d30
mov dword [esi + 0x170], 0xfffff0be
jmp 0x498da7
cmp al, 9
jne 0x499049
mov edi, dword [ebp - 0x6a4]
push 0x2e
mov ecx, dword [edi + 0x2b8]
add ecx, 0x140
call fcn.00450a20
test eax, eax
je 0x498bf7
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2d0]
add ecx, 0x140
call fcn.00450d30
mov ecx, dword [edi + 0x2b8]
push 0x3c
add ecx, 0x140
call fcn.00450a20
test eax, eax
je 0x498c25
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2dc]
add ecx, 0x140
call fcn.00450d30
mov ecx, dword [edi + 0x2b8]
push 0x3e
add ecx, 0x140
call fcn.00450a20
test eax, eax
jne 0x498c5e
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2d4]
add ecx, 0x140
call fcn.00450990
mov ecx, dword [edi + 0x2b8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [ebp - 0x420]
mov dword [edi + 0x23b4], eax
mov eax, dword [edi + 0x2d4]
push 0x3f
mov dword [ebp - 0x6a8], eax
mov dword [ebp - 0x6a4], 0x42
lea ecx, [eax + 0x140]
call fcn.00450a20
push dword [ebp - 0x417]
mov esi, eax
lea eax, [ebp - 0x410]
push dword [ebp - 0x41b]
push str.You:__lld
push eax
call fcn.00441710
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
add esp, 0x10
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [ebp - 0x6a8]
mov ecx, 0x16b8
jmp 0x498da7
mov edi, dword [ebp - 0x6a4]
mov ecx, edi
push 1
call fcn.00499cc0
mov ecx, dword [edi + 0x2b8]
push 0x2e
add ecx, 0x140
call fcn.00450a20
test eax, eax
jne 0x498d15
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2d0]
add ecx, 0x140
call fcn.00450990
mov ecx, dword [edi + 0x2b8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [edi + 0x2d0]
mov eax, dword [ebp - 0x4a8]
add ecx, 0x140
push 0x2f
mov dword [edi + 0x23d4], eax
call fcn.00450a20
mov esi, eax
movsx eax, byte [ebp - 0x413]
cmp eax, 0xc
ja case.0x498d49.1
movzx ecx, byte [eax + 0x4990a8]
jmp dword [ecx*4 + 0x499090]
mov edx, dword [esi]
mov ecx, esi
push str.Trader
call dword [edx + 0x30]
jmp 0x498d86
push str.Trainer
jmp 0x498d7f
push str.Tower_Chest
jmp 0x498d7f
push str.Ground
jmp 0x498d7f
push str.Account_Storage
jmp 0x498d7f
push 0x550d1c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [ebp - 0x420]
mov dword [edi + 0x23a8], eax
mov eax, dword [edi + 0x2d0]
mov ecx, 0x9c8
mov dword [ebp - 0x6a4], 0x32
lea edx, [eax + 0x140]
xor ebx, ebx
lea eax, [ebp - 0x697]
mov dword [ebp - 0x6c4], edx
mov dword [ebp - 0x69c], eax
lea eax, [edi + ecx]
mov dword [ebp - 0x6a8], eax
lea ecx, [ebp - 0x537]
mov eax, dword [ebp - 0x6a4]
sub eax, ecx
mov dword [ebp - 0x6a4], eax
nop
lea edi, [ebp - 0x537]
mov ecx, edx
add edi, ebx
add eax, edi
push eax
call fcn.00450a20
mov esi, eax
mov eax, dword [ebp - 0x69c]
cmp byte [eax], 0
jne 0x498e08
mov byte [ebp - 0x410], 0
jmp 0x498e4f
mov ecx, dword [ebp + ebx*4 - 0x4d4]
cmp ecx, 1
jle 0x498e33
push ecx
push dword [ebp + ebx*4 - 0x500]
push eax
lea eax, [ebp - 0x410]
push str._s__ldg___ld_
push eax
call fcn.00441710
add esp, 0x14
jmp 0x498e4f
push dword [ebp + ebx*4 - 0x500]
push eax
lea eax, [ebp - 0x410]
push str._s__ldg
push eax
call fcn.00441710
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 0x498e76
mov dword [esi + 0x170], 0xff96ff96
cmp byte [edi], 1
jne 0x498e85
mov dword [esi + 0x170], 0xffff9696
cmp byte [edi], 0xe
jne 0x498e94
mov dword [esi + 0x170], 0xff9696ff
cmp byte [edi], 2
jne 0x498ea3
mov dword [esi + 0x170], 0xffff96ff
cmp byte [edi], 9
jne 0x498eb2
mov dword [esi + 0x170], 0xffffeb96
cmp byte [edi], 0xa
jne 0x498ec1
mov dword [esi + 0x170], 0xffd27300
cmp byte [edi], 3
jne 0x498ed0
mov dword [esi + 0x170], 0xffffff96
cmp byte [edi], 4
jne 0x498edf
mov dword [esi + 0x170], 0xff96ffff
cmp byte [edi], 8
jne 0x498eee
mov dword [esi + 0x170], 0xffff73c8
cmp byte [edi], 0xb
jne 0x498efd
mov dword [esi + 0x170], 0xff64ff64
cmp byte [edi], 0xc
jne 0x498f0c
mov dword [esi + 0x170], 0xff32ff64
cmp byte [edi], 0xd
jne 0x498f1b
mov dword [esi + 0x170], 0xff00ff64
cmp byte [edi], 0xf
jne 0x498f2a
mov dword [esi + 0x170], 0xff3264ff
cmp byte [edi], 0x10
jne 0x498f39
mov dword [esi + 0x170], 0xff969637
cmp byte [edi], 0x11
jne 0x498f48
mov dword [esi + 0x170], 0xffff9637
cmp byte [edi], 0x14
jne 0x498f57
mov dword [esi + 0x170], 0xffff9637
cmp byte [edi], 0x12
jne 0x498f66
mov dword [esi + 0x170], 0xffffb437
cmp byte [edi], 0x13
jne 0x498f75
mov dword [esi + 0x170], 0xffffb437
mov edx, dword [ebp - 0x6a8]
movsx eax, byte [edi]
cmp byte [edi], 1
mov edi, dword [ebp - 0x69c]
mov dword [edx - 8], eax
mov eax, dword [ebp + ebx*4 - 0x52c]
mov dword [edx], eax
jne 0x499021
cmp byte [edi], 0
jne 0x498fa7
mov byte [ebp - 0x410], 0
jmp 0x49900d
mov ecx, dword [ebp + ebx*4 - 0x4d4]
cvttsd2si eax, qword [ebp + ebx*8 - 0x478]
cmp ecx, 1
jle 0x498fe6
push ecx
push eax
cvttss2si eax, dword [ebp + ebx*4 - 0x4a4]
push eax
push dword [ebp + ebx*4 - 0x500]
lea eax, [ebp - 0x410]
push edi
push str._s__ldg___d__d___ld_
push eax
call fcn.00441710
add esp, 0x1c
jmp 0x49900d
push eax
cvttss2si eax, dword [ebp + ebx*4 - 0x4a4]
push eax
push dword [ebp + ebx*4 - 0x500]
lea eax, [ebp - 0x410]
push edi
push str._s__ldg___d__d_
push eax
call fcn.00441710
add esp, 0x18
mov eax, dword [esi]
lea ecx, [ebp - 0x410]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov edx, dword [ebp - 0x6a8]
mov eax, dword [ebp - 0x6a4]
add edx, 0x5c
inc ebx
mov dword [ebp - 0x6a8], edx
mov edx, dword [ebp - 0x6c4]
add edi, 0x20
mov dword [ebp - 0x69c], edi
cmp ebx, 9
jl 0x498de0
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.004ddd4a
mov esp, ebp
pop ebp
ret 8