Function at 0x47bdd0
Capabilities:
Check http status code

Disassembly:
push ebp
lea ebp, [esp - 0x28c]
sub esp, 0x28c
push 0xffffffffffffffff
push 0x4bc657
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4eac74]
xor eax, ebp
mov dword [ebp + 0x288], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov ebx, dword [ebp + 0x294]
push 0x14
mov byte [ebp], 0x12
call fcn.00495ca1
mov esi, eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
push 0x28a
mov dword [esi + 4], 0x286
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.00495cdf
mov edi, dword [ebp + 0x298]
add esp, 8
mov dword [esi], eax
mov ecx, dword [esi + 8]
lea eax, [ecx + edi]
cmp eax, dword [esi + 4]
jle 0x47be67
mov dword [esi + 0x10], 1
jmp 0x47be86
mov eax, dword [esi]
push edi
add eax, ecx
push ebx
push eax
call fcn.00498860
mov eax, dword [esi + 8]
add esp, 0xc
add eax, edi
mov dword [esi + 8], eax
cmp dword [esi + 0xc], eax
jge 0x47be86
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0xc]
xor edi, edi
mov dword [esi + 8], 0
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x38], 9
cmp edx, 1
jge 0x47beaf
mov al, byte [ebp - 0x31]
xor ecx, ecx
mov dword [esi + 0x10], 1
jmp 0x47bebf
mov eax, dword [esi]
mov ecx, 1
mov al, byte [eax]
mov dword [esi + 8], 1
lea ebx, [ecx + 1]
cmp ebx, edx
jle 0x47becf
mov dword [esi + 0x10], 1
jmp 0x47bed8
mov eax, dword [esi]
add eax, ecx
mov al, byte [eax]
mov dword [esi + 8], ebx
mov byte [ebp + 0x27c], al
mov ecx, dword [esi + 8]
lea edx, [ecx + 1]
cmp edx, dword [esi + 0xc]
jle 0x47bef2
mov dword [esi + 0x10], 1
jmp 0x47befb
mov eax, dword [esi]
add eax, ecx
mov al, byte [eax]
mov dword [esi + 8], edx
cmp byte [ebp + 0x27c], 0
mov byte [ebp + 0x285], al
je 0x47bf1e
cmp al, 1
mov dword [ebp - 0x38], 0xb
mov ecx, 2
cmove edi, ecx
mov dword [ebp - 0x40], edi
lea eax, [ebp + 0x1f4]
mov dword [ebp - 0x1c], edi
lea eax, [eax + edi*4]
mov dword [ebp - 0x24], eax
lea edx, [ebp + 1]
mov eax, edi
shl eax, 5
add eax, edx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
cmp eax, dword [esi + 0xc]
jle 0x47bf66
mov dword [esi + 0x10], 1
jmp 0x47bf78
mov eax, dword [esi]
mov al, byte [eax + ecx]
mov byte [ebp + edx + 0x161], al
inc dword [esi + 8]
mov ecx, dword [esi + 8]
cmp byte [ebp + edx + 0x161], 0xff
jne 0x47bf8a
mov byte [edi], 0
jmp 0x47c228
xor ebx, ebx
nop dword [eax]
mov edx, dword [esi + 0xc]
lea eax, [ecx + 1]
cmp eax, edx
jle 0x47bfa3
mov dword [esi + 0x10], 1
jmp 0x47bfb1
mov eax, dword [esi]
mov al, byte [eax + ecx]
mov byte [edi + ebx], al
inc dword [esi + 8]
mov edx, dword [esi + 0xc]
cmp byte [edi + ebx], 0
mov eax, 0x3e8
mov ecx, dword [esi + 8]
cmove ebx, eax
inc ebx
cmp ebx, eax
jl 0x47bf90
mov ebx, dword [ebp - 0x24]
lea eax, [ecx + 4]
cmp eax, edx
jle 0x47bfd8
mov dword [esi + 0x10], 1
jmp 0x47bfed
mov eax, dword [esi]
mov eax, dword [eax + ecx]
mov dword [ebx - 0x88], eax
add dword [esi + 8], 4
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea eax, [ecx + 4]
cmp eax, edx
jle 0x47bffd
mov dword [esi + 0x10], 1
jmp 0x47c00f
mov eax, dword [esi]
mov eax, dword [eax + ecx]
mov dword [ebx - 0x30], eax
add dword [esi + 8], 4
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea eax, [ecx + 4]
cmp eax, edx
jle 0x47c01f
mov dword [esi + 0x10], 1
jmp 0x47c02e
mov eax, dword [esi]
mov eax, dword [eax + ecx]
mov dword [ebx - 0x5c], eax
add dword [esi + 8], 4
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x1c]
movsx eax, byte [ebp + eax + 0x161]
dec eax
cmp eax, 0xd
ja case.0x47c04a.4
movzx eax, byte [eax + 0x47d37c]
jmp dword [eax*4 + 0x47d364]
lea edx, [ecx + 4]
cmp edx, dword [esi + 0xc]
jle 0x47c065
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x10], 1
jmp 0x47c070
mov eax, dword [esi]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x3c], eax
mov dword [esi + 8], edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx], xmm0
mov ecx, dword [esi + 8]
lea edx, [ecx + 4]
cmp edx, dword [esi + 0xc]
jle 0x47c08f
mov dword [esi + 0x10], 1
jmp 0x47c09a
mov eax, dword [esi]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x3c], eax
mov dword [esi + 8], edx
mov edx, dword [ebp - 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
movsd qword [ebp + edx*8 + 0x220], xmm0
jmp 0x47c228
lea edx, [ecx + 4]
cmp edx, dword [esi + 0xc]
jle 0x47c0c9
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], 1
jmp 0x47c0d4
mov eax, dword [esi]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x20], eax
mov dword [esi + 8], edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebx], xmm0
mov ecx, dword [esi + 8]
lea edx, [ecx + 4]
cmp edx, dword [esi + 0xc]
jle 0x47c0f3
mov dword [esi + 0x10], 1
jmp 0x47c09a
mov eax, dword [esi]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x20], eax
jmp 0x47c097
lea edx, [ecx + 4]
cmp edx, dword [esi + 0xc]
jle 0x47c111
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x10], 1
jmp 0x47c11c
mov eax, dword [esi]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x44], eax
mov dword [esi + 8], edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4e02c0]
cvtpd2ps xmm0, xmm0
movss dword [ebx], xmm0
mov ecx, dword [esi + 8]
lea edx, [ecx + 8]
cmp edx, dword [esi + 0xc]
jle 0x47c166
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x10], 1
call fcn.004b9860
mov edx, dword [ebp - 0x1c]
movsd qword [ebp + edx*8 + 0x220], xmm0
jmp 0x47c228
mov eax, dword [esi]
movq xmm0, qword [eax + ecx]
movq qword [ebp - 0x2c], xmm0
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 8], edx
mov edx, dword [ebp - 0x28]
call fcn.004b9860
mov edx, dword [ebp - 0x1c]
movsd qword [ebp + edx*8 + 0x220], xmm0
jmp 0x47c228
mov edx, dword [esi + 0xc]
lea eax, [ecx + 4]
cmp eax, edx
jle 0x47c1a4
mov dword [esi + 0x10], 1
jmp 0x47c1b5
mov eax, dword [esi]
mov eax, dword [eax + ecx]
mov dword [ebx], eax
add dword [esi + 8], 4
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea ebx, [ecx + 4]
cmp ebx, edx
jle 0x47c1cb
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x10], 1
jmp 0x47c09a
mov eax, dword [esi]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x3c], eax
mov dword [esi + 8], ebx
jmp 0x47c09a
mov edx, dword [esi + 0xc]
lea eax, [ecx + 4]
cmp eax, edx
jle 0x47c1ee
mov dword [esi + 0x10], 1
jmp 0x47c1ff
mov eax, dword [esi]
mov eax, dword [eax + ecx]
mov dword [ebx], eax
add dword [esi + 8], 4
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea ebx, [ecx + 4]
cmp ebx, edx
jle 0x47c215
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], 1
jmp 0x47c09a
mov eax, dword [esi]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x20], eax
mov dword [esi + 8], ebx
jmp 0x47c09a
mov edx, dword [ebp - 0x1c]
add dword [ebp - 0x24], 4
inc edx
add edi, 0x20
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x38]
jl 0x47bf52
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea eax, [ecx + 4]
cmp eax, edx
jle 0x47c252
mov dword [esi + 0x10], 1
jmp 0x47c267
mov eax, dword [esi]
mov eax, dword [eax + ecx]
mov dword [ebp + 0x1f0], eax
add dword [esi + 8], 4
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea eax, [ecx + 8]
cmp eax, edx
jle 0x47c277
mov dword [esi + 0x10], 1
jmp 0x47c290
mov eax, dword [esi]
movq xmm0, qword [eax + ecx]
movq qword [ebp + 0x27d], xmm0
add dword [esi + 8], 8
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
lea eax, [ecx + 4]
cmp eax, edx
jle 0x47c2a0
mov dword [esi + 0x10], 1
jmp 0x47c2af
mov eax, dword [esi]
mov eax, dword [eax + ecx]
mov dword [ebp + 0x278], eax
add dword [esi + 8], 4
push 1
push dword [esi]
call fcn.00495cd1
push 0x14
push esi
call fcn.00495cd1
add esp, 0x10
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push 0x400
mov ecx, eax
call fcn.004349e0
cmp byte [ebp + 0x27c], 0
mov edi, dword [ebp - 0x40]
je 0x47caf6
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp + 0x278]
mov dword [esi + 0x23a4], eax
mov eax, dword [ebp + 0x27d]
mov dword [esi + 0x23e0], eax
mov eax, dword [ebp + 0x281]
mov dword [esi + 0x23e4], eax
mov eax, dword [esi + 0x23bc]
cmp eax, 0xc8
jne 0x47c472
mov edx, dword [esi + 0x2c0]
cmp dword [edx + 0x14c], 0
je 0x47c370
mov ebx, dword [edx + 0x144]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x47c36a
cmp dword [ecx + 4], 0x22
je 0x47c44b
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x47c356
mov dword [edx + 0x148], ebx
xor ecx, ecx
mov eax, dword [ecx]
push 0x4d0d65
call dword [eax + 0x30]
mov edx, dword [esi + 0x2c0]
cmp dword [edx + 0x14c], 0
je 0x47c3ba
mov ebx, dword [edx + 0x144]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x47c3b4
nop dword [eax + eax]
cmp dword [ecx + 4], 0x23
je 0x47c459
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x47c3a0
mov dword [edx + 0x148], ebx
xor ecx, ecx
mov eax, dword [ecx]
push 0x4d0d66
call dword [eax + 0x30]
mov edx, dword [esi + 0x2c0]
cmp dword [edx + 0x14c], 0
je 0x47c3fb
mov ebx, dword [edx + 0x144]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x47c3f5
cmp dword [ecx + 4], 0x1c
je 0x47c467
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x47c3e5
mov dword [edx + 0x148], ebx
xor ebx, ebx
push dword [esi + 0x23e4]
mov eax, dword [ebp - 0x14]
push dword [esi + 0x23e0]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push str._lld
push eax
push ecx
call fcn.0042e9c0
mov eax, dword [ebx]
add esp, 0x14
mov ecx, ebx
push dword [ebp - 0x18]
call dword [eax + 0x30]
mov dword [ebx + 0x170], 0xfffff0be
mov ecx, dword [esi + 0x2c0]
mov eax, dword [esi + 0x13c]
mov dword [ecx + 0x164], eax
jmp 0x47c4f9
mov dword [edx + 0x148], eax
mov ecx, dword [eax + 8]
jmp 0x47c372
mov dword [edx + 0x148], eax
mov ecx, dword [eax + 8]
jmp 0x47c3bc
mov dword [edx + 0x148], eax
mov ebx, dword [eax + 8]
jmp 0x47c3fd
mov ecx, dword [esi + 0x2c0]
push 0x1c
cmp eax, 0xc9
jne 0x47c4a5
mov eax, dword [esi + 0x144]
mov dword [ecx + 0x164], eax
mov ecx, dword [esi + 0x2c0]
add ecx, 0x140
call fcn.00434d00
push 0x4d0daa
jmp 0x47c4f2
cmp eax, 0xca
jne 0x47c4d0
mov eax, dword [esi + 0x148]
mov dword [ecx + 0x164], eax
mov ecx, dword [esi + 0x2c0]
add ecx, 0x140
call fcn.00434d00
push 0x4d0d67
jmp 0x47c4f2
mov eax, dword [esi + 0x140]
mov dword [ecx + 0x164], eax
mov ecx, dword [esi + 0x2c0]
add ecx, 0x140
call fcn.00434d00
push 0x4d0dab
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
mov eax, edi
lea ebx, [ebp + 1]
shl eax, 5
add ebx, eax
imul eax, edi, 0x5c
mov dword [ebp - 0x20], ebx
add eax, 0x350
add eax, esi
mov dword [ebp - 0x24], eax
nop dword [eax]
nop word [eax + eax]
mov edx, dword [esi + 0x2c0]
cmp dword [edx + 0x14c], 0
je 0x47c55e
mov eax, dword [edx + 0x144]
mov esi, dword [eax + 4]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x47c558
nop
lea eax, [edi + 0x22]
cmp dword [ecx + 4], eax
je 0x47c56d
mov esi, dword [esi + 4]
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x47c540
mov eax, dword [edx + 0x144]
mov dword [edx + 0x148], eax
xor esi, esi
cmp byte [ebx], 0
jne 0x47c578
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
jmp 0x47c5b4
mov dword [edx + 0x148], esi
mov esi, dword [esi + 8]
jmp 0x47c560
mov eax, dword [ebp + edi*4 + 0x1c4]
mov ecx, dword [ebp - 0x18]
cmp eax, 1
jle 0x47c59f
push eax
mov eax, dword [ebp - 0x14]
push ebx
push str._s___ld_
sub eax, ecx
push eax
push ecx
call fcn.0042e9c0
add esp, 0x14
jmp 0x47c5b4
mov eax, dword [ebp - 0x14]
push ebx
push 0x4d8720
sub eax, ecx
push eax
push ecx
call fcn.0042e9c0
add esp, 0x10
mov eax, dword [esi]
mov ebx, dword [ebp - 0x18]
mov eax, dword [eax + 0x30]
cmp eax, method.UIRectArtTextButton.virtual_48
jne 0x47d348
mov eax, dword [esi + 0x180]
test eax, eax
je 0x47c5da
push eax
call fcn.00495c9c
add esp, 4
mov dword [esi + 0x180], 0
test ebx, ebx
je 0x47c61e
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47c5f0
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00495cdf
add esp, 4
mov dword [esi + 0x180], eax
nop dword [eax + eax]
mov cl, byte [ebx]
lea ebx, [ebx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x47c610
mov dword [esi + 0x170], 0xffffffff
mov cl, byte [ebp + edi + 0x161]
test cl, cl
jne 0x47c644
mov dword [esi + 0x170], 0xff96ff96
mov cl, byte [ebp + edi + 0x161]
cmp cl, 1
jne 0x47c65a
mov dword [esi + 0x170], 0xffff9696
mov cl, byte [ebp + edi + 0x161]
cmp cl, 0xe
jne 0x47c670
mov dword [esi + 0x170], 0xff9696ff
mov cl, byte [ebp + edi + 0x161]
cmp cl, 2
jne 0x47c686
mov dword [esi + 0x170], 0xffff96ff
mov cl, byte [ebp + edi + 0x161]
cmp cl, 9
jne 0x47c69c
mov dword [esi + 0x170], 0xffffeb96
mov cl, byte [ebp + edi + 0x161]
cmp cl, 0xa
jne 0x47c6b2
mov dword [esi + 0x170], 0xffd27300
mov cl, byte [ebp + edi + 0x161]
cmp cl, 3
jne 0x47c6c8
mov dword [esi + 0x170], 0xffffff96
mov cl, byte [ebp + edi + 0x161]
cmp cl, 4
jne 0x47c6de
mov dword [esi + 0x170], 0xff96ffff
mov cl, byte [ebp + edi + 0x161]
cmp cl, 8
jne 0x47c6f4
mov dword [esi + 0x170], 0xffff73c8
mov cl, byte [ebp + edi + 0x161]
cmp cl, 0xb
jne 0x47c70a
mov dword [esi + 0x170], 0xff64ff64
mov cl, byte [ebp + edi + 0x161]
cmp cl, 0xc
jne 0x47c720
mov dword [esi + 0x170], 0xff32ff64
mov cl, byte [ebp + edi + 0x161]
cmp cl, 0xd
jne 0x47c736
mov dword [esi + 0x170], 0xff00ff64
mov cl, byte [ebp + edi + 0x161]
cmp cl, 0xf
jne 0x47c74c
mov dword [esi + 0x170], 0xff3264ff
mov cl, byte [ebp + edi + 0x161]
cmp cl, 0x10
jne 0x47c762
mov dword [esi + 0x170], 0xff969637
mov cl, byte [ebp + edi + 0x161]
cmp cl, 0x11
jne 0x47c778
mov dword [esi + 0x170], 0xffff9637
mov cl, byte [ebp + edi + 0x161]
cmp cl, 0x14
jne 0x47c78e
mov dword [esi + 0x170], 0xffff9637
mov cl, byte [ebp + edi + 0x161]
cmp cl, 0x12
jne 0x47c7a4
mov dword [esi + 0x170], 0xffffb437
mov cl, byte [ebp + edi + 0x161]
cmp cl, 0x13
jne 0x47c7ba
mov dword [esi + 0x170], 0xffffb437
mov cl, byte [ebp + edi + 0x161]
cmp cl, 0x15
jne 0x47c7d0
mov dword [esi + 0x170], 0xffffc8c8
mov cl, byte [ebp + edi + 0x161]
mov edx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
movsx eax, cl
mov dword [edx - 8], eax
mov eax, dword [ebp + edi*4 + 0x16c]
mov dword [edx], eax
cmp cl, 1
jne 0x47c870
cmp byte [ebx], 0
jne 0x47c7fb
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
jmp 0x47c85f
mov eax, dword [ebp + edi*4 + 0x1c4]
mov ecx, dword [ebp - 0x18]
cmp eax, 1
jle 0x47c836
push eax
cvttsd2si eax, qword [ebp + edi*8 + 0x220]
push eax
cvttss2si eax, dword [ebp + edi*4 + 0x1f4]
push eax
mov eax, dword [ebp - 0x14]
push ebx
push str._s___d__d___ld_
sub eax, ecx
push eax
push ecx
call fcn.0042e9c0
add esp, 0x1c
jmp 0x47c85f
cvttsd2si eax, qword [ebp + edi*8 + 0x220]
push eax
cvttss2si eax, dword [ebp + edi*4 + 0x1f4]
push eax
mov eax, dword [ebp - 0x14]
push ebx
push str._s___d__d_
sub eax, ecx
push eax
push ecx
call fcn.0042e9c0
add esp, 0x18
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x18]
call dword [eax + 0x30]
mov cl, byte [ebp + edi + 0x161]
cmp cl, 6
jne 0x47c8c5
cmp byte [ebx], 0
jne 0x47c882
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
jmp 0x47c8b4
movsd xmm0, qword [ebp + edi*8 + 0x220]
call fcn.004b9740
mov ecx, dword [ebp - 0x18]
push edx
push eax
cvttss2si eax, dword [ebp + edi*4 + 0x1f4]
push eax
mov eax, dword [ebp - 0x14]
push ebx
push str._s__d___llu_
sub eax, ecx
push eax
push ecx
call fcn.0042e9c0
add esp, 0x1c
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x18]
call dword [eax + 0x30]
mov cl, byte [ebp + edi + 0x161]
cmp cl, 3
jne 0x47c907
cmp byte [ebx], 0
jne 0x47c8d7
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
jmp 0x47c8f6
push dword [ebp + edi*4 + 0x1c4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push ebx
push 0x4d874c
push eax
push ecx
call fcn.0042e9c0
add esp, 0x14
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x18]
call dword [eax + 0x30]
mov cl, byte [ebp + edi + 0x161]
cmp cl, 2
jne 0x47c9fe
cmp byte [ebx], 0
jne 0x47c920
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
jmp 0x47c9ed
movsd xmm0, qword [ebp + edi*8 + 0x220]
divsd xmm0, qword [0x4dffc8]
mov ecx, dword [ebp - 0x18]
movss xmm1, dword [0x4dfef0]
mulsd xmm0, qword [0x4e0110]
cvtpd2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x47c96e
mulss xmm0, dword [0x4e0048]
cvttss2si eax, xmm0
push eax
cvttss2si eax, dword [ebp + edi*4 + 0x1f4]
neg eax
push eax
push ebx
push str._s___d__dm_
jmp 0x47c985
cvttss2si eax, xmm0
push eax
cvttss2si eax, dword [ebp + edi*4 + 0x1f4]
neg eax
push eax
push ebx
push str._s___d__dh_
mov eax, dword [ebp - 0x14]
sub eax, ecx
push eax
push ecx
call fcn.0042e9c0
add esp, 0x18
cmp dword [ebp + edi*4 + 0x1c4], 1
jle 0x47c9ed
mov edx, dword [ebp - 0x18]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x28], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47c9b0
sub ecx, dword [ebp - 0x28]
lea eax, [edx + 1]
mov dword [ebp - 0x28], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x47c9c0
push dword [ebp + edi*4 + 0x1c4]
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x18]
sub edx, dword [ebp - 0x28]
sub eax, ecx
push 0x4d8754
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
push eax
call fcn.0042e9c0
add esp, 0x10
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x18]
call dword [eax + 0x30]
mov cl, byte [ebp + edi + 0x161]
cmp cl, 0xe
jne 0x47cada
cmp byte [ebx], 0
jne 0x47ca17
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
jmp 0x47cad0
movsd xmm0, qword [ebp + edi*8 + 0x220]
movsd xmm1, qword [0x4e0138]
mov ecx, dword [ebp - 0x18]
ucomisd xmm1, xmm0
lahf
test ah, 0x44
jp 0x47ca58
cvttss2si eax, dword [ebp + edi*4 + 0x1f4]
neg eax
push eax
mov eax, dword [ebp - 0x14]
push ebx
push str._s___d_
sub eax, ecx
push eax
push ecx
call fcn.0042e9c0
add esp, 0x14
jmp 0x47ca7e
cvttsd2si eax, xmm0
push eax
cvttss2si eax, dword [ebp + edi*4 + 0x1f4]
neg eax
push eax
mov eax, dword [ebp - 0x14]
push ebx
push str._s___d__dc_
sub eax, ecx
push eax
push ecx
call fcn.0042e9c0
add esp, 0x18
cmp dword [ebp + edi*4 + 0x1c4], 1
jle 0x47cad0
mov edx, dword [ebp - 0x18]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x28], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47ca93
sub ecx, dword [ebp - 0x28]
lea eax, [edx + 1]
mov dword [ebp - 0x28], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x47caa3
push dword [ebp + edi*4 + 0x1c4]
mov eax, dword [ebp - 0x14]
sub edx, dword [ebp - 0x28]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0x4d8780
push eax
lea eax, [edx + ecx]
push eax
call fcn.0042e9c0
add esp, 0x10
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x18]
call dword [eax + 0x30]
add dword [ebp - 0x24], 0x5c
inc edi
mov esi, dword [ebp - 0x30]
add ebx, 0x20
mov dword [ebp - 0x20], ebx
cmp edi, dword [ebp - 0x38]
jl 0x47c520
jmp 0x47d2f3
mov al, byte [ebp + 0x285]
cmp al, 6
je 0x47cde2
cmp al, 7
je 0x47cde2
cmp al, 0xb
je 0x47cde2
test al, al
je 0x47cde2
cmp al, 0xc
jne 0x47cbcd
mov ebx, dword [ebp - 0x30]
push ecx
mov ecx, ebx
call fcn.0047fb30
mov ecx, dword [ebx + 0x2b8]
push 0x3c
add ecx, 0x140
call fcn.00434d00
test eax, eax
jne 0x47cb68
mov ecx, dword [ebx + 0x2b8]
push dword [ebx + 0x2dc]
add ecx, 0x140
call fcn.00434c40
mov ecx, dword [ebx + 0x2b8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebx + 0x2dc]
mov eax, dword [ebp + 0x1f0]
add ecx, 0x140
push 0x3d
mov dword [ebx + 0x23d4], eax
call fcn.00434d00
push dword [ebp + 0x281]
mov ecx, dword [ebp - 0x14]
mov esi, eax
push dword [ebp + 0x27d]
mov edx, dword [ebp - 0x18]
sub ecx, edx
push str.Bank:__lld
push ecx
push edx
call fcn.0042e9c0
mov eax, dword [esi]
add esp, 0x14
mov ecx, esi
push dword [ebp - 0x18]
call dword [eax + 0x30]
mov eax, dword [ebp + 0x278]
mov edi, dword [ebx + 0x2dc]
mov dword [ebx + 0x23a8], eax
jmp 0x47cf5f
cmp al, 8
jne 0x47cce0
mov ebx, dword [ebp - 0x30]
push 0x2e
mov ecx, dword [ebx + 0x2b8]
add ecx, 0x140
call fcn.00434d00
test eax, eax
je 0x47cc06
mov ecx, dword [ebx + 0x2b8]
push dword [ebx + 0x2d0]
add ecx, 0x140
call fcn.00434d50
mov ecx, dword [ebx + 0x2b8]
push 0x3c
add ecx, 0x140
call fcn.00434d00
test eax, eax
je 0x47cc34
mov ecx, dword [ebx + 0x2b8]
push dword [ebx + 0x2dc]
add ecx, 0x140
call fcn.00434d50
mov ecx, dword [ebx + 0x2b8]
push 0x4c
add ecx, 0x140
call fcn.00434d00
test eax, eax
jne 0x47cc6d
mov ecx, dword [ebx + 0x2b8]
push dword [ebx + 0x2d8]
add ecx, 0x140
call fcn.00434c40
mov ecx, dword [ebx + 0x2b8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edi, dword [ebx + 0x2d8]
mov eax, dword [ebp + 0x278]
push 0x4d
mov dword [ebx + 0x23b8], eax
lea ecx, [edi + 0x140]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], 0x50
call fcn.00434d00
push dword [ebp + 0x281]
mov edx, dword [ebp - 0x18]
lea ecx, [ebx + 0x2418]
push dword [ebp + 0x27d]
mov esi, eax
push ecx
mov ecx, dword [ebp - 0x14]
push str._s:__lld
sub ecx, edx
push ecx
push edx
call fcn.0042e9c0
mov eax, dword [esi]
add esp, 0x18
mov ecx, esi
push dword [ebp - 0x18]
call dword [eax + 0x30]
mov dword [esi + 0x170], 0xfffff0be
mov eax, 0x1d30
jmp 0x47cf6e
cmp al, 9
jne 0x47d2f3
mov ebx, dword [ebp - 0x30]
push 0x2e
mov ecx, dword [ebx + 0x2b8]
add ecx, 0x140
call fcn.00434d00
test eax, eax
je 0x47cd19
mov ecx, dword [ebx + 0x2b8]
push dword [ebx + 0x2d0]
add ecx, 0x140
call fcn.00434d50
mov ecx, dword [ebx + 0x2b8]
push 0x3c
add ecx, 0x140
call fcn.00434d00
test eax, eax
je 0x47cd47
mov ecx, dword [ebx + 0x2b8]
push dword [ebx + 0x2dc]
add ecx, 0x140
call fcn.00434d50
mov ecx, dword [ebx + 0x2b8]
push 0x3e
add ecx, 0x140
call fcn.00434d00
test eax, eax
jne 0x47cd80
mov ecx, dword [ebx + 0x2b8]
push dword [ebx + 0x2d4]
add ecx, 0x140
call fcn.00434c40
mov ecx, dword [ebx + 0x2b8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edi, dword [ebx + 0x2d4]
mov eax, dword [ebp + 0x278]
push 0x3f
mov dword [ebx + 0x23b4], eax
lea ecx, [edi + 0x140]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], 0x42
call fcn.00434d00
push dword [ebp + 0x281]
mov ecx, dword [ebp - 0x14]
mov esi, eax
push dword [ebp + 0x27d]
mov edx, dword [ebp - 0x18]
sub ecx, edx
push str.You:__lld
push ecx
push edx
call fcn.0042e9c0
mov eax, dword [esi]
add esp, 0x14
mov ecx, esi
push dword [ebp - 0x18]
call dword [eax + 0x30]
mov eax, 0x16b8
jmp 0x47cf6e
mov esi, dword [ebp - 0x30]
push ecx
mov ecx, esi
call fcn.0047fb30
mov edx, dword [esi + 0x2b8]
cmp dword [edx + 0x14c], 0
je 0x47ce2a
mov edi, dword [edx + 0x144]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x47ce24
nop dword [eax]
cmp dword [ecx + 4], 0x2e
je 0x47cf04
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x47ce10
mov dword [edx + 0x148], edi
mov ebx, dword [esi + 0x2b8]
mov ecx, ebx
mov eax, dword [esi + 0x2d0]
mov dword [ebp - 0x28], eax
cmp dword [ebx + 0x14c], 0
je 0x47cea2
test eax, eax
je 0x47cea2
mov eax, dword [ebx + 0x144]
mov edi, dword [ebx + 0x148]
push 0xc
mov esi, dword [eax]
mov dword [ebx + 0x148], esi
call fcn.00495ca1
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], ecx
mov dword [ecx + 4], ecx
mov dword [ecx], ecx
mov dword [ecx + 8], 0
mov dword [ebx + 0x148], ecx
mov dword [ecx + 8], eax
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov dword [ecx], esi
mov dword [esi + 4], ecx
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 0x30]
mov dword [eax], ecx
mov dword [ebx + 0x148], edi
mov ecx, dword [esi + 0x2b8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov edx, dword [esi + 0x2d0]
mov eax, dword [ebp + 0x1f0]
mov dword [esi + 0x23d4], eax
cmp dword [edx + 0x14c], 0
je 0x47cee8
mov edi, dword [edx + 0x144]
mov eax, dword [edi + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x47cee2
cmp dword [ecx + 4], 0x2f
je 0x47cf15
mov eax, dword [eax + 4]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x47ced2
mov dword [edx + 0x148], edi
xor ecx, ecx
movsx eax, byte [ebp + 0x285]
cmp eax, 0xc
ja case.0x47cefd.1
movzx eax, byte [eax + 0x47d3a4]
jmp dword [eax*4 + 0x47d38c]
mov dword [edx + 0x148], eax
cmp dword [eax + 8], 0
jne 0x47cea7
jmp 0x47ce2a
mov dword [edx + 0x148], eax
mov ecx, dword [eax + 8]
jmp 0x47ceea
push str.Trader
jmp 0x47cf48
push str.Trainer
jmp 0x47cf48
push str.Tower_Chest
jmp 0x47cf48
push str.Ground
jmp 0x47cf48
push str.Account_Storage
jmp 0x47cf48
push 0x4d0db5
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [ebp + 0x278]
mov edi, dword [esi + 0x2d0]
mov dword [esi + 0x23a8], eax
mov eax, 0x9c8
mov dword [ebp - 0x24], 0x32
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0x30]
lea ebx, [ebp + 1]
xor esi, esi
mov dword [ebp - 0x20], ebx
add eax, ecx
mov dword [ebp - 0x38], eax
nop
cmp dword [edi + 0x14c], 0
je 0x47cfbd
mov edx, dword [edi + 0x144]
mov edi, dword [edx + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x47cfb4
nop dword [eax]
mov eax, dword [ebp - 0x24]
add eax, esi
cmp dword [ecx + 4], eax
je 0x47cfcc
mov edi, dword [edi + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
jne 0x47cfa0
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x148], edx
xor edi, edi
cmp byte [ebx], 0
jne 0x47cfda
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
jmp 0x47d024
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x148], edi
mov edi, dword [edi + 8]
jmp 0x47cfbf
mov eax, dword [ebp + esi*4 + 0x1c4]
mov ecx, dword [ebp - 0x18]
cmp eax, 1
jle 0x47d008
push eax
push dword [ebp + esi*4 + 0x198]
mov eax, dword [ebp - 0x14]
push ebx
push str._s__ldg___ld_
sub eax, ecx
push eax
push ecx
call fcn.0042e9c0
add esp, 0x18
jmp 0x47d024
push dword [ebp + esi*4 + 0x198]
mov eax, dword [ebp - 0x14]
push ebx
push str._s__ldg
sub eax, ecx
push eax
push ecx
call fcn.0042e9c0
add esp, 0x14
mov eax, dword [edi]
mov ebx, dword [ebp - 0x18]
mov eax, dword [eax + 0x30]
cmp eax, method.UIRectArtTextButton.virtual_48
jne 0x47d352
mov eax, dword [edi + 0x180]
test eax, eax
je 0x47d04a
push eax
call fcn.00495c9c
add esp, 4
mov dword [edi + 0x180], 0
test ebx, ebx
je 0x47d08e
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47d060
sub ecx, edx
lea eax, [ecx + 1]
push eax
call fcn.00495cdf
add esp, 4
mov dword [edi + 0x180], eax
nop dword [eax + eax]
mov cl, byte [ebx]
lea ebx, [ebx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x47d080
mov dword [edi + 0x170], 0xffffffff
mov cl, byte [ebp + esi + 0x161]
test cl, cl
jne 0x47d0b4
mov dword [edi + 0x170], 0xff96ff96
mov cl, byte [ebp + esi + 0x161]
cmp cl, 1
jne 0x47d0ca
mov dword [edi + 0x170], 0xffff9696
mov cl, byte [ebp + esi + 0x161]
cmp cl, 0xe
jne 0x47d0e0
mov dword [edi + 0x170], 0xff9696ff
mov cl, byte [ebp + esi + 0x161]
cmp cl, 2
jne 0x47d0f6
mov dword [edi + 0x170], 0xffff96ff
mov cl, byte [ebp + esi + 0x161]
cmp cl, 9
jne 0x47d10c
mov dword [edi + 0x170], 0xffffeb96
mov cl, byte [ebp + esi + 0x161]
cmp cl, 0xa
jne 0x47d122
mov dword [edi + 0x170], 0xffd27300
mov cl, byte [ebp + esi + 0x161]
cmp cl, 3
jne 0x47d138
mov dword [edi + 0x170], 0xffffff96
mov cl, byte [ebp + esi + 0x161]
cmp cl, 4
jne 0x47d14e
mov dword [edi + 0x170], 0xff96ffff
mov cl, byte [ebp + esi + 0x161]
cmp cl, 8
jne 0x47d164
mov dword [edi + 0x170], 0xffff73c8
mov cl, byte [ebp + esi + 0x161]
cmp cl, 0xb
jne 0x47d17a
mov dword [edi + 0x170], 0xff64ff64
mov cl, byte [ebp + esi + 0x161]
cmp cl, 0xc
jne 0x47d190
mov dword [edi + 0x170], 0xff32ff64
mov cl, byte [ebp + esi + 0x161]
cmp cl, 0xd
jne 0x47d1a6
mov dword [edi + 0x170], 0xff00ff64
mov cl, byte [ebp + esi + 0x161]
cmp cl, 0xf
jne 0x47d1bc
mov dword [edi + 0x170], 0xff3264ff
mov cl, byte [ebp + esi + 0x161]
cmp cl, 0x10
jne 0x47d1d2
mov dword [edi + 0x170], 0xff969637
mov cl, byte [ebp + esi + 0x161]
cmp cl, 0x11
jne 0x47d1e8
mov dword [edi + 0x170], 0xffff9637
mov cl, byte [ebp + esi + 0x161]
cmp cl, 0x14
jne 0x47d1fe
mov dword [edi + 0x170], 0xffff9637
mov cl, byte [ebp + esi + 0x161]
cmp cl, 0x12
jne 0x47d214
mov dword [edi + 0x170], 0xffffb437
mov cl, byte [ebp + esi + 0x161]
cmp cl, 0x13
jne 0x47d22a
mov dword [edi + 0x170], 0xffffb437
mov cl, byte [ebp + esi + 0x161]
mov edx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x20]
movsx eax, cl
mov dword [edx - 8], eax
mov eax, dword [ebp + esi*4 + 0x16c]
mov dword [edx], eax
cmp cl, 1
jne 0x47d2da
cmp byte [ebx], 0
jne 0x47d258
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
jmp 0x47d2cd
mov eax, dword [ebp + esi*4 + 0x1c4]
cmp eax, 1
jle 0x47d29a
push eax
cvttsd2si eax, qword [ebp + esi*8 + 0x220]
mov ecx, dword [ebp - 0x18]
push eax
cvttss2si eax, dword [ebp + esi*4 + 0x1f4]
push eax
push dword [ebp + esi*4 + 0x198]
mov eax, dword [ebp - 0x14]
push ebx
push str._s__ldg___d__d___ld_
sub eax, ecx
push eax
push ecx
call fcn.0042e9c0
add esp, 0x20
jmp 0x47d2cd
cvttsd2si eax, qword [ebp + esi*8 + 0x220]
mov edx, dword [ebp - 0x18]
push eax
cvttss2si eax, dword [ebp + esi*4 + 0x1f4]
push eax
push dword [ebp + esi*4 + 0x198]
mov eax, dword [ebp - 0x14]
push ebx
push str._s__ldg___d__d_
sub eax, edx
push eax
push edx
call fcn.0042e9c0
add esp, 0x1c
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x18]
call dword [eax + 0x30]
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x1c]
inc esi
add edx, 0x5c
add ebx, 0x20
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x20], ebx
cmp esi, 9
jl 0x47cf80
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x47d323
mov edx, dword [ebp - 0x10]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x47d319
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47d35c
push edx
push ecx
call fcn.00495cd1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x288]
xor ecx, ebp
call fcn.00495a90
lea esp, [ebp + 0x28c]
pop ebp
ret 8
push ebx
mov ecx, esi
call eax
jmp 0x47c61e
push ebx
mov ecx, edi
call eax
jmp 0x47d08e
call fcn.004a3cb0
nop dword [eax]
push ecx
rol byte [edi], 145
rol dword [edi], 0xb5
rol byte [edi], 0xfd
rol byte [edi], 0xdb
rol dword [edi], 0x25
ret 0x47