Function at 0x501bc0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca847
mov eax, dword fs:[0]
push eax
sub esp, 0x6cc
mov eax, dword [0x62c7a8]
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.005596ac
add esp, 4
mov dword [ebp - 0x6c4], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x501c2f
push 0x286
mov ecx, eax
call fcn.00448260
mov ebx, eax
mov dword [ebp - 0x6cc], eax
jmp 0x501c37
xor ebx, ebx
mov dword [ebp - 0x6cc], ebx
push dword [ebp + 0xc]
mov ecx, ebx
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.004487a0
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.004482c0
lea eax, [ebp - 0x69d]
mov ecx, ebx
push eax
call fcn.004482c0
mov al, byte [ebp - 0x69d]
mov ecx, ebx
mov byte [ebp - 0x41c], al
lea eax, [ebp - 0x69d]
push eax
call fcn.004482c0
cmp byte [ebp - 0x41c], 0
mov al, byte [ebp - 0x69d]
mov byte [ebp - 0x413], al
je 0x501cc7
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.004482a0
mov eax, dword [ebp - 0x6bc]
cmp byte [eax], 0xff
jne 0x501d2e
mov byte [ebp + esi - 0x697], 0
jmp 0x501ea2
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.004482a0
cmp byte [esi], 0
je 0x501d66
inc ebx
cmp ebx, 0x3e8
jl 0x501d40
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.00448360
push esi
mov ecx, ebx
call fcn.00448360
lea eax, [esi - 0x2c]
mov ecx, ebx
push eax
call fcn.00448360
mov ecx, dword [ebp - 0x6bc]
movsx eax, byte [ecx]
dec eax
cmp eax, 0xd
ja case.0x501dad.4
movzx eax, byte [eax + 0x502cc0]
jmp dword [eax*4 + 0x502ca8]
lea eax, [ebp - 0x6b4]
mov ecx, ebx
push eax
call fcn.00448360
movd xmm0, dword [ebp - 0x6b4]
cvtdq2ps xmm0, xmm0
movss dword [edi], xmm0
lea eax, [ebp - 0x6b4]
mov ecx, ebx
push eax
call fcn.00448360
movd xmm0, dword [ebp - 0x6b4]
jmp 0x501e87
lea eax, [ebp - 0x6b8]
mov ecx, ebx
push eax
call fcn.00448320
movd xmm0, dword [ebp - 0x6b8]
cvtdq2ps xmm0, xmm0
movss dword [edi], xmm0
jmp 0x501e71
lea eax, [ebp - 0x6d0]
mov ecx, ebx
push eax
call fcn.00448380
mov eax, dword [ebp - 0x6d0]
mov ecx, ebx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5d2230]
lea eax, [ebp - 0x6d8]
push eax
cvtpd2ps xmm0, xmm0
movss dword [edi], xmm0
call fcn.00448570
mov edx, dword [ebp - 0x6d4]
mov ecx, dword [ebp - 0x6d8]
call fcn.00559aa0
jmp 0x501e8d
push edi
mov ecx, ebx
call fcn.004483a0
jmp 0x501dd1
push edi
mov ecx, ebx
call fcn.004483a0
lea eax, [ebp - 0x6b8]
mov ecx, ebx
push eax
call fcn.00448320
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 0x501d00
lea eax, [ebp - 0x4a8]
mov ecx, ebx
push eax
call fcn.00448360
lea eax, [ebp - 0x41b]
mov ecx, ebx
push eax
call fcn.00448550
lea eax, [ebp - 0x420]
mov ecx, ebx
push eax
call fcn.00448320
mov ecx, ebx
call fcn.00448290
push 0x14
push ebx
call fcn.005596dc
mov edi, dword [ebp - 0x6c0]
add esp, 8
cmp byte [ebp - 0x41c], 0
je 0x5025fc
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 0x502002
push 0x22
add ecx, 0x140
call fcn.0044df00
push 0x5d2ad4
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, dword [esi + 0x2c0]
push 0x23
add ecx, 0x140
call fcn.0044df00
push 0x5d2ad4
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, dword [esi + 0x2c0]
push 0x1c
add ecx, 0x140
call fcn.0044df00
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.0043d380
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 0x50204b
cmp eax, 0xc9
jne 0x502011
mov eax, dword [esi + 0x144]
jmp 0x502026
cmp eax, 0xca
jne 0x502020
mov eax, dword [esi + 0x148]
jmp 0x502026
mov eax, dword [esi + 0x140]
mov dword [ecx + 0x164], eax
mov ecx, dword [esi + 0x2c0]
push 0x1c
add ecx, 0x140
call fcn.0044df00
push 0x5d2ad4
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.0044df00
cmp byte [ebx], 0
mov esi, eax
jne 0x502095
mov byte [ebp - 0x410], 0
jmp 0x5020ce
mov eax, dword [ebp + edi*4 - 0x4d4]
cmp eax, 1
jle 0x5020b9
push eax
push ebx
lea eax, [ebp - 0x410]
push str._s___ld_
push eax
call fcn.0043d380
add esp, 0x10
jmp 0x5020ce
push ebx
lea eax, [ebp - 0x410]
push 0x5d30e0
push eax
call fcn.0043d380
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 0x5020fa
mov dword [esi + 0x170], 0xff96ff96
cmp byte [ebp + edi - 0x537], 1
jne 0x50210e
mov dword [esi + 0x170], 0xffff9696
cmp byte [ebp + edi - 0x537], 0xe
jne 0x502122
mov dword [esi + 0x170], 0xff9696ff
cmp byte [ebp + edi - 0x537], 2
jne 0x502136
mov dword [esi + 0x170], 0xffff96ff
cmp byte [ebp + edi - 0x537], 9
jne 0x50214a
mov dword [esi + 0x170], 0xffffeb96
cmp byte [ebp + edi - 0x537], 0xa
jne 0x50215e
mov dword [esi + 0x170], 0xffd27300
cmp byte [ebp + edi - 0x537], 3
jne 0x502172
mov dword [esi + 0x170], 0xffffff96
cmp byte [ebp + edi - 0x537], 4
jne 0x502186
mov dword [esi + 0x170], 0xff96ffff
cmp byte [ebp + edi - 0x537], 8
jne 0x50219a
mov dword [esi + 0x170], 0xffff73c8
cmp byte [ebp + edi - 0x537], 0xb
jne 0x5021ae
mov dword [esi + 0x170], 0xff64ff64
cmp byte [ebp + edi - 0x537], 0xc
jne 0x5021c2
mov dword [esi + 0x170], 0xff32ff64
cmp byte [ebp + edi - 0x537], 0xd
jne 0x5021d6
mov dword [esi + 0x170], 0xff00ff64
cmp byte [ebp + edi - 0x537], 0xf
jne 0x5021ea
mov dword [esi + 0x170], 0xff3264ff
cmp byte [ebp + edi - 0x537], 0x10
jne 0x5021fe
mov dword [esi + 0x170], 0xff969637
cmp byte [ebp + edi - 0x537], 0x11
jne 0x502212
mov dword [esi + 0x170], 0xffff9637
cmp byte [ebp + edi - 0x537], 0x14
jne 0x502226
mov dword [esi + 0x170], 0xffff9637
cmp byte [ebp + edi - 0x537], 0x12
jne 0x50223a
mov dword [esi + 0x170], 0xffffb437
cmp byte [ebp + edi - 0x537], 0x13
jne 0x50224e
mov dword [esi + 0x170], 0xffffb437
cmp byte [ebp + edi - 0x537], 0x15
jne 0x502262
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 0x502311
cmp byte [ebx], 0
mov dword [ebp - 0x69c], eax
jne 0x5022a2
mov byte [ebp - 0x410], 0
jmp 0x5022fd
mov edx, dword [ebp + edi*4 - 0x4d4]
cvttsd2si eax, qword [ebp + eax - 0x478]
cvttss2si ecx, dword [ebp + edi*4 - 0x4a4]
cmp edx, 1
jle 0x5022da
push edx
push eax
push ecx
push ebx
lea eax, [ebp - 0x410]
push str._s___d__d___ld_
push eax
call fcn.0043d380
add esp, 0x18
jmp 0x5022fd
push eax
push ecx
push ebx
lea eax, [ebp - 0x410]
push str._s___d__d_
push eax
call fcn.0043d380
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 0x5023fa
cmp byte [ebx], 0
jne 0x50234b
mov byte [ebp - 0x410], 0
lea ecx, [ebp - 0x410]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
jmp 0x502400
movsd xmm1, qword [0x5d6e78]
xorps xmm0, xmm0
movlpd qword [ebp - 0x6c8], xmm0
movsd xmm0, qword [eax]
comisd xmm0, xmm1
jb 0x502394
subsd xmm0, xmm1
comisd xmm1, xmm0
jbe 0x502394
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 0x5023ac
mov eax, dword [ebp - 0x6c4]
mov dword [ebp - 0x6bc], eax
mov eax, dword [ebp - 0x6c8]
mov dword [ebp - 0x6c0], eax
call fcn.005599f0
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.0043d380
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 0x502400
mov dword [ebp - 0x69c], eax
cmp byte [ebp + edi - 0x537], 3
jne 0x502442
cmp byte [ebx], 0
jne 0x502418
mov byte [ebp - 0x410], 0
jmp 0x502434
push dword [ebp + edi*4 - 0x4d4]
lea eax, [ebp - 0x410]
push ebx
push str._s___d_
push eax
call fcn.0043d380
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 0x502514
cmp byte [ebx], 0
jne 0x502461
mov byte [ebp - 0x410], 0
jmp 0x502506
mov eax, dword [ebp - 0x69c]
movss xmm2, dword [0x5d3048]
movsd xmm0, qword [eax]
divsd xmm0, qword [0x5e3f00]
mulsd xmm0, qword [0x5e3f18]
cvtpd2ps xmm1, xmm0
comiss xmm2, xmm1
movaps xmm0, xmm1
jbe 0x502497
mulss xmm0, dword [0x5d307c]
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.0043d380
add esp, 0x14
cmp dword [ebp + edi*4 - 0x4d4], 1
jle 0x502506
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5024e0
push dword [ebp + edi*4 - 0x4d4]
sub ecx, edx
lea eax, [ebp - 0x410]
add eax, ecx
push 0x5e11dc
push eax
call fcn.0043d380
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 0x5025da
cmp byte [ebx], 0
jne 0x502533
mov byte [ebp - 0x410], 0
jmp 0x5025cc
mov eax, dword [ebp - 0x69c]
movsd xmm1, qword [0x5e3f20]
cvttss2si ecx, dword [ebp + edi*4 - 0x4a4]
movsd xmm0, qword [eax]
ucomisd xmm1, xmm0
lahf
neg ecx
test ah, 0x44
jp 0x502572
push ecx
push ebx
lea eax, [ebp - 0x410]
push str._s___d_
push eax
call fcn.0043d380
add esp, 0x10
jmp 0x50258d
cvttsd2si eax, xmm0
push eax
push ecx
push ebx
lea eax, [ebp - 0x410]
push str._s___d__dc_
push eax
call fcn.0043d380
add esp, 0x14
mov edx, dword [ebp + edi*4 - 0x4d4]
cmp edx, 1
jle 0x5025cc
lea ecx, [ebp - 0x410]
lea eax, [ecx + 1]
mov dword [ebp - 0x6c4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5025a8
sub ecx, dword [ebp - 0x6c4]
lea eax, [ebp - 0x410]
push edx
add eax, ecx
push 0x5e11dc
push eax
call fcn.0043d380
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 0x502070
jmp 0x502c89
mov al, byte [ebp - 0x413]
cmp al, 6
je 0x50290d
cmp al, 7
je 0x50290d
cmp al, 0xb
je 0x50290d
test al, al
je 0x50290d
cmp al, 0xc
jne 0x5026d8
mov edi, dword [ebp - 0x6a4]
mov ecx, edi
push 1
call fcn.00503910
mov ecx, dword [edi + 0x2b8]
push 0x3c
add ecx, 0x140
call fcn.0044df00
test eax, eax
jne 0x502672
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2dc]
add ecx, 0x140
call fcn.0044de70
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.0044df00
push dword [ebp - 0x417]
mov esi, eax
lea eax, [ebp - 0x410]
push dword [ebp - 0x41b]
push str.Bank:__lld
push eax
call fcn.0043d380
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 0x5029d8
cmp al, 8
jne 0x5027fb
mov edi, dword [ebp - 0x6a4]
push 0x2e
mov ecx, dword [edi + 0x2b8]
add ecx, 0x140
call fcn.0044df00
test eax, eax
je 0x502714
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2d0]
add ecx, 0x140
call fcn.0044e210
mov ecx, dword [edi + 0x2b8]
push 0x3c
add ecx, 0x140
call fcn.0044df00
test eax, eax
je 0x502742
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2dc]
add ecx, 0x140
call fcn.0044e210
mov ecx, dword [edi + 0x2b8]
push 0x4c
add ecx, 0x140
call fcn.0044df00
test eax, eax
jne 0x50277b
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2d8]
add ecx, 0x140
call fcn.0044de70
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.0044df00
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.0043d380
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 0x5029e7
cmp al, 9
jne 0x502c89
mov edi, dword [ebp - 0x6a4]
push 0x2e
mov ecx, dword [edi + 0x2b8]
add ecx, 0x140
call fcn.0044df00
test eax, eax
je 0x502837
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2d0]
add ecx, 0x140
call fcn.0044e210
mov ecx, dword [edi + 0x2b8]
push 0x3c
add ecx, 0x140
call fcn.0044df00
test eax, eax
je 0x502865
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2dc]
add ecx, 0x140
call fcn.0044e210
mov ecx, dword [edi + 0x2b8]
push 0x3e
add ecx, 0x140
call fcn.0044df00
test eax, eax
jne 0x50289e
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2d4]
add ecx, 0x140
call fcn.0044de70
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.0044df00
push dword [ebp - 0x417]
mov esi, eax
lea eax, [ebp - 0x410]
push dword [ebp - 0x41b]
push str.You:__lld
push eax
call fcn.0043d380
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 0x5029e7
mov edi, dword [ebp - 0x6a4]
mov ecx, edi
push 1
call fcn.00503910
mov ecx, dword [edi + 0x2b8]
push 0x2e
add ecx, 0x140
call fcn.0044df00
test eax, eax
jne 0x502955
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2d0]
add ecx, 0x140
call fcn.0044de70
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.0044df00
mov esi, eax
movsx eax, byte [ebp - 0x413]
cmp eax, 0xc
ja case.0x502989.1
movzx ecx, byte [eax + 0x502ce8]
jmp dword [ecx*4 + 0x502cd0]
mov edx, dword [esi]
mov ecx, esi
push str.Trader
call dword [edx + 0x30]
jmp 0x5029c6
push str.Trainer
jmp 0x5029bf
push str.Tower_Chest
jmp 0x5029bf
push str.Ground
jmp 0x5029bf
push str.Account_Storage
jmp 0x5029bf
push 0x5d2ad4
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.0044df00
mov esi, eax
mov eax, dword [ebp - 0x69c]
cmp byte [eax], 0
jne 0x502a48
mov byte [ebp - 0x410], 0
jmp 0x502a8f
mov ecx, dword [ebp + ebx*4 - 0x4d4]
cmp ecx, 1
jle 0x502a73
push ecx
push dword [ebp + ebx*4 - 0x500]
push eax
lea eax, [ebp - 0x410]
push str._s__ldg___ld_
push eax
call fcn.0043d380
add esp, 0x14
jmp 0x502a8f
push dword [ebp + ebx*4 - 0x500]
push eax
lea eax, [ebp - 0x410]
push str._s__ldg
push eax
call fcn.0043d380
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 0x502ab6
mov dword [esi + 0x170], 0xff96ff96
cmp byte [edi], 1
jne 0x502ac5
mov dword [esi + 0x170], 0xffff9696
cmp byte [edi], 0xe
jne 0x502ad4
mov dword [esi + 0x170], 0xff9696ff
cmp byte [edi], 2
jne 0x502ae3
mov dword [esi + 0x170], 0xffff96ff
cmp byte [edi], 9
jne 0x502af2
mov dword [esi + 0x170], 0xffffeb96
cmp byte [edi], 0xa
jne 0x502b01
mov dword [esi + 0x170], 0xffd27300
cmp byte [edi], 3
jne 0x502b10
mov dword [esi + 0x170], 0xffffff96
cmp byte [edi], 4
jne 0x502b1f
mov dword [esi + 0x170], 0xff96ffff
cmp byte [edi], 8
jne 0x502b2e
mov dword [esi + 0x170], 0xffff73c8
cmp byte [edi], 0xb
jne 0x502b3d
mov dword [esi + 0x170], 0xff64ff64
cmp byte [edi], 0xc
jne 0x502b4c
mov dword [esi + 0x170], 0xff32ff64
cmp byte [edi], 0xd
jne 0x502b5b
mov dword [esi + 0x170], 0xff00ff64
cmp byte [edi], 0xf
jne 0x502b6a
mov dword [esi + 0x170], 0xff3264ff
cmp byte [edi], 0x10
jne 0x502b79
mov dword [esi + 0x170], 0xff969637
cmp byte [edi], 0x11
jne 0x502b88
mov dword [esi + 0x170], 0xffff9637
cmp byte [edi], 0x14
jne 0x502b97
mov dword [esi + 0x170], 0xffff9637
cmp byte [edi], 0x12
jne 0x502ba6
mov dword [esi + 0x170], 0xffffb437
cmp byte [edi], 0x13
jne 0x502bb5
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 0x502c61
cmp byte [edi], 0
jne 0x502be7
mov byte [ebp - 0x410], 0
jmp 0x502c4d
mov ecx, dword [ebp + ebx*4 - 0x4d4]
cvttsd2si eax, qword [ebp + ebx*8 - 0x478]
cmp ecx, 1
jle 0x502c26
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.0043d380
add esp, 0x1c
jmp 0x502c4d
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.0043d380
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 0x502a20
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.005596ea
mov esp, ebp
pop ebp
ret 8