Function at 0x4bcf50
Capabilities:
Check http status code
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e166
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x582654]
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 ebx, ecx
mov dword [ebp - 0x2b0], ebx
mov esi, dword [ebp + 8]
mov ecx, esi
push 0
push 0
push 0x65
mov dword [ebp - 0x2b8], esi
call fcn.0048d830
call dword [0x5c3c68]
mov cx, word [0x6de9f4]
mov edi, eax
movzx eax, word [ebx + 0x286c6]
cmp cx, ax
jle 0x4bd010
movsx eax, word [ebx + 0x286c8]
push 0
push 0
push eax
movsx eax, cx
mov ecx, dword [esi + 0xa1c]
neg eax
push eax
call fcn.00468af0
cmp edi, dword [0x6de9f8]
jbe 0x4bd01c
movsx ecx, word [ebx + 0x286c8]
lea eax, [edi + 0x1e]
mov dword [0x6de9f8], eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4bd007
sub word [0x6de9f4], ax
jmp 0x4bd01c
dec word [0x6de9f4]
jmp 0x4bd01c
mov word [0x6de9f4], ax
mov dword [0x6de9f8], edi
movsx eax, word [ebx + 0x286c8]
mov ecx, dword [esi + 0xa20]
push 0
push 0
push eax
movsx eax, word [ebx + 0x286c6]
neg eax
push eax
call fcn.00468af0
movzx eax, word [ebx + 0x286c2]
mov cx, word [0x6de9fc]
cmp cx, ax
jle 0x4bd0a8
movsx eax, word [ebx + 0x286c4]
push 0
push 0
push eax
movsx eax, cx
mov ecx, dword [esi + 0xa24]
push eax
call fcn.00468af0
cmp edi, dword [0x6dea00]
jbe 0x4bd0b4
lea ecx, [edi + 0x1e]
mov eax, 0x51eb851f
mov dword [0x6dea00], ecx
movsx ecx, word [ebx + 0x286c4]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4bd09f
sub word [0x6de9fc], ax
jmp 0x4bd0b4
dec word [0x6de9fc]
jmp 0x4bd0b4
mov word [0x6de9fc], ax
mov dword [0x6dea00], edi
movsx eax, word [ebx + 0x286c4]
mov ecx, dword [esi + 0xa28]
push 0
push 0
push eax
movsx eax, word [ebx + 0x286c2]
push eax
call fcn.00468af0
movsx eax, word [esi + 0x988]
movsx edi, word [esi + 0x986]
add eax, 0x2b0
mov dword [ebp - 0x2ac], eax
add edi, 0xc6
push 0
push 4
lea esi, [eax + 8]
mov dword [ebp - 0x2b4], edi
mov eax, dword [ebp - 0x2b0]
lea ebx, [edi + 0x5a]
movsx eax, word [eax + 0x286c2]
push eax
push esi
push ebx
call fcn.0044bdf0
mov eax, dword [ebp - 0x2b0]
add edi, 0x8c
push 0
push 4
movsx eax, word [eax + 0x286c4]
push eax
push esi
push edi
call fcn.0044bdf0
mov eax, dword [ebp - 0x2b0]
mov esi, dword [ebp - 0x2ac]
push 0
push 4
movsx eax, word [eax + 0x286c6]
add esi, 0x17
push eax
push esi
push ebx
call fcn.0044bdf0
mov eax, dword [ebp - 0x2b0]
push 0
push 4
movsx eax, word [eax + 0x286c8]
push eax
push esi
push edi
call fcn.0044bdf0
mov esi, dword [ebp - 0x2ac]
add esp, 0x50
mov ecx, dword [0x589d90]
add esi, 0x26
push 0
push 3
call fcn.0041ffa0
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
push ebx
call fcn.0044bdf0
mov ecx, dword [0x589d90]
add esp, 0x14
push 0
push 3
call fcn.0041ffb0
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
push edi
call fcn.0044bdf0
mov eax, dword [ebp - 0x2b0]
mov edi, dword [ebp - 0x2ac]
push 0
push 4
movsx eax, word [eax + 0x286c0]
add edi, 0x35
push eax
push edi
push ebx
call fcn.0044bdf0
mov eax, dword [ebp - 0x2ac]
add esp, 0x28
mov esi, dword [ebp - 0x2b4]
add eax, 0x17
mov ecx, dword [ebp - 0x2b8]
add esi, 0xbd
push eax
mov eax, dword [ebp - 0x2b0]
mov ecx, dword [ecx + 0xa2c]
push esi
push 0x64
cvttss2si eax, dword [eax + 0x28720]
push eax
call fcn.00468af0
mov eax, dword [ebp - 0x2b0]
mov ebx, dword [ebp - 0x2ac]
add ebx, 0x26
push ebx
cvttss2si eax, dword [eax + 0x28724]
push esi
push 0x64
push eax
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [eax + 0xa2c]
call fcn.00468af0
push edi
mov edi, dword [ebp - 0x2b0]
push esi
push 0x64
cvttss2si eax, dword [edi + 0x28728]
push eax
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [eax + 0xa2c]
call fcn.00468af0
movsx eax, word [edi + 0x286d6]
mov edi, dword [ebp - 0x2ac]
mov esi, dword [ebp - 0x2b4]
push 0
push 4
push eax
lea eax, [edi + 0xa]
add esi, 0xeb
push eax
push esi
call fcn.0044bdf0
mov eax, dword [ebp - 0x2b0]
push 0
push 5
movsx eax, word [eax + 0x286e2]
push eax
lea eax, [edi + 0x17]
push eax
push esi
call fcn.0044bdf0
mov eax, dword [ebp - 0x2b0]
push 0
push 5
movsx eax, word [eax + 0x286e4]
push eax
push ebx
push esi
call fcn.0044bdf0
mov ebx, dword [ebp - 0x2b0]
push 0
push 5
movsx eax, word [ebx + 0x286e6]
push eax
lea eax, [edi + 0x36]
push eax
push esi
call fcn.0044bdf0
xor eax, eax
add esp, 0x50
cmp byte [ebx + 0xbd3], al
je case.0x4bd37d.7
cmp byte [ebx + 0x3094c], al
jne case.0x4bd37d.7
mov esi, dword [ebp - 0x2b8]
cmp byte [ebx + 0xb3a], al
je 0x4bd337
push eax
push eax
push 6
mov ecx, esi
call fcn.0048d830
mov eax, 1
cmp byte [ebx + 0xb3c], 0
je 0x4bd352
push 0
push 0
push 8
mov ecx, esi
call fcn.0048d830
mov eax, 1
cmp byte [ebx + 0xb3d], 0
je 0x4bd36a
push 0
push 0
push 9
mov ecx, esi
call fcn.0048d830
jmp 0x4bd36e
test eax, eax
je case.0x4bd37d.7
mov ecx, esi
call fcn.0048d220
add eax, 0xfffffffa
cmp eax, 7
ja case.0x4bd37d.7
jmp dword [eax*4 + 0x4be54c]
push 0
push 0
push 0xa
mov ecx, esi
call fcn.0048d830
push 0x55d148
jmp 0x4bd3be
push 0
push 0
push 0xc
mov ecx, esi
call fcn.0048d830
push 0x55d158
jmp 0x4bd3be
push 0
push 0
push 0xd
mov ecx, esi
call fcn.0048d830
push 0x55d164
call fcn.00404580
push eax
push ebx
call fcn.0046ff90
add esp, 0xc
cmp dword [ebx + 0x15010], 0
je 0x4bd5e7
mov ecx, dword [0x6e4500]
push 0x14
push 0
push 0x4b
push 0xfa
push 0x2ae
push 0xc6
call fcn.0051e2b5
push dword [0x697d98]
push dword [0x6e4500]
call fcn.0051ae1b
push 0
push 0xfa9696
mov esi, eax
call fcn.0051ad70
mov ecx, dword [ebx + 0x15010]
add esp, 0x10
mov dl, byte [ecx + 0x175]
cmp dl, 0xfa
je 0x4bd502
cmp dl, 0xfb
je 0x4bd4fd
movzx eax, word [ecx + 0x1a0]
cmp dl, 0xfc
jne 0x4bd4a0
test ax, ax
jle 0x4bd474
cwde
push eax
push ecx
push 0x55d198
call fcn.00404580
add esp, 4
push eax
push 0x2ba
push 0xd5
push esi
call fcn.0051ac93
add esp, 0x18
jmp 0x4bd5b0
push 0xfc
push ecx
push str._s__
call fcn.00404580
add esp, 4
push eax
push 0x2ba
push 0xd5
push esi
call fcn.0051ac93
add esp, 0x18
jmp 0x4bd5b0
test ax, ax
jle 0x4bd4d2
cwde
push eax
movzx eax, dl
push eax
push ecx
push 0x55d1b4
call fcn.00404580
add esp, 4
push eax
push 0x2ba
push 0xd5
push esi
call fcn.0051ac93
add esp, 0x1c
jmp 0x4bd5b0
movzx eax, dl
push eax
push ecx
push 0x55d1cc
call fcn.00404580
add esp, 4
push eax
push 0x2ba
push 0xd5
push esi
call fcn.0051ac93
add esp, 0x18
jmp 0x4bd5b0
cmp dl, 0xfa
jne 0x4bd50a
push ecx
push 0x55d170
jmp 0x4bd510
push ecx
push 0x55d17c
call fcn.00404580
add esp, 4
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0041f000
mov eax, dword [ebx + 0x15010]
add esp, 0xc
movzx edx, word [eax + 0x1a0]
test dx, dx
jle 0x4bd560
lea ecx, [ebp - 0x50]
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bd540
movsx eax, dx
sub ecx, edi
push eax
lea eax, [ebp - 0x50]
add eax, ecx
push 0x55d188
push eax
call fcn.0041f000
add esp, 0xc
mov edx, dword [ebx + 0x15010]
cmp byte [edx + 0x174], 2
je 0x4bd599
lea ecx, [ebp - 0x50]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bd575
movzx eax, byte [edx + 0x17a]
sub ecx, edi
push eax
lea eax, [ebp - 0x50]
add eax, ecx
push str.___d__
push eax
call fcn.0041f000
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push 0x2ba
push 0xd5
push esi
call fcn.0051acf3
add esp, 0x10
push 0
push 0xc8c8c8
call fcn.0051ad70
mov eax, dword [ebx + 0x15010]
add eax, 0x41
push eax
push 0xf
push 0x2ce
push 0xd5
push esi
call fcn.00472540
push esi
push dword [0x6e4500]
call fcn.0051ad85
add esp, 0x24
cmp dword [ebx + 0x30908], 0
je 0x4bd72e
mov ecx, dword [0x6e4500]
push 0x14
push 0
push 0x4b
push 0xfa
push 0x2ae
push 0xc6
call fcn.0051e2b5
push dword [0x697d98]
push dword [0x6e4500]
call fcn.0051ae1b
mov esi, eax
push 0
push 0xfa9696
mov dword [ebp - 0x2b4], esi
call fcn.0051ad70
mov ecx, dword [ebx + 0x30908]
add esp, 0x10
add ecx, 0x18
push ecx
push 0x553e38
call fcn.00404580
add esp, 4
push eax
push 0x2ba
push 0xd5
push esi
call fcn.0051ac93
mov eax, dword [ebx + 0x30908]
movzx eax, word [eax + 0x6e]
push eax
call fcn.00445010
push 0
push 0xc8c8c8
mov edi, eax
call fcn.0051ad70
xor ecx, ecx
mov eax, 0x2aaaaaab
mov dword [ebp - 0x2c0], ecx
add esp, 0x20
mov ecx, dword [edi + 0x130]
sub ecx, dword [edi + 0x12c]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4bd71f
xor ebx, ebx
mov esi, 0x2ce
cmp esi, 0x2fb
jge 0x4bd713
mov eax, dword [edi + 0x12c]
add eax, ebx
cmp dword [eax + 0x14], 0x10
jb 0x4bd6cb
mov eax, dword [eax]
push eax
push 0xf
push esi
push 0xd5
push dword [ebp - 0x2b4]
call fcn.00472540
mov ecx, dword [edi + 0x130]
mov eax, 0x2aaaaaab
sub ecx, dword [edi + 0x12c]
add esp, 0x14
inc dword [ebp - 0x2c0]
add ebx, 0x18
imul ecx
add esi, 0xf
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x2c0], eax
jb 0x4bd6b3
mov ebx, dword [ebp - 0x2b0]
mov esi, dword [ebp - 0x2b4]
push esi
push dword [0x6e4500]
call fcn.0051ad85
add esp, 8
mov dword [ebp - 0x2b4], 0x1e
mov dword [ebp - 0x2ac], 0x28
call dword [0x5c3c68]
xor edx, edx
mov dword [ebp - 0x2bc], 0
mov ecx, 0x3e8
mov dword [ebp - 0x2c0], 0
div ecx
mov eax, dword [ebx + 0x2909c]
mov cl, byte [ebx + 0x29094]
cmp edx, 0x1f4
mov dword [ebp - 0x2c4], 0
setb dl
dec eax
mov byte [ebp - 0x2c8], dl
test cl, cl
je 0x4bd834
cmp eax, 2
ja 0x4bd834
mov eax, dword [ebx + eax*4 + 0x299f4]
test eax, eax
je 0x4bd834
cmp cl, 2
jne 0x4bd7de
test dl, dl
je 0x4bd7de
mov ecx, dword [0x6e4500]
push eax
push 0x28
push 0x1e
call fcn.0051ee64
mov ecx, dword [0x6e4500]
push 0xffe1c8c8
push 0x10
push 0x10
push 0x28
push 0x1e
call fcn.00520e68
jmp 0x4bd7ee
mov ecx, dword [0x6e4500]
push eax
push 0x28
push 0x1e
call fcn.0051ee64
mov ecx, dword [0x6e2080]
cmp ecx, 0x19
jle 0x4bd82a
mov eax, dword [0x6e2084]
cmp eax, 0x28
jle 0x4bd82a
cmp ecx, 0x2f
jge 0x4bd82a
cmp eax, 0x38
jge 0x4bd82a
add eax, 0xfffffff0
mov dword [ebp - 0x2bc], 0xc8
mov dword [ebp - 0x2c0], 0x2e
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2ac], 0x3c
lea esi, [ebx + 0x28734]
lea edi, [ebx + 0x29544]
mov dword [ebp - 0x2cc], esi
mov ebx, dword [ebp - 0x2c8]
lea eax, [ebp - 0x2c4]
push ebx
push eax
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2b4]
push eax
push 0x64
push edi
push esi
call fcn.004bc340
push ebx
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2b4]
push eax
push 0xc5
push edi
push esi
call fcn.004bc340
mov ebx, dword [ebp - 0x2cc]
add esp, 0x48
xor esi, esi
mov eax, esi
sub eax, 0x64
je 0x4bd8fd
sub eax, 0x61
je 0x4bd8fd
sub eax, 3
je 0x4bd8fd
push dword [ebp - 0x2c8]
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2b4]
push eax
push esi
push edi
push ebx
call fcn.004bc340
add esp, 0x24
test eax, eax
jne 0x4bd906
inc esi
cmp esi, 0x12c
jl 0x4bd8b4
mov ebx, dword [ebp - 0x2b0]
mov edi, 0x28
mov esi, dword [ebx + 0x2da3c]
mov esi, dword [esi]
cmp esi, dword [ebx + 0x2da3c]
je 0x4bd9b3
mov eax, dword [esi + 0x10]
mov ecx, dword [0x6e4500]
cmp dword [eax*4 + 0x58f7d8], 0
je 0x4bd94c
push dword [eax*4 + 0x58f7d8]
push edi
push 0x262
call fcn.0051ee64
jmp 0x4bd95d
push 0xffffffffffffffff
push 0xc
push 0x10
push edi
push 0x262
call fcn.0051f076
add edi, 0x14
cmp byte [esi + 0xd], 0
jne 0x4bd9a7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4bd98c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x4bd9a7
nop dword [eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4bd980
jmp 0x4bd9a7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x4bd9a5
cmp esi, dword [eax + 8]
jne 0x4bd9a5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x4bd995
mov esi, eax
cmp esi, dword [ebx + 0x2da3c]
jne 0x4bd925
call fcn.00446980
test al, al
je 0x4be529
mov esi, dword [ebp - 0x2b8]
mov ecx, esi
push 0
push 0
push 0x10
mov dword [ebp - 0x2ac], 0
call fcn.0048d830
push 0
push 0
push 0x13
mov ecx, esi
call fcn.0048d830
push 0
push 0
push 0x19
mov ecx, esi
call fcn.0048d830
push 0
push 0
push 0x22
mov ecx, esi
call fcn.0048d830
cmp dword [ebx + 0x31170], 0
je 0x4bda1a
push 0
push 0
push 0x54
mov ecx, esi
call fcn.0048d830
cmp byte [ebx + 0x30b90], 0
je 0x4bda30
push 0
push 0
push 0x3d
mov ecx, esi
call fcn.0048d830
mov ecx, esi
call fcn.0048d220
add eax, 0xfffffff0
cmp eax, 0x46
ja case.0x4bda4a.22
movzx eax, byte [eax + 0x4be588]
jmp dword [eax*4 + 0x4be56c]
cmp byte [0x6e207c], 1
mov dword [ebp - 0x2ac], 1
jne 0x4bda78
cmp byte [0x6e207e], 0
jne 0x4bda78
push 0
push 0
push 0x11
jmp 0x4bdb71
push 0
push 0
push 0x12
jmp 0x4bdb71
cmp byte [0x6e207c], 1
mov dword [ebp - 0x2ac], 2
jne 0x4bdaaa
cmp byte [0x6e207e], 0
jne 0x4bdaaa
push 0
push 0
push 0x14
jmp 0x4bdb71
push 0
push 0
push 0x15
jmp 0x4bdb71
cmp byte [0x6e207c], 1
mov dword [ebp - 0x2ac], 3
jne 0x4bdadc
cmp byte [0x6e207e], 0
jne 0x4bdadc
push 0
push 0
push 0x1a
jmp 0x4bdb71
push 0
push 0
push 0x1b
jmp 0x4bdb71
cmp byte [0x6e207c], 1
mov dword [ebp - 0x2ac], 0xb
jne 0x4bdb0b
cmp byte [0x6e207e], 0
jne 0x4bdb0b
push 0
push 0
push 0x23
jmp 0x4bdb71
push 0
push 0
push 0x24
jmp 0x4bdb71
cmp byte [ebx + 0x30b90], 0
je case.0x4bda4a.22
cmp byte [0x6e207c], 1
mov dword [ebp - 0x2ac], 8
jne 0x4bdb40
cmp byte [0x6e207e], 0
jne 0x4bdb40
push 0
push 0
push 0x3e
jmp 0x4bdb71
push 0
push 0
push 0x3f
jmp 0x4bdb71
cmp dword [ebx + 0x31170], 0
je 0x4bdb97
cmp byte [0x6e207c], 1
jne 0x4bdb6b
cmp byte [0x6e207e], 0
jne 0x4bdb6b
push 0
push 0
push 0x56
jmp 0x4bdb71
push 0
push 0
push 0x55
mov ecx, esi
call fcn.0048d830
cmp dword [ebx + 0x31170], 0
je 0x4bdb97
push 1
push 0x3e8
push 0
push 0
push 1
mov ecx, esi
call fcn.0048d7f0
jmp 0x4bdba0
push 1
mov ecx, esi
call fcn.0048c340
push dword [0x697d98]
push dword [0x6e4500]
call fcn.0051ae1b
add esp, 8
mov ecx, esi
mov edi, eax
call fcn.0048d0f0
cmp eax, 1
jne 0x4bdcf2
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.00527170
mov ecx, dword [0x6e4500]
add esp, 0xc
push 0xa
push 0
push 0x41
push 0x7c
push 0x24d
push 0x1c2
call fcn.0051e2b5
movss xmm0, dword [ebx + 0x28720]
sub esp, 8
movsx eax, word [ebx + 0x286e2]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push eax
lea eax, [ebp - 0x90]
push 0x55d1e0
push eax
call fcn.0041f000
push 0x202020
push 0x1990ba
call fcn.0051ad70
lea eax, [ebp - 0x90]
push eax
push 0x254
push 0x1ca
push edi
call fcn.0051ac93
movss xmm0, dword [ebx + 0x28724]
add esp, 0x24
movsx eax, word [ebx + 0x286e4]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push eax
lea eax, [ebp - 0x90]
push 0x55d1f8
push eax
call fcn.0041f000
push 0x202020
push 0x389f13
call fcn.0051ad70
lea eax, [ebp - 0x90]
push eax
push 0x267
push 0x1ca
push edi
call fcn.0051ac93
movss xmm0, dword [ebx + 0x28728]
add esp, 0x24
movsx eax, word [ebx + 0x286e6]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push eax
lea eax, [ebp - 0x90]
push 0x55d210
push eax
call fcn.0041f000
push 0x202020
push 0xce7400
call fcn.0051ad70
lea eax, [ebp - 0x90]
push eax
push 0x27a
push 0x1ca
push edi
call fcn.0051ac93
add esp, 0x2c
mov esi, dword [ebp - 0x2bc]
test esi, esi
je 0x4be1f3
cmp esi, 0x64
jge 0x4bdd0e
push 0
push 0xc8c8c8
jmp 0x4bdd3a
lea eax, [esi - 0x64]
cmp eax, 0x64
ja case.0x4bdd1d.101
movzx eax, byte [eax + 0x4be5dc]
jmp dword [eax*4 + 0x4be5d0]
push 0xa14
push 0xc1e7f2
jmp 0x4bdd3a
push 0x140a0a
push 0xe6b4b4
call fcn.0051ad70
lea eax, [esi + esi*2]
add esp, 8
cmp dword [ebx + eax*4 + 0x28738], 0
je 0x4be078
cmp esi, 0x44
je 0x4be078
cmp esi, 0x3c
je 0x4be078
call dword [0x5c3c68]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
lea eax, [esi + esi*2]
mov ecx, ebx
mov eax, dword [ebx + eax*4 + 0x28738]
shr edx, 6
sub eax, edx
mov dword [ebp - 0x2cc], eax
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x2bc]
push eax
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.004ba790
push esi
call fcn.0046f090
mov edx, eax
mov dword [ebp - 0x294], 0xf
add esp, 4
mov dword [ebp - 0x298], 0
mov byte [ebp - 0x2a8], 0
cmp byte [edx], 0
jne 0x4bdde2
xor ecx, ecx
jmp 0x4bddfd
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x2b8], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bddf0
sub ecx, dword [ebp - 0x2b8]
push ecx
push edx
lea ecx, [ebp - 0x2a8]
call fcn.00404940
mov dword [ebp - 4], 0
cmp esi, 0x6b
je 0x4bdf03
cmp esi, 0x39
je 0x4bdf03
cmp esi, 0x2f
je 0x4bdf03
cmp esi, 0xb5
jne 0x4bdea2
push 0x80
lea eax, [ebp - 0x190]
push 0
push eax
call fcn.00527170
add esp, 0xc
lea ecx, [ebp - 0x2a8]
push 0xa
push 0x55d22c
call fcn.00404940
push 0xa
lea eax, [ebp - 0x190]
push eax
push dword [ebx + 0x28fb8]
call fcn.0053aaa5
mov edx, eax
add esp, 0xc
cmp byte [edx], 0
jne 0x4bde81
xor ecx, ecx
jmp 0x4bdf54
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x2b8], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bde90
sub ecx, dword [ebp - 0x2b8]
jmp 0x4bdf54
cmp esi, 0xc8
jne 0x4bdf73
mov eax, dword [ebx + 0x2909c]
sub eax, 1
je 0x4bdef1
sub eax, 1
je 0x4bdedc
sub eax, 1
jne 0x4bdf73
push 0x55d250
lea ecx, [ebp - 0x2a8]
call fcn.0043c9b0
jmp 0x4bdf73
push 0x55d244
lea ecx, [ebp - 0x2a8]
call fcn.0043c9b0
jmp 0x4bdf73
push 0x55d238
lea ecx, [ebp - 0x2a8]
call fcn.0043c9b0
jmp 0x4bdf73
push 0x80
lea eax, [ebp - 0x190]
push 0
push eax
call fcn.00527170
push 0xa
lea eax, [ebp - 0x190]
push eax
lea eax, [esi + esi*2]
push dword [ebx + eax*4 + 0x2873c]
call fcn.0053aaa5
mov edx, eax
add esp, 0x18
cmp byte [edx], 0
jne 0x4bdf3c
xor ecx, ecx
jmp 0x4bdf54
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x2b8], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bdf47
sub ecx, dword [ebp - 0x2b8]
push ecx
push edx
lea ecx, [ebp - 0x2a8]
call fcn.00414b10
push 2
push 0x55d228
lea ecx, [ebp - 0x2a8]
call fcn.00414b10
push dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x2b0]
lea eax, [ebp - 0x2a8]
push dword [ebp - 0x2bc]
test ecx, ecx
je 0x4bdfbb
push dword [ebp - 0x2c8]
cmp dword [ebp - 0x294], 0x10
push ecx
cmovae eax, dword [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x110]
push 0x55d25c
push eax
call fcn.0041f000
add esp, 0x1c
jmp 0x4be00e
mov ecx, dword [ebp - 0x2c8]
test ecx, ecx
je 0x4bdfeb
cmp dword [ebp - 0x294], 0x10
push ecx
cmovae eax, dword [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x110]
push str._s___d__d
push eax
call fcn.0041f000
add esp, 0x18
jmp 0x4be00e
cmp dword [ebp - 0x294], 0x10
cmovae eax, dword [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x110]
push str._s___d
push eax
call fcn.0041f000
add esp, 0x14
mov eax, dword [ebp - 0x294]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x4be093
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x2a8]
cmp ecx, 0xffffffff
jbe 0x4be033
call fcn.00528621
cmp ecx, 0x1000
jb 0x4be06d
test byte [ebp - 0x2a8], 0x1f
je 0x4be049
call fcn.00528621
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x4be055
call fcn.00528621
sub eax, ecx
cmp eax, 4
jae 0x4be061
call fcn.00528621
cmp eax, 0x23
jbe 0x4be06b
call fcn.00528621
mov eax, ecx
push eax
call fcn.00523887
add esp, 4
jmp 0x4be093
push esi
call fcn.0046f090
push eax
lea eax, [ebp - 0x110]
push 0x553e38
push eax
call fcn.0041f000
add esp, 0x10
cmp esi, 0x5d
jne 0x4be1cb
push dword [ebx + 0x28b98]
lea eax, [ebp - 0x290]
push 0x55d2a0
push eax
call fcn.0041f000
add esp, 0xc
mov dword [ebp - 0x294], 0xf
cmp byte [ebp - 0x110], 0
mov dword [ebp - 0x298], 0
mov byte [ebp - 0x2a8], 0
jne 0x4be0de
xor ecx, ecx
jmp 0x4be0f0
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be0e7
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.00404940
cmp byte [ebp - 0x290], 0
mov dword [ebp - 4], 1
jne 0x4be117
xor ecx, ecx
jmp 0x4be129
lea ecx, [ebp - 0x290]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be120
sub ecx, edx
push ecx
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.00414b10
cmp dword [ebp - 0x294], 0x10
lea eax, [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x110]
push 0x553e38
push eax
call fcn.0041f000
mov ecx, dword [ebp - 0x294]
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x4be1cb
mov eax, dword [ebp - 0x2a8]
inc ecx
cmp ecx, 0xffffffff
jbe 0x4be188
call fcn.00528621
cmp ecx, 0x1000
jb 0x4be1c2
test byte [ebp - 0x2a8], 0x1f
je 0x4be19e
call fcn.00528621
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x4be1aa
call fcn.00528621
sub eax, ecx
cmp eax, 4
jae 0x4be1b6
call fcn.00528621
cmp eax, 0x23
jbe 0x4be1c0
call fcn.00528621
mov eax, ecx
push eax
call fcn.00523887
add esp, 4
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x2c4]
push dword [ebp - 0x2c0]
push edi
call fcn.0051ac93
push 0
push 0xc8c8c8
call fcn.0051ad70
add esp, 0x18
mov eax, dword [ebp - 0x2ac]
dec eax
cmp eax, 0xa
ja case.default.0x4be203
jmp dword [eax*4 + 0x4be644]
push 0x55d2b0
call fcn.00404580
push 0xa14
push 0xc1e7f2
mov esi, eax
call fcn.0051ad70
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be230
sub ecx, edx
lea ecx, [ecx + ecx*2]
add ecx, ecx
shr ecx, 1
jmp 0x4be4ff
push 0x55d2b8
call fcn.00404580
push 0xa14
push 0xc1e7f2
mov esi, eax
call fcn.0051ad70
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be268
sub ecx, edx
lea ecx, [ecx + ecx*2]
add ecx, ecx
shr ecx, 1
jmp 0x4be4ff
push 0x55d2c0
call fcn.00404580
push 0xa14
push 0xc1e7f2
mov esi, eax
call fcn.0051ad70
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be2a0
sub ecx, edx
lea ecx, [ecx + ecx*2]
add ecx, ecx
shr ecx, 1
jmp 0x4be4ff
push 0x55d2c8
call fcn.00404580
push 0xa14
push 0xc1e7f2
mov esi, eax
call fcn.0051ad70
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be2d8
sub ecx, edx
lea ecx, [ecx + ecx*2]
add ecx, ecx
shr ecx, 1
jmp 0x4be4ff
push 0x55d2dc
call fcn.00404580
push 0xa14
push 0xc1e7f2
mov esi, eax
call fcn.0051ad70
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be310
sub ecx, edx
lea ecx, [ecx + ecx*2]
add ecx, ecx
shr ecx, 1
jmp 0x4be4ff
push 0x55d2f0
call fcn.00404580
push 0xa14
push 0xc1e7f2
mov esi, eax
call fcn.0051ad70
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be348
sub ecx, edx
lea ecx, [ecx + ecx*2]
add ecx, ecx
shr ecx, 1
jmp 0x4be4ff
push 0x55d300
call fcn.00404580
push 0xa14
push 0xc1e7f2
mov esi, eax
call fcn.0051ad70
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be380
sub ecx, edx
lea ecx, [ecx + ecx*2]
add ecx, ecx
shr ecx, 1
jmp 0x4be4ff
cmp byte [ebx + 0x30b90], 1
jne case.default.0x4be203
push 0x80
lea ecx, [ebp - 0x190]
push 0
push ecx
call fcn.00527170
add esp, 0xc
call dword [0x5c3c68]
mov ecx, eax
mov eax, 0x10624dd3
sub ecx, dword [ebx + 0x30b94]
imul ecx
mov eax, 0x88888889
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi
add edx, esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
shl eax, 4
sub eax, ecx
shl eax, 2
sub esi, eax
lea eax, [ebp - 0x190]
push esi
push ecx
push 0x55d310
push eax
call fcn.0041f000
push 0xa14
push 0xc1e7f2
call fcn.0051ad70
lea ecx, [ebp - 0x190]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be424
mov esi, dword [0x6e2084]
sub ecx, edx
add esi, 0xfffffff1
lea edx, [ecx + ecx*2]
mov ecx, dword [0x6e2080]
add edx, edx
mov eax, edx
shr eax, 1
sub ecx, eax
lea eax, [edx + ecx]
cmp eax, 0x400
jbe 0x4be458
mov ecx, 0x400
sub ecx, edx
lea eax, [ebp - 0x190]
push eax
push esi
push ecx
jmp 0x4be511
push 0x55d324
call fcn.00404580
push 0xa14
push 0xc1e7f2
mov esi, eax
call fcn.0051ad70
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be490
sub ecx, edx
lea ecx, [ecx + ecx*2]
add ecx, ecx
shr ecx, 1
jmp 0x4be4ff
push 0x55d32c
call fcn.00404580
push 0xa14
push 0xc1e7f2
mov esi, eax
call fcn.0051ad70
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be4c5
jmp 0x4be4f8
push 0x55d334
call fcn.00404580
push 0xa14
push 0xc1e7f2
mov esi, eax
call fcn.0051ad70
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4be4f1
sub ecx, edx
lea ecx, [ecx + ecx*2]
add ecx, ecx
mov eax, dword [0x6e2084]
add eax, 0xfffffff1
push esi
push eax
mov eax, dword [0x6e2080]
sub eax, ecx
push eax
push edi
call fcn.0051ac93
add esp, 0x10
push edi
push dword [0x6e4500]
call fcn.0051ad85
add esp, 8
mov eax, 1
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.0052388c
mov esp, ebp
pop ebp
ret 4