Function at 0x4b5c74
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a43c
mov eax, dword fs:[0]
push eax
mov eax, 0x12e8
call fcn.00502f10
mov eax, dword [0x5aa5a0]
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 ecx, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov edx, 0x3ea
inc ebx
movzx eax, word [ecx + 0xc]
cmp eax, edx
ja 0x4b681e
je 0x4b679d
sub eax, 0x1fe
je 0x4b6787
sub eax, ebx
je 0x4b66f3
sub eax, 6
je 0x4b5da9
sub eax, 0x1e4
jne 0x4b6835
cmp dword [ecx + 0x14], 0x1f4
jne 0x4b6a00
mov eax, dword [edi + 0x14c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp eax, ebx
mov eax, dword [edi + 0x154]
pop ecx
mov ecx, dword [eax]
jne 0x4b5d5e
push ebx
push eax
call dword [ecx + 0x48]
mov eax, dword [edi + 0x150]
xor ebx, ebx
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [edi + 0x158]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [edi + 0x38]
push 1
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf8]
mov eax, dword [edi + 0x38]
push ebx
push ebx
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x84]
add esp, 0x2c
jmp 0x4b69fd
xor ebx, ebx
push ebx
push eax
call dword [ecx + 0x48]
mov eax, dword [edi + 0x150]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [edi + 0x158]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [edi + 0x38]
push ebx
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf8]
mov eax, dword [edi + 0x38]
push ebx
inc ebx
push ebx
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x84]
add esp, 0x2c
jmp 0x4b6a00
mov eax, dword [edi + 0x38]
push str.OLAP_UNIVERSE
mov eax, dword [eax + 0x60]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x184]
pop ecx
pop ecx
test al, al
je 0x4b65a2
lea ecx, [ebp - 0x10b0]
call fcn.004fedb0
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x10ac]
call fcn.004fedb0
xor edx, edx
inc edx
mov byte [ebp - 4], dl
mov eax, dword [edi + 0x38]
push edx
lea edx, [ebp - 0x10b0]
push edx
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
add esp, 0xc
lea ecx, [ebp - 0x10a4]
call fcn.004fedb0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x10a4]
mov eax, dword [edi + 0x74]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [edi + 0x74]
lea edx, [ebp - 0x10cc]
or dword [ebp - 0x10bc], 0xffffffff
or dword [ebp - 0x10cc], 0xffffffff
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x10bc]
push edx
push eax
call dword [ecx + 0x78]
add esp, 0x14
lea ecx, [ebp - 0x10c8]
call fcn.004fedb0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10bc]
cmp eax, dword [ebp - 0x10cc]
je 0x4b5ea7
push dword [ebp - 0x10cc]
push eax
lea eax, [ebp - 0x10d0]
push eax
lea eax, [ebp - 0x10a4]
push eax
call fcn.004ff166
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x10c8]
push eax
call fcn.004fed62
add esp, 0x18
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10d0]
call fcn.004fed5c
xor eax, eax
lea esi, [eax + 1]
jmp 0x4b5eec
test eax, eax
lea eax, [ebp - 0x10a4]
push eax
je 0x4b5ec4
lea eax, [ebp - 0x10c8]
push eax
call fcn.004fed62
pop ecx
pop ecx
push 2
jmp 0x4b5eeb
mov esi, ebx
call fcn.004ff00a
pop ecx
cmp dword [ebp - 0x10cc], eax
jl 0x4b5eec
lea eax, [ebp - 0x10a4]
push eax
lea eax, [ebp - 0x10c8]
push eax
call fcn.004fed62
pop ecx
pop ecx
push 3
pop esi
mov eax, dword [ebp - 0x10bc]
lea ecx, [ebp - 0x10c4]
mov dword [ebp - 0x10dc], eax
mov eax, dword [ebp - 0x10cc]
mov dword [ebp - 0x10e0], eax
xor eax, eax
inc eax
mov byte [ebp - 0x10d4], al
call fcn.004fedb0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x10d4]
push eax
lea eax, [ebp - 0x10c4]
push eax
lea eax, [ebp - 0x10e0]
push eax
lea eax, [ebp - 0x10dc]
push eax
lea eax, [ebp - 0x10c8]
push eax
call sym.designer.exe_bool___cdecl_BOEditFilter_CheckFilter_class_BOString_const___int___int___class_BOString___bool__
mov eax, dword [edi + 0x38]
lea ecx, [ebp - 0x10c4]
add esp, 0x14
push dword [ebp - 0x10e0]
push dword [ebp - 0x10dc]
push ecx
push dword [ebp - 0x10d4]
lea ecx, [ebp - 0x10a0]
push dword [eax + 0x60]
lea eax, [ebp - 0x10b0]
push eax
lea eax, [edi - 8]
neg eax
push ebx
sbb eax, eax
and eax, edi
push eax
call sym.designer.exe_public:_void___thiscall_BOEditPropFilterDlg::constructor_class_BOCommandHandler___class_CWnd___class_BOString___class_BOUniverse___bool__class_BOString___int__int_
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10a0]
call fcn.0050188c
cmp eax, 1
jne 0x4b602e
lea eax, [ebp - 0x10ac]
push eax
lea eax, [ebp - 0x10a0]
push eax
call sym.designer.exe_public_virtual:_bool___cdecl_BOEditPropFilterDlg::GetFiltreDefinition_class_BOString__
pop ecx
pop ecx
lea ecx, [ebp - 0x10d8]
call fcn.004fedb0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10d0]
call fcn.004fedb0
mov byte [ebp - 4], 8
lea edx, [ebp - 0x10d8]
mov eax, dword [edi + 0x74]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [edi + 0x38]
lea edx, [ebp - 0x10d0]
push 1
push edx
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xcc]
lea eax, [ebp - 0x10d8]
push eax
lea eax, [ebp - 0x10ac]
push eax
call fcn.004ff016
add esp, 0x1c
test al, al
je 0x4b608e
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x10d0]
call fcn.004fed5c
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10d8]
call fcn.004fed5c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10a0]
call sym.designer.exe_public_virtual:_void___thiscall_BOEditPropFilterDlg::destructor_void_
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10c4]
call fcn.004fed5c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10c8]
call fcn.004fed5c
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x10a4]
call fcn.004fed5c
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10ac]
call fcn.004fed5c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10b0]
call fcn.004fed5c
jmp 0x4b69fd
mov eax, dword [edi + 0x38]
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x6c]
pop ecx
lea ecx, [ebp - 0x10a8]
call fcn.004fedb0
mov byte [ebp - 4], 9
sub esi, ebx
je 0x4b651e
sub esi, 1
je 0x4b6387
sub esi, 1
je 0x4b610d
sub esi, 1
je 0x4b60d0
lea edx, [ebp - 0x10ac]
jmp 0x4b6561
lea eax, [ebp - 0x10ac]
push eax
lea eax, [ebp - 0x10a4]
push eax
lea eax, [ebp - 0x10b8]
push eax
call fcn.004ff11e
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x10a8]
push eax
call fcn.004fed62
add esp, 0x14
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10b8]
jmp 0x4b6556
lea ecx, [ebp - 0x10b8]
call fcn.004fedb0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x10c0]
call fcn.004fedb0
mov byte [ebp - 4], 0x12
cmp byte [ebp - 0x10d4], 0
je 0x4b621d
push dword [ebp - 0x10bc]
lea eax, [ebp - 0x10ec]
push eax
lea eax, [ebp - 0x10a4]
push eax
call fcn.004ff15a
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x10b8]
push eax
call fcn.004ff148
add esp, 0x14
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x10ec]
call fcn.004ff190
lea eax, [ebp - 0x10a4]
push eax
call fcn.004ff00a
sub eax, dword [ebp - 0x10cc]
push eax
lea eax, [ebp - 0x10ec]
push eax
lea eax, [ebp - 0x10a4]
push eax
call fcn.004ff57a
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x10c0]
push eax
call fcn.004ff148
add esp, 0x18
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x10ec]
call fcn.004ff190
lea eax, [ebp - 0x10ac]
push eax
lea eax, [ebp - 0x10b8]
push eax
lea eax, [ebp - 0x10b4]
push eax
call fcn.004ff11e
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x10a8]
push eax
call fcn.004fed62
add esp, 0x14
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x10b4]
call fcn.004fed5c
lea eax, [ebp - 0x10c0]
push eax
lea eax, [ebp - 0x10a8]
push eax
lea eax, [ebp - 0x10b4]
push eax
call fcn.004ff11e
mov byte [ebp - 4], 0x16
jmp 0x4b632f
lea eax, [ebp - 0x10ac]
push eax
lea eax, [ebp - 0x10c8]
push eax
call fcn.004ff17e
pop ecx
pop ecx
test al, al
je 0x4b6369
lea eax, [ebp - 0x10ac]
push eax
call fcn.004fedbc
pop ecx
test al, al
jne 0x4b6369
push dword [ebp - 0x10dc]
lea eax, [ebp - 0x10ec]
push eax
lea eax, [ebp - 0x10a4]
push eax
call fcn.004ff15a
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x10b8]
push eax
call fcn.004ff148
add esp, 0x14
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x10ec]
call fcn.004ff190
lea eax, [ebp - 0x10a4]
push eax
call fcn.004ff00a
sub eax, dword [ebp - 0x10e0]
push eax
lea eax, [ebp - 0x10ec]
push eax
lea eax, [ebp - 0x10a4]
push eax
call fcn.004ff57a
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x10c0]
push eax
call fcn.004ff148
add esp, 0x18
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x10ec]
call fcn.004ff190
lea eax, [ebp - 0x10ac]
push eax
lea eax, [ebp - 0x10b8]
push eax
lea eax, [ebp - 0x10b4]
push eax
call fcn.004ff11e
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x10a8]
push eax
call fcn.004fed62
add esp, 0x14
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x10b4]
call fcn.004fed5c
lea eax, [ebp - 0x10c0]
push eax
lea eax, [ebp - 0x10a8]
push eax
lea eax, [ebp - 0x10b4]
push eax
call fcn.004ff11e
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x10a8]
push eax
call fcn.004fed62
add esp, 0x14
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x10b4]
call fcn.004fed5c
mov eax, dword [edi + 0x38]
lea edx, [ebp - 0x10a8]
push 1
push edx
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xdc]
add esp, 0xc
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x10c0]
call fcn.004fed5c
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10b8]
jmp 0x4b6517
lea ecx, [ebp - 0x10c0]
call fcn.004fedb0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x10b8]
call fcn.004fedb0
mov byte [ebp - 4], 0xc
cmp byte [ebp - 0x10d4], 0
jne 0x4b64fe
lea eax, [ebp - 0x10ac]
push eax
lea eax, [ebp - 0x10c8]
push eax
call fcn.004ff17e
pop ecx
pop ecx
test al, al
je 0x4b64fe
lea eax, [ebp - 0x10ac]
push eax
call fcn.004fedbc
pop ecx
test al, al
jne 0x4b64fe
push dword [ebp - 0x10bc]
lea eax, [ebp - 0x10ec]
push eax
lea eax, [ebp - 0x10a4]
push eax
call fcn.004ff15a
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x10c0]
push eax
call fcn.004ff148
add esp, 0x14
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x10ec]
call fcn.004ff190
lea eax, [ebp - 0x10a4]
push eax
call fcn.004ff00a
sub eax, dword [ebp - 0x10cc]
push eax
lea eax, [ebp - 0x10ec]
push eax
lea eax, [ebp - 0x10a4]
push eax
call fcn.004ff57a
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x10b8]
push eax
call fcn.004ff148
add esp, 0x18
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x10ec]
call fcn.004ff190
lea eax, [ebp - 0x10ac]
push eax
lea eax, [ebp - 0x10c0]
push eax
lea eax, [ebp - 0x10b4]
push eax
call fcn.004ff11e
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x10a8]
push eax
call fcn.004fed62
add esp, 0x14
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x10b4]
call fcn.004fed5c
lea eax, [ebp - 0x10b8]
push eax
lea eax, [ebp - 0x10a8]
push eax
lea eax, [ebp - 0x10b4]
push eax
call fcn.004ff11e
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x10a8]
push eax
call fcn.004fed62
add esp, 0x14
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x10b4]
call fcn.004fed5c
mov eax, dword [edi + 0x38]
lea edx, [ebp - 0x10a8]
push 1
push edx
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xdc]
add esp, 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x10b8]
call fcn.004fed5c
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10c0]
call fcn.004fed5c
jmp 0x4b6576
lea eax, [ebp - 0x10a4]
push eax
lea eax, [ebp - 0x10ac]
push eax
lea eax, [ebp - 0x10b4]
push eax
call fcn.004ff11e
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x10a8]
push eax
call fcn.004fed62
add esp, 0x14
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10b4]
call fcn.004fed5c
lea edx, [ebp - 0x10a8]
mov eax, dword [edi + 0x38]
push 1
push edx
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xdc]
add esp, 0xc
lea eax, [edi - 8]
push eax
call fcn.004b7cdf
xor eax, eax
inc eax
push eax
push dword [edi + 0x38]
call fcn.004b7b06
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x10a8]
call fcn.004fed5c
jmp 0x4b6010
lea eax, [ebp - 0x10c4]
push 0x1611d
push eax
call fcn.004fefea
mov dword [ebp - 4], 0x1c
mov eax, dword [edi + 0x38]
push ebx
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
push dword [eax]
lea eax, [ebp - 0x10c4]
push 0x52da60
push eax
call fcn.004ff454
mov eax, dword [edi + 0x38]
lea ecx, [ebp - 0x10c4]
add esp, 0x1c
push ecx
push dword [eax + 0x78]
lea ecx, [ebp - 0x12f4]
push dword [eax + 0x60]
push eax
lea eax, [edi - 8]
neg eax
sbb eax, eax
and eax, edi
push eax
call fcn.004ea1c1
mov byte [ebp - 4], 0x1d
lea eax, [ebp - 0x12f4]
push eax
call fcn.004ff9be
pop ecx
cmp ax, bx
jne 0x4b6696
lea ecx, [ebp - 0x10b0]
call fcn.004fedb0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x10bc]
call fcn.004fedb0
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x10b0]
mov eax, dword [edi + 0x74]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [edi + 0x38]
lea edx, [ebp - 0x10bc]
push ebx
push edx
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xcc]
lea eax, [ebp - 0x10b0]
push eax
lea eax, [ebp - 0x10bc]
push eax
call fcn.004ff016
add esp, 0x1c
test al, al
je 0x4b66b9
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x10bc]
call fcn.004fed5c
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x10b0]
call fcn.004fed5c
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x12f4]
call fcn.004ea3db
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c4]
call fcn.004fed5c
jmp 0x4b6a00
mov eax, dword [edi + 0x38]
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [edi + 0x38]
lea edx, [ebp - 0x10bc]
push ebx
push edx
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xdc]
lea eax, [edi - 8]
push eax
call fcn.004b7cdf
push ebx
push dword [edi + 0x38]
call fcn.004b7b06
add esp, 0x1c
jmp 0x4b6678
cmp dword [ecx + 0x14], 0xc8
jne 0x4b6a00
lea ecx, [ebp - 0x10b0]
call fcn.004fedb0
mov dword [ebp - 4], 0x21
lea edx, [ebp - 0x10b0]
mov eax, dword [edi + 0x74]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [edi + 0x38]
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, dword [edi + 0x38]
lea edx, [ebp - 0x10b0]
push ebx
push edx
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xdc]
mov eax, dword [edi + 0x140]
mov esi, dword [eax]
lea eax, [ebp - 0x10b0]
push eax
call fcn.004fedbc
neg al
sbb al, al
inc al
movzx eax, al
push eax
push dword [edi + 0x140]
call dword [esi + 0x34]
push ebx
push dword [edi + 0x38]
call fcn.004b7b06
add esp, 0x2c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10b0]
jmp 0x4b66af
lea eax, [edi - 8]
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0xdc]
add esp, 0xc
jmp 0x4b6a00
cmp dword [ecx + 0x14], 0x190
jne 0x4b6a00
mov eax, dword [edi + 0x150]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
pop ecx
test al, al
je 0x4b6a00
mov eax, dword [edi + 0x14c]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [edi + 0x154]
xor ebx, ebx
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [edi + 0x158]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
xor ecx, ecx
add esp, 0x14
inc ecx
cmp eax, ecx
mov eax, dword [edi + 0x38]
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
jne 0x4b67fd
push 4
jmp 0x4b67ff
push 3
push eax
call dword [ecx + 0xf8]
pop ecx
pop ecx
mov eax, dword [edi + 0x38]
push ebx
push ebx
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x84]
jmp 0x4b69fa
sub eax, 0x3eb
je 0x4b6987
sub eax, 1
je 0x4b68a7
sub eax, 0x11c
je 0x4b6843
push ecx
push edi
call fcn.004b6a1e
pop ecx
pop ecx
jmp 0x4b6a02
cmp dword [ecx + 0x14], 0x12c
jne 0x4b6a00
mov eax, dword [edi + 0x38]
lea ecx, [ebp - 0x116c]
push dword [eax + 0x78]
push dword [eax + 0x60]
push eax
lea eax, [edi - 8]
neg eax
sbb eax, eax
and eax, edi
push eax
call fcn.004ea22c
mov dword [ebp - 4], 0x20
lea eax, [ebp - 0x116c]
push eax
call fcn.004ff9be
pop ecx
cmp ax, bx
jne 0x4b6893
push ebx
push dword [edi + 0x38]
call fcn.004b7b06
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x116c]
call fcn.004ea437
jmp 0x4b6a00
cmp dword [ecx + 0x14], 0x1f4
jne 0x4b6a00
mov eax, dword [edi + 0x158]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
pop ecx
cmp eax, ebx
jne 0x4b6949
mov eax, dword [edi + 0x14c]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [edi + 0x150]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
add esp, 0xc
test al, al
jne 0x4b6909
mov eax, dword [edi + 0x150]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
pop ecx
test al, al
jne 0x4b6909
mov eax, dword [edi + 0x154]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
pop ecx
pop ecx
mov eax, dword [edi + 0x150]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
pop ecx
test al, al
je 0x4b691e
push 4
jmp 0x4b6931
mov eax, dword [edi + 0x154]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
pop ecx
test al, al
je 0x4b6942
push 2
mov eax, dword [edi + 0x38]
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf8]
pop ecx
pop ecx
xor ebx, ebx
jmp 0x4b6808
mov eax, dword [edi + 0x150]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
pop ecx
test al, al
je 0x4b695e
push 3
jmp 0x4b6974
mov eax, dword [edi + 0x154]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
pop ecx
test al, al
je 0x4b6a00
push ebx
mov eax, dword [edi + 0x38]
mov eax, dword [eax + 0x78]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf8]
pop ecx
pop ecx
jmp 0x4b6a00
cmp dword [ecx + 0x14], 0x190
jne 0x4b6a00
mov eax, dword [edi + 0x154]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
pop ecx
test al, al
je 0x4b6a00
mov eax, dword [edi + 0x14c]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [edi + 0x150]
xor ebx, ebx
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [edi + 0x158]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
xor edx, edx
add esp, 0x14
inc edx
cmp eax, edx
mov eax, dword [edi + 0x38]
mov eax, dword [eax + 0x78]
mov ecx, dword [eax]
jne 0x4b69df
push 2
jmp 0x4b69e0
push edx
push eax
call dword [ecx + 0xf8]
pop ecx
pop ecx
mov ecx, dword [edi + 0x38]
push ebx
push ebx
mov ecx, dword [ecx + 0x78]
push ecx
mov edx, dword [ecx]
call dword [edx + 0x84]
add esp, 0xc
xor ebx, ebx
inc ebx
mov al, bl
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.00502a0b
mov esp, ebp
pop ebp
ret