Function at 0x4ba480
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x22c]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0x230]
mov dword [esi + 0x22c], eax
inc eax
mov dword [esi + 0x230], eax
mov eax, dword [esi]
push edi
mov dword [esp + 0x30], 1
mov dword [esp + 0x40], eax
test ebx, ebx
je 0x4bb945
cmp byte [eax + 0x1e], 0
jne 0x4bb945
cmp dword [esi + 0x40], 0
jne 0x4bb945
push 0
push 0
push 0
push 0x15
mov eax, esi
call fcn.004a1790
add esp, 0x10
test eax, eax
jne 0x4bb945
push 0x2c
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.004f4810
mov edx, dword [ebp + 0x10]
add esp, 0xc
cmp byte [edx], 4
ja 0x4ba534
mov eax, dword [ebx + 0x18]
mov edi, dword [esp + 0x40]
push eax
call fcn.0049a950
mov ecx, 0xfffe
add esp, 4
and word [ebx + 6], cx
mov dword [ebx + 0x18], 0
push 0
push ebx
push esi
call fcn.004b9ce0
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx]
add esp, 0xc
cmp dword [esi + 0x40], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
jne 0x4bb5ec
mov edx, dword [esp + 0x40]
cmp byte [edx + 0x1e], 0
jne 0x4bb5ec
movzx eax, word [ebx + 6]
shr eax, 2
and eax, 1
mov edi, esi
mov dword [esp + 0x1c], eax
call fcn.004b6520
mov dword [esp + 0x10], eax
test eax, eax
je 0x4bb5ec
mov ecx, dword [esp + 0x50]
cmp dword [ecx], 1
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
jle 0x4ba5b8
cmp eax, 6
je 0x4ba5a6
cmp eax, 7
jne 0x4ba5b8
push str.only_a_single_result_allowed_for_a_SELECT_that_is_part_of_an_expression
call fcn.00476d80
add esp, 4
jmp 0x4bb5ec
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [ebx + 0x1c], eax
jne 0x4ba725
jmp 0x4ba5d4
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x4c]
movsx edx, word [edi]
cmp eax, edx
jge 0x4ba725
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edi + ecx*8 + 0x18]
lea edi, [edi + ecx*8 + 8]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4ba717
cmp byte [edi + 0x14], 0
jne 0x4ba717
mov ecx, ebx
call fcn.00499910
add dword [esi + 0x220], eax
mov edx, dword [esp + 0x2c]
movzx eax, word [edx + 6]
mov ecx, dword [esp + 0x28]
shr eax, 2
and eax, 1
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
push eax
push ecx
push esi
mov eax, ebx
call fcn.004b8d20
add esp, 0x10
test eax, eax
je 0x4ba664
cmp dword [esp + 0x18], 0
je 0x4ba657
or word [ebx + 6], 4
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 0xffffffff
jmp 0x4ba6e6
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x2c]
mov dl, byte [esi + 0x230]
mov dword [esp + 0xdc], eax
xor eax, eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
lea eax, [esp + 0xd8]
push eax
push ecx
mov byte [esp + 0xe0], 9
mov byte [esp + 0xe1], 0
push esi
mov byte [edi + 0x17], dl
call fcn.004ba480
fnstcw word [esp + 0x20]
movzx eax, word [esp + 0x20]
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 0xc]
add esp, 0xc
or eax, 0xc00
mov byte [edi + 0x14], 1
mov dword [esp + 0x18], eax
fld qword [edx + 0x48]
fldcw word [esp + 0x18]
fistp qword [esp + 0xa8]
mov eax, dword [esp + 0xa8]
mov dword [ecx + 0x18], eax
fldcw word [esp + 0x14]
mov edx, dword [esp + 0x40]
cmp byte [edx + 0x1e], 0
jne 0x4bb5ec
mov ecx, ebx
call fcn.00499910
sub dword [esi + 0x220], eax
mov ecx, dword [ebp + 0x10]
cmp byte [ecx], 4
mov eax, dword [ebx + 8]
mov dword [esp + 0x4c], eax
jbe 0x4ba717
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x34], edx
inc dword [esp + 0x28]
cmp dword [ebx + 0x1c], 0
je 0x4ba5d0
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x70], eax
movzx eax, word [ebx + 6]
mov dword [esp + 0x14], ecx
mov ecx, eax
and ecx, 1
cmp dword [ebx + 0x1c], 0
mov dword [esp + 0x50], edx
mov dword [esp + 0x20], ecx
je 0x4ba7b5
cmp dword [ebx + 0x24], 0
jne 0x4ba793
xor ecx, ecx
xor edx, edx
mov eax, ebx
nop
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ebx
mov ecx, eax
mov eax, dword [eax + 0x1c]
inc edx
test eax, eax
jne 0x4ba760
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x58]
test eax, eax
je 0x4ba793
cmp edx, eax
jle 0x4ba793
push str.too_many_terms_in_compound_SELECT
mov edi, esi
call fcn.00476d80
add esp, 4
jmp 0x4bb5ec
mov edx, dword [ebp + 0x10]
push edx
push ebx
push esi
call fcn.004b6890
mov ecx, dword [esp + 0xb0]
add esp, 0xc
mov dword [esi + 0x22c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
and al, 5
cmp al, 1
jne 0x4ba7db
push 0
push edx
mov edx, dword [esp + 0x48]
push edx
call fcn.0049a270
mov dword [ebx + 0x10], eax
mov dword [esp + 0x20], eax
mov eax, 0xfffe
add esp, 0xc
and word [ebx + 6], ax
mov ecx, dword [esp + 0x34]
mov edi, dword [ebx + 0x10]
push ecx
call fcn.0049e0f0
add esp, 4
test eax, eax
jne 0x4ba8a3
mov edx, dword [esp + 0x40]
test byte [edx + 0xc], 0x20
jne 0x4ba8a3
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x4ba830
mov edx, dword [esp + 0x50]
mov ecx, dword [edx]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x10]
push 0
push ecx
push edx
push 0x29
call fcn.0048d730
add esp, 0x10
mov eax, dword [esp + 0x10]
call fcn.0048d8c0
fld qword [0x5449c0]
push eax
fstp qword [ebx + 0x48]
push ebx
push esi
mov dword [esp + 0xb4], eax
call fcn.004b6550
add esp, 0xc
test byte [ebx + 6], 1
je 0x4ba8e9
mov edi, dword [esi + 0x44]
lea eax, [edi + 1]
mov dword [esi + 0x44], eax
mov ecx, dword [ebx]
push ecx
push esi
mov dword [esp + 0x74], edi
call fcn.004b53c0
push 0xfffffffffffffff0
push eax
mov edx, edi
mov edi, dword [esp + 0x20]
push 0x29
xor eax, eax
xor ecx, ecx
call fcn.0048d820
mov edx, edi
mov eax, dword [edx + 0x14]
add esp, 0x14
test eax, eax
je 0x4ba8f1
mov ecx, edi
mov ecx, dword [ecx + 0xc]
lea edx, [ecx + ecx*4]
mov byte [eax + edx*4 - 0x11], 0x10
jmp 0x4ba8f1
cmp dword [esp + 0x34], 0
je 0x4ba805
mov edi, dword [esp + 0x34]
push edi
push esi
call fcn.004b53c0
mov ecx, dword [esi + 0x44]
mov dword [edi + 8], ecx
inc dword [esi + 0x44]
mov ecx, dword [edi]
mov edx, dword [edi + 8]
mov edi, dword [esp + 0x18]
push 0xfffffffffffffff0
push eax
add ecx, 2
push 0x29
xor eax, eax
call fcn.0048d820
add esp, 0x14
mov dword [esp + 0x24], eax
mov dword [ebx + 0x40], eax
jmp 0x4ba80d
mov dword [esp + 0x6c], 0xffffffff
cmp dword [esp + 0x1c], 0
mov edi, dword [esp + 0x14]
jne 0x4ba997
test edi, edi
jne 0x4ba99b
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
push edi
lea eax, [esp + 0x38]
push eax
push ecx
push edx
push esi
call fcn.004c58d0
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4bb5ec
fld qword [ebx + 0x48]
fcomp qword [edi + 0x28]
fnstsw ax
test ah, 0x41
jne 0x4ba93e
fld qword [edi + 0x28]
fstp qword [ebx + 0x48]
mov ecx, dword [esp + 0x24]
test ecx, ecx
jl 0x4ba962
cmp dword [esp + 0x34], 0
jne 0x4ba962
mov edx, dword [esp + 0x10]
mov eax, 1
call fcn.0048dce0
mov dword [ebx + 0x40], 0xffffffff
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
push ecx
push ebx
push esi
call fcn.004b4f20
push edi
call fcn.004c6330
mov edi, dword [esp + 0x3c]
add esp, 0x2c
jmp 0x4bb589
test edi, edi
je 0x4ba9f2
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov ecx, dword [ecx + 0xc]
test eax, eax
jle 0x4ba9bd
add ecx, 0x10
lea esp, [esp]
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x4ba9b0
mov eax, dword [edi]
mov ecx, dword [edi + 0xc]
test eax, eax
jle 0x4ba9dd
add ecx, 0x10
lea esp, [esp]
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x4ba9d0
fld qword [0x5449e0]
fcom qword [ebx + 0x48]
fnstsw ax
test ah, 5
jp 0x4ba9f9
fstp qword [ebx + 0x48]
jmp 0x4ba9fb
fld1
fstp qword [ebx + 0x48]
jmp 0x4ba9fb
fstp st(0)
mov eax, dword [esp + 0x10]
call fcn.0048d8c0
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x5c], eax
xor eax, eax
lea edx, [esp + 0x78]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xd0], edx
cmp edi, eax
je 0x4baa6d
mov eax, dword [edi]
inc eax
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x50]
lea edx, [esp + 0xb4]
push edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ecx
call fcn.0049e490
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0xb8]
add esp, 4
push eax
call fcn.0049e490
mov ecx, dword [esp + 0x74]
xor edi, edi
add esp, 4
cmp ecx, edi
je 0x4baabd
lea eax, [esp + 0xb4]
call fcn.0049e460
cmp dword [esp + 0x9c], edi
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x28], edi
jle 0x4bab12
jmp 0x4baae0
mov edx, dword [esp + 0x98]
mov eax, dword [edi + edx]
mov ebx, dword [eax + 0x10]
lea ecx, [esp + 0xb4]
push ecx
call fcn.0049e490
mov eax, dword [esp + 0x2c]
inc eax
add esp, 4
add edi, 0x10
cmp eax, dword [esp + 0x9c]
mov dword [esp + 0x28], eax
jl 0x4baae0
mov edx, dword [esp + 0x40]
cmp byte [edx + 0x1e], 0
jne 0x4bb5ec
mov ecx, dword [esp + 0x14]
xor ebx, ebx
cmp ecx, ebx
je 0x4bb648
mov eax, dword [esi + 0x44]
mov dword [esp + 0x7c], eax
push ecx
inc eax
push esi
mov dword [esi + 0x44], eax
call fcn.004b53c0
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x8c]
push ebx
push eax
push ecx
push 0x29
mov eax, edi
call fcn.0048d730
mov ecx, dword [edi + 0x14]
mov edx, dword [edi]
add esp, 0x18
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], edx
cmp ecx, ebx
je 0x4babc0
cmp byte [edx + 0x1e], bl
jne 0x4babc0
cmp eax, ebx
jge 0x4bab83
mov eax, dword [edi + 0xc]
dec eax
mov edi, dword [esp + 0x3c]
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea ecx, [ecx + edx*4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ecx + 0x10]
call fcn.0048db80
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x10], ebx
cmp dword [esp + 0x2c], ebx
jne 0x4babb3
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
jmp 0x4babd0
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
jmp 0x4babd0
mov ecx, dword [esp + 0x2c]
mov eax, 0xfffffff0
mov edi, edx
call fcn.0048db80
mov eax, dword [esi + 0x48]
mov edi, dword [esp + 0x10]
inc eax
mov dword [esp + 0x60], eax
inc eax
mov dword [esp + 0x74], eax
inc eax
mov dword [esp + 0x58], eax
mov dword [esi + 0x48], eax
mov eax, edi
call fcn.0048d8c0
inc dword [esi + 0x48]
mov edx, dword [esi + 0x48]
mov dword [esp + 0x68], eax
mov eax, edi
mov dword [esp + 0x24], edx
call fcn.0048d8c0
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x48]
lea ecx, [eax + 1]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
add eax, edx
mov dword [esi + 0x48], eax
mov ecx, dword [ecx]
add ecx, eax
lea edx, [eax + 1]
mov dword [esi + 0x48], ecx
mov eax, dword [edi + 0xc]
cmp dword [edi + 0x10], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x1c], eax
jg 0x4bac41
call fcn.0048d6b0
test eax, eax
jne 0x4bac6d
mov eax, dword [esp + 0x1c]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x74]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x14]
lea eax, [eax + edx*4]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
mov eax, dword [edi + 0xc]
cmp dword [edi + 0x10], eax
mov dword [esp + 0x1c], eax
jg 0x4bac86
call fcn.0048d6b0
test eax, eax
jne 0x4bacae
mov eax, dword [esp + 0x1c]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x60]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x14]
lea eax, [eax + edx*4]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
push ebx
push edx
push eax
push 2
mov eax, edi
call fcn.0048d730
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
push ebx
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
push esi
call fcn.004c58d0
add esp, 0x24
mov dword [esp + 0x54], eax
cmp eax, ebx
je 0x4bb5ec
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x4bad02
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x14], edx
mov dword [esp + 0x44], ebx
jmp 0x4baf9a
cmp dword [esp + 0x20], 0
je 0x4bad17
mov eax, dword [ebp + 0xc]
test byte [eax + 6], 1
mov eax, str.DISTINCT
je 0x4bad1c
mov eax, str.GROUP_BY
mov ecx, esi
call fcn.004b54a0
mov eax, dword [ebx]
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x20], eax
inc eax
mov dword [esp + 0x44], 1
mov dword [esp + 0x38], eax
mov ecx, eax
mov dword [esp + 0x30], eax
test edx, edx
jle 0x4bad63
mov ebx, dword [esp + 0x88]
add ebx, 0xc
cmp dword [ebx], eax
jl 0x4bad57
inc ecx
inc eax
add ebx, 0x18
sub edx, 1
jne 0x4bad51
mov dword [esp + 0x30], ecx
mov eax, dword [esi + 0x38]
cmp ecx, eax
mov ebx, dword [esi + 0x3c]
mov dword [esp + 0x1c], ebx
jg 0x4bad7e
lea edx, [ebx + ecx]
sub eax, ecx
mov dword [esi + 0x3c], edx
mov dword [esi + 0x38], eax
jmp 0x4bad8d
mov eax, dword [esi + 0x48]
lea ebx, [eax + 1]
add ecx, eax
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x48], ecx
mov edx, esi
call fcn.0049c230
mov eax, dword [esp + 0x14]
push 0
push ebx
push esi
call fcn.0049d7c0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x88]
add esp, 0xc
push 0
add ebx, eax
push ebx
push ecx
push 0x35
mov eax, edi
call fcn.0048d730
mov edx, dword [esp + 0x48]
add esp, 0x10
cmp dword [esp + 0x8c], 0
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], 0
jle 0x4bae59
mov eax, dword [esp + 0x1c]
mov ecx, edx
add eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x88]
xor ebx, ebx
mov edx, dword [esp + 0x38]
cmp dword [ebx + eax + 0xc], edx
jl 0x4bae44
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx + eax + 4]
push ecx
mov ecx, dword [ebx + eax + 8]
push edx
mov edx, dword [ebx + eax]
push ecx
push edx
push esi
call fcn.0049c110
add esp, 0x14
cmp dword [esp + 0x20], eax
je 0x4bae30
mov ecx, dword [esp + 0x20]
push 0
push ecx
push eax
push 0xf
mov eax, edi
call fcn.0048d730
add esp, 0x10
mov eax, 1
add dword [esp + 0x38], eax
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x28]
inc ecx
add ebx, 0x18
cmp ecx, dword [esp + 0x8c]
mov dword [esp + 0x28], ecx
jl 0x4badf0
mov al, byte [esi + 0x15]
test al, al
jne 0x4bae6c
inc dword [esi + 0x48]
mov edx, dword [esi + 0x48]
mov dword [esp + 0x20], edx
jmp 0x4bae7c
dec al
mov byte [esi + 0x15], al
movzx eax, al
mov ecx, dword [esi + eax*4 + 0x18]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
push 0x1e
mov eax, edi
call fcn.0048d730
mov ebx, dword [edi + 0xc]
mov edx, dword [esp + 0x8c]
add esp, 0x10
cmp dword [edi + 0x10], ebx
mov dword [esp + 0x38], edx
jg 0x4baeb3
call fcn.0048d6b0
test eax, eax
jne 0x4baee2
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x38]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x20]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x46
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x62], cl
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4baf13
mov bl, byte [esi + 0x15]
cmp bl, 8
jae 0x4baf13
xor eax, eax
lea ecx, [esi + 0x60]
cmp dword [ecx + 0x10], edx
je 0x4bb031
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x4baef7
movzx eax, bl
mov dword [esi + eax*4 + 0x18], edx
inc byte [esi + 0x15]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x30]
push ebx
mov eax, edi
call fcn.0049c070
mov eax, esi
add esp, 4
cmp edi, dword [eax + 0x38]
jle 0x4baf33
mov dword [eax + 0x38], edi
mov dword [eax + 0x3c], ebx
mov ecx, dword [esp + 0x54]
push ecx
call fcn.004c6330
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0xc]
mov ebx, dword [esp + 0x80]
add esp, 4
cmp dword [edi + 0x10], esi
jg 0x4baf5c
call fcn.0048d6b0
test eax, eax
jne 0x4baf87
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x5c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x40
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [edi + 0x62], cl
mov edx, dword [ebp + 8]
mov byte [esp + 0x79], 1
call fcn.0049c230
mov edi, dword [esp + 0x10]
mov esi, edx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x28], edx
mov edx, esi
call fcn.0049c230
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
mov dword [esp + 0x38], 0
jle 0x4bb0a5
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x30], 0
lea esp, [esp]
cmp dword [esp + 0x44], 0
je 0x4bb03a
mov eax, dword [edi + 0xc]
cmp dword [edi + 0x10], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
jg 0x4baffc
call fcn.0048d6b0
test eax, eax
jne 0x4bb08a
mov eax, dword [esp + 0x1c]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x14]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x38]
mov byte [eax], 0x1c
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
jmp 0x4bb08a
mov byte [ecx + 8], 1
jmp 0x4baf13
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov byte [esp + 0x78], 1
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + ecx]
test eax, eax
je 0x4bb064
cmp byte [eax], 0x84
jne 0x4bb064
mov eax, dword [eax + 0x18]
push 0
push ebx
push eax
mov eax, dword [esi + 0xc]
push 0xe
jmp 0x4bb082
push ebx
push eax
push esi
call fcn.0049c420
add esp, 0xc
cmp eax, ebx
je 0x4bb08a
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4bb08a
push 0
push ebx
push eax
push 0xf
mov eax, ecx
call fcn.0048d730
add esp, 0x10
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x30], 0x14
inc eax
inc ebx
cmp eax, dword [ecx]
mov dword [esp + 0x38], eax
jl 0x4bafd0
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
mov edx, dword [esp + 0x14]
mov ebx, dword [edx]
jg 0x4bb0c3
call fcn.0048d6b0
test eax, eax
je 0x4bb0c3
mov eax, 1
jmp 0x4bb0f8
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x3c]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x64]
mov byte [eax], 0x18
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
mov eax, esi
mov edx, dword [esp + 0x2c]
push edx
push edi
mov ecx, 0xfffffffa
call fcn.0048dd20
mov esi, dword [edi + 0xc]
add esp, 8
cmp dword [edi + 0x10], esi
mov dword [esp + 0x30], esi
jg 0x4bb120
call fcn.0048d6b0
test eax, eax
jne 0x4bb14a
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
xor edx, edx
lea ecx, [esi + 1]
mov byte [eax], 0x19
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov byte [eax + 1], dl
mov byte [edi + 0x62], dl
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x64]
mov edi, dword [ebp + 8]
push eax
call fcn.0049c280
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0xc]
add esp, 4
cmp dword [edi + 0x10], esi
jg 0x4bb179
call fcn.0048d6b0
test eax, eax
jne 0x4bb1a9
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x68]
xor ebx, ebx
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
jmp 0x4bb1ab
xor ebx, ebx
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4bb1bc
call fcn.0048d6b0
test eax, eax
jne 0x4bb1e8
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x74]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x5c]
mov byte [eax], 0x71
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4bb1f9
call fcn.0048d6b0
test eax, eax
jne 0x4bb225
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x24]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x48]
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jle 0x4bb23a
mov edx, dword [edi + 0x14]
lea ecx, [ecx + ecx*4]
mov dword [edx + ecx*4 + 8], eax
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.004ba090
mov esi, dword [edi + 0xc]
add esp, 8
cmp dword [edi + 0x10], esi
jg 0x4bb25c
call fcn.0048d6b0
test eax, eax
jne 0x4bb289
mov eax, dword [edi + 0x14]
mov ecx, 1
add dword [edi + 0xc], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x60]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
cmp dword [esp + 0x44], ebx
je 0x4bb2d6
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x18], edx
jg 0x4bb2a8
call fcn.0048d6b0
test eax, eax
jne 0x4bb2f3
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x18]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x28]
mov byte [eax], 0x43
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
jmp 0x4bb2f3
mov edx, dword [esp + 0x54]
push edx
call fcn.004c6330
mov ecx, dword [esp + 0x1c]
add esp, 4
mov eax, 1
mov edx, edi
call fcn.0048dce0
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4bb304
call fcn.0048d6b0
test eax, eax
jne 0x4bb330
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x58]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x68]
mov byte [eax], 2
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4bb341
call fcn.0048d6b0
test eax, eax
jne 0x4bb369
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x5c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
mov dword [esp + 0x3c], esi
jg 0x4bb37e
call fcn.0048d6b0
test eax, eax
jne 0x4bb3ab
mov eax, dword [edi + 0x14]
mov ecx, 1
add dword [edi + 0xc], ecx
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov byte [eax], 7
mov byte [eax + 3], bl
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4bb3bc
call fcn.0048d6b0
test eax, eax
jne 0x4bb3e4
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x58]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 3
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x4bb3fd
mov edx, dword [esp + 0x68]
lea ecx, [edx*4 + 4]
mov edx, dword [edi + 0xc]
sub eax, ecx
mov dword [eax], edx
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4bb40e
call fcn.0048d6b0
test eax, eax
jne 0x4bb439
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x60]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
lea ecx, [esi + 2]
mov byte [eax], 0x71
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
mov eax, dword [edi + 0xc]
cmp dword [edi + 0x10], eax
mov dword [esp + 0x18], eax
jg 0x4bb452
call fcn.0048d6b0
test eax, eax
jne 0x4bb47a
mov eax, dword [esp + 0x18]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x58]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x14]
lea eax, [eax + edx*4]
mov byte [eax], 3
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
mov eax, dword [ebp + 8]
lea edx, [esp + 0x78]
push edx
call fcn.004b9f80
mov eax, dword [esp + 0x74]
mov ecx, dword [ebp + 8]
add esp, 4
push 8
inc esi
push esi
push eax
push ecx
call fcn.0049dcb0
mov edx, dword [esp + 0x4c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x48]
push esi
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [eax]
push edx
mov edx, dword [ebp + 8]
push ebx
push ebx
push ecx
push eax
push edx
call fcn.004b4f20
mov esi, dword [edi + 0xc]
add esp, 0x38
cmp dword [edi + 0x10], esi
jg 0x4bb4d6
call fcn.0048d6b0
test eax, eax
jne 0x4bb4fe
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x58]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 3
mov byte [eax + 3], bl
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x4bb517
mov ecx, dword [esp + 0x48]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0xc]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [ebp + 8]
lea edx, [esp + 0x78]
push edx
push eax
call fcn.004b9d70
mov esi, dword [edi + 0xc]
add esp, 8
cmp dword [edi + 0x10], esi
jg 0x4bb53f
call fcn.0048d6b0
mov edi, dword [esp + 0x10]
xor ebx, ebx
test eax, eax
jne 0x4bb56d
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x24]
mov byte [eax + 3], bl
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [eax], 3
mov dword [eax + 4], ecx
mov byte [edi + 0x62], bl
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x4bb589
mov ecx, dword [esp + 0x5c]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0xc]
sub eax, edx
mov dword [eax], ecx
cmp dword [esp + 0x6c], 0
jl 0x4bb59c
mov eax, str.DISTINCT
mov ecx, esi
call fcn.004b54a0
cmp dword [esp + 0x34], 0
je 0x4bb5c8
mov eax, str.ORDER_BY
mov ecx, esi
call fcn.004b54a0
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
push edx
mov edx, dword [ebp + 0xc]
push ecx
push edi
push edx
push esi
call fcn.004b56c0
add esp, 0x14
mov eax, dword [edi + 0x20]
test eax, eax
je 0x4bb5e4
mov ecx, dword [esp + 0xa8]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0xc]
sub eax, edx
mov dword [eax], ecx
mov dword [esp + 0x30], 0
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0xa4]
mov dword [esi + 0x22c], edx
test edi, edi
jne 0x4bb61c
mov eax, dword [ebp + 0x10]
cmp byte [eax], 5
jne 0x4bb61c
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push ecx
push edx
push esi
call fcn.004b5eb0
add esp, 0xc
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x40]
push eax
push esi
call fcn.00474d20
mov ecx, dword [esp + 0xa0]
push ecx
push esi
call fcn.00474d20
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x4c], ebx
call fcn.004b9350
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x4bb817
mov eax, dword [ebp + 8]
mov esi, dword [edi + 0x44]
mov ecx, dword [eax]
call fcn.004b3cf0
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x24], ecx
inc ecx
mov dword [esi + 0x44], ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x18], eax
push eax
mov eax, esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x40], ecx
call fcn.004a60a0
mov edx, dword [edi]
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x1c]
add esp, 4
push edx
push ebx
push eax
push ecx
mov eax, esi
call fcn.004a1820
mov eax, dword [edi + 0x10]
add esp, 0x10
cmp eax, ebx
je 0x4bb6f8
mov ecx, ebx
nop
cmp ecx, ebx
je 0x4bb6cc
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
jge 0x4bb6ce
mov ecx, eax
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x4bb6c0
cmp ecx, ebx
je 0x4bb6f8
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 8]
jge 0x4bb6f8
mov edx, dword [ecx + 0x14]
push ecx
mov eax, esi
push eax
mov dword [esp + 0x44], edx
call fcn.004a65a0
add esp, 8
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
push ecx
push edx
push eax
push 0x26
mov eax, esi
call fcn.0048d730
add esp, 0x10
cmp dword [esp + 0x2c], ebx
je 0x4bb765
mov ecx, dword [esi + 0x14]
mov edi, dword [esi]
cmp ecx, ebx
je 0x4bb757
cmp byte [edi + 0x1e], bl
jne 0x4bb757
mov eax, dword [esi + 0xc]
dec eax
lea edx, [eax + eax*4]
movsx eax, byte [ecx + edx*4 + 1]
lea ecx, [ecx + edx*4]
mov dword [esp + 0x18], ecx
mov ecx, dword [ecx + 0x10]
call fcn.0048db80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
jmp 0x4bb765
mov ecx, dword [esp + 0x2c]
mov eax, 0xfffffff0
call fcn.0048db80
mov edx, dword [esp + 0x98]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x24]
push ebx
push eax
push ecx
push 0x1f
mov eax, esi
call fcn.0048d730
mov eax, dword [esi + 0xc]
add esp, 0x10
cmp dword [esi + 0x10], eax
mov dword [esp + 0x18], eax
jg 0x4bb79d
mov edi, esi
call fcn.0048d6b0
test eax, eax
jne 0x4bb7c9
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x24]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x14]
lea eax, [eax + edx*4]
mov byte [eax], 0x2b
mov byte [eax + 3], bl
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [esi + 0x62], bl
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x70]
push 8
push edi
push edx
push esi
mov dword [esp + 0x44], ebx
call fcn.0049dcb0
mov eax, dword [ebp + 0x10]
push edi
push edi
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push ecx
push eax
push esi
call fcn.004b4f20
mov edx, dword [esp + 0x80]
mov edi, dword [esp + 0x78]
push edx
call fcn.0049a950
mov edi, dword [esp + 0x4c]
add esp, 0x3c
jmp 0x4bb570
mov edi, dword [ebp + 0xc]
mov eax, edi
mov dword [esp + 0x24], ebx
call fcn.004b92e0
mov byte [esp + 0x14], al
cmp al, bl
je 0x4bb86d
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov edi, dword [esp + 0x40]
push ebx
push edx
push edi
call fcn.0049a270
add esp, 0xc
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], eax
cmp eax, ebx
je 0x4bb86d
cmp byte [edi + 0x1e], bl
jne 0x4bb86d
cmp byte [esp + 0x14], 1
mov edx, dword [eax + 0xc]
setne cl
mov byte [edx + 0xc], cl
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov byte [ecx], 0x98
lea edx, [esp + 0x78]
push edx
push esi
call fcn.004b9d70
movzx ax, byte [esp + 0x1c]
movzx ecx, ax
mov eax, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x30]
push edx
push eax
push ecx
push esi
call fcn.004c58d0
add esp, 0x1c
mov dword [esp + 0x54], eax
cmp eax, ebx
jne 0x4bb8b8
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
push edx
call fcn.0049a950
add esp, 4
jmp 0x4bb5ec
lea eax, [esp + 0x78]
push eax
push esi
call fcn.004ba090
add esp, 8
cmp dword [esp + 0x24], ebx
jne 0x4bb924
cmp byte [esp + 0x14], bl
je 0x4bb924
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 0x14]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
cmp dword [ecx + 0x10], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x18], eax
mov edi, ecx
jg 0x4bb8fc
call fcn.0048d6b0
test eax, eax
jne 0x4bb924
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x3c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax], 1
mov byte [eax + 3], bl
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], bl
mov byte [edi + 0x62], bl
mov eax, dword [esp + 0x54]
push eax
call fcn.004c6330
lea ecx, [esp + 0x7c]
add esp, 4
push ecx
mov eax, esi
call fcn.004b9f80
add esp, 4
jmp 0x4bb7cc
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret