Function at 0x4be7f0
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 0x4bf47b
cmp byte [eax + 0x1e], 0
jne 0x4bf47b
cmp dword [ebx + 0x40], edi
jne 0x4bf47b
push edi
push edi
push edi
push 0x15
mov eax, ebx
call fcn.004b12be
add esp, 0x10
test eax, eax
je 0x4be84a
xor eax, eax
inc eax
jmp 0x4bf47d
push 0x2c
lea eax, [esp + 0x70]
push edi
push eax
call fcn.004f5f50
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp byte [eax], 4
ja 0x4be870
mov dword [esi + 0x1c], edi
mov byte [esi + 5], 0
push edi
push esi
push ebx
call fcn.004be3a8
add esp, 0xc
test eax, eax
jne 0x4bf45e
mov ecx, dword [esp + 0x30]
mov eax, esi
mov dword [eax + 0x1c], ecx
cmp dword [eax + 0x20], edi
je 0x4be8e2
cmp dword [eax + 0x28], edi
jne 0x4be8cd
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 0x4be89c
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + 0x60]
test ecx, ecx
je 0x4be8cd
cmp esi, ecx
jle 0x4be8cd
push str.too_many_terms_in_compound_SELECT
mov esi, ebx
call fcn.0049a37a
pop ecx
jmp 0x4be842
push dword [ebp + 0x20]
push dword [ebp + 0x10]
push eax
push ebx
call fcn.004bd5e1
add esp, 0x10
jmp 0x4bf47d
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 0x4bf45e
cmp dword [ebx + 0x40], edi
jg 0x4bf45e
mov ecx, dword [esp + 0x4c]
cmp dword [ecx], 1
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
jle 0x4be93f
push eax
mov esi, ebx
call fcn.004bbde6
pop ecx
jmp 0x4be941
xor eax, eax
test eax, eax
jne 0x4bf45e
mov eax, dword [ebp + 0x10]
cmp byte [eax], 4
ja 0x4be955
and dword [esp + 0x30], edi
mov edi, ebx
call fcn.004bd434
mov edi, eax
mov dword [esp + 0x50], edi
test edi, edi
je 0x4bf45e
mov ecx, dword [esp + 0x3c]
and dword [esp + 0x24], 0
mov esi, dword [ebp + 0xc]
xor eax, eax
cmp ax, word [ecx]
jge 0x4beabd
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 0x4beaa3
cmp byte [eax + 0x14], dl
jne 0x4beaa3
mov ecx, dword [eax + 4]
cmp ecx, edx
je 0x4be9cc
lea eax, [ebx + 0x18c]
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov dword [eax], ecx
mov dword [esp + 0x38], 1
jmp 0x4be9d0
mov dword [esp + 0x38], edx
and dword [esp + 0x20], 0
lea eax, [esp + 0x20]
mov ecx, esi
call fcn.004ad0f7
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.004be7f0
mov eax, dword [esp + 0x48]
add esp, 0x1c
cmp byte [eax + 0x1e], 0
jne 0x4bf45e
and dword [esp + 0x20], 0
lea eax, [esp + 0x20]
mov ecx, esi
call fcn.004ad0f7
mov eax, dword [esp + 0x20]
sub dword [ebx + 0x1a4], eax
cmp dword [esp + 0x38], 0
je 0x4bea70
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 0x4bea8d
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 0x4be985
cmp dword [ebp + 0x14], 0
je 0x4beb04
cmp dword [ebp + 0x1c], 0
je 0x4beb04
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.004bdfe0
add esp, 0x10
test eax, eax
je 0x4beafe
cmp dword [esp + 0x60], 0
je 0x4bf45e
mov dword [esi], 1
jmp 0x4bf45e
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp byte [esi + 5], 0
je 0x4beb33
cmp byte [esi + 7], 0
jne 0x4beb33
cmp dword [esi + 0x14], 0
jne 0x4beb33
push dword [esi]
push dword [esp + 0x30]
call fcn.004acce2
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 0x4beb78
mov esi, dword [esp + 0x30]
push esi
push ebx
call fcn.004bc1c2
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.004a6033
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 0x4beb7d
or dword [esp + 0x14], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x4beb9d
mov eax, dword [esp + 0x4c]
push dword [eax]
mov eax, dword [ebp + 0x10]
push dword [eax + 4]
mov eax, edi
push 0x70
call fcn.004a601c
add esp, 0xc
mov eax, edi
call fcn.004a6062
mov dword [esp + 0x9c], eax
push eax
mov eax, esi
mov ecx, ebx
call fcn.004bd45a
cmp dword [esp + 0x2c], 0
pop ecx
je 0x4bebef
mov eax, dword [ebx + 0x44]
mov dword [esp + 0x28], eax
inc eax
mov dword [ebx + 0x44], eax
push dword [esi]
push ebx
call fcn.004bc1c2
push 0xfffffffffffffff7
push 0
push 0
push dword [esp + 0x3c]
mov ebx, eax
push 0x70
push edi
call fcn.004a6033
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
add esp, 0x20
jmp 0x4bebf4
or dword [esp + 0x28], 0xffffffff
cmp dword [esp + 0x60], 0
jne 0x4bec80
cmp dword [esp + 0x18], 0
jne 0x4bec80
push 0
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x48]
push ebx
call fcn.004c3ab3
add esp, 0x14
mov dword [esp + 0x28], eax
test eax, eax
je 0x4bf45e
cmp dword [esp + 0x14], 0
jl 0x4bec4a
cmp dword [esp + 0x30], 0
jne 0x4bec4a
mov ecx, dword [esp + 0x14]
push 1
mov eax, edi
call fcn.004a6331
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.004bbe06
push dword [esp + 0x50]
call fcn.004c4994
add esp, 0x2c
jmp 0x4bf403
mov eax, edi
call fcn.004a6062
push 0x24
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xb8]
push 0
push eax
call fcn.004f5f50
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 0x4beccd
mov eax, dword [eax]
inc eax
mov dword [esp + 0x78], eax
jmp 0x4becd2
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.004af963
mov esi, dword [esp + 0x34]
pop ecx
lea eax, [esp + 0xb4]
push eax
call fcn.004af963
xor esi, esi
pop ecx
cmp dword [esp + 0x10], esi
je 0x4bed1f
lea eax, [esp + 0xb4]
push eax
push 0x4af6cf
push dword [esp + 0x18]
call fcn.004ad1e6
add esp, 0xc
cmp dword [esp + 0x90], esi
mov eax, dword [esp + 0x80]
mov dword [esp + 0x88], eax
mov dword [esp + 0x24], esi
jle 0x4bed73
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.004af963
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
add dword [esp + 0x18], 0x10
cmp eax, dword [esp + 0x94]
pop ecx
jl 0x4bed3e
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x1e], 0
jne 0x4bf45e
xor eax, eax
cmp dword [esp + 0x18], eax
je 0x4bf2c7
mov eax, edi
call fcn.004a6062
mov dword [esp + 0x20], eax
mov eax, edi
call fcn.004a6062
mov dword [esp + 0x68], eax
mov eax, edi
call fcn.004a6062
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.004bc1c2
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.004a6033
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.004a5f83
push ebx
push dword [esp + 0x6c]
mov eax, edi
push ebx
push 0x2f
call fcn.004a5f83
add esp, 0x40
push ebx
push dword [esp + 0x24]
mov eax, edi
push ebx
push 0x5b
call fcn.004a5f83
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.004a5f83
push ebx
push ebx
push ebx
push 0x18
mov eax, edi
call fcn.004a5f83
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.004a601c
add esp, 0x3c
push ebx
push ebx
push ebx
push 0x18
mov eax, edi
call fcn.004a5f83
add esp, 0x10
lea edi, [esp + 0x6c]
mov eax, esi
call fcn.004be630
cmp dword [esp + 0x10], ebx
je 0x4beec7
mov eax, dword [esp + 0x14]
push 8
inc eax
push eax
push dword [esp + 0x18]
push esi
call fcn.004af380
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.004bbe06
mov edi, dword [esp + 0x78]
push ebx
push ebx
push ebx
push 0x18
mov eax, edi
call fcn.004a5f83
mov eax, dword [edi + 0xc]
mov dword [esp + 0x90], eax
lea eax, [esp + 0xa4]
push eax
push esi
call fcn.004be564
add esp, 0x40
push ebx
push ebx
push ebx
push 0x18
mov eax, edi
call fcn.004a5f83
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.004a60a4
push ebx
push dword [esp + 0x6c]
mov eax, edi
push ebx
push 0x2e
call fcn.004a5f83
push ebx
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x5c]
push dword [esp + 0x68]
push esi
call fcn.004c3ab3
add esp, 0x34
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x4bf45e
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4bef7c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
jmp 0x4bf0f5
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 0x4befbb
mov ecx, dword [esp + 0x7c]
add ecx, 0xc
mov dword [esp + 0x1c], edx
cmp dword [ecx], eax
jl 0x4befb2
inc dword [esp + 0x2c]
inc eax
add ecx, 0x18
dec dword [esp + 0x1c]
jne 0x4befa9
push dword [esp + 0x2c]
call fcn.004afa04
pop ecx
push ebx
push eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
push esi
call fcn.004af0f3
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.004a601c
mov ecx, dword [esp + 0x30]
add esp, 0xc
cmp dword [esp + 0x80], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ebx
jle 0x4bf080
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 0x4bf06a
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.004ae346
add esp, 0x10
cmp dword [esp + 0x40], eax
je 0x4bf056
push dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x58]
push 8
call fcn.004a601c
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 0x4bf016
mov ecx, esi
call fcn.004af990
push eax
push dword [esp + 0x30]
mov dword [esp + 0x24], eax
push dword [esp + 0x3c]
mov eax, edi
push 0x55
call fcn.004a5f83
push dword [esp + 0x2c]
mov eax, edi
push dword [esp + 0x84]
push 0x68
call fcn.004a601c
mov edx, dword [esp + 0x38]
add esp, 0x1c
mov eax, esi
call fcn.004af9ed
mov eax, dword [esp + 0x2c]
cmp eax, dword [esi + 0x38]
jle 0x4bf0d2
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x3c], eax
push dword [esp + 0x28]
call fcn.004c4994
pop ecx
push dword [esp + 0x48]
mov eax, edi
push dword [esp + 0x74]
push 0x12
call fcn.004a601c
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 0x4bf164
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x20], ebx
je 0x4bf130
add ecx, eax
push ecx
push eax
push dword [esp + 0x78]
mov eax, edi
push 3
call fcn.004a5f83
add esp, 0x10
jmp 0x4bf14f
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.004aefa1
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 0x4bf10c
mov eax, dword [eax]
dec eax
mov dword [esp + 0x10], eax
js 0x4bf1c7
mov esi, eax
cmp esi, ebx
jne 0x4bf183
push dword [esp + 0x54]
push dword [esp + 0x60]
push dword [esp + 0x4c]
push 0x44
jmp 0x4bf197
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.004a5f83
mov eax, dword [esp + 0x74]
mov ebx, dword [eax + esi*4 + 0x10]
add esp, 0x10
push 0xfffffffffffffffc
push edi
or eax, 0xffffffff
call fcn.004a6370
pop ecx
pop ecx
mov dl, 0x10
mov ecx, edi
call fcn.004a62aa
xor ebx, ebx
dec esi
jns 0x4bf16f
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0x68]
mov ecx, edi
call fcn.004a60a4
mov eax, dword [esp + 0x18]
cmp dword [eax], ebx
mov dword [esp + 0x10], ebx
jle 0x4bf214
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
sub eax, ebx
mov dword [esp + 0x64], eax
jmp 0x4bf1f2
mov eax, dword [esp + 0x64]
mov esi, dword [ebp + 8]
lea edi, [eax + ebx]
call fcn.004ae4b1
inc dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
inc ebx
cmp ecx, dword [eax]
jl 0x4bf1ee
mov edi, dword [esp + 0x50]
xor ebx, ebx
push ebx
push dword [esp + 0x18]
mov eax, edi
push ebx
push 0x2e
call fcn.004a5f83
push dword [esp + 0x58]
mov eax, edi
push dword [esp + 0xac]
push 0x7b
call fcn.004a601c
add esp, 0x1c
push ebx
push dword [esp + 0x5c]
mov eax, edi
push ebx
push 0x2e
call fcn.004a5f83
mov edx, dword [esp + 0x6c]
mov ecx, edi
call fcn.004a60a4
lea eax, [esp + 0x7c]
push eax
mov eax, esi
call fcn.004be683
add esp, 0x14
push ebx
push dword [esp + 0x3c]
mov eax, edi
push 1
push 0x2f
call fcn.004a5f83
add esp, 0x10
cmp dword [esp + 0x20], ebx
je 0x4bf292
push dword [esp + 0x34]
mov eax, edi
push dword [esp + 0x74]
push 0x67
call fcn.004a601c
add esp, 0xc
jmp 0x4bf2ad
push dword [esp + 0x28]
call fcn.004c4994
pop ecx
mov ecx, dword [esp + 0xa0]
push 1
mov eax, edi
call fcn.004a6331
pop ecx
push ebx
push dword [esp + 0x18]
mov eax, edi
push ebx
push 0x2e
call fcn.004a5f83
mov ebx, dword [ebp + 8]
add esp, 0x10
jmp 0x4bf3f1
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
cmp dword [esi], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
je 0x4bf2df
mov dword [esp + 0x14], eax
jmp 0x4bf32a
mov eax, esi
call fcn.004be346
mov dword [esp + 0x14], eax
test al, al
je 0x4bf32a
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
push dword [eax + 0x10]
mov esi, dword [esp + 0x30]
push esi
call fcn.004acce2
pop ecx
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x38], eax
test eax, eax
je 0x4bf32a
cmp byte [esi + 0x1e], 0
jne 0x4bf32a
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.004be564
push dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x44]
push dword [esp + 0x50]
push ebx
call fcn.004c3ab3
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x4bf363
mov esi, dword [esp + 0x38]
call fcn.004ad1ab
jmp 0x4bf45e
lea eax, [esp + 0x6c]
push eax
mov eax, ebx
call fcn.004be683
xor eax, eax
pop ecx
cmp dword [esp + 0x20], eax
jne 0x4bf38f
cmp byte [esp + 0x14], al
je 0x4bf38f
push eax
push dword [esi + 0x14]
push eax
push 0x5b
mov eax, edi
call fcn.004a5f83
add esp, 0x10
push esi
call fcn.004c4994
pop ecx
lea edi, [esp + 0x6c]
mov eax, ebx
call fcn.004be630
and dword [esp + 0x30], 0
cmp dword [esp + 0x10], 0
je 0x4bf3c0
push 8
push dword [esp + 0x4c]
push dword [esp + 0x18]
push ebx
call fcn.004af380
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.004bbe06
mov esi, dword [esp + 0x60]
add esp, 0x28
call fcn.004ad1ab
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov ecx, edi
call fcn.004a60a4
mov edi, dword [esp + 0x50]
mov esi, dword [ebp + 0xc]
cmp dword [esp + 0x30], 0
je 0x4bf41e
push dword [ebp + 0x10]
mov eax, dword [esp + 0x50]
push dword [eax]
push edi
push esi
push ebx
call fcn.004bc254
add esp, 0x14
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4bf433
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.004a60a4
mov eax, dword [ebp + 0x10]
and dword [esp + 0x1c], 0
cmp byte [eax], 5
jne 0x4bf45e
push dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
mov ecx, ebx
call fcn.004bc709
pop ecx
push dword [esp + 0x7c]
call fcn.004986bf
pop ecx
push dword [esp + 0x8c]
call fcn.004986bf
mov eax, dword [esp + 0x20]
pop ecx
jmp 0x4bf47d
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret