Function at 0x539e40
Capabilities:
Check http status code

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
mov ebx, dword [esi + 0xe0]
lea ebp, [esi + 0x88]
push edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], ebx
mov eax, dword [edi]
mov dword [esp + 0x28], eax
nop dword [eax]
push dword [edi]
push 0xa
push ebx
call fcn.0058c690
add esp, 0xc
test eax, eax
je 0x53af00
mov ecx, dword [ebp + 0x58]
sub ecx, eax
inc eax
dec ecx
add dword [edi], ecx
lea edi, [esi + 0xd1c]
mov dword [ebp + 0x58], eax
sub eax, ebx
push eax
push ebx
push edi
call fcn.00524880
add esp, 0xc
test eax, eax
jne 0x53ad35
cmp dword [ebp + 0x54], eax
jne 0x539fd2
push edi
call fcn.005248e0
mov edi, eax
lea eax, [esi + 0xd1c]
push eax
mov dword [esp + 0x28], edi
call fcn.005248f0
mov ebx, dword [esp + 0x50]
add esp, 8
mov edx, eax
mov ecx, dword [ebx + 0x560]
test dword [ecx + 0x40], 0x40000
je 0x539f13
mov eax, edi
mov ecx, 5
cmp eax, 5
sbb edi, edi
inc edi
cmp eax, 5
cmova eax, ecx
push eax
push edx
push 0x779b84
call fcn.00531ba0
add esp, 0xc
test eax, eax
mov eax, 2
cmovne eax, edi
jmp 0x539f1e
push edi
push edx
push esi
call fcn.0053b060
add esp, 0xc
cmp eax, 2
je 0x53ad04
lea edi, [esi + 0xd1c]
push edi
call fcn.005248f0
mov edi, eax
add esp, 4
mov al, byte [edi]
cmp al, 0xa
je 0x53a949
cmp al, 0xd
je 0x53a949
mov edx, dword [ebp + 0x54]
lea ecx, [edx + 1]
mov dword [ebp + 0x54], ecx
test edx, edx
jne 0x53a249
mov eax, dword [ebx + 0x560]
mov eax, dword [eax + 0x40]
test al, 3
je 0x53a0c9
lea ecx, [ebp + 0x68]
push ecx
lea ecx, [esp + 0x48]
push ecx
lea eax, [ebx + 0x3e8]
push eax
lea eax, [esp + 0x28]
push eax
push 0x779d08
push edi
call fcn.0044b4d0
add esp, 0x18
cmp eax, 1
jne 0x539fdb
cmp dword [esp + 0x1c], 2
jl 0x53ad5b
lea eax, [ebp + 0x68]
push eax
lea eax, [esp + 0x18]
push eax
push 0x779d1c
push edi
call fcn.0044b4d0
add esp, 0x10
cmp eax, 2
jne 0x53ad5b
lea ecx, [ebx + 0x3e8]
mov byte [esp + 0x44], 0x20
mov dword [ecx], 0
jmp 0x539ff1
mov ebx, dword [esp + 0x48]
jmp 0x539f2d
cmp eax, 4
jne 0x53a050
cmp byte [esp + 0x44], 0x20
jne 0x53ad5b
lea ecx, [ebx + 0x3e8]
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*4]
add eax, eax
add dword [ecx], eax
cmp dword [ebp + 0x84], 2
jne 0x53a022
cmp dword [ecx], 0x14
je 0x53a126
push 0x779d2c
push esi
call fcn.0052ed30
add esp, 8
lea ecx, [ebx + 0x3e8]
cmp dword [ecx], 0x14
jge 0x53a126
mov eax, dword [ebx + 0x7dc]
push 0x779d50
push esi
mov dword [eax], 0xffffffff
call fcn.0052ed30
add esp, 8
lea ecx, [ebx + 0x3e8]
jmp 0x53a126
test eax, eax
jne 0x53ad5b
lea eax, [ebp + 0x68]
push eax
push 0x779d78
push edi
call fcn.0044b4d0
add esp, 0xc
mov dword [ebx + 0x3e8], 0xa
lea ecx, [ebx + 0x3e8]
test eax, eax
jne 0x53a126
lea eax, [esi + 0xd1c]
push eax
call fcn.005248e0
add esp, 4
push eax
lea eax, [esi + 0xd1c]
push eax
call fcn.005248f0
add esp, 4
push eax
push esi
call fcn.0053b060
add esp, 0xc
cmp eax, 1
jne 0x53ad8c
lea ecx, [ebx + 0x3e8]
mov dword [ebp + 0x68], 0xc8
mov dword [ecx], 0xa
jmp 0x53a126
test eax, 0x40000
je 0x53ad8c
lea eax, [ebp + 0x68]
push eax
lea eax, [esp + 0x17]
push eax
lea ecx, [ebx + 0x3ec]
push ecx
lea eax, [esp + 0x30]
push eax
push 0x779dac
push edi
call fcn.0044b4d0
add esp, 0x18
cmp eax, 4
jne 0x53ad8c
cmp byte [esp + 0x13], 0x20
jne 0x53ad8c
mov eax, dword [esp + 0x24]
lea ecx, [ebx + 0x3e8]
mov dword [ecx], 0xb
lea eax, [eax + eax*4]
add eax, eax
add dword [ebx + 0x3ec], eax
mov eax, dword [ebp + 0x68]
mov dword [esi + 0x1120], eax
mov eax, dword [ecx]
mov dword [esi + 0x1128], eax
mov eax, dword [esi + 0x103c]
test eax, eax
je 0x53a145
cmp eax, dword [ecx]
jle 0x53a14d
mov eax, dword [ecx]
mov dword [esi + 0x103c], eax
mov eax, dword [esi + 0x1048]
or eax, dword [esi + 0x104c]
je 0x53a176
cmp dword [esi + 0x10a0], 1
jne 0x53a176
cmp dword [ebp + 0x68], 0x1a0
jne 0x53a176
mov byte [ebp + 0x4ff], 1
jmp 0x53a1b1
cmp byte [esi + 0xb38], 0
je 0x53a1b1
mov eax, dword [ebp + 0x68]
cmp eax, 0x190
jl 0x53a1b1
cmp eax, 0x191
jne 0x53a199
cmp byte [ebx + 0x51b], 0
jne 0x53a1b1
cmp eax, 0x197
jne 0x53ad76
cmp byte [ebx + 0x512], 0
je 0x53ad76
mov eax, dword [ecx]
cmp eax, 0xa
jne 0x53a1d0
push 0x779dc0
push esi
call fcn.0052ed30
push 1
push ebx
call fcn.0052f7c0
add esp, 0x10
jmp 0x53a1f0
cmp eax, 0x14
je 0x53a1e4
cmp dword [ebp + 0x84], 1
jne 0x53a1f0
cmp dword [ebp + 0x68], 0x65
jne 0x53a1f0
mov eax, dword [ebx + 0x7dc]
mov dword [eax], 2
mov eax, dword [ebp + 0x68]
cmp eax, 0x64
jl 0x53a203
cmp eax, 0xc8
jge 0x53a203
mov cl, 1
jmp 0x53a205
xor cl, cl
mov byte [ebp + 0x500], cl
sub eax, 0xcc
je 0x53a226
sub eax, 0x64
jne 0x53a249
cmp dword [esi + 0x82c], eax
je 0x53a226
mov byte [esi + 0x11e0], 1
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov byte [ebp + 0x500], 1
cmp byte [ebp + 0x500], 0
jne 0x53a314
cmp byte [esi + 0xb48], 0
jne 0x53a314
push 0xf
push edi
push 0x778a34
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x53a314
lea eax, [esp + 0x38]
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.005400f0
add esp, 0x10
test eax, eax
jne 0x53a2de
mov eax, dword [esi + 0x938]
mov edx, dword [esi + 0x93c]
or eax, edx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
je 0x53a2c2
cmp ecx, edx
jg 0x53ad9d
jl 0x53a2c2
cmp eax, dword [esi + 0x938]
ja 0x53ad9d
push ecx
push eax
push esi
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
call fcn.0053bf80
add esp, 0xc
jmp 0x53a8b8
cmp eax, 1
jne 0x53adb8
mov eax, dword [esi + 0x938]
or eax, dword [esi + 0x93c]
jne 0x53ad9d
push 2
push ebx
call fcn.0052f7c0
push 0x779e00
push esi
call fcn.0052ed30
add esp, 0x10
jmp 0x53a8b8
push 0xd
push edi
push 0x77970c
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x53a36f
push edi
call fcn.00539760
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x53add3
cmp byte [eax], 0
jne 0x53a351
push eax
call dword [0x83a874]
add esp, 4
jmp 0x53a8b8
push dword [esi + 0x1154]
call dword [0x83a874]
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esi + 0x1154], eax
jmp 0x53a8b8
cmp dword [ebx + 0x3e8], 0xa
jne 0x53a3b3
cmp byte [ebx + 0x510], 0
je 0x53a3b3
push 0x779e44
push 0x778af4
push edi
call fcn.00539690
add esp, 0xc
test al, al
je 0x53a3b3
push 0
push ebx
call fcn.0052f7c0
push 0x779e50
push esi
call fcn.0052ed30
add esp, 0x10
jmp 0x53a8b8
cmp dword [ebx + 0x3e8], 0xb
jne 0x53a3f7
cmp byte [ebx + 0x510], 0
je 0x53a3f7
push 0x778a78
push 0x778af4
push edi
call fcn.00539690
add esp, 0xc
test al, al
je 0x53a3f7
push 1
push ebx
call fcn.0052f7c0
push 0x779e80
push esi
call fcn.0052ed30
add esp, 0x10
jmp 0x53a8b8
cmp dword [ebx + 0x3e8], 0xa
jne 0x53a432
push 0x779e44
push 0x778a80
push edi
call fcn.00539690
add esp, 0xc
test al, al
je 0x53a432
push 0
push ebx
call fcn.0052f7c0
push 0x779ea8
push esi
call fcn.0052ed30
add esp, 0x10
jmp 0x53a8b8
push 0x778a78
push 0x778a80
push edi
call fcn.00539690
add esp, 0xc
test al, al
je 0x53a459
push 2
push ebx
call fcn.0052f7c0
add esp, 8
jmp 0x53a8b8
cmp byte [ebp + 0x500], 0
jne 0x53a4c4
push 0x12
push edi
push 0x778a8c
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x53a48a
push 1
lea eax, [edi + 0x12]
push eax
push ebx
call fcn.005321e0
add esp, 0xc
jmp 0x53a8b0
cmp byte [ebp + 0x500], 0
jne 0x53a4c4
push 0x11
push edi
push 0x779ed0
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x53a4c4
cmp dword [esi + 0x990], 0
je 0x53a4c4
push 0
lea eax, [edi + 0x11]
push eax
push ebx
call fcn.005321e0
add esp, 0xc
jmp 0x53a8b0
push 0xc
push edi
push 0x779ee4
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x53a553
lea eax, [edi + 0xc]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x34], xmm0
call fcn.00540550
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
cmp eax, 0xffffffff
jne 0x53a52c
cmp edx, eax
jne 0x53a52c
lea eax, [esp + 0x30]
push eax
push 0xa
lea eax, [edi + 0xc]
push 0
push eax
call fcn.005400f0
mov eax, dword [esp + 0x44]
add esp, 0x10
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x1160], ecx
mov dword [esi + 0x1164], eax
jmp 0x53a8b8
push 0
call fcn.005aa56b
mov ecx, dword [esp + 0x24]
add esp, 4
sub ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1160], ecx
sbb eax, edx
mov dword [esi + 0x1164], eax
jmp 0x53a8b8
cmp byte [ebp + 0x500], 0
jne 0x53a628
push 0xe
push edi
push 0x779ef4
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x53a628
mov cl, byte [edi + 0xe]
lea eax, [edi + 0xe]
mov dword [esp + 0x18], eax
test cl, cl
je 0x53a5b9
mov ebx, eax
nop dword [eax + eax]
movzx eax, cl
push eax
call fcn.0055aa50
add esp, 4
test eax, eax
jne 0x53a5ad
cmp byte [ebx], 0x2a
je 0x53a5ad
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x53a590
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
push eax
call fcn.0055aa50
add esp, 4
test eax, eax
je 0x53a60f
lea eax, [ebp + 0x60]
push eax
push 0xa
push 0
push dword [esp + 0x24]
call fcn.005400f0
add esp, 0x10
test eax, eax
jne 0x53a8b8
mov eax, dword [esi + 0x1048]
cmp eax, dword [ebp + 0x60]
jne 0x53a8b8
mov eax, dword [esi + 0x104c]
cmp eax, dword [ebp + 0x64]
jne 0x53a8b8
mov byte [ebp + 0x4fd], 1
jmp 0x53a8b8
mov dword [esi + 0x1048], 0
mov dword [esi + 0x104c], 0
jmp 0x53a8b8
cmp dword [esi + 0xb74], 0
je 0x53a6a7
cmp byte [esi + 0x10f3], 0
je 0x53a6a7
push 0xb
push edi
push 0x776f0c
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x53a6a7
push 2
push 2
push esi
call fcn.00532910
mov ecx, dword [esi + 0x10d8]
add esp, 0xc
test ecx, ecx
jne 0x53a66b
mov ecx, dword [ebx + 0x304]
mov eax, dword [ebx + 0x560]
mov eax, dword [eax + 0x40]
shr eax, 1
and al, 1
movzx eax, al
push eax
push dword [esi + 0x1098]
lea eax, [edi + 0xb]
push ecx
push eax
push 0
push 1
push dword [esi + 0xb74]
push esi
call fcn.00521d20
push 2
push esi
call fcn.00532950
add esp, 0x28
jmp 0x53a8b8
cmp byte [ebp + 0x500], 0
jne 0x53a712
push 0xe
push edi
push 0x779f04
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x53a712
cmp dword [esi + 0x82c], 0
jne 0x53a6d6
cmp byte [esi + 0xb2d], 0
je 0x53a712
lea eax, [edi + 0xe]
push eax
call fcn.00540550
add esp, 4
mov dword [ebp + 0x90], eax
mov dword [ebp + 0x94], edx
cmp byte [esi + 0xb2d], 0
je 0x53a8b8
mov dword [esi + 0x1130], eax
mov eax, dword [ebp + 0x94]
mov dword [esi + 0x1134], eax
jmp 0x53a8b8
push 0x11
push edi
push 0x778a0c
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x53a734
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x18], eax
cmp eax, 0x191
je 0x53a756
push 0x13
push edi
push 0x778a20
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x53a79b
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x18], eax
cmp eax, 0x197
jne 0x53a79b
push edi
call fcn.00539760
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x53add3
cmp dword [esp + 0x18], 0x197
push eax
sete cl
movzx ecx, cl
push ecx
push ebx
call fcn.00539ad0
push dword [esp + 0x2c]
mov dword [esp + 0x28], eax
call dword [0x83a874]
mov eax, dword [esp + 0x28]
add esp, 0x10
jmp 0x53a8b0
push 0xf
push edi
push 0x779f14
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x53a815
cmp dword [esi + 0xdc4], 4
jne 0x53a8b8
push edi
call fcn.00539760
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x53add3
push 5
push eax
push 0x806acc
call fcn.00531ba0
push dword [esp + 0x24]
test eax, eax
mov byte [ebx + 0x6ad], 1
setne al
mov byte [ebx + 0x6ac], al
movzx eax, al
push eax
push 0x779f24
push esi
call fcn.0052ed30
push dword [esp + 0x34]
call dword [0x83a874]
add esp, 0x20
jmp 0x53a8b8
mov eax, dword [ebp + 0x68]
cmp eax, 0x12c
jl 0x53a897
cmp eax, 0x190
jge 0x53a897
push 9
push edi
push 0x779f54
call fcn.00531ba0
add esp, 0xc
test eax, eax
je 0x53a897
cmp dword [esi + 0x128], 0
jne 0x53a897
push edi
call fcn.00539760
add esp, 4
test eax, eax
je 0x53add3
cmp byte [eax], 0
jne 0x53a865
push eax
call dword [0x83a874]
add esp, 4
jmp 0x53a8b8
cmp byte [esi + 0xb3a], 0
mov dword [esi + 0x128], eax
je 0x53a8b8
push eax
call dword [0x83a87c]
add esp, 4
mov dword [esi + 0x12c], eax
test eax, eax
je 0x53add3
push ebx
call fcn.0053b450
add esp, 4
jmp 0x53a8b0
mov eax, dword [ebx + 0x560]
test dword [eax + 0x40], 0x40000
je 0x53a8b8
push edi
push ebx
call fcn.00558a60
add esp, 8
test eax, eax
jne 0x53ad35
xor eax, eax
cmp byte [esi + 0xb3d], al
setne al
add eax, 2
cmp byte [esi + 0xb42], 0
mov dword [esp + 0x20], eax
je 0x53a8ec
lea eax, [esi + 0xd1c]
push eax
call fcn.005248e0
push eax
push edi
push 1
push esi
call fcn.0052ebc0
add esp, 0x14
lea eax, [esi + 0xd1c]
push eax
call fcn.005248e0
push eax
push edi
push dword [esp + 0x2c]
push ebx
call fcn.0052eb90
add esp, 0x14
test eax, eax
jne 0x53ad35
lea ebx, [esi + 0xd1c]
push ebx
call fcn.005248e0
add dword [esi + 0x1138], eax
push ebx
adc dword [esi + 0x113c], 0
call fcn.005248e0
add dword [esi + 0xa8], eax
push ebx
adc dword [esi + 0xac], 0
call fcn.00524900
add esp, 0xc
jmp 0x53acef
mov eax, dword [ebp + 0x68]
cmp eax, 0x64
jl 0x53a9c3
cmp eax, 0xc7
jg 0x53a9c3
sub eax, 0x64
je 0x53a98e
sub eax, 1
je 0x53a975
mov byte [ebp + 0x4fc], 1
mov dword [ebp + 0x54], 0
jmp 0x53aa1e
cmp dword [ebp + 0x84], 1
je 0x53ade0
mov byte [ebp + 0x4fc], 0
jmp 0x53aa1e
cmp dword [ebp + 0x80], 0
mov byte [ebp + 0x4fc], 1
mov dword [ebp + 0x54], 0
jle 0x53aa1e
or dword [ebp + 0x9c], 2
push 0
push esi
mov dword [ebp + 0x80], 0
call fcn.0051e660
add esp, 8
jmp 0x53aa1e
mov eax, dword [ebp]
and eax, dword [ebp + 4]
mov byte [ebp + 0x4fc], 0
cmp eax, 0xffffffff
jne 0x53aa1e
cmp byte [ebp + 0x501], 0
jne 0x53aa1e
cmp byte [ebx + 0x515], 0
jne 0x53aa27
cmp dword [ebx + 0x3e8], 0xb
jne 0x53aa1e
mov eax, dword [ebx + 0x560]
test dword [eax + 0x40], 0x40000
jne 0x53aa1e
cmp dword [esi + 0x10a0], 6
je 0x53aa1e
push 0x779be8
push esi
call fcn.0052ed30
push 2
push ebx
call fcn.0052f7c0
add esp, 0x10
cmp byte [ebx + 0x515], 0
je 0x53aaa6
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
jne 0x53aa3d
cmp dword [ebx + 0x5dc], 2
je 0x53aa4d
cmp eax, 0x197
jne 0x53aa62
cmp dword [ebx + 0x5e0], 2
jne 0x53aa62
push 0x779c24
push esi
call fcn.0052ed30
add esp, 8
mov byte [esi + 0x10e9], 1
cmp byte [ebx + 0x515], 0
je 0x53aaa6
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
jne 0x53aa81
cmp dword [ebx + 0x664], 1
je 0x53aa91
cmp eax, 0x197
jne 0x53aaa6
cmp dword [ebx + 0x668], 1
jne 0x53aaa6
push 0x779c24
push esi
call fcn.0052ed30
add esp, 8
mov byte [esi + 0x10e9], 1
cmp dword [ebx + 0x664], 3
jne 0x53aac5
cmp dword [esi + 0xf0], 0x191
je 0x53aac5
mov dword [ebx + 0x664], 4
cmp dword [ebx + 0x668], 3
jne 0x53aae4
cmp dword [esi + 0xf0], 0x197
je 0x53aae4
mov dword [ebx + 0x668], 4
push ebx
call fcn.0053b690
add esp, 4
test eax, eax
jne 0x53aee2
xor ebx, ebx
lea eax, [esi + 0xd1c]
cmp byte [esi + 0xb3d], bl
push eax
setne bl
add ebx, 2
call fcn.005248e0
add esp, 4
mov edi, eax
lea eax, [esi + 0xd1c]
mov dword [esp + 0x20], edi
push edi
push eax
call fcn.005248f0
add esp, 4
push eax
push ebx
mov ebx, dword [esp + 0x54]
push ebx
call fcn.0052eb90
add esp, 0x10
test eax, eax
jne 0x53ad35
mov eax, edi
cdq
add dword [esi + 0x1138], eax
adc dword [esi + 0x113c], edx
add dword [esi + 0xa8], eax
adc dword [esi + 0xac], edx
mov eax, dword [ebp + 0x68]
cmp eax, 0x64
jl 0x53ab77
cmp eax, 0xc7
jg 0x53ab77
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
jmp 0x53ab88
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push ebx
mov dword [esi + 0xb0], eax
mov dword [esi + 0xb4], ecx
call fcn.00539830
add esp, 4
test eax, eax
jne 0x53ad35
cmp dword [ebp + 0x68], 0x12c
jl 0x53acd3
cmp byte [ebx + 0x521], al
jne 0x53acb5
cmp byte [ebx + 0x515], al
jne 0x53acb5
cmp byte [ebx + 0x522], al
jne 0x53acbe
mov eax, dword [esi + 0x10a0]
add eax, 0xfffffffe
cmp eax, 3
ja 0x53acb5
push 0
push esi
call fcn.0051e660
add esp, 8
cmp byte [ebp + 0x4fe], 0
jne 0x53acb5
cmp dword [ebp + 0x68], 0x1a1
jne 0x53ac44
cmp byte [esi + 0x10ec], 0
je 0x53ac44
push 0x779c5c
push esi
call fcn.0052ed30
mov byte [esi + 0x10ed], 1
mov eax, dword [ebx]
push dword [eax + 0xb60]
call dword [0x83a87c]
push ebp
push ebx
mov dword [esi + 0x12c], eax
call fcn.00533a00
add esp, 0x14
jmp 0x53acb5
cmp byte [esi + 0xb39], 0
je 0x53ac77
push 0x779c80
push esi
call fcn.0052ed30
add esp, 8
cmp dword [ebp + 0x80], 0
jle 0x53acb5
or dword [ebp + 0x9c], 2
mov dword [ebp + 0x80], 0
jmp 0x53acb5
push 0x779cb0
push esi
call fcn.0052ed30
push 2
push ebx
call fcn.0052f7c0
push ebp
push ebx
call fcn.00533a00
add esp, 0x18
test eax, eax
jne 0x53ad35
mov byte [ebp + 0x4fe], 1
cmp byte [esi + 0x10ec], al
je 0x53acb5
mov dword [ebp + 0x80], 3
cmp byte [ebx + 0x522], 0
je 0x53acd3
push 0x779ce0
push esi
call fcn.0052ed30
add esp, 8
or dword [ebp + 0x9c], 2
cmp byte [ebp + 0x4fc], 0
je 0x53ae13
lea eax, [esi + 0xd1c]
push eax
call fcn.00524900
add esp, 4
mov ebx, dword [ebp + 0x58]
mov dword [esp + 0x18], ebx
cmp byte [ebx], 0
je 0x53ad33
mov edi, dword [esp + 0x4c]
jmp 0x539e70
push 2
push ebx
call fcn.0052f7c0
add esp, 8
cmp byte [esi + 0xb5e], 0
je 0x53af73
mov eax, dword [esp + 0x4c]
mov byte [ebp + 0x4fc], 0
cmp dword [eax], 0
je 0x53ad3d
mov dword [ebp + 0x50], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0x28]
pop edi
mov dword [ebp + 0x50], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x28]
pop esi
mov dword [ebp + 0x58], eax
xor eax, eax
pop ebp
pop ebx
add esp, 0x30
ret
push 0x779d84
push esi
call fcn.0052ec50
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push esi
call fcn.0053b920
add esp, 4
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
pop edi
pop esi
mov byte [ebp + 0x4fc], 0
xor eax, eax
pop ebp
pop ebx
add esp, 0x30
ret
push 0x779de4
push esi
call fcn.0052ec50
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push 0x779e24
push esi
call fcn.0052ec50
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x30
ret
push 0x779bd8
push esi
call fcn.0052ed30
add esp, 8
mov dword [ebp + 0x84], 2
mov byte [ebp + 0x4fc], 1
mov eax, 1
mov dword [ebp + 0x54], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
cmp byte [esi + 0xb40], 0
mov edi, dword [esp + 0x50]
je 0x53ae25
mov byte [edi], 1
jmp 0x53ae75
mov eax, dword [ebx + 0x560]
test dword [eax + 0x40], 0x40000
je 0x53ae50
cmp dword [esi + 0xacc], 2
jne 0x53ae50
cmp dword [ebp + 4], 0xffffffff
jg 0x53ae50
jl 0x53ae4b
cmp dword [ebp], 0xffffffff
ja 0x53ae50
mov byte [edi], 1
jmp 0x53ae75
cmp byte [ebp + 0x501], 0
je 0x53ae75
mov dword [ebp], 0xffffffff
mov dword [ebp + 4], 0xffffffff
mov dword [ebp + 8], 0xffffffff
mov dword [ebp + 0xc], 0xffffffff
mov ecx, dword [ebp]
mov eax, dword [ebp + 4]
cmp ecx, 0xffffffff
jne 0x53ae84
cmp eax, ecx
je 0x53ae9b
push eax
push ecx
push esi
call fcn.0053bf80
mov eax, dword [ebp]
add esp, 0xc
mov dword [ebp + 8], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 8], 0
jne 0x53aeac
cmp dword [ebp + 0xc], 0
jne 0x53aeac
mov byte [edi], 1
jmp 0x53aeb1
cmp byte [edi], 0
je 0x53aeb8
and dword [ebp + 0x9c], 0xfffffffe
cmp byte [esi + 0xb42], 0
je 0x53ad33
push dword [esp + 0x20]
push dword [esp + 0x1c]
push 1
push esi
call fcn.0052ebc0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push dword [ebp + 0x68]
push 0x779550
push esi
call fcn.0052ec50
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
mov eax, dword [esp + 0x4c]
lea edi, [esi + 0xd1c]
push dword [eax]
push ebx
push edi
call fcn.00524880
add esp, 0xc
test eax, eax
jne 0x53ad35
cmp dword [ebp + 0x54], eax
jne 0x53ad33
push edi
call fcn.005248e0
add esp, 4
push eax
push edi
call fcn.005248f0
mov edi, dword [esp + 0x50]
add esp, 4
push eax
push edi
push esi
call fcn.0053b150
add esp, 0x10
cmp eax, 2
jne 0x53ad33
push eax
push edi
mov byte [ebp + 0x4fc], 0
mov dword [ebp + 0x50], eax
call fcn.0052f7c0
add esp, 8
cmp byte [esi + 0xb5e], 0
jne 0x53ad33
push 0x779bb4
push esi
call fcn.0052ec50
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret