Function at 0x41205f
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xafc], ebx
push edi
jne 0x412503
cmp dword [esi + 0x1f14], ebx
je 0x41208f
cmp byte [esi + 0xac7], bl
je 0x412503
call fcn.004412ea
test al, al
mov edi, dword [ebp + 8]
jne 0x4120a8
call fcn.004412dd
test al, al
je 0x41219a
cmp byte [0x46d408], bl
je 0x41211f
cmp byte [0x54a450], 1
jne 0x4120c1
cmp byte [0x54a452], bl
je 0x41212c
mov eax, dword [0x46d3fc]
cmp eax, ebx
mov byte [0x46d408], bl
jne 0x4120d5
mov eax, 0x45d3cc
lea ecx, [esi + 0x154e9]
push ecx
push eax
push str._s_gamelogin_s
lea eax, [ebp - 0x110]
push 0xff
push eax
call fcn.00442d8d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x110]
push eax
push str.mall
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], 0x280
mov dword [ebp - 4], 0x1cc
call fcn.00440d37
add esp, 0x20
mov al, byte [0x54a450]
cmp al, bl
je 0x412149
cmp al, 1
jne 0x412133
mov byte [0x46d409], 1
mov ecx, edi
call fcn.0041e6ed
cmp eax, 0x10
jl 0x41219a
cmp eax, 0x15
jg 0x41219a
jmp 0x412503
cmp byte [0x46d409], bl
je 0x41219a
mov ecx, edi
mov byte [0x46d409], bl
call fcn.0041e6ed
cmp eax, 0x10
jl 0x41219a
cmp eax, 0x12
jle 0x412187
cmp eax, 0x15
jg 0x41219a
push 0x1f7
mov ecx, esi
call fcn.00429460
push str._cashbank
mov ecx, esi
call fcn.00404dcc
jmp 0x41219a
push 0x1f7
mov ecx, esi
call fcn.00429460
mov byte [0x46d408], 1
cmp byte [esi + 0xadc], bl
je case.default.0x4121b9
movzx eax, byte [edi + 0x967]
add eax, 0xfffffffa
cmp eax, 7
ja case.default.0x4121b9
jmp dword [eax*4 + 0x41250d]
mov byte [esi + 0xad8], 0x12
jmp 0x4121d9
mov byte [esi + 0xad8], 0x13
jmp 0x4121d9
mov byte [esi + 0xad8], 0x14
mov byte [0x54a450], bl
mov byte [0x54a451], bl
mov byte [0x54a452], bl
mov byte [0x46d40a], bl
mov eax, dword [0x54a454]
cmp eax, dword [esi + 0x2b40]
jl 0x412503
cmp eax, dword [esi + 0x2b48]
jg 0x412503
mov eax, dword [0x54a458]
cmp eax, dword [esi + 0x2b44]
jl 0x412503
cmp eax, dword [esi + 0x2b4c]
jg 0x412503
cmp byte [0x54a450], 1
sete al
mov byte [esi + 0xab2], al
cmp byte [0x54a450], 2
sete al
mov byte [esi + 0xab3], al
cmp byte [0x54a450], 1
jne 0x412399
cmp byte [0x54a452], bl
jne 0x412399
push 1
pop eax
jmp 0x41239b
mov byte [esi + 0xad8], 0x15
mov byte [0x54a450], bl
mov byte [0x54a451], bl
mov byte [0x54a452], bl
mov al, byte [0x54a450]
cmp al, 1
jne 0x412296
cmp byte [0x54a452], bl
je 0x4122aa
cmp al, 2
jne 0x4121eb
cmp byte [0x54a452], bl
jne 0x4121eb
cmp byte [0x46d40a], bl
jne 0x4121f1
mov eax, dword [0x54a454]
cmp eax, 0x262
mov byte [0x46d40a], 1
jl 0x4121f1
cmp eax, 0x272
jg 0x4121f1
mov eax, dword [0x54a458]
cmp eax, 0x28
jl 0x4121f1
cmp eax, 0x190
jg 0x4121f1
mov ecx, dword [esi + 0x1988c]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp + 8], eax
je 0x4121f1
push 0x37
pop edi
cmp dword [0x54a458], edi
jl 0x41232a
lea ecx, [ebp + 8]
add edi, 0x14
call fcn.0040c00b
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x1988c]
jne 0x412307
jmp 0x4121f1
mov byte [esi + 0xad8], 0x25
mov cl, byte [eax + 0x10]
mov byte [esi + 0x18780], cl
mov ax, word [eax + 0xc]
mov word [esi + 0x17298], ax
xor edx, edx
lea ecx, [esi + 0x17320]
cmp word [ecx], ax
jne 0x412358
mov byte [esi + 0x17297], dl
inc edx
add ecx, 0x90
cmp edx, 0x10
jl 0x41234d
movzx eax, byte [esi + 0x18780]
push eax
mov ecx, esi
call fcn.00425b40
movzx eax, word [esi + 0x17298]
push eax
mov ecx, esi
call fcn.004059c4
mov byte [0x54a450], bl
mov byte [0x54a451], bl
mov byte [0x54a452], bl
jmp 0x412503
xor eax, eax
mov byte [esi + 0xab4], al
cmp byte [0x54a450], 2
jne 0x4123b7
cmp byte [0x54a452], bl
jne 0x4123b7
push 1
pop eax
jmp 0x4123b9
xor eax, eax
mov byte [esi + 0xab5], al
mov eax, dword [0x5493d8]
mov edi, dword [0x492080]
sub edi, dword [eax + 0x26c]
mov ecx, dword [0x492084]
sub ecx, dword [eax + 0x270]
add edi, dword [0x54a454]
add ecx, dword [0x54a458]
mov eax, edi
imul eax, edi
shl eax, 0xc
cdq
mov ebx, 0x2710
idiv ebx
mov edx, ecx
imul edx, ecx
xor ebx, ebx
add eax, edx
cmp edi, ebx
mov dword [esi + 0x38d0], eax
je 0x412484
jle 0x41244d
lea eax, [ecx + ecx*4]
shl eax, 1
cdq
idiv edi
cmp eax, 0xfffffff1
jl 0x412488
cmp eax, 0xfffffffe
jge 0x412428
mov byte [esi + 0xada], 1
jmp 0x41248e
cmp eax, 2
jge 0x412436
mov byte [esi + 0xada], 2
jmp 0x41248e
cmp eax, 0xf
jge 0x412444
mov byte [esi + 0xada], 3
jmp 0x41248e
mov byte [esi + 0xada], 4
jmp 0x41248e
mov eax, ecx
imul eax, eax, 0xfffffff6
cdq
idiv edi
cmp eax, 0xfffffff1
jl 0x412488
cmp eax, 0xfffffffe
jge 0x412468
mov byte [esi + 0xada], 7
jmp 0x41248e
cmp eax, 2
jge 0x412476
mov byte [esi + 0xada], 6
jmp 0x41248e
cmp eax, 0xf
jge 0x412444
mov byte [esi + 0xada], 5
jmp 0x41248e
cmp ecx, ebx
jg 0x412444
mov byte [esi + 0xada], bl
cmp byte [0x54a450], bl
je 0x412503
movzx eax, byte [esi + 0xada]
cmp eax, 7
ja case.default.0x4124a2
jmp dword [eax*4 + 0x41252d]
mov byte [0x5497f4], 1
jmp case.default.0x4124a2
mov byte [0x5497f5], 1
jmp case.default.0x4124a2
mov byte [0x5497f9], 1
jmp case.default.0x4124a2
mov byte [0x5497fd], 1
jmp case.default.0x4124a2
mov byte [0x5497fc], 1
jmp case.default.0x4124a2
mov byte [0x5497fb], 1
jmp case.default.0x4124a2
mov byte [0x5497f7], 1
jmp case.default.0x4124a2
mov byte [0x5497f3], 1
add esi, 0xab6
mov byte [esi], bl
cmp byte [0x54a450], 2
jne 0x412503
mov byte [esi], 1
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4