Function at 0x473380
Capabilities:
Check http status code

Disassembly:
push ebp
lea ebp, [esp - 0x28c]
sub esp, 0x28c
push 0xffffffffffffffff
push 0x4c697c
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x507b40]
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 - 0x34], ecx
mov esi, dword [ebp + 0x294]
push 0x14
mov byte [ebp], 0x12
call fcn.00498854
add esp, 4
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4733f1
push 0x286
mov ecx, eax
call fcn.004306d0
mov edi, eax
mov dword [ebp - 0x3c], eax
jmp 0x4733f6
xor edi, edi
mov dword [ebp - 0x3c], edi
push dword [ebp + 0x298]
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.004308b0
lea eax, [ebp - 0xd]
mov dword [edi + 8], 0
xor ebx, ebx
mov dword [ebp - 0x1c], 9
push eax
mov ecx, edi
mov dword [ebp - 0x48], ebx
call fcn.00430710
cmp byte [ebp - 0xd], 0x12
je 0x473446
push 0x1166
push 0x4d14b8
push str.NWMESS_INVENTORY_INFO__temp
call fcn.004aa62c
add esp, 0xc
lea eax, [ebp - 0xd]
mov ecx, edi
push eax
call fcn.00430710
mov al, byte [ebp - 0xd]
mov ecx, edi
mov byte [ebp + 0x27c], al
lea eax, [ebp - 0xd]
push eax
call fcn.00430710
mov al, byte [ebp - 0xd]
mov byte [ebp + 0x285], al
cmp byte [ebp + 0x27c], bl
je 0x47348a
cmp al, 1
mov dword [ebp - 0x1c], 0xb
mov ecx, 2
cmove ebx, ecx
mov dword [ebp - 0x48], ebx
mov eax, ebx
mov dword [ebp - 0x20], ebx
shl eax, 5
mov dword [ebp - 0x14], eax
mov esi, eax
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x1f4]
lea eax, [eax + ebx*4]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x161]
mov ecx, edi
add eax, ebx
push eax
call fcn.00430710
cmp byte [ebp + ebx + 0x161], 0xff
jne 0x4734ca
mov byte [ebp + esi + 1], 0
jmp 0x4735f8
mov ebx, dword [ebp - 0x3c]
xor edi, edi
nop
mov eax, dword [ebp - 0x14]
lea esi, [ebp + 1]
add eax, edi
mov ecx, ebx
add esi, eax
push esi
call fcn.00430710
cmp byte [esi], 0
je 0x4734f0
inc edi
cmp edi, 0x3e8
jl 0x4734d0
mov ebx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
mov ecx, edi
lea esi, [ebx - 0x30]
lea eax, [esi - 0x58]
push eax
call fcn.00430770
push esi
mov ecx, edi
call fcn.00430770
lea eax, [esi - 0x2c]
mov ecx, edi
push eax
call fcn.00430770
mov esi, dword [ebp - 0x20]
movsx eax, byte [ebp + esi + 0x161]
dec eax
cmp eax, 0xd
ja case.0x473533.4
movzx eax, byte [eax + 0x4743e8]
jmp dword [eax*4 + 0x4743d0]
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00430770
movd xmm0, dword [ebp - 0x24]
cvtdq2ps xmm0, xmm0
movss dword [ebx], xmm0
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.00430770
movd xmm0, dword [ebp - 0x24]
jmp 0x4735e3
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00430770
movd xmm0, dword [ebp - 0x18]
cvtdq2ps xmm0, xmm0
movss dword [ebx], xmm0
jmp 0x4735d3
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.00430770
mov eax, dword [ebp - 0x50]
mov ecx, edi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4c99e0]
lea eax, [ebp - 0x2c]
push eax
cvtpd2ps xmm0, xmm0
movss dword [ebx], xmm0
call fcn.004307a0
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
call fcn.00498c70
jmp 0x4735e9
push ebx
mov ecx, edi
call fcn.00430770
jmp 0x473551
push ebx
mov ecx, edi
call fcn.00430770
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00430770
movd xmm0, dword [ebp - 0x18]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
movsd qword [ebp + esi*8 + 0x220], xmm0
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x20]
add dword [ebp - 0x38], 4
inc ebx
add esi, 0x20
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], esi
cmp ebx, dword [ebp - 0x1c]
jl 0x4734a6
lea eax, [ebp + 0x1f0]
mov ecx, edi
push eax
call fcn.00430770
lea eax, [ebp + 0x27d]
mov ecx, edi
push eax
call fcn.004307a0
lea eax, [ebp + 0x278]
mov ecx, edi
push eax
call fcn.00430770
mov ecx, edi
call fcn.00430700
push 0x14
push edi
call fcn.00498884
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x49]
mov dword [ebp - 4], 1
push eax
push 0x400
lea ecx, [ebp - 0x30]
call fcn.00434430
cmp byte [ebp + 0x27c], 0
mov edi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x48]
je 0x473d0d
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp + 0x278]
mov ecx, dword [ebp + 0x281]
mov dword [esi + 0x23a4], eax
mov eax, dword [ebp + 0x27d]
mov dword [esi + 0x23e0], eax
mov eax, dword [esi + 0x23bc]
mov dword [esi + 0x23e4], ecx
mov ecx, dword [esi + 0x2c0]
cmp eax, 0xc8
jne 0x473765
add ecx, 0x140
push 0x23
call fcn.00434e20
push 0x4d02de
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, dword [esi + 0x2c0]
add ecx, 0x140
push 0x24
call fcn.00434e20
push 0x4d02df
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, dword [esi + 0x2c0]
add ecx, 0x140
push 0x1d
call fcn.00434e20
mov ecx, dword [ebp - 0x34]
mov esi, eax
push dword [ecx + 0x23e4]
push dword [ecx + 0x23e0]
mov ecx, dword [ebp - 0x2c]
push str._lld
sub ecx, edi
push ecx
push edi
call fcn.0042e230
mov eax, dword [esi]
add esp, 0x14
mov ecx, esi
push edi
call dword [eax + 0x30]
mov dword [esi + 0x170], 0xfffff0be
mov esi, dword [ebp - 0x34]
mov ecx, dword [esi + 0x2c0]
mov eax, dword [esi + 0x13c]
mov dword [ecx + 0x164], eax
jmp 0x4737e6
push 0x1d
cmp eax, 0xc9
jne 0x473792
mov eax, dword [esi + 0x144]
mov dword [ecx + 0x164], eax
mov ecx, dword [esi + 0x2c0]
add ecx, 0x140
call fcn.00434e20
push 0x4d02ef
jmp 0x4737df
cmp eax, 0xca
jne 0x4737bd
mov eax, dword [esi + 0x148]
mov dword [ecx + 0x164], eax
mov ecx, dword [esi + 0x2c0]
add ecx, 0x140
call fcn.00434e20
push 0x4d02fd
jmp 0x4737df
mov eax, dword [esi + 0x140]
mov dword [ecx + 0x164], eax
mov ecx, dword [esi + 0x2c0]
add ecx, 0x140
call fcn.00434e20
push 0x4d02fe
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
mov eax, dword [ebp - 0x40]
lea eax, [ebp + eax + 1]
mov dword [ebp - 0x14], eax
imul eax, ebx, 0x5c
add eax, 0x350
add eax, esi
mov dword [ebp - 0x38], eax
nop dword [eax]
mov ecx, dword [esi + 0x2c0]
lea eax, [ebx + 0x23]
add ecx, 0x140
push eax
call fcn.00434e20
mov esi, eax
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
jne 0x473824
mov byte [edi], 0
jmp 0x47385d
mov ecx, dword [ebp + ebx*4 + 0x1c4]
cmp ecx, 1
jle 0x473848
push ecx
push eax
mov eax, dword [ebp - 0x2c]
push str._s___ld_
sub eax, edi
push eax
push edi
call fcn.0042e230
add esp, 0x14
jmp 0x47385d
push eax
mov eax, dword [ebp - 0x2c]
push 0x4d1538
sub eax, edi
push eax
push edi
call fcn.0042e230
add esp, 0x10
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x30]
mov dword [esi + 0x170], 0xffffffff
cmp byte [ebp + ebx + 0x161], 0
jne 0x473883
mov dword [esi + 0x170], 0xff96ff96
cmp byte [ebp + ebx + 0x161], 1
jne 0x473897
mov dword [esi + 0x170], 0xffff9696
cmp byte [ebp + ebx + 0x161], 0xe
jne 0x4738ab
mov dword [esi + 0x170], 0xff9696ff
cmp byte [ebp + ebx + 0x161], 2
jne 0x4738bf
mov dword [esi + 0x170], 0xffff96ff
cmp byte [ebp + ebx + 0x161], 9
jne 0x4738d3
mov dword [esi + 0x170], 0xffffeb96
cmp byte [ebp + ebx + 0x161], 0xa
jne 0x4738e7
mov dword [esi + 0x170], 0xffd27300
cmp byte [ebp + ebx + 0x161], 3
jne 0x4738fb
mov dword [esi + 0x170], 0xffffff96
cmp byte [ebp + ebx + 0x161], 4
jne 0x47390f
mov dword [esi + 0x170], 0xff96ffff
cmp byte [ebp + ebx + 0x161], 8
jne 0x473923
mov dword [esi + 0x170], 0xffff73c8
cmp byte [ebp + ebx + 0x161], 0xb
jne 0x473937
mov dword [esi + 0x170], 0xff64ff64
cmp byte [ebp + ebx + 0x161], 0xc
jne 0x47394b
mov dword [esi + 0x170], 0xff32ff64
cmp byte [ebp + ebx + 0x161], 0xd
jne 0x47395f
mov dword [esi + 0x170], 0xff00ff64
cmp byte [ebp + ebx + 0x161], 0xf
jne 0x473973
mov dword [esi + 0x170], 0xff3264ff
cmp byte [ebp + ebx + 0x161], 0x10
jne 0x473987
mov dword [esi + 0x170], 0xff969637
cmp byte [ebp + ebx + 0x161], 0x11
jne 0x47399b
mov dword [esi + 0x170], 0xffff9637
cmp byte [ebp + ebx + 0x161], 0x14
jne 0x4739af
mov dword [esi + 0x170], 0xffff9637
cmp byte [ebp + ebx + 0x161], 0x12
jne 0x4739c3
mov dword [esi + 0x170], 0xffffb437
cmp byte [ebp + ebx + 0x161], 0x13
jne 0x4739d7
mov dword [esi + 0x170], 0xffffb437
cmp byte [ebp + ebx + 0x161], 0x15
jne 0x4739eb
mov dword [esi + 0x170], 0xffffc8c8
mov edx, dword [ebp - 0x38]
mov cl, byte [ebp + ebx + 0x161]
movsx eax, cl
mov dword [edx - 8], eax
mov eax, dword [ebp + ebx*4 + 0x16c]
mov dword [edx], eax
cmp cl, 1
jne 0x473a71
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
jne 0x473a16
mov byte [edi], 0
jmp 0x473a69
cmp dword [ebp + ebx*4 + 0x1c4], 1
cvttsd2si ecx, qword [ebp + ebx*8 + 0x220]
cvttss2si edx, dword [ebp + ebx*4 + 0x1f4]
jle 0x473a52
push dword [ebp + ebx*4 + 0x1c4]
push ecx
push edx
push eax
mov eax, dword [ebp - 0x2c]
push str._s___d__d___ld_
sub eax, edi
push eax
push edi
call fcn.0042e230
add esp, 0x1c
jmp 0x473a69
push ecx
push edx
push eax
mov eax, dword [ebp - 0x2c]
push str._s___d__d_
sub eax, edi
push eax
push edi
call fcn.0042e230
add esp, 0x18
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x30]
cmp byte [ebp + ebx + 0x161], 6
jne 0x473b10
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
jne 0x473a8f
mov byte [edi], 0
jmp 0x473b08
movsd xmm1, qword [0x4d2d88]
xorps xmm0, xmm0
movlpd qword [ebp - 0x44], xmm0
movsd xmm0, qword [ebp + ebx*8 + 0x220]
comisd xmm0, xmm1
jb 0x473ace
subsd xmm0, xmm1
comisd xmm1, xmm0
jbe 0x473ace
mov eax, dword [ebp - 0x44]
add eax, 0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
adc eax, 0x80000000
mov dword [ebp - 0x3c], eax
jmp 0x473ada
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
call fcn.00498bc0
add eax, dword [ebp - 0x48]
adc edx, dword [ebp - 0x3c]
push edx
push eax
cvttss2si eax, dword [ebp + ebx*4 + 0x1f4]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x2c]
push str._s__d___llu_
sub eax, edi
push eax
push edi
call fcn.0042e230
add esp, 0x1c
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x30]
cmp byte [ebp + ebx + 0x161], 3
jne 0x473b4b
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
jne 0x473b27
mov byte [edi], 0
jmp 0x473b43
push dword [ebp + ebx*4 + 0x1c4]
push eax
mov eax, dword [ebp - 0x2c]
push 0x4d1568
sub eax, edi
push eax
push edi
call fcn.0042e230
add esp, 0x14
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x30]
cmp byte [ebp + ebx + 0x161], 2
jne 0x473c23
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], 0
jne 0x473b69
mov byte [edi], 0
jmp 0x473c1b
movsd xmm0, qword [ebp + ebx*8 + 0x220]
divsd xmm0, qword [0x4d2d78]
cvttss2si edx, dword [ebp + ebx*4 + 0x1f4]
mulsd xmm0, qword [0x4d2da0]
neg edx
movss xmm1, dword [0x4ca598]
cvtpd2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x473bb4
mulss xmm0, dword [0x4ca5cc]
cvttss2si eax, xmm0
push eax
push edx
push ecx
push str._s___d__dm_
jmp 0x473bc0
cvttss2si eax, xmm0
push eax
push edx
push ecx
push str._s___d__dh_
mov eax, dword [ebp - 0x2c]
sub eax, edi
push eax
push edi
call fcn.0042e230
add esp, 0x18
cmp dword [ebp + ebx*4 + 0x1c4], 1
jle 0x473c1b
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x473be0
sub ecx, edx
mov edx, edi
lea eax, [edx + 1]
mov dword [ebp - 0x40], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x473bf1
push dword [ebp + ebx*4 + 0x1c4]
mov eax, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x40]
sub eax, ecx
sub eax, edi
push 0x4d1588
push eax
lea eax, [edx + edi]
push eax
call fcn.0042e230
add esp, 0x10
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x30]
cmp byte [ebp + ebx + 0x161], 0xe
jne 0x473cf3
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], 0
jne 0x473c41
mov byte [edi], 0
jmp 0x473ceb
movsd xmm0, qword [ebp + ebx*8 + 0x220]
movsd xmm1, qword [0x4d2da8]
cvttss2si edx, dword [ebp + ebx*4 + 0x1f4]
ucomisd xmm1, xmm0
lahf
neg edx
test ah, 0x44
jp 0x473c7f
mov eax, dword [ebp - 0x2c]
push edx
push ecx
push str._s___d_
sub eax, edi
push eax
push edi
call fcn.0042e230
add esp, 0x14
jmp 0x473c9a
cvttsd2si eax, xmm0
push eax
mov eax, dword [ebp - 0x2c]
push edx
push ecx
push str._s___d__dc_
sub eax, edi
push eax
push edi
call fcn.0042e230
add esp, 0x18
cmp dword [ebp + ebx*4 + 0x1c4], 1
jle 0x473ceb
mov ecx, edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x473cb0
sub ecx, edx
mov edx, edi
lea eax, [edx + 1]
mov dword [ebp - 0x40], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x473cc1
push dword [ebp + ebx*4 + 0x1c4]
mov eax, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x40]
sub eax, edi
sub eax, ecx
push 0x4d15a0
push eax
lea eax, [edi + edx]
push eax
call fcn.0042e230
add esp, 0x10
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x30]
add dword [ebp - 0x38], 0x5c
inc ebx
add dword [ebp - 0x14], 0x20
mov esi, dword [ebp - 0x34]
cmp ebx, dword [ebp - 0x1c]
jl 0x473800
jmp 0x474376
mov al, byte [ebp + 0x285]
cmp al, 6
je 0x473ffb
cmp al, 7
je 0x473ffb
cmp al, 0xb
je 0x473ffb
test al, al
je 0x473ffb
cmp al, 0xc
jne 0x473de0
mov ebx, dword [ebp - 0x34]
mov ecx, ebx
push 1
call fcn.00474ff0
mov ecx, dword [ebx + 0x2b8]
add ecx, 0x140
push 0x3d
call fcn.00434e20
test eax, eax
jne 0x473d80
mov ecx, dword [ebx + 0x2b8]
push dword [ebx + 0x2dc]
add ecx, 0x140
call fcn.00434d90
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 0x3e
mov dword [ebx + 0x23d4], eax
call fcn.00434e20
push dword [ebp + 0x281]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
push dword [ebp + 0x27d]
sub ecx, edi
push str.Bank:__lld
push ecx
push edi
call fcn.0042e230
mov eax, dword [esi]
add esp, 0x14
mov ecx, esi
push edi
call dword [eax + 0x30]
mov eax, dword [ebp + 0x278]
mov dword [ebx + 0x23a8], eax
mov eax, dword [ebx + 0x2dc]
jmp 0x4740c3
cmp al, 8
jne 0x473ef6
mov ebx, dword [ebp - 0x34]
push 0x2f
mov ecx, dword [ebx + 0x2b8]
add ecx, 0x140
call fcn.00434e20
test eax, eax
je 0x473e19
mov ecx, dword [ebx + 0x2b8]
push dword [ebx + 0x2d0]
add ecx, 0x140
call fcn.00435100
mov ecx, dword [ebx + 0x2b8]
add ecx, 0x140
push 0x3d
call fcn.00434e20
test eax, eax
je 0x473e47
mov ecx, dword [ebx + 0x2b8]
push dword [ebx + 0x2dc]
add ecx, 0x140
call fcn.00435100
mov ecx, dword [ebx + 0x2b8]
add ecx, 0x140
push 0x4d
call fcn.00434e20
test eax, eax
jne 0x473e80
mov ecx, dword [ebx + 0x2b8]
push dword [ebx + 0x2d8]
add ecx, 0x140
call fcn.00434d90
mov ecx, dword [ebx + 0x2b8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [ebp + 0x278]
mov dword [ebx + 0x23b8], eax
mov eax, dword [ebx + 0x2d8]
push 0x4e
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0x51
lea ecx, [eax + 0x140]
call fcn.00434e20
push dword [ebp + 0x281]
lea ecx, [ebx + 0x2418]
mov esi, eax
push dword [ebp + 0x27d]
push ecx
mov ecx, dword [ebp - 0x2c]
push str._s:__lld
sub ecx, edi
push ecx
push edi
call fcn.0042e230
mov eax, dword [esi]
add esp, 0x18
mov ecx, esi
push edi
call dword [eax + 0x30]
mov eax, dword [ebp - 0x1c]
mov ecx, 0x1d30
mov dword [esi + 0x170], 0xfffff0be
mov edx, 0x51
jmp 0x4740d0
cmp al, 9
jne 0x474376
mov ebx, dword [ebp - 0x34]
push 0x2f
mov ecx, dword [ebx + 0x2b8]
add ecx, 0x140
call fcn.00434e20
test eax, eax
je 0x473f2f
mov ecx, dword [ebx + 0x2b8]
push dword [ebx + 0x2d0]
add ecx, 0x140
call fcn.00435100
mov ecx, dword [ebx + 0x2b8]
add ecx, 0x140
push 0x3d
call fcn.00434e20
test eax, eax
je 0x473f5d
mov ecx, dword [ebx + 0x2b8]
push dword [ebx + 0x2dc]
add ecx, 0x140
call fcn.00435100
mov ecx, dword [ebx + 0x2b8]
add ecx, 0x140
push 0x3f
call fcn.00434e20
test eax, eax
jne 0x473f96
mov ecx, dword [ebx + 0x2b8]
push dword [ebx + 0x2d4]
add ecx, 0x140
call fcn.00434d90
mov ecx, dword [ebx + 0x2b8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [ebp + 0x278]
mov dword [ebx + 0x23b4], eax
mov eax, dword [ebx + 0x2d4]
push 0x40
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0x43
lea ecx, [eax + 0x140]
call fcn.00434e20
push dword [ebp + 0x281]
mov ecx, dword [ebp - 0x2c]
mov esi, eax
push dword [ebp + 0x27d]
sub ecx, edi
push str.You:__lld
push ecx
push edi
call fcn.0042e230
mov eax, dword [esi]
add esp, 0x14
mov ecx, esi
push edi
call dword [eax + 0x30]
mov eax, dword [ebp - 0x1c]
mov ecx, 0x16b8
mov edx, 0x43
jmp 0x4740d0
mov ebx, dword [ebp - 0x34]
mov ecx, ebx
push 1
call fcn.00474ff0
mov ecx, dword [ebx + 0x2b8]
add ecx, 0x140
push 0x2f
call fcn.00434e20
test eax, eax
jne 0x474040
mov ecx, dword [ebx + 0x2b8]
push dword [ebx + 0x2d0]
add ecx, 0x140
call fcn.00434d90
mov ecx, dword [ebx + 0x2b8]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebx + 0x2d0]
mov eax, dword [ebp + 0x1f0]
add ecx, 0x140
push 0x30
mov dword [ebx + 0x23d4], eax
call fcn.00434e20
mov esi, eax
movsx eax, byte [ebp + 0x285]
cmp eax, 0xc
ja case.0x474074.1
movzx ecx, byte [eax + 0x474410]
jmp dword [ecx*4 + 0x4743f8]
mov edx, dword [esi]
mov ecx, esi
push str.Trader
call dword [edx + 0x30]
jmp 0x4740b1
push str.Trainer
jmp 0x4740aa
push str.Tower_Chest
jmp 0x4740aa
push str.Ground
jmp 0x4740aa
push str.Account_Storage
jmp 0x4740aa
push 0x4d02ff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [ebp + 0x278]
mov dword [ebx + 0x23a8], eax
mov eax, dword [ebx + 0x2d0]
mov edx, 0x33
mov ecx, 0x9c8
mov dword [ebp - 0x24], edx
xor esi, esi
add eax, 0x140
mov dword [ebp - 0x40], eax
lea eax, [ebp + 1]
mov dword [ebp - 0x18], eax
lea eax, [ebx + ecx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x40]
lea eax, [edx + esi]
push eax
call fcn.00434e20
mov ebx, eax
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0
jne 0x474101
mov byte [edi], 0
jmp 0x474143
mov edx, dword [ebp + esi*4 + 0x1c4]
mov ecx, dword [ebp + esi*4 + 0x198]
cmp edx, 1
jle 0x47412d
push edx
push ecx
push eax
mov eax, dword [ebp - 0x2c]
push str._s__ldg___ld_
sub eax, edi
push eax
push edi
call fcn.0042e230
add esp, 0x18
jmp 0x474143
push ecx
push eax
mov eax, dword [ebp - 0x2c]
push str._s__ldg
sub eax, edi
push eax
push edi
call fcn.0042e230
add esp, 0x14
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x30]
mov dword [ebx + 0x170], 0xffffffff
cmp byte [ebp + esi + 0x161], 0
jne 0x474169
mov dword [ebx + 0x170], 0xff96ff96
cmp byte [ebp + esi + 0x161], 1
jne 0x47417d
mov dword [ebx + 0x170], 0xffff9696
cmp byte [ebp + esi + 0x161], 0xe
jne 0x474191
mov dword [ebx + 0x170], 0xff9696ff
cmp byte [ebp + esi + 0x161], 2
jne 0x4741a5
mov dword [ebx + 0x170], 0xffff96ff
cmp byte [ebp + esi + 0x161], 9
jne 0x4741b9
mov dword [ebx + 0x170], 0xffffeb96
cmp byte [ebp + esi + 0x161], 0xa
jne 0x4741cd
mov dword [ebx + 0x170], 0xffd27300
cmp byte [ebp + esi + 0x161], 3
jne 0x4741e1
mov dword [ebx + 0x170], 0xffffff96
cmp byte [ebp + esi + 0x161], 4
jne 0x4741f5
mov dword [ebx + 0x170], 0xff96ffff
cmp byte [ebp + esi + 0x161], 8
jne 0x474209
mov dword [ebx + 0x170], 0xffff73c8
cmp byte [ebp + esi + 0x161], 0xb
jne 0x47421d
mov dword [ebx + 0x170], 0xff64ff64
cmp byte [ebp + esi + 0x161], 0xc
jne 0x474231
mov dword [ebx + 0x170], 0xff32ff64
cmp byte [ebp + esi + 0x161], 0xd
jne 0x474245
mov dword [ebx + 0x170], 0xff00ff64
cmp byte [ebp + esi + 0x161], 0xf
jne 0x474259
mov dword [ebx + 0x170], 0xff3264ff
cmp byte [ebp + esi + 0x161], 0x10
jne 0x47426d
mov dword [ebx + 0x170], 0xff969637
cmp byte [ebp + esi + 0x161], 0x11
jne 0x474281
mov dword [ebx + 0x170], 0xffff9637
cmp byte [ebp + esi + 0x161], 0x14
jne 0x474295
mov dword [ebx + 0x170], 0xffff9637
cmp byte [ebp + esi + 0x161], 0x12
jne 0x4742a9
mov dword [ebx + 0x170], 0xffffb437
cmp byte [ebp + esi + 0x161], 0x13
jne 0x4742bd
mov dword [ebx + 0x170], 0xffffb437
mov edx, dword [ebp - 0x1c]
mov cl, byte [ebp + esi + 0x161]
movsx eax, cl
mov dword [edx - 8], eax
mov eax, dword [ebp + esi*4 + 0x16c]
mov dword [edx], eax
cmp cl, 1
jne 0x47435f
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0
jne 0x4742ec
mov byte [edi], 0
jmp 0x474354
cmp dword [ebp + esi*4 + 0x1c4], 1
mov ecx, dword [ebp + esi*4 + 0x198]
cvttsd2si edx, qword [ebp + esi*8 + 0x220]
mov eax, dword [ebp - 0x18]
jle 0x474333
push dword [ebp + esi*4 + 0x1c4]
push edx
cvttss2si edx, dword [ebp + esi*4 + 0x1f4]
push edx
push ecx
push eax
mov eax, dword [ebp - 0x2c]
push str._s__ldg___d__d___ld_
sub eax, edi
push eax
push edi
call fcn.0042e230
add esp, 0x20
jmp 0x474354
push edx
cvttss2si edx, dword [ebp + esi*4 + 0x1f4]
push edx
push ecx
push eax
mov eax, dword [ebp - 0x2c]
push str._s__ldg___d__d_
sub eax, edi
push eax
push edi
call fcn.0042e230
add esp, 0x1c
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x30]
mov edx, dword [ebp - 0x1c]
add dword [ebp - 0x18], 0x20
add edx, 0x5c
inc esi
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x24]
cmp esi, 9
jl 0x4740e6
test edi, edi
je 0x4743a3
mov ecx, dword [ebp - 0x28]
mov eax, edi
sub ecx, edi
cmp ecx, 0x1000
jb 0x474399
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4743c8
push ecx
push edi
call fcn.00498884
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.00498846
lea esp, [ebp + 0x28c]
pop ebp
ret 8
call fcn.004a9ef2
nop dword [eax]
cmp dh, byte [0x35c10047]
inc edi
add byte [esi + 0x35], ah
inc edi
add byte [edi + 0x35], bh
inc edi
add bl, cl
xor eax, 0x35f20047
inc edi
add byte [eax], al
add dword [edx], eax
add eax, 84214533
add eax, 84215045
add al, 102
nop
xchg edi, eax
inc eax
inc edi
add byte [ebx + 0x40], bh
inc edi
add byte [ecx - 0x6fffb8c0], cl
inc eax
inc edi
add byte [esi - 0x5affb8c0], bl
inc eax
inc edi
add byte [eax], al
add eax, 0x5050505
add dword [edx], eax
add eax, 67306757
int3