Function at 0x4c6790
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [edi + 0x50]
nop
mov eax, dword [esi + 0x5c]
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x60], eax
mov edx, dword [ecx]
push edx
push 0xa
push eax
call fcn.004d68e0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esi + 0x64], eax
mov ebx, edi
test eax, eax
je 0x4c7531
sub eax, dword [esi + 0x5c]
inc eax
sub dword [ecx], eax
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x64]
inc eax
mov dword [esi + 0x5c], eax
sub eax, dword [esi + 0x60]
push eax
call fcn.004c4970
add esp, 4
test eax, eax
jne 0x4c76e6
mov eax, dword [esi + 0x54]
mov ebx, dword [ebp + 0xc]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x6c4]
xor edx, edx
mov dword [esi + 0x68], ecx
cmp dword [esi + 0x50], edx
jne 0x4c6825
cmp dword [esi + 0x58], 5
jbe 0x4c6825
mov eax, dword [edi + 0x6c4]
push edi
mov ecx, ebx
call fcn.004c4940
add esp, 4
test eax, eax
je 0x4c7582
xor edx, edx
mov eax, dword [esi + 0x68]
mov cl, byte [eax]
cmp cl, 0xa
je 0x4c7266
cmp cl, 0xd
je 0x4c726b
mov ecx, dword [esi + 0x50]
lea edi, [ecx + 1]
mov dword [esi + 0x50], edi
cmp ecx, edx
jne 0x4c6ab9
mov edx, dword [ebx + 0x300]
mov ecx, dword [edx + 0x3c]
test cl, 3
je 0x4c6924
mov edi, dword [ebp + 0xc]
lea ebx, [esi + 0x78]
push ebx
add edi, 0x178
push edi
lea ecx, [ebp - 4]
push ecx
push 0x4fbb4c
push eax
call fcn.004d94dc
add esp, 0x14
cmp eax, 1
jne 0x4c68a9
cmp dword [ebp - 4], 2
jne 0x4c68e6
mov edx, dword [esi + 0x68]
push ebx
push 0x4fbb40
push edx
call fcn.004d94dc
add esp, 0xc
cmp eax, 1
jne 0x4c68e6
mov dword [edi], 0
jmp 0x4c68ae
cmp eax, 3
jne 0x4c68e6
mov eax, dword [ebp - 4]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
cmp dword [esi + 0x88], 2
mov eax, dword [edi]
jne 0x4c6972
mov ebx, dword [ebp + 8]
cmp eax, 0x14
je 0x4c6975
push 0x4fbb1c
push ebx
call fcn.004ae320
add esp, 8
jmp 0x4c6975
mov ecx, dword [esi + 0x68]
push ebx
push 0x4fbb10
push ecx
call fcn.004d94dc
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x4c6972
mov ebx, dword [esi + 0x68]
mov eax, dword [ebp + 8]
call fcn.004c48c0
test eax, eax
je 0x4c75cb
mov dword [esi + 0x78], 0xc8
mov dword [edi], 0xa
jmp 0x4c6972
test ecx, 0x40000
je 0x4c75cb
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 0x78]
push ecx
add edi, 0x17c
push edi
lea edx, [ebp - 0xc]
push edx
push 0x4fbb00
push eax
call fcn.004d94dc
add esp, 0x14
cmp eax, 3
jne 0x4c75cb
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
mov edi, dword [ebp + 0xc]
add edi, 0x178
mov dword [edi], 0xb
mov ebx, dword [ebp + 8]
mov ecx, dword [esi + 0x78]
mov eax, dword [ebx + 0x47bc]
mov dword [ebx + 0x483c], ecx
mov edx, dword [edi]
mov dword [ebx + 0x4844], edx
test eax, eax
je 0x4c6994
cmp eax, dword [edi]
jle 0x4c699c
mov eax, dword [edi]
mov dword [ebx + 0x47bc], eax
cmp dword [ebx + 0x388], 0
je 0x4c69ff
mov eax, dword [esi + 0x78]
cmp eax, 0x190
jl 0x4c69ff
cmp eax, 0x191
jne 0x4c69c2
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x278], 0
jne 0x4c69ff
cmp eax, 0x197
jne 0x4c69d5
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x27c], 0
jne 0x4c69ff
mov ecx, dword [ebx + 0x47e0]
or ecx, dword [ebx + 0x47e4]
je 0x4c75b6
cmp dword [ebx + 0x268], 1
jne 0x4c75b6
cmp eax, 0x1a0
jne 0x4c75b6
mov edi, dword [edi]
cmp edi, 0xa
jne 0x4c6a21
push 0x4fbadc
push ebx
call fcn.004ae320
mov edx, dword [ebp + 0xc]
push 1
push edx
call fcn.004b0e40
add esp, 0x10
jmp 0x4c6a7e
cmp edi, 0x14
je 0x4c6a6f
cmp dword [esi + 0x88], 1
jne 0x4c6a35
cmp dword [esi + 0x78], 0x65
je 0x4c6a6f
cmp edi, 0xb
jl 0x4c6a7e
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x25c], 0
jne 0x4c6a7e
mov ecx, eax
cmp dword [ecx + 0x574], 0
je 0x4c6a7e
mov edi, eax
push edi
push ebx
call fcn.004c7d20
add esp, 8
test eax, eax
jne 0x4c6a7e
mov edx, dword [edi + 0x574]
mov dword [edx], 1
jmp 0x4c6a7e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x574]
mov dword [ecx], 2
mov eax, dword [esi + 0x78]
sub eax, 0xcc
je 0x4c6a90
sub eax, 0x64
jne 0x4c6ab9
mov ebx, dword [ebp + 8]
xor eax, eax
cmp dword [ebx + 0x25c], eax
je 0x4c6aa4
mov dword [ebx + 0x484c], 1
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0xb4], 1
cmp dword [esi + 0xb4], 0
mov edi, dword [ebp + 8]
jne 0x4c6b7b
cmp dword [edi + 0x3e8], 0
jne 0x4c6b7b
mov edx, dword [esi + 0x68]
push 0xf
push edx
push 0x4f8850
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c6b7b
mov eax, dword [esi + 0x68]
push 0xa
add eax, 0xf
push 0
push eax
call fcn.004dc9b7
mov ecx, dword [edi + 0x350]
mov dword [ebp - 0x10], edx
mov ebx, eax
mov eax, dword [edi + 0x354]
mov edx, ecx
add esp, 0xc
or edx, eax
je 0x4c6b2e
cmp dword [ebp - 0x10], eax
jg 0x4c75db
jl 0x4c6b2e
cmp ebx, ecx
ja 0x4c75db
cmp dword [ebp - 0x10], 0
jl 0x4c6b58
jg 0x4c6b3a
test ebx, ebx
jb 0x4c6b58
mov eax, dword [ebp - 0x10]
push eax
push ebx
push edi
mov dword [esi], ebx
mov dword [esi + 4], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], eax
call fcn.004cab60
add esp, 0xc
jmp 0x4c71f6
mov eax, dword [ebp + 0xc]
push 2
push eax
call fcn.004b0e40
mov ecx, dword [ebp - 0x10]
push ecx
push ebx
push 0x4fbaa4
push edi
call fcn.004ae320
add esp, 0x18
jmp 0x4c71f6
mov edx, dword [esi + 0x68]
push 0xd
push edx
push 0x4f8828
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c6bd7
mov eax, dword [esi + 0x68]
push eax
call fcn.004c3a40
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4c75f5
cmp byte [ebx], 0
jne 0x4c6bbc
push ebx
call dword [0x5114c4]
add esp, 4
jmp 0x4c71f6
mov ecx, dword [edi + 0x4864]
push ecx
call dword [0x5114c4]
add esp, 4
mov dword [edi + 0x4864], ebx
jmp 0x4c71f6
mov edx, dword [esi + 0x68]
push 7
push edx
push 0x4fba9c
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c6c4a
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x178], 0x14
jge 0x4c71f6
mov ecx, dword [esi + 0x68]
push ecx
call fcn.004c3a40
mov edx, dword [ebp + 0xc]
mov ebx, eax
mov eax, dword [edx + 0x574]
add esp, 4
test eax, eax
je 0x4c6c3b
cmp dword [eax], 1
jne 0x4c6c3b
push ebx
push edi
call fcn.004c7ee0
add esp, 8
test eax, eax
je 0x4c6c3b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x574]
mov dword [ecx], 0xffffffff
push ebx
call dword [0x5114c4]
add esp, 4
jmp 0x4c71f6
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x178], 0xa
jne 0x4c6c94
cmp dword [ebx + 0x270], 0
je 0x4c6c94
mov edx, dword [esi + 0x68]
push 0x4fba90
push 0x4fb6c8
push edx
call fcn.004c4610
add esp, 0xc
test eax, eax
je 0x4c6c94
push 0
push ebx
call fcn.004b0e40
push 0x4fba60
push edi
call fcn.004ae320
add esp, 0x10
jmp 0x4c71f6
cmp dword [ebx + 0x178], 0xb
jne 0x4c6cdb
cmp dword [ebx + 0x270], 0
je 0x4c6cdb
mov eax, dword [esi + 0x68]
push 0x4fba58
push 0x4fb6c8
push eax
call fcn.004c4610
add esp, 0xc
test eax, eax
je 0x4c6cdb
push 1
push ebx
call fcn.004b0e40
push 0x4fba30
push edi
call fcn.004ae320
add esp, 0x10
jmp 0x4c71f6
cmp dword [ebx + 0x178], 0xa
jne 0x4c6d19
mov ecx, dword [esi + 0x68]
push 0x4fba90
push 0x4fba24
push ecx
call fcn.004c4610
add esp, 0xc
test eax, eax
je 0x4c6d19
push 0
push ebx
call fcn.004b0e40
push 0x4fb9fc
push edi
call fcn.004ae320
add esp, 0x10
jmp 0x4c71f6
mov edx, dword [esi + 0x68]
push 0x4fba58
push 0x4fba24
push edx
call fcn.004c4610
add esp, 0xc
test eax, eax
je 0x4c6d43
push 2
push ebx
call fcn.004b0e40
add esp, 8
jmp 0x4c71f6
mov eax, dword [esi + 0x68]
push 0x12
push eax
push 0x4fb464
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c6e63
mov ebx, dword [esi + 0x68]
add ebx, 0x12
mov al, byte [ebx]
test al, al
je 0x4c6d8d
lea ebx, [ebx]
movzx ecx, al
push ecx
call fcn.004d6c72
add esp, 4
test eax, eax
jne 0x4c6d85
cmp byte [ebx], 0x2c
jne 0x4c6d8d
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x4c6d70
push 7
push ebx
push 0x4fb858
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c6dba
mov edx, dword [ebp + 0xc]
push edx
mov dword [esi + 0xc8], 1
call fcn.004d3e30
add esp, 4
add ebx, 7
cmp dword [esi + 0x8c], 0
jne 0x4c71f6
push 8
push ebx
push str.identity
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c6ded
mov dword [esi + 0x8c], 0
add ebx, 8
jmp 0x4c6d64
push 7
push ebx
push 0x4fb9f4
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c6e13
mov dword [esi + 0x8c], 1
add ebx, 7
jmp 0x4c6d64
push 4
push ebx
push 0x4fb9ec
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c6e39
mov dword [esi + 0x8c], 2
add ebx, 4
jmp 0x4c6d64
push 6
push ebx
push 0x4fb9e4
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c71f6
mov dword [esi + 0x8c], 2
add ebx, 6
jmp 0x4c6d64
mov eax, dword [esi + 0x68]
push 0x11
push eax
push 0x4fb9d0
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c6f39
cmp dword [edi + 0x430], 0
je 0x4c6f39
mov ebx, dword [esi + 0x68]
mov al, byte [ebx + 0x11]
add ebx, 0x11
test al, al
je 0x4c6eb8
jmp 0x4c6ea0
movzx ecx, al
push ecx
call fcn.004d6c72
add esp, 4
test eax, eax
je 0x4c6eb8
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x4c6ea0
push 8
push ebx
push str.identity
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c6edb
mov dword [esi + 0x8c], 0
jmp 0x4c71f6
push 7
push ebx
push 0x4fb9f4
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c6efe
mov dword [esi + 0x8c], 1
jmp 0x4c71f6
push 4
push ebx
push 0x4fb9ec
call fcn.004c83b0
add esp, 0xc
test eax, eax
jne 0x4c6f2a
push 6
push ebx
push 0x4fb9e4
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c71f6
mov dword [esi + 0x8c], 2
jmp 0x4c71f6
mov edx, dword [esi + 0x68]
push 0xe
push edx
push 0x4fb75c
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c6fd8
mov ebx, dword [esi + 0x68]
mov al, byte [ebx + 0xe]
add ebx, 0xe
test al, al
je 0x4c6f7e
movzx eax, al
push eax
call fcn.004d6b6d
add esp, 4
test eax, eax
jne 0x4c6f7e
cmp byte [ebx], 0x2a
je 0x4c6f7e
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x4c6f61
movzx ecx, byte [ebx]
push ecx
call fcn.004d6b6d
add esp, 4
test eax, eax
je 0x4c6fc5
push 0xa
push 0
push ebx
call fcn.004dc9b7
add esp, 0xc
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
cmp dword [edi + 0x47e0], eax
jne 0x4c71f6
cmp dword [edi + 0x47e4], edx
jne 0x4c71f6
mov dword [esi + 0x6c], 1
jmp 0x4c71f6
xor eax, eax
mov dword [edi + 0x47e0], eax
mov dword [edi + 0x47e4], eax
jmp 0x4c71f6
cmp dword [edi + 0x578], 0
je 0x4c7043
mov ecx, dword [esi + 0x68]
push 0xb
push ecx
push str.Set_Cookie:
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c7043
push 2
push 2
push edi
call fcn.004b4360
mov eax, dword [ebx + 0x330]
add esp, 0xc
test eax, eax
jne 0x4c7015
mov eax, dword [ebx + 0x98]
mov edx, dword [edi + 0x47cc]
mov ecx, dword [edi + 0x578]
push edx
push eax
mov eax, dword [esi + 0x68]
add eax, 0xb
push eax
push 1
push ecx
push edi
call fcn.004aee10
push 2
push edi
call fcn.004b43a0
add esp, 0x20
jmp 0x4c71f6
mov edx, dword [esi + 0x68]
push 0xe
push edx
push 0x4fb9c0
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c70b2
cmp dword [edi + 0x25c], 0
jne 0x4c706c
cmp dword [edi + 0x36c], 0
je 0x4c70b2
push 0
call fcn.004d85b3
mov ecx, dword [esi + 0x68]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
add ecx, 0xe
push ecx
mov dword [ebp - 0x18], edx
call fcn.004ce820
add esp, 0xc
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], edx
cmp dword [edi + 0x36c], 0
je 0x4c71f6
mov edx, eax
mov dword [edi + 0x4848], edx
jmp 0x4c71f6
mov eax, dword [esi + 0x68]
push 0x11
push eax
push 0x4fb9ac
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c70d3
mov eax, dword [esi + 0x78]
cmp eax, 0x191
je 0x4c70f4
mov ecx, dword [esi + 0x68]
push 0x13
push ecx
push 0x4fb998
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c7146
mov eax, dword [esi + 0x78]
cmp eax, 0x197
jne 0x4c7146
xor edx, edx
cmp eax, 0x197
mov eax, dword [esi + 0x68]
sete dl
push eax
mov dword [ebp - 8], edx
call fcn.004c3a40
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4c75f5
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
push ebx
push ecx
push edx
call fcn.004c4080
push ebx
mov dword [ebp - 8], eax
call dword [0x5114c4]
add esp, 0x10
cmp dword [ebp - 8], 0
je 0x4c71f6
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x78]
cmp eax, 0x12c
jl 0x4c71d2
cmp eax, 0x190
jge 0x4c71d2
mov eax, dword [esi + 0x68]
push 9
push eax
push 0x4fb98c
call fcn.004c83b0
add esp, 0xc
test eax, eax
je 0x4c71d2
cmp dword [edi + 0x108], 0
jne 0x4c71d2
mov ecx, dword [esi + 0x68]
push ecx
call fcn.004c3a40
add esp, 4
test eax, eax
je 0x4c75f5
cmp byte [eax], 0
jne 0x4c71a0
push eax
call dword [0x5114c4]
add esp, 4
jmp 0x4c71f6
cmp dword [edi + 0x390], 0
mov dword [edi + 0x108], eax
je 0x4c71f6
push eax
call dword [0x5114cc]
add esp, 4
mov dword [edi + 0x10c], eax
test eax, eax
je 0x4c75f5
push ebx
call fcn.004c3c80
add esp, 4
jmp 0x4c71ee
mov edx, dword [ebx + 0x300]
test dword [edx + 0x3c], 0x40000
je 0x4c71f6
mov eax, dword [esi + 0x68]
push eax
push ebx
call fcn.004b4f80
add esp, 8
test eax, eax
jne 0x4c76e6
cmp dword [edi + 0x39c], 0
mov ebx, 2
je 0x4c7209
mov ebx, 3
cmp dword [edi + 0x3b4], 0
je 0x4c7229
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x68]
push ecx
push edx
push eax
push 1
push edi
call fcn.004ae240
add esp, 0x14
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x68]
mov eax, dword [ebp + 0xc]
push ecx
push edx
push ebx
push eax
call fcn.004ae7a0
add esp, 0x10
test eax, eax
jne 0x4c76e6
mov ecx, dword [esi + 0x58]
add dword [edi + 0x4850], ecx
mov edx, dword [esi + 0x58]
mov eax, dword [edi + 0x6c4]
add dword [edi + 0x80], edx
mov dword [esi + 0x54], eax
jmp 0x4c74e7
cmp cl, 0xd
jne 0x4c726f
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x68]
cmp byte [eax], 0xa
jne 0x4c727b
inc eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x78]
cmp eax, 0x64
jl 0x4c72d5
cmp eax, 0xc7
jg 0x4c72d5
sub eax, 0x64
je 0x4c72b4
mov ecx, 1
sub eax, ecx
je 0x4c72a3
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], edx
jmp 0x4c732b
cmp dword [esi + 0x88], ecx
je 0x4c7503
mov dword [esi + 0x48], edx
jmp 0x4c732b
mov dword [esi + 0x48], 1
mov dword [esi + 0x50], edx
cmp dword [esi + 0x84], edx
jle 0x4c732b
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], edx
jmp 0x4c732b
mov ecx, dword [esi]
and ecx, dword [esi + 4]
mov dword [esi + 0x48], edx
cmp ecx, 0xffffffff
jne 0x4c732b
cmp dword [esi + 0xc8], edx
jne 0x4c732b
cmp dword [ebx + 0x25c], edx
jne 0x4c7333
cmp dword [ebx + 0x178], 0xb
jne 0x4c732b
mov eax, dword [ebx + 0x300]
test dword [eax + 0x3c], 0x40000
jne 0x4c732b
cmp dword [edi + 0x268], 5
je 0x4c732b
push 0x4fb950
push edi
call fcn.004ae320
push 2
push ebx
call fcn.004b0e40
add esp, 0x10
xor edx, edx
cmp dword [ebx + 0x25c], edx
je 0x4c7371
mov eax, dword [edi + 0xc8]
cmp eax, 0x191
jne 0x4c7349
cmp dword [ebx + 0x360], 2
je 0x4c7359
cmp eax, 0x197
jne 0x4c7371
cmp dword [ebx + 0x378], 2
jne 0x4c7371
push 0x4fb918
push edi
call fcn.004ae320
add esp, 8
mov dword [edi + 0x4788], 1
mov edx, ebx
call fcn.004c4220
test eax, eax
jne 0x4c7601
lea ecx, [eax + 2]
cmp dword [edi + 0x39c], eax
je 0x4c738e
lea ecx, [eax + 3]
mov eax, dword [edi + 0x6c4]
mov ebx, dword [esi + 0x68]
sub ebx, eax
push ebx
push eax
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004ae7a0
add esp, 0x10
test eax, eax
jne 0x4c76e6
add dword [edi + 0x80], ebx
add dword [edi + 0x4850], ebx
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x80]
cmp eax, 0x64
jl 0x4c73d5
cmp eax, 0xc7
jg 0x4c73d5
mov eax, ecx
jmp 0x4c73d7
xor eax, eax
mov edx, dword [ebp + 0xc]
push edx
mov dword [edi + 0x84], eax
call fcn.004c4ad0
add esp, 4
test eax, eax
jne 0x4c76e6
cmp dword [esi + 0x78], 0x12c
jl 0x4c74d4
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x2a0], 0
jne 0x4c74b3
mov ecx, eax
cmp dword [ecx + 0x25c], 0
jne 0x4c74b3
mov edx, eax
cmp dword [edx + 0x2a4], 0
jne 0x4c74b3
mov eax, dword [edi + 0x268]
add eax, 0xfffffffe
cmp eax, 2
ja 0x4c74b3
cmp dword [esi + 0xac], 0
jne 0x4c74b3
cmp dword [edi + 0x38c], 0
je 0x4c7476
push 0x4fb8e8
push edi
call fcn.004ae320
add esp, 8
cmp dword [esi + 0x84], 0
jle 0x4c74b3
or dword [esi + 0xa8], 2
mov dword [esi + 0x84], 0
jmp 0x4c74b3
push 0x4fb8b8
push edi
call fcn.004ae320
mov eax, dword [ebp + 0xc]
push 2
push eax
call fcn.004b0e40
and dword [esi + 0xa8], 0xfffffffd
add esp, 0x10
mov dword [esi + 0xac], 1
cmp dword [edi + 0x47c0], 0
je 0x4c74b3
mov dword [esi + 0x84], 3
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x2a4], 0
je 0x4c74d4
push 0x4fb890
push edi
call fcn.004ae320
add esp, 8
or dword [esi + 0xa8], 2
cmp dword [esi + 0x48], 0
je 0x4c761f
mov edx, dword [edi + 0x6c4]
mov dword [esi + 0x54], edx
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x58], 0
cmp byte [eax], 0
jne 0x4c67a0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4fb880
push edi
call fcn.004ae320
add esp, 8
mov eax, 1
pop edi
mov dword [esi + 0x88], 2
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ecx]
push edx
call fcn.004c4970
add esp, 4
test eax, eax
jne 0x4c76e6
cmp dword [esi + 0x50], eax
jne 0x4c76e4
cmp dword [esi + 0x58], 5
jbe 0x4c76e4
mov eax, dword [edi + 0x6c4]
mov ecx, dword [ebp + 0xc]
push edi
call fcn.004c4940
add esp, 4
test eax, eax
jne 0x4c76e4
pop edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 2
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x48], 0
cmp dword [eax], 0
je 0x4c75a1
pop edi
mov dword [esi + 0x4c], 1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 0x4c], 2
pop esi
mov dword [eax], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004c4a30
add esp, 4
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x48], 0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4f7958
push edi
call fcn.004ae3a0
add esp, 8
pop edi
pop esi
mov eax, 0x3f
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x78]
push edx
push 0x4fb3dc
push edi
call fcn.004ae3a0
add esp, 0xc
pop edi
pop esi
mov eax, 0x16
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x3a8], 0
mov eax, dword [ebp + 0x14]
je 0x4c7636
mov dword [eax], 1
or edx, 0xffffffff
jmp 0x4c767e
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x300]
test dword [edx + 0x3c], 0x40000
je 0x4c7667
cmp dword [edi + 0x500], 2
jne 0x4c7667
or edx, 0xffffffff
cmp dword [esi + 4], edx
jg 0x4c766a
jl 0x4c765f
cmp dword [esi], edx
ja 0x4c766a
mov dword [eax], 1
jmp 0x4c767e
or edx, 0xffffffff
cmp dword [esi + 0xc8], 0
je 0x4c767e
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, edx
jne 0x4c768b
cmp ecx, edx
je 0x4c76a1
push ecx
push eax
push edi
call fcn.004cab60
mov eax, dword [esi]
mov ecx, dword [esi + 4]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
cmp dword [esi + 0x10], 0
jne 0x4c76b8
cmp dword [esi + 0x14], 0
jne 0x4c76b8
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
jmp 0x4c76c0
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
je 0x4c76c7
and dword [esi + 0xa8], 0xfffffffe
cmp dword [edi + 0x3b4], 0
je 0x4c76e4
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x60]
push ecx
push ebx
push edx
push 1
push edi
call fcn.004ae240
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret