Function at 0x4bc213
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push esi
mov esi, dword [ebp + 0xc]
xor ecx, ecx
push edi
inc ecx
xor edi, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
cmp esi, edi
je 0x4bce9e
cmp byte [eax + 0x1e], 0
jne 0x4bce9e
cmp dword [ebx + 0x40], edi
jne 0x4bce9e
push edi
push edi
push edi
push 0x15
mov eax, ebx
call fcn.004aece1
add esp, 0x10
test eax, eax
je 0x4bc26d
xor eax, eax
inc eax
jmp 0x4bcea0
push 0x2c
lea eax, [esp + 0x70]
push edi
push eax
call fcn.004f3c10
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp byte [eax], 4
ja 0x4bc293
mov dword [esi + 0x1c], edi
mov byte [esi + 5], 0
push edi
push esi
push ebx
call fcn.004bbdcb
add esp, 0xc
test eax, eax
jne 0x4bce81
mov ecx, dword [esp + 0x30]
mov eax, esi
mov dword [eax + 0x1c], ecx
cmp dword [eax + 0x20], edi
je 0x4bc305
cmp dword [eax + 0x28], edi
jne 0x4bc2f0
xor edx, edx
xor esi, esi
mov ecx, eax
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x28], eax
mov edx, ecx
mov ecx, dword [ecx + 0x20]
inc esi
test ecx, ecx
jne 0x4bc2bf
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x60]
test ecx, ecx
je 0x4bc2f0
cmp esi, ecx
jle 0x4bc2f0
push str.too_many_terms_in_compound_SELECT
mov esi, ebx
call fcn.00497d9d
pop ecx
jmp 0x4bc265
push dword [ebp + 0x20]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.004bb004
add esp, 0x10
jmp 0x4bcea0
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x10], ecx
movzx ecx, byte [eax + 7]
mov dword [esp + 0x60], ecx
movzx ecx, byte [eax + 5]
mov eax, dword [eax]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4bce81
cmp dword [ebx + 0x40], edi
jg 0x4bce81
mov ecx, dword [esp + 0x4c]
cmp dword [ecx], 1
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
jle 0x4bc362
push eax
mov esi, ebx
call fcn.004b9809
pop ecx
jmp 0x4bc364
xor eax, eax
test eax, eax
jne 0x4bce81
mov eax, dword [ebp + 0x10]
cmp byte [eax], 4
ja 0x4bc378
and dword [esp + 0x30], edi
mov edi, ebx
call fcn.004bae57
mov edi, eax
mov dword [esp + 0x50], edi
test edi, edi
je 0x4bce81
mov ecx, dword [esp + 0x3c]
and dword [esp + 0x24], 0
mov esi, dword [ebp + 0xc]
xor eax, eax
cmp ax, word [ecx]
jge 0x4bc4e0
and dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
xor edx, edx
lea eax, [eax + ecx + 8]
mov dword [esp + 0x44], edx
mov dword [esp + 0x5c], eax
cmp dword [eax + 0x10], edx
je 0x4bc4c6
cmp byte [eax + 0x14], dl
jne 0x4bc4c6
mov ecx, dword [eax + 4]
cmp ecx, edx
je 0x4bc3ef
lea eax, [ebx + 0x18c]
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov dword [eax], ecx
mov dword [esp + 0x38], 1
jmp 0x4bc3f3
mov dword [esp + 0x38], edx
and dword [esp + 0x20], 0
lea eax, [esp + 0x20]
mov ecx, esi
call fcn.004aab1a
mov eax, dword [esp + 0x20]
add dword [ebx + 0x1a4], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0xa8], eax
xor eax, eax
push eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0xb0]
push esi
push eax
mov byte [esp + 0xb8], 9
mov byte [esp + 0xb9], 0
push dword [ecx + 0x10]
push ebx
call fcn.004bc213
mov eax, dword [esp + 0x48]
add esp, 0x1c
cmp byte [eax + 0x1e], 0
jne 0x4bce81
and dword [esp + 0x20], 0
lea eax, [esp + 0x20]
mov ecx, esi
call fcn.004aab1a
mov eax, dword [esp + 0x20]
sub dword [ebx + 0x1a4], eax
cmp dword [esp + 0x38], 0
je 0x4bc493
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x18c], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
cmp byte [eax], 4
jbe 0x4bc4b0
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x10], eax
movzx eax, byte [esi + 5]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
movsx eax, word [eax]
inc dword [esp + 0x24]
add dword [esp + 0x14], 0x30
cmp dword [esp + 0x24], eax
jl 0x4bc3a8
cmp dword [ebp + 0x14], 0
je 0x4bc527
cmp dword [ebp + 0x1c], 0
je 0x4bc527
push dword [esp + 0x60]
mov esi, dword [ebp + 0x1c]
push dword [esi]
mov ebx, dword [ebp + 0x14]
push dword [ebp + 0x18]
push dword [esp + 0x38]
call fcn.004bba03
add esp, 0x10
test eax, eax
je 0x4bc521
cmp dword [esp + 0x60], 0
je 0x4bce81
mov dword [esi], 1
jmp 0x4bce81
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp byte [esi + 5], 0
je 0x4bc556
cmp byte [esi + 7], 0
jne 0x4bc556
cmp dword [esi + 0x14], 0
jne 0x4bc556
push dword [esi]
push dword [esp + 0x30]
call fcn.004aa705
and dword [esp + 0x30], 0
pop ecx
pop ecx
mov dword [esi + 0x14], eax
mov dword [esp + 0x18], eax
mov byte [esi + 5], 0
cmp dword [esp + 0x30], 0
je 0x4bc59b
mov esi, dword [esp + 0x30]
push esi
push ebx
call fcn.004b9be5
mov ecx, dword [ebx + 0x44]
mov dword [esi + 8], ecx
inc dword [ebx + 0x44]
mov ecx, dword [esi]
push 0xfffffffffffffff7
push 0
inc ecx
inc ecx
push ecx
push dword [esi + 8]
mov ebx, eax
push 0x70
push edi
call fcn.004a3a56
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add esp, 0x20
mov dword [esp + 0x14], eax
mov dword [ecx + 0x44], eax
mov esi, ecx
jmp 0x4bc5a0
or dword [esp + 0x14], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x4bc5c0
mov eax, dword [esp + 0x4c]
push dword [eax]
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
mov eax, edi
push 0x70
call fcn.004a3a3f
add esp, 0xc
mov eax, edi
call fcn.004a3a85
mov dword [esp + 0x9c], eax
push eax
mov eax, esi
mov ecx, ebx
call fcn.004bae7d
cmp dword [esp + 0x2c], 0
pop ecx
je 0x4bc612
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x28], eax
inc eax
mov dword [ebx + 0x44], eax
push dword [esi]
push ebx
call fcn.004b9be5
push 0xfffffffffffffff7
push 0
push 0
push dword [esp + 0x3c]
mov ebx, eax
push 0x70
push edi
call fcn.004a3a56
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
add esp, 0x20
jmp 0x4bc617
or dword [esp + 0x28], 0xffffffff
cmp dword [esp + 0x60], 0
jne 0x4bc6a3
cmp dword [esp + 0x18], 0
jne 0x4bc6a3
push 0
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x48]
push ebx
call fcn.004c14d6
add esp, 0x14
mov dword [esp + 0x28], eax
test eax, eax
je 0x4bce81
cmp dword [esp + 0x14], 0
jl 0x4bc66d
cmp dword [esp + 0x30], 0
jne 0x4bc66d
mov ecx, dword [esp + 0x14]
push 1
mov eax, edi
call fcn.004a3d54
or dword [esi + 0x44], 0xffffffff
pop ecx
push dword [ebp + 0x20]
mov eax, dword [esp + 0x2c]
push dword [eax + 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp + 0x10]
push 0xffffffffffffffff
push dword [esp + 0x40]
push 0
push 0
push dword [esp + 0x68]
push esi
push ebx
call fcn.004b9829
push dword [esp + 0x50]
call fcn.004c23b7
add esp, 0x2c
jmp 0x4bce26
mov eax, edi
call fcn.004a3a85
push 0x24
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xb8]
push 0
push eax
call fcn.004f3c10
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc4], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0xb4], ebx
test eax, eax
je 0x4bc6f0
mov eax, dword [eax]
inc eax
mov dword [esp + 0x78], eax
jmp 0x4bc6f5
and dword [esp + 0x78], 0
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x74], eax
lea eax, [esp + 0xb4]
push eax
call fcn.004ad386
mov esi, dword [esp + 0x34]
pop ecx
lea eax, [esp + 0xb4]
push eax
call fcn.004ad386
xor esi, esi
pop ecx
cmp dword [esp + 0x10], esi
je 0x4bc742
lea eax, [esp + 0xb4]
push eax
push 0x4ad0f2
push dword [esp + 0x18]
call fcn.004aac09
add esp, 0xc
cmp dword [esp + 0x90], esi
mov eax, dword [esp + 0x80]
mov dword [esp + 0x88], eax
mov dword [esp + 0x24], esi
jle 0x4bc796
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax]
mov esi, dword [eax + 0x10]
lea ecx, [esp + 0xb4]
push ecx
call fcn.004ad386
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
add dword [esp + 0x18], 0x10
cmp eax, dword [esp + 0x94]
pop ecx
jl 0x4bc761
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x1e], 0
jne 0x4bce81
xor eax, eax
cmp dword [esp + 0x18], eax
je 0x4bccea
mov eax, edi
call fcn.004a3a85
mov dword [esp + 0x20], eax
mov eax, edi
call fcn.004a3a85
mov dword [esp + 0x68], eax
mov eax, edi
call fcn.004a3a85
push dword [esp + 0x18]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x74], eax
inc eax
push ebx
mov dword [ebx + 0x44], eax
call fcn.004b9be5
push 0xfffffffffffffff7
push 0
push dword [esp + 0x88]
mov ebx, eax
push dword [esp + 0x84]
mov dword [esp + 0x7c], eax
push 0x70
push edi
call fcn.004a3a56
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 0x48]
inc eax
lea ecx, [eax + 1]
mov dword [esp + 0x58], eax
mov dword [esi + 0x48], ecx
lea eax, [ecx + 1]
mov dword [esp + 0x64], eax
mov eax, dword [edx]
add eax, ecx
lea ebx, [eax + 1]
mov dword [esp + 0x74], ebx
xor ebx, ebx
push ebx
mov dword [esi + 0x48], eax
mov edx, dword [edx]
push ecx
add edx, eax
push ebx
push 0x2f
mov eax, edi
mov dword [esp + 0xc8], ecx
mov dword [esi + 0x48], edx
call fcn.004a39a6
push ebx
push dword [esp + 0x6c]
mov eax, edi
push ebx
push 0x2f
call fcn.004a39a6
add esp, 0x40
push ebx
push dword [esp + 0x24]
mov eax, edi
push ebx
push 0x5b
call fcn.004a39a6
mov eax, dword [edi + 0xc]
push ebx
push dword [esp + 0xac]
mov dword [esp + 0x70], eax
push 1
push 0x2f
mov eax, edi
call fcn.004a39a6
push ebx
push ebx
push ebx
push 0x18
mov eax, edi
call fcn.004a39a6
mov eax, dword [edi + 0xc]
mov dword [esp + 0x44], eax
add eax, 2
push eax
push dword [esp + 0x6c]
mov eax, edi
push 0x7b
call fcn.004a3a3f
add esp, 0x3c
push ebx
push ebx
push ebx
push 0x18
mov eax, edi
call fcn.004a39a6
add esp, 0x10
lea edi, [esp + 0x6c]
mov eax, esi
call fcn.004bc053
cmp dword [esp + 0x10], ebx
je 0x4bc8ea
mov eax, dword [esp + 0x14]
push 8
inc eax
push eax
push dword [esp + 0x18]
push esi
call fcn.004acda3
add esp, 0x10
push dword [ebp + 0x20]
mov eax, dword [esp + 0x18]
push dword [esp + 0x5c]
inc eax
push eax
push dword [esp + 0x34]
mov eax, dword [ebp + 0xc]
push dword [esp + 0x40]
push ebx
push ebx
push dword [eax]
push eax
mov eax, dword [ebp + 0x10]
push esi
call fcn.004b9829
mov edi, dword [esp + 0x78]
push ebx
push ebx
push ebx
push 0x18
mov eax, edi
call fcn.004a39a6
mov eax, dword [edi + 0xc]
mov dword [esp + 0x90], eax
lea eax, [esp + 0xa4]
push eax
push esi
call fcn.004bbf87
add esp, 0x40
push ebx
push ebx
push ebx
push 0x18
mov eax, edi
call fcn.004a39a6
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.004a3ac7
push ebx
push dword [esp + 0x6c]
mov eax, edi
push ebx
push 0x2e
call fcn.004a39a6
push ebx
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x5c]
push dword [esp + 0x68]
push esi
call fcn.004c14d6
add esp, 0x34
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x4bce81
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4bc99f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
jmp 0x4bcb18
mov eax, dword [eax]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x40], eax
inc eax
cmp edx, ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
jle 0x4bc9de
mov ecx, dword [esp + 0x7c]
add ecx, 0xc
mov dword [esp + 0x1c], edx
cmp dword [ecx], eax
jl 0x4bc9d5
inc dword [esp + 0x2c]
inc eax
add ecx, 0x18
dec dword [esp + 0x1c]
jne 0x4bc9cc
push dword [esp + 0x2c]
call fcn.004ad427
pop ecx
push ebx
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
push esi
call fcn.004acb16
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
add esp, 0xc
add eax, ecx
push eax
push dword [esp + 0x74]
mov eax, edi
push 5
call fcn.004a3a3f
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp dword [esp + 0x80], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ebx
jle 0x4bcaa3
mov eax, dword [esp + 0x34]
add eax, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
add eax, edx
cmp dword [eax + 0xc], ecx
jl 0x4bca8d
mov edi, dword [ebp + 8]
push ebx
push dword [esp + 0x44]
mov ebx, dword [eax]
push dword [eax + 4]
push dword [eax + 8]
call fcn.004abd69
add esp, 0x10
cmp dword [esp + 0x40], eax
je 0x4bca79
push dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x58]
push 8
call fcn.004a3a3f
add esp, 0xc
inc dword [esp + 0x10]
inc dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov esi, edi
mov edi, dword [esp + 0x50]
xor ebx, ebx
inc dword [esp + 0x24]
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], 0x18
cmp eax, dword [esp + 0x80]
jl 0x4bca39
mov ecx, esi
call fcn.004ad3b3
push eax
push dword [esp + 0x30]
mov dword [esp + 0x24], eax
push dword [esp + 0x3c]
mov eax, edi
push 0x55
call fcn.004a39a6
push dword [esp + 0x2c]
mov eax, edi
push dword [esp + 0x84]
push 0x68
call fcn.004a3a3f
mov edx, dword [esp + 0x38]
add esp, 0x1c
mov eax, esi
call fcn.004ad410
mov eax, dword [esp + 0x2c]
cmp eax, dword [esi + 0x38]
jle 0x4bcaf5
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x3c], eax
push dword [esp + 0x28]
call fcn.004c23b7
pop ecx
push dword [esp + 0x48]
mov eax, edi
push dword [esp + 0x74]
push 0x12
call fcn.004a3a3f
add esp, 0xc
mov byte [esp + 0x6d], 1
mov eax, dword [edi + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
cmp dword [eax], ebx
mov dword [esp + 0x10], ebx
jle 0x4bcb87
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x20], ebx
je 0x4bcb53
add ecx, eax
push ecx
push eax
push dword [esp + 0x78]
mov eax, edi
push 3
call fcn.004a39a6
add esp, 0x10
jmp 0x4bcb72
add eax, ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x70], 1
mov eax, dword [eax + 0xc]
push dword [eax + ecx]
push esi
call fcn.004ac9c4
add esp, 0xc
inc dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
add dword [esp + 0x1c], 0xc
cmp ecx, dword [eax]
jl 0x4bcb2f
mov eax, dword [eax]
dec eax
mov dword [esp + 0x10], eax
js 0x4bcbea
mov esi, eax
cmp esi, ebx
jne 0x4bcba6
push dword [esp + 0x54]
push dword [esp + 0x60]
push dword [esp + 0x4c]
push 0x44
jmp 0x4bcbba
mov eax, dword [esp + 0x54]
add eax, esi
push eax
push dword [esp + 0x6c]
mov eax, dword [esp + 0x4c]
add eax, esi
push eax
push 0x43
mov eax, edi
call fcn.004a39a6
mov eax, dword [esp + 0x74]
mov ebx, dword [eax + esi*4 + 0x10]
add esp, 0x10
push 0xfffffffffffffffc
push edi
or eax, 0xffffffff
call fcn.004a3d93
pop ecx
pop ecx
mov dl, 0x10
mov ecx, edi
call fcn.004a3ccd
xor ebx, ebx
dec esi
jns 0x4bcb92
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x68]
mov ecx, edi
call fcn.004a3ac7
mov eax, dword [esp + 0x18]
cmp dword [eax], ebx
mov dword [esp + 0x10], ebx
jle 0x4bcc37
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
sub eax, ebx
mov dword [esp + 0x64], eax
jmp 0x4bcc15
mov eax, dword [esp + 0x64]
mov esi, dword [ebp + 8]
lea edi, [eax + ebx]
call fcn.004abed4
inc dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc ebx
cmp ecx, dword [eax]
jl 0x4bcc11
mov edi, dword [esp + 0x50]
xor ebx, ebx
push ebx
push dword [esp + 0x18]
mov eax, edi
push ebx
push 0x2e
call fcn.004a39a6
push dword [esp + 0x58]
mov eax, edi
push dword [esp + 0xac]
push 0x7b
call fcn.004a3a3f
add esp, 0x1c
push ebx
push dword [esp + 0x5c]
mov eax, edi
push ebx
push 0x2e
call fcn.004a39a6
mov edx, dword [esp + 0x6c]
mov ecx, edi
call fcn.004a3ac7
lea eax, [esp + 0x7c]
push eax
mov eax, esi
call fcn.004bc0a6
add esp, 0x14
push ebx
push dword [esp + 0x3c]
mov eax, edi
push 1
push 0x2f
call fcn.004a39a6
add esp, 0x10
cmp dword [esp + 0x20], ebx
je 0x4bccb5
push dword [esp + 0x34]
mov eax, edi
push dword [esp + 0x74]
push 0x67
call fcn.004a3a3f
add esp, 0xc
jmp 0x4bccd0
push dword [esp + 0x28]
call fcn.004c23b7
pop ecx
mov ecx, dword [esp + 0xa0]
push 1
mov eax, edi
call fcn.004a3d54
pop ecx
push ebx
push dword [esp + 0x18]
mov eax, edi
push ebx
push 0x2e
call fcn.004a39a6
mov ebx, dword [ebp + 8]
add esp, 0x10
jmp 0x4bce14
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
cmp dword [esi], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
je 0x4bcd02
mov dword [esp + 0x14], eax
jmp 0x4bcd4d
mov eax, esi
call fcn.004bbd69
mov dword [esp + 0x14], eax
test al, al
je 0x4bcd4d
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
push dword [eax + 0x10]
mov esi, dword [esp + 0x30]
push esi
call fcn.004aa705
pop ecx
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
test eax, eax
je 0x4bcd4d
cmp byte [esi + 0x1e], 0
jne 0x4bcd4d
cmp byte [esp + 0x14], 1
mov edx, dword [eax + 0xc]
setne cl
mov byte [edx + 8], cl
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov byte [eax], 0x95
lea eax, [esp + 0x6c]
push eax
push ebx
call fcn.004bbf87
push dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x44]
push dword [esp + 0x50]
push ebx
call fcn.004c14d6
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x4bcd86
mov esi, dword [esp + 0x38]
call fcn.004aabce
jmp 0x4bce81
lea eax, [esp + 0x6c]
push eax
mov eax, ebx
call fcn.004bc0a6
xor eax, eax
pop ecx
cmp dword [esp + 0x20], eax
jne 0x4bcdb2
cmp byte [esp + 0x14], al
je 0x4bcdb2
push eax
push dword [esi + 0x14]
push eax
push 0x5b
mov eax, edi
call fcn.004a39a6
add esp, 0x10
push esi
call fcn.004c23b7
pop ecx
lea edi, [esp + 0x6c]
mov eax, ebx
call fcn.004bc053
and dword [esp + 0x30], 0
cmp dword [esp + 0x10], 0
je 0x4bcde3
push 8
push dword [esp + 0x4c]
push dword [esp + 0x18]
push ebx
call fcn.004acda3
add esp, 0x10
push dword [ebp + 0x20]
xor eax, eax
push dword [esp + 0x4c]
push dword [esp + 0x50]
push 0xffffffffffffffff
push eax
push eax
push eax
mov eax, dword [ebp + 0xc]
push dword [eax]
push eax
mov eax, dword [ebp + 0x10]
push ebx
call fcn.004b9829
mov esi, dword [esp + 0x60]
add esp, 0x28
call fcn.004aabce
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ecx, edi
call fcn.004a3ac7
mov edi, dword [esp + 0x50]
mov esi, dword [ebp + 0xc]
cmp dword [esp + 0x30], 0
je 0x4bce41
push dword [ebp + 0x10]
mov eax, dword [esp + 0x50]
push dword [eax]
push edi
push esi
push ebx
call fcn.004b9c77
add esp, 0x14
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4bce56
mov eax, dword [ebp + 0x18]
mov ecx, dword [ecx + 0xc]
imul eax, eax, 0x30
mov byte [eax + ecx + 0x1c], 1
mov edx, dword [esp + 0x9c]
mov ecx, edi
call fcn.004a3ac7
mov eax, dword [ebp + 0x10]
and dword [esp + 0x1c], 0
cmp byte [eax], 5
jne 0x4bce81
push dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
mov ecx, ebx
call fcn.004ba12c
pop ecx
push dword [esp + 0x7c]
call fcn.004960e2
pop ecx
push dword [esp + 0x8c]
call fcn.004960e2
mov eax, dword [esp + 0x20]
pop ecx
jmp 0x4bcea0
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret