Function at 0x540033
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
push edi
mov dword [ebp - 0x20], esi
mov edi, dword [esi + 0xac]
mov dword [esi + 0xb0], edi
push dword [eax]
push 0xa
push edi
call 0x6ed435
mov ebx, eax
add esp, 0xc
mov dword [esi + 0xb4], ebx
test ebx, ebx
je 0x540dce
mov eax, dword [0x681498]
mov dword [ebp - 0x10], eax
mov eax, dword [0x681694]
mov dword [ebp - 8], eax
mov eax, dword [0x68172c]
mov dword [ebp - 0xc], eax
mov eax, dword [0x681744]
mov dword [ebp - 0x24], eax
nop dword [eax]
mov eax, dword [ebp + 8]
lea edx, [esi + 0x50]
sub ebx, edi
mov ecx, esi
inc ebx
sub dword [eax], ebx
mov eax, dword [esi + 0xb4]
inc eax
mov dword [esi + 0xac], eax
sub eax, dword [esi + 0xb0]
push eax
call fcn.0053fec3
add esp, 4
test eax, eax
jne 0x540e1f
mov eax, dword [esi + 0xa4]
mov edi, dword [esi + 0xa0]
mov dword [esi + 0xb4], eax
mov ecx, dword [esi + 0x57c]
mov dword [ebp - 0x14], ecx
mov dword [esi + 0xb8], ecx
test edi, edi
jne 0x540112
cmp dword [esi + 0xa8], 5
jbe 0x540112
mov eax, dword [ebp - 4]
mov ecx, esi
push dword [esi + 0x57c]
mov edx, eax
call fcn.0053fe93
add esp, 4
test al, al
je 0x540e26
mov ecx, dword [ebp - 0x14]
mov al, byte [ecx]
cmp al, 0xa
je 0x540b2b
cmp al, 0xd
je 0x540b2f
lea eax, [edi + 1]
mov dword [esi + 0xa0], eax
test edi, edi
jne 0x54037d
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20c]
mov eax, dword [eax + 0x3c]
test al, 3
je 0x540294
lea ebx, [esi + 0xc8]
push ebx
lea edi, [edx + 0x13c]
push edi
lea eax, [ebp - 0x18]
push eax
push 0x6f24ec
push ecx
call fcn.004fc043
add esp, 0x14
cmp eax, 3
jne 0x54024c
mov eax, dword [ebp - 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [edi]
lea eax, [eax + ecx*2]
mov dword [edi], eax
cmp dword [esi + 0xd8], 2
jne 0x54019b
cmp eax, 0x14
je 0x54019b
push 0x6f24fc
push esi
call fcn.0052ddd3
add esp, 8
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [esi + 0x86b4], eax
mov eax, dword [edi]
mov dword [esi + 0x86bc], eax
mov eax, dword [esi + 0x8658]
test eax, eax
je 0x5401bc
cmp eax, dword [edi]
jle 0x5401c4
mov eax, dword [edi]
mov dword [esi + 0x8658], eax
cmp byte [esi + 0x300], 0
je 0x540224
mov ecx, dword [ebx]
cmp ecx, 0x190
jl 0x540224
cmp ecx, 0x191
jne 0x5401e8
cmp byte [edx + 0x1e4], 0
jne 0x540224
cmp ecx, 0x197
jne 0x5401f9
cmp byte [edx + 0x1e5], 0
jne 0x540224
mov eax, dword [esi + 0x8670]
or eax, dword [esi + 0x8674]
je 0x540e5d
cmp dword [esi + 0x288], 1
jne 0x540e5d
cmp ecx, 0x1a0
jne 0x540e5d
mov eax, dword [edi]
cmp eax, 0xa
jne 0x5402ea
push 0x6f253c
push esi
call fcn.0052ddd3
mov eax, dword [ebp - 4]
add esp, 8
mov byte [eax + 0x1e0], 1
jmp 0x54033c
push ebx
push 0x6f2520
push dword [esi + 0xb8]
call fcn.004fc043
add esp, 0xc
mov dword [edi], 0xa
test eax, eax
jne 0x54019b
mov edx, dword [esi + 0xb8]
mov ecx, esi
call fcn.0053fe03
test al, al
je 0x540e16
mov dword [ebx], 0xc8
mov dword [edi], 0xa
jmp 0x54019b
test eax, 0x40000
je 0x540e16
lea ebx, [esi + 0xc8]
push ebx
lea edi, [edx + 0x140]
push edi
lea eax, [ebp - 0x1c]
push eax
push 0x6f252c
push ecx
call fcn.004fc043
add esp, 0x14
cmp eax, 3
jne 0x540e16
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov dword [edx + 0x13c], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [edi], eax
lea edi, [edx + 0x13c]
jmp 0x54019e
cmp eax, 0x14
je 0x540330
cmp dword [esi + 0xd8], 1
jne 0x5402fd
cmp dword [ebx], 0x65
je 0x540330
cmp eax, 0xb
jl 0x54033c
cmp byte [edx + 0x1e0], 0
jne 0x54033c
cmp dword [edx + 0x470], 0
je 0x54033c
mov ecx, esi
call fcn.0053ab83
test al, al
jne 0x54033c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
mov dword [eax], 1
jmp 0x54033c
mov eax, dword [edx + 0x470]
mov dword [eax], 2
mov eax, dword [ebx]
sub eax, 0xcc
je 0x54034a
sub eax, 0x64
jne 0x54037d
cmp dword [esi + 0x278], 0
je 0x54035a
mov byte [esi + 0x86c4], 1
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov byte [esi + 0x13e], 1
cmp byte [esi + 0x13e], 0
jne 0x540429
cmp byte [esi + 0x327], 0
jne 0x540429
mov edi, dword [esi + 0xb8]
mov ecx, 0x6f225c
push 0xf
mov edx, edi
call fcn.00552f03
add esp, 4
test eax, eax
je 0x540429
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call dword [ebp - 0x10]
mov ebx, dword [esi + 0x2e0]
mov ecx, eax
mov edi, dword [esi + 0x2e4]
mov eax, ebx
add esp, 0xc
or eax, edi
je 0x5403e6
cmp edx, edi
jg 0x540e70
jl 0x5403e6
cmp ecx, ebx
ja 0x540e70
test edx, edx
jl 0x54040a
jg 0x5403f0
test ecx, ecx
jb 0x54040a
push edx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x60], ecx
push ecx
mov ecx, esi
mov dword [esi + 0x54], edx
mov dword [esi + 0x64], edx
call fcn.00541533
jmp 0x54057d
mov eax, dword [ebp - 4]
push edx
push ecx
push 0x6f257c
push esi
mov byte [eax + 0x1e0], 1
call fcn.0052ddd3
add esp, 0x10
jmp 0x540580
mov edi, dword [esi + 0xb8]
mov ecx, 0x6f1e88
push 0xd
mov edx, edi
call fcn.00552f03
add esp, 4
test eax, eax
je 0x540483
mov ecx, edi
call fcn.0053d183
mov edi, eax
test edi, edi
je 0x540e8a
cmp byte [edi], 0
jne 0x540469
push edi
call dword [0x74b960]
add esp, 4
jmp 0x540580
push dword [esi + 0x86dc]
call dword [0x74b960]
add esp, 4
mov dword [esi + 0x86dc], edi
jmp 0x540580
mov eax, dword [ebp - 4]
mov edx, edi
push 7
mov ecx, 0x6f25b4
mov ebx, dword [eax + 0x13c]
call fcn.00552f03
add esp, 4
test eax, eax
je 0x5404ef
cmp ebx, 0x14
jge 0x540580
mov ecx, edi
call fcn.0053d183
mov ebx, dword [ebp - 4]
mov edi, eax
mov ecx, dword [ebx + 0x470]
test ecx, ecx
je 0x5404de
cmp dword [ecx], 1
jne 0x5404de
mov edx, edi
mov ecx, esi
call fcn.0053ad43
test al, al
je 0x5404de
mov eax, dword [ebx + 0x470]
mov dword [eax], 0xffffffff
push edi
call dword [0x74b960]
add esp, 4
mov ecx, ebx
jmp 0x540583
cmp ebx, 0xa
mov ebx, dword [ebp - 4]
jne 0x540531
cmp byte [ebx + 0x1e3], 0
je 0x540531
push 0x6f25bc
mov edx, 0x6f2194
mov ecx, edi
call fcn.0053df53
add esp, 4
test al, al
je 0x540531
push 0x6f25c8
push esi
mov byte [ebx + 0x1e0], 0
call fcn.0052ddd3
add esp, 8
mov ecx, ebx
jmp 0x540583
cmp dword [ebx + 0x13c], 0xb
jne 0x5405ec
cmp byte [ebx + 0x1e3], 0
je 0x5405ec
mov ecx, dword [esi + 0xb8]
mov edx, 0x6f2194
push 0x6f25f8
call fcn.0053df53
add esp, 4
test al, al
je 0x5405ec
mov byte [ebx + 0x1e0], 1
push 0x6f2600
push esi
call fcn.0052ddd3
add esp, 8
mov ecx, dword [ebp - 4]
xor ebx, ebx
cmp byte [esi + 0x304], bl
setne bl
cmp byte [esi + 0x310], 0
je 0x5405b3
push ecx
push dword [esi + 0xa8]
mov edx, 1
mov ecx, esi
push dword [esi + 0xb8]
call fcn.0052e5a3
add esp, 0xc
push dword [esi + 0xa8]
mov ecx, dword [ebp - 4]
lea edx, [ebx + 2]
push dword [esi + 0xb8]
call fcn.0052e3a3
add esp, 8
test eax, eax
jne 0x540e1f
mov eax, dword [esi + 0xa8]
add dword [esi + 0x86c8], eax
add dword [esi + 0x80], eax
jmp 0x540d7b
cmp dword [ebx + 0x13c], 0xa
jne 0x540622
mov ecx, dword [esi + 0xb8]
mov edx, 0x6f1f8c
push 0x6f25bc
call fcn.0053df53
add esp, 4
test al, al
je 0x540622
mov byte [ebx + 0x1e0], 0
push 0x6f2628
jmp 0x540577
mov ecx, dword [esi + 0xb8]
mov edx, 0x6f1f8c
push 0x6f25f8
call fcn.0053df53
add esp, 4
test al, al
je 0x54064a
mov byte [ebx + 0x1e0], 1
jmp 0x540580
mov edi, dword [esi + 0xb8]
mov ecx, 0x6f1fc8
push 0x12
mov edx, edi
call fcn.00552f03
add esp, 4
test eax, eax
je 0x540783
add edi, 0x12
nop dword [eax]
mov al, byte [edi]
test al, al
je 0x5406a0
mov ebx, dword [ebp - 8]
nop dword [eax]
movzx eax, al
push eax
call ebx
add esp, 4
test eax, eax
jne 0x540695
cmp byte [edi], 0x2c
jne 0x54069d
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x540683
mov ebx, dword [ebp - 4]
push 7
mov edx, edi
mov ecx, 0x6f1fdc
call fcn.00552f03
add esp, 4
test eax, eax
je 0x5406c6
mov ecx, ebx
mov byte [esi + 0x150], 1
call fcn.0055b1a3
add edi, 7
cmp dword [esi + 0xdc], 0
jne 0x540580
push 8
mov edx, edi
mov ecx, 0x6f2650
call fcn.00552f03
add esp, 4
test eax, eax
je 0x5406fe
mov eax, 8
mov dword [esi + 0xdc], 0
add edi, eax
jmp 0x540673
push 7
mov edx, edi
mov ecx, 0x6f265c
call fcn.00552f03
add esp, 4
test eax, eax
je 0x540729
mov eax, 7
mov dword [esi + 0xdc], 1
add edi, eax
jmp 0x540673
push 4
mov edx, edi
mov ecx, 0x6e9630
call fcn.00552f03
add esp, 4
test eax, eax
je 0x540754
mov eax, 4
mov dword [esi + 0xdc], 2
add edi, eax
jmp 0x540673
push 6
mov edx, edi
mov ecx, 0x6f2664
call fcn.00552f03
add esp, 4
test eax, eax
je 0x540580
mov eax, 6
mov dword [esi + 0xdc], 2
add edi, eax
jmp 0x540673
push 0x11
mov edx, edi
mov ecx, 0x6f266c
call fcn.00552f03
add esp, 4
test eax, eax
je 0x540860
cmp dword [esi + 0x358], 0
jne 0x5407b2
cmp dword [ebx + 0x13c], 0x14
jne 0x540860
mov al, byte [edi + 0x11]
add edi, 0x11
test al, al
je 0x5407db
mov esi, dword [ebp - 8]
nop dword [eax]
movzx eax, al
push eax
call esi
add esp, 4
test eax, eax
je 0x5407d8
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x5407c3
mov esi, dword [ebp - 0x20]
push 8
mov edx, edi
mov ecx, 0x6f2650
call fcn.00552f03
add esp, 4
test eax, eax
je 0x5407ff
mov dword [esi + 0xdc], 0
jmp 0x540580
push 7
mov edx, edi
mov ecx, 0x6f265c
call fcn.00552f03
add esp, 4
test eax, eax
je 0x540823
mov dword [esi + 0xdc], 1
jmp 0x540580
push 4
mov edx, edi
mov ecx, 0x6e9630
call fcn.00552f03
add esp, 4
test eax, eax
jne 0x540851
push 6
mov edx, edi
mov ecx, 0x6f2664
call fcn.00552f03
add esp, 4
test eax, eax
je 0x540580
mov dword [esi + 0xdc], 2
jmp 0x540580
push 0xe
mov edx, edi
mov ecx, 0x6f2100
call fcn.00552f03
add esp, 4
test eax, eax
je 0x54090b
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x5408a0
mov ebx, dword [ebp - 0xc]
movzx eax, al
push eax
call ebx
add esp, 4
test eax, eax
jne 0x5408a0
cmp byte [edi], 0x2a
je 0x5408a0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x540886
movzx eax, byte [edi]
push eax
call dword [ebp - 0xc]
add esp, 4
test eax, eax
je 0x5408f2
push 0xa
push 0
push edi
call dword [ebp - 0x10]
mov dword [esi + 0xc0], eax
add esp, 0xc
mov dword [esi + 0xc4], edx
mov eax, dword [esi + 0x8670]
cmp eax, dword [esi + 0xc0]
jne 0x540580
mov ecx, dword [ebp - 4]
cmp dword [esi + 0x8674], edx
jne 0x540583
mov byte [esi + 0xbc], 1
jmp 0x540583
mov dword [esi + 0x8670], 0
mov dword [esi + 0x8674], 0
jmp 0x540580
cmp dword [esi + 0x450], 0
je 0x54097d
push 0xb
mov edx, edi
mov ecx, 0x6f0b74
call fcn.00552f03
add esp, 4
test eax, eax
je 0x54097d
push ecx
mov edx, 2
mov ecx, esi
call fcn.005440e3
mov eax, dword [ebx + 0x23c]
add esp, 4
test eax, eax
jne 0x540949
mov eax, dword [ebx + 0x98]
push dword [esi + 0x8664]
mov edx, dword [esi + 0x450]
mov ecx, esi
push eax
mov eax, dword [esi + 0xb8]
add eax, 0xb
push eax
push 1
call fcn.00536f13
add esp, 0x10
mov edx, 2
mov ecx, esi
call fcn.00544123
jmp 0x540580
push 0xe
mov edx, edi
mov ecx, 0x6f2680
call fcn.00552f03
add esp, 4
test eax, eax
je 0x5409e1
cmp dword [esi + 0x278], 0
jne 0x5409a4
cmp byte [esi + 0x2f9], 0
je 0x5409e1
push 0
call dword [ebp - 0x24]
mov ecx, dword [esi + 0xb8]
add esp, 4
add ecx, 0xe
call fcn.00557353
mov ecx, dword [ebp - 4]
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], edx
cmp byte [esi + 0x2f9], 0
je 0x540583
mov dword [esi + 0x86c0], eax
jmp 0x540583
push 0x11
mov edx, edi
mov ecx, 0x6f2690
call fcn.00552f03
add esp, 4
test eax, eax
je 0x540a04
mov ebx, dword [esi + 0xc8]
cmp ebx, 0x191
je 0x540a27
push 0x13
mov edx, edi
mov ecx, 0x6f26a4
call fcn.00552f03
add esp, 4
test eax, eax
je 0x540a6a
mov ebx, dword [esi + 0xc8]
cmp ebx, 0x197
jne 0x540a6a
mov ecx, edi
call fcn.0053d183
mov edi, eax
test edi, edi
je 0x540e8a
mov ecx, dword [ebp - 4]
cmp ebx, 0x197
push edi
sete dl
call fcn.0053d983
add esp, 4
mov ebx, eax
push edi
call dword [0x74b960]
add esp, 4
test ebx, ebx
je 0x540580
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc8]
sub eax, 0x12c
cmp eax, 0x63
ja 0x540aff
push 9
mov edx, edi
mov ecx, 0x6f26b8
call fcn.00552f03
add esp, 4
test eax, eax
je 0x540aff
cmp dword [esi + 0x140], 0
jne 0x540aff
mov ecx, edi
call fcn.0053d183
test eax, eax
je 0x540e8a
cmp byte [eax], 0
jne 0x540abf
push eax
call dword [0x74b960]
add esp, 4
jmp 0x540580
cmp byte [esi + 0x301], 0
mov dword [esi + 0x140], eax
je 0x540580
push eax
call dword [0x74b964]
add esp, 4
mov dword [esi + 0x144], eax
test eax, eax
je 0x540e8a
mov ecx, dword [ebp - 4]
call fcn.0053d3d3
test eax, eax
jne 0x540e1f
jmp 0x540580
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x20c]
test dword [eax + 0x3c], 0x40000
je 0x540583
mov edx, edi
call fcn.00549533
test eax, eax
je 0x540580
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp al, 0xd
jne 0x540b38
inc ecx
mov dword [esi + 0xb8], ecx
mov al, byte [ecx]
cmp al, 0xa
jne 0x540b45
lea eax, [ecx + 1]
mov dword [esi + 0xb8], eax
mov ecx, dword [esi + 0xc8]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x540bcd
mov byte [esi + 0x98], 1
mov dword [esi + 0xa0], 0
sub ecx, 0x64
je 0x540bae
sub ecx, 1
jne 0x540b7b
cmp dword [esi + 0xd8], 1
je 0x540e96
mov ebx, dword [ebp - 4]
cmp byte [ebx + 0x1e0], 0
je 0x540c5c
mov eax, dword [esi + 0xc8]
cmp eax, 0x191
jne 0x540c37
cmp dword [ebx + 0x268], 2
je 0x540c47
jmp 0x540c5c
cmp dword [esi + 0xd4], 0
mov ebx, dword [ebp - 4]
je 0x540b7e
or dword [esi + 0x138], 2
mov dword [esi + 0xd4], 0
jmp 0x540b7e
mov eax, dword [esi + 0x50]
and eax, dword [esi + 0x54]
mov byte [esi + 0x98], 0
cmp eax, 0xffffffff
jne 0x540b7b
cmp byte [esi + 0x150], 0
mov ebx, dword [ebp - 4]
jne 0x540b7e
cmp byte [ebx + 0x1e0], 0
jne 0x540b8b
cmp dword [ebx + 0x13c], 0xb
jne 0x540b7e
mov eax, dword [ebx + 0x20c]
test dword [eax + 0x3c], 0x40000
jne 0x540b7e
cmp dword [esi + 0x288], 5
je 0x540b7e
push 0x6f2420
push esi
call fcn.0052ddd3
add esp, 8
mov byte [ebx + 0x1e0], 1
jmp 0x540b7e
cmp eax, 0x197
jne 0x540c5c
cmp dword [ebx + 0x280], 2
jne 0x540c5c
push 0x6f245c
push esi
call fcn.0052ddd3
add esp, 8
mov byte [esi + 0x8624], 1
mov ecx, ebx
call fcn.0053db13
test eax, eax
jne 0x540f6d
mov eax, dword [esi + 0x57c]
xor edx, edx
mov edi, dword [esi + 0xb8]
sub edi, eax
cmp byte [esi + 0x304], dl
push edi
setne dl
push eax
add edx, 2
call fcn.0052e3a3
add esp, 8
test eax, eax
jne 0x540e1f
add dword [esi + 0x80], edi
xor edx, edx
add dword [esi + 0x86c8], edi
mov eax, dword [esi + 0xc8]
mov ecx, dword [esi + 0x80]
sub eax, 0x64
cmp eax, 0x63
mov eax, dword [ebp + 0xc]
cmova ecx, edx
mov dword [esi + 0x84], ecx
cmp byte [eax], dl
jne 0x540d6e
mov ecx, ebx
call fcn.0053d593
test eax, eax
jne 0x540e1f
cmp dword [esi + 0xc8], 0x12c
jl 0x540d4d
cmp byte [ebx + 0x1ee], al
jne 0x540d4d
cmp byte [ebx + 0x1e0], al
jne 0x540d4d
cmp byte [ebx + 0x1ef], al
jne 0x540d56
mov eax, dword [esi + 0x288]
add eax, 0xfffffffe
cmp eax, 2
ja 0x540d4d
cmp byte [esi + 0x13c], 0
jne 0x540d4d
push 0x6f2494
push esi
call fcn.0052ddd3
mov byte [ebx + 0x1e0], 1
add esp, 8
and dword [esi + 0x138], 0xfffffffd
mov byte [esi + 0x13c], 1
cmp byte [esi + 0x865c], 0
je 0x540d4d
mov dword [esi + 0xd4], 3
cmp byte [ebx + 0x1ef], 0
je 0x540d6b
push 0x6f24c4
push esi
call fcn.0052ddd3
add esp, 8
or dword [esi + 0x138], 2
mov eax, dword [ebp + 0xc]
cmp byte [esi + 0x98], 0
je 0x540eba
mov eax, dword [esi + 0x57c]
mov dword [esi + 0xa4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xa8], 0
cmp byte [eax], 0
jne 0x540e1d
mov edi, dword [esi + 0xac]
cmp byte [edi], 0
je 0x540e1d
mov eax, dword [ebp + 8]
mov dword [esi + 0xb0], edi
push dword [eax]
push 0xa
push edi
call 0x6ed435
mov ebx, eax
add esp, 0xc
mov dword [esi + 0xb4], ebx
test ebx, ebx
jne 0x540093
mov eax, dword [ebp + 8]
lea edx, [esi + 0x50]
mov ecx, esi
push dword [eax]
call fcn.0053fec3
add esp, 4
test eax, eax
jne 0x540e1f
cmp dword [esi + 0xa0], eax
jne 0x540e1d
cmp dword [esi + 0xa8], 5
jbe 0x540e1d
push dword [esi + 0x57c]
mov edx, dword [ebp - 4]
mov ecx, esi
call fcn.0053fe93
add esp, 4
test al, al
jne 0x540e1d
mov dword [esi + 0x9c], 2
mov byte [esi + 0x98], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov byte [esi + 0x98], 0
cmp dword [eax], 0
je 0x540e48
mov dword [esi + 0x9c], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x9c], 2
mov dword [eax], ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0053ff93
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x6f2560
push esi
call fcn.0052de53
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x6f2410
push esi
call fcn.0052ddd3
add esp, 8
mov dword [esi + 0xd8], 2
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x307], 0
je 0x540edf
mov byte [eax], 1
lea eax, [esi + 0x50]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, 0xffffffff
jne 0x540f08
cmp eax, ecx
jne 0x540f08
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
jmp 0x540f20
cmp byte [esi + 0x150], 0
je 0x540ec6
lea eax, [esi + 0x50]
mov dword [esi + 0x60], 0xffffffff
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
jmp 0x540ec9
push eax
push ecx
mov ecx, esi
call fcn.00541533
mov eax, dword [esi + 0x50]
add esp, 8
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ecx
test eax, eax
jne 0x540f30
test ecx, ecx
jne 0x540f30
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
jmp 0x540f39
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
test al, al
je 0x540f40
and dword [esi + 0x138], 0xfffffffe
cmp byte [esi + 0x310], 0
je 0x540e1d
push ebx
push edi
push dword [esi + 0xb0]
mov edx, 1
mov ecx, esi
call fcn.0052e5a3
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0xc8]
push 0x6f1d4c
push esi
call fcn.0052de53
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret