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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [ebp + 0xc]
mov eax, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
test edi, edi
je 0x4b8c90
cmp byte [esi + 0x1e], 0
jne 0x4b8c90
cmp dword [ebx + 0x40], 0
jne 0x4b8c90
push 0
push 0
push 0
push 0x15
mov eax, ebx
call fcn.004a01f0
add esp, 0x10
test eax, eax
jne 0x4b7b24
push 0x2c
push eax
lea eax, [esp + 0x84]
push eax
call fcn.004cc620
mov ecx, dword [ebp + 0x10]
add esp, 0xc
cmp byte [ecx], 4
ja 0x4b7930
mov ebx, dword [edi + 0x18]
call fcn.00499d70
mov ebx, dword [ebp + 8]
mov edx, 0xfffe
and word [edi + 6], dx
mov dword [edi + 0x18], 0
push 0
push edi
push ebx
call fcn.004b7180
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 8]
add esp, 0xc
cmp dword [ebx + 0x40], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ecx
jne 0x4b8c0b
cmp byte [esi + 0x1e], 0
jne 0x4b8c0b
movzx eax, word [edi + 6]
shr eax, 2
and eax, 1
mov edi, ebx
mov dword [esp + 0x20], eax
call fcn.004b3ab0
mov esi, eax
mov dword [esp + 0x48], esi
test esi, esi
je 0x4b8c07
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0x28], eax
cmp dword [ebx + 0x1c], eax
jne 0x4b7abd
jmp 0x4b7999
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
movsx ecx, word [edx]
cmp eax, ecx
jge 0x4b7abd
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x38]
lea eax, [eax + edx*8 + 8]
mov dword [esp + 0x54], eax
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4b7aaf
mov ecx, dword [esp + 0x54]
cmp byte [ecx + 0x14], 0
jne 0x4b7aaf
mov ecx, ebx
call fcn.00498cf0
mov ecx, dword [ebp + 8]
add dword [ecx + 0x1f8], eax
mov edx, dword [esp + 0x1c]
movzx edi, word [edx + 6]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 8]
shr edi, 2
and edi, 1
push edi
push eax
push ecx
push edx
mov eax, ebx
call fcn.004b6260
add esp, 0x10
test eax, eax
je 0x4b7a30
test edi, edi
je 0x4b7a26
or word [ebx + 6], 4
mov dword [esp + 0x20], 1
mov dword [esp + 0x28], 0xffffffff
jmp 0x4b7a7b
mov edi, dword [esp + 0x54]
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov dword [esp + 0xd4], eax
xor eax, eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xd0]
push eax
push ecx
push edx
mov byte [esp + 0xdc], 9
mov byte [esp + 0xdd], 0
call fcn.004b78a0
add esp, 0xc
mov byte [edi + 0x14], 1
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1e], 0
jne 0x4b8c3c
mov ecx, ebx
call fcn.00498cf0
mov ecx, dword [ebp + 8]
sub dword [ecx + 0x1f8], eax
mov edx, dword [ebp + 0x10]
cmp byte [edx], 4
mov ecx, dword [ebx + 8]
mov dword [esp + 0x38], ecx
jbe 0x4b7aaf
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x30], eax
inc dword [esp + 0x28]
cmp dword [ebx + 0x1c], 0
je 0x4b7995
mov edx, dword [ebx + 0xc]
movzx edi, word [ebx + 6]
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x3c], edx
mov edx, dword [ebx + 0x14]
and edi, 1
cmp dword [ebx + 0x1c], 0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x10], edi
je 0x4b7b48
cmp dword [ebx + 0x24], 0
jne 0x4b7b30
xor ecx, ecx
xor edx, edx
mov eax, ebx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ebx
mov ecx, eax
mov eax, dword [eax + 0x1c]
inc edx
test eax, eax
jne 0x4b7af5
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x58]
test eax, eax
je 0x4b7b30
cmp edx, eax
jle 0x4b7b30
mov edi, dword [ebp + 8]
push str.too_many_terms_in_compound_SELECT
call fcn.0047ae50
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push ecx
push ebx
push edx
call fcn.004b3dc0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ecx], 1
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax]
jle 0x4b7b67
mov edi, dword [ebp + 8]
call fcn.004b2540
test eax, eax
jne 0x4b8c07
mov edi, dword [esp + 0x10]
mov cl, byte [ebx + 6]
and cl, 5
cmp cl, 1
jne 0x4b7b9a
mov edx, dword [ebx]
mov eax, dword [esp + 0x24]
push 0
push edx
push eax
call fcn.00499650
mov ecx, 0xfffe
and word [ebx + 6], cx
add esp, 0xc
xor edi, edi
mov dword [ebx + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edi
cmp dword [esp + 0x30], 0
je 0x4b7be1
mov edi, dword [esp + 0x30]
mov edx, dword [ebp + 8]
push edi
push edx
call fcn.004b2a50
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x44]
mov dword [edi + 8], edx
inc dword [ecx + 0x44]
mov ecx, dword [edi]
mov edx, dword [edi + 8]
push 0xfffffffffffffff0
push eax
add ecx, 2
push 0x76
xor eax, eax
mov edi, esi
call fcn.0048caf0
mov edi, dword [esp + 0x24]
add esp, 0x14
mov dword [esp + 0x34], eax
mov dword [ebx + 0x40], eax
jmp 0x4b7be9
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [ebp + 0x10]
cmp byte [eax], 9
jne 0x4b7c0a
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov ecx, dword [eax + 4]
push 0
push edx
push ecx
push 0x76
mov eax, esi
call fcn.0048ca00
add esp, 0x10
mov eax, esi
call fcn.0048cb20
mov edx, dword [ebp + 8]
push eax
push ebx
push edx
mov dword [esp + 0xb4], eax
call fcn.004b3ae0
add esp, 0xc
test edi, edi
je 0x4b7c5a
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x44]
lea ecx, [edi + 1]
mov dword [eax + 0x44], ecx
mov edx, dword [ebx]
push edx
push eax
mov dword [esp + 0x70], edi
call fcn.004b2a50
push 0xfffffffffffffff0
push eax
mov edx, edi
push 0x76
xor eax, eax
xor ecx, ecx
mov edi, esi
call fcn.0048caf0
add esp, 0x14
jmp 0x4b7c62
mov dword [esp + 0x68], 0xffffffff
cmp dword [esp + 0x20], 0
mov edi, dword [esp + 0x18]
jne 0x4b7cf8
test edi, edi
jne 0x4b7cfc
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push edi
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call fcn.004c2380
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4b8c07
cmp dword [esp + 0x34], 0
jl 0x4b7cc4
cmp dword [esp + 0x30], 0
jne 0x4b7cc4
mov ecx, dword [esp + 0x34]
mov eax, 1
mov edx, esi
call fcn.0048cf60
mov dword [ebx + 0x40], 0xffffffff
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
push 0
push 0
push edx
push ebx
push eax
call fcn.004b2570
push edi
call fcn.004c2d50
add esp, 0x2c
jmp 0x4b8ba2
test edi, edi
je 0x4b7d3d
mov ebx, dword [ebx]
mov eax, dword [ebx]
mov ebx, dword [ebx + 0xc]
test eax, eax
jle 0x4b7d1d
lea ecx, [ebx + 0x10]
lea ebx, [ebx]
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x4b7d10
mov eax, dword [edi]
mov ecx, dword [edi + 0xc]
test eax, eax
jle 0x4b7d3d
add ecx, 0x10
lea esp, [esp]
xor edx, edx
mov word [ecx], dx
dec eax
add ecx, 0x14
test eax, eax
jg 0x4b7d30
mov eax, esi
call fcn.0048cb20
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xac], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xb0], edx
mov dword [esp + 0xc8], ecx
cmp edi, eax
je 0x4b7db9
mov edx, dword [edi]
inc edx
mov dword [esp + 0x88], edx
jmp 0x4b7dc0
mov dword [esp + 0x88], eax
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
lea eax, [esp + 0xac]
push eax
mov dword [esp + 0x88], edi
call fcn.0049d400
mov ebx, dword [esp + 0x34]
lea ecx, [esp + 0xb0]
add esp, 4
push ecx
call fcn.0049d400
mov ecx, dword [esp + 0x58]
add esp, 4
test ecx, ecx
je 0x4b7e07
lea eax, [esp + 0xac]
call fcn.0049d3d0
cmp dword [esp + 0xa0], 0
mov edx, dword [esp + 0x90]
mov dword [esp + 0x98], edx
mov dword [esp + 0x28], 0
jle 0x4b7e66
xor edi, edi
lea esp, [esp]
mov eax, dword [esp + 0x9c]
mov ecx, dword [edi + eax]
mov ebx, dword [ecx + 0x10]
lea edx, [esp + 0xac]
push edx
call fcn.0049d400
mov eax, dword [esp + 0x2c]
inc eax
add esp, 4
add edi, 0x10
cmp eax, dword [esp + 0xa0]
mov dword [esp + 0x28], eax
jl 0x4b7e30
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1e], 0
jne 0x4b8c07
test edi, edi
je 0x4b8891
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x44]
mov dword [esp + 0x80], eax
inc eax
push edi
push ecx
mov dword [ecx + 0x44], eax
call fcn.004b2a50
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x88]
push 0
push ecx
push edx
mov dword [esp + 0x70], eax
push 0x76
mov eax, esi
call fcn.0048ca00
mov ecx, dword [esi + 0x14]
mov edi, dword [esi]
add esp, 0x18
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x4b7f01
cmp byte [edi + 0x1e], 0
jne 0x4b7f01
test eax, eax
jge 0x4b7ed1
mov eax, dword [esi + 0xc]
dec eax
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*4]
movsx eax, byte [ebx + 1]
mov ecx, dword [ebx + 0x10]
call fcn.0048cec0
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [ebx + 0x10], ecx
cmp eax, ecx
jne 0x4b7ef8
mov dword [ebx + 0x10], ecx
mov byte [ebx + 1], cl
jmp 0x4b7f0f
mov dword [ebx + 0x10], eax
mov byte [ebx + 1], 0xfa
jmp 0x4b7f0f
mov ecx, dword [esp + 0x5c]
mov eax, 0xfffffff0
call fcn.0048cec0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x48]
inc eax
lea edi, [eax + 1]
mov dword [esp + 0x40], eax
lea eax, [edi + 1]
mov dword [esp + 0x60], eax
mov dword [ebx + 0x48], eax
mov eax, esi
mov dword [esp + 0x74], edi
call fcn.0048cb20
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x78], eax
mov eax, esi
mov dword [esp + 0x1c], ecx
call fcn.0048cb20
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x48]
lea edx, [eax + 1]
mov dword [esp + 0x50], edx
mov edx, dword [ecx]
add eax, edx
mov dword [ebx + 0x48], eax
mov ecx, dword [ecx]
add ecx, eax
lea edx, [eax + 1]
mov dword [ebx + 0x48], ecx
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x10], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x10], eax
jg 0x4b7f8d
mov edi, esi
call fcn.0048c980
test eax, eax
jne 0x4b7fb4
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x74]
inc dword [esi + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x14]
lea eax, [eax + edx*4]
xor ecx, ecx
mov byte [eax], 0x30
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [esi + 0x6e], cl
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x10], eax
mov dword [esp + 0x10], eax
jg 0x4b7fcf
mov edi, esi
call fcn.0048c980
test eax, eax
jne 0x4b7ffe
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x40]
xor edi, edi
mov byte [eax], 0x30
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0
mov byte [esi + 0x6e], 0
jmp 0x4b8000
xor edi, edi
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
push edi
push edx
push eax
push 0x2f
mov eax, esi
call fcn.0048ca00
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push edi
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
push ebx
call fcn.004c2380
add esp, 0x24
mov dword [esp + 0x64], eax
cmp eax, edi
je 0x4b8c07
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4b8054
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], eax
jmp 0x4b82c0
mov eax, dword [eax]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x14], eax
inc eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x2c], eax
mov edi, eax
mov dword [esp + 0x20], eax
test ecx, ecx
jle 0x4b8094
mov edx, dword [esp + 0x8c]
add edx, 0xc
cmp dword [edx], eax
jl 0x4b8088
inc edi
inc eax
add edx, 0x18
sub ecx, 1
jne 0x4b8082
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x20]
push eax
mov edi, ebx
call fcn.0049d4a0
mov ebx, eax
add esp, 4
mov edx, edi
mov dword [esp + 0x10], ebx
call fcn.0049b130
mov eax, dword [esp + 0x18]
push 0
push ebx
mov ebx, edi
call fcn.0049c8f0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x88]
push 0
add ecx, edx
push ecx
push eax
push 6
mov eax, esi
call fcn.0048ca00
mov ecx, dword [esp + 0x44]
add esp, 0x18
cmp dword [esp + 0x90], 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 0
jle 0x4b817d
mov edx, dword [esp + 0x10]
mov eax, ecx
add edx, eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x14], edx
xor ebx, ebx
mov ecx, dword [esp + 0x2c]
cmp dword [ebx + eax + 0xc], ecx
jl 0x4b8168
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + eax + 4]
push edx
mov edx, dword [ebx + eax + 8]
mov eax, dword [ebx + eax]
push ecx
push edx
push eax
push edi
xor eax, eax
call fcn.0049b010
add esp, 0x14
cmp dword [esp + 0x14], eax
je 0x4b8154
mov ecx, dword [esp + 0x14]
push 0
push ecx
push eax
push 9
mov eax, esi
call fcn.0048ca00
add esp, 0x10
mov eax, 1
add dword [esp + 0x2c], eax
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x28]
inc ecx
add ebx, 0x18
cmp ecx, dword [esp + 0x90]
mov dword [esp + 0x28], ecx
jl 0x4b8112
mov al, byte [edi + 0x15]
test al, al
jne 0x4b8190
inc dword [edi + 0x48]
mov edx, dword [edi + 0x48]
mov dword [esp + 0x14], edx
jmp 0x4b81a0
dec al
mov byte [edi + 0x15], al
movzx eax, al
mov ecx, dword [edi + eax*4 + 0x18]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
push 0x4f
mov eax, esi
call fcn.0048ca00
mov ebx, dword [esi + 0xc]
mov edx, dword [esp + 0x90]
add esp, 0x10
cmp dword [esi + 0x10], ebx
mov dword [esp + 0x2c], edx
jg 0x4b81d9
mov edi, esi
call fcn.0048c980
test eax, eax
jne 0x4b8208
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x6c
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 [esi + 0x6e], cl
mov edi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
test edi, edi
je 0x4b823c
mov dl, byte [ebx + 0x15]
cmp dl, 8
jae 0x4b823c
xor eax, eax
lea ecx, [ebx + 0x60]
cmp dword [ecx + 0x10], edi
je 0x4b8359
inc eax
add ecx, 0x18
cmp eax, 0xa
jl 0x4b8220
movzx edx, dl
mov dword [ebx + edx*4 + 0x18], edi
inc byte [ebx + 0x15]
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x38]
jle 0x4b824f
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x3c], eax
mov ecx, dword [esp + 0x64]
push ecx
call fcn.004c2d50
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x84]
add esp, 4
cmp dword [esi + 0x10], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], eax
jg 0x4b8282
mov edi, esi
call fcn.0048c980
test eax, eax
jne 0x4b82b1
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x12
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 [esi + 0x6e], cl
mov edx, ebx
mov byte [esp + 0x7d], 1
call fcn.0049b130
mov ebx, dword [ebp + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x70], edx
mov edx, ebx
call fcn.0049b130
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
mov dword [esp + 0x2c], 0
jle 0x4b83ba
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], edi
cmp dword [esp + 0x3c], 0
je 0x4b8362
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x10], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
jg 0x4b8324
mov edi, esi
call fcn.0048c980
mov edi, dword [esp + 0x10]
test eax, eax
jne 0x4b839b
mov eax, dword [esp + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x14]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x2c]
mov byte [eax], 3
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [esi + 0x6e], 0
jmp 0x4b839b
mov byte [ecx + 9], 1
jmp 0x4b823c
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov byte [esp + 0x7c], 1
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + ecx]
push edi
push eax
push ebx
call fcn.0049b350
add esp, 0xc
cmp eax, edi
je 0x4b839b
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x4b839b
push 0
push edi
push eax
push 9
mov eax, ecx
call fcn.0048ca00
add esp, 0x10
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
add dword [esp + 0x20], 0x14
inc eax
inc edi
cmp eax, dword [ecx]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], edi
jl 0x4b82f3
mov edx, dword [esp + 0x18]
mov ebx, dword [esi + 0xc]
cmp dword [esi + 0x10], ebx
mov eax, dword [edx]
mov dword [esp + 0x10], eax
jg 0x4b83de
mov edi, esi
call fcn.0048c980
test eax, eax
je 0x4b83de
mov ebx, 1
jmp 0x4b8415
mov edx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea ecx, [ebx + ebx*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov byte [eax], 0x5f
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov byte [esi + 0x6e], 0
mov edx, dword [esp + 0x5c]
push edx
push esi
mov ecx, 0xfffffffa
mov eax, ebx
call fcn.0048cfa0
mov ebx, dword [esi + 0xc]
add esp, 8
cmp dword [esi + 0x10], ebx
mov dword [esp + 0x5c], ebx
jg 0x4b8441
mov edi, esi
call fcn.0048c980
test eax, eax
jne 0x4b846b
mov ecx, dword [esi + 0x14]
inc dword [esi + 0xc]
lea eax, [ebx + ebx*4]
lea eax, [ecx + eax*4]
xor edx, edx
lea ecx, [ebx + 1]
mov byte [eax], 0x84
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 [esi + 0x6e], dl
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0x6c]
mov edi, dword [ebp + 8]
push eax
call fcn.0049b1b0
mov edi, dword [esp + 0x4c]
mov esi, dword [edi + 0xc]
add esp, 4
cmp dword [edi + 0x10], esi
jg 0x4b849a
call fcn.0048c980
test eax, eax
jne 0x4b84ca
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x78]
xor ebx, ebx
mov byte [eax], 0x2f
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 + 0x6e], bl
jmp 0x4b84cc
xor ebx, ebx
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4b84dd
call fcn.0048c980
test eax, eax
jne 0x4b8509
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 + 0x34]
mov byte [eax], 0x81
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 + 0x6e], bl
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4b851a
call fcn.0048c980
test eax, eax
jne 0x4b8546
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x1c]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x44]
mov byte [eax], 0x2f
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 + 0x6e], bl
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jle 0x4b855b
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 + 0x7c]
push eax
push ecx
call fcn.004b7530
mov esi, dword [edi + 0xc]
add esp, 8
cmp dword [edi + 0x10], esi
jg 0x4b857d
call fcn.0048c980
test eax, eax
jne 0x4b85aa
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 + 0x40]
mov byte [eax], 0x30
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 + 0x6e], bl
cmp dword [esp + 0x3c], ebx
je 0x4b85fa
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
mov edx, dword [esp + 0x80]
mov dword [esp + 0x50], edx
jg 0x4b85cc
call fcn.0048c980
test eax, eax
jne 0x4b8617
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x50]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x70]
mov byte [eax], 0x6a
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 + 0x6e], bl
jmp 0x4b8617
mov edx, dword [esp + 0x64]
push edx
call fcn.004c2d50
mov ecx, dword [esp + 0x50]
add esp, 4
mov eax, 1
mov edx, edi
call fcn.0048cf60
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4b8628
call fcn.0048c980
test eax, eax
jne 0x4b8654
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x60]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x78]
mov byte [eax], 0x2f
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 + 0x6e], bl
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4b8665
call fcn.0048c980
test eax, eax
jne 0x4b868d
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x34]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x60
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 + 0x6e], bl
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
mov dword [esp + 0x70], esi
jg 0x4b86a2
call fcn.0048c980
test eax, eax
jne 0x4b86cf
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], 0x30
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 + 0x6e], bl
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x4b86e0
call fcn.0048c980
test eax, eax
jne 0x4b8708
mov eax, dword [edi + 0x14]
inc dword [edi + 0xc]
mov ecx, dword [esp + 0x60]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov byte [eax], 0x19
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 + 0x6e], bl
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x4b8721
mov edx, dword [esp + 0x78]
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 0x4b8732
call fcn.0048c980
test eax, eax
jne 0x4b875d
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x40]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
lea ecx, [esi + 2]
mov byte [eax], 0x81
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 + 0x6e], bl
mov eax, dword [edi + 0xc]
cmp dword [edi + 0x10], eax
mov dword [esp + 0x4c], eax
jg 0x4b8776
call fcn.0048c980
test eax, eax
jne 0x4b879e
mov eax, dword [esp + 0x4c]
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], 0x19
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 + 0x6e], bl
mov eax, dword [ebp + 8]
lea edx, [esp + 0x7c]
push edx
call fcn.004b7420
mov eax, dword [esp + 0x58]
mov ecx, dword [ebp + 8]
add esp, 4
push 8
inc esi
push esi
push eax
push ecx
call fcn.0049ccf0
mov edx, dword [esp + 0x80]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x44]
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.004b2570
mov esi, dword [edi + 0xc]
add esp, 0x38
cmp dword [edi + 0x10], esi
jg 0x4b87fd
call fcn.0048c980
test eax, eax
jne 0x4b8825
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x60]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x19
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 + 0x6e], bl
mov eax, dword [edi + 0x20]
cmp eax, ebx
je 0x4b883e
mov ecx, dword [esp + 0x44]
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 + 0x7c]
push edx
push eax
call fcn.004b7210
mov esi, dword [edi + 0xc]
add esp, 8
cmp dword [edi + 0x10], esi
jg 0x4b8864
call fcn.0048c980
test eax, eax
jne 0x4b8b83
mov edx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea ecx, [esi + esi*4]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x1c]
mov byte [eax], 0x19
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 + 0x6e], bl
jmp 0x4b8b83
mov ebx, dword [ebp + 0xc]
lea edx, [esp + 0x7c]
push edx
mov eax, ebx
mov dword [esp + 0x44], 0
call fcn.004b6890
mov edi, eax
add esp, 4
test edi, edi
je 0x4b8a13
mov ebx, dword [ebp + 8]
mov esi, dword [edi + 0x44]
mov ecx, dword [ebx]
call fcn.004b1120
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x44], ecx
inc ecx
mov dword [ebx + 0x44], ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [edi + 0x18]
push eax
mov esi, ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x54], ecx
call fcn.004a50f0
mov edx, dword [edi + 4]
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x6c]
add esp, 4
push edx
push 0
push eax
push ecx
call fcn.004a0280
mov eax, dword [edi + 0x14]
add esp, 0x10
test eax, eax
je 0x4b8946
mov ecx, dword [esp + 0x4c]
nop
test ecx, ecx
je 0x4b891c
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
jge 0x4b891e
mov ecx, eax
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x4b8910
test ecx, ecx
je 0x4b8946
mov eax, dword [ecx + 4]
cmp eax, dword [edi + 0xc]
jge 0x4b8946
mov edx, dword [ecx + 0x14]
push ecx
push ebx
mov dword [esp + 0x58], edx
call fcn.004a5520
add esp, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x48]
push eax
push ecx
push edx
push 0xd
mov eax, esi
call fcn.0048ca00
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x4b89aa
mov ebx, dword [esi + 0x14]
mov edi, dword [esi]
test ebx, ebx
je 0x4b89a0
cmp byte [edi + 0x1e], 0
jne 0x4b89a0
mov eax, dword [esi + 0xc]
dec eax
lea eax, [eax + eax*4]
mov ecx, dword [ebx + eax*4 + 0x10]
lea ebx, [ebx + eax*4]
movsx eax, byte [ebx + 1]
call fcn.0048cec0
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0x10], ecx
mov byte [ebx + 1], 0xfa
jmp 0x4b89aa
mov eax, 0xfffffff0
call fcn.0048cec0
mov edx, dword [esp + 0x9c]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x44]
push 0
push eax
push ecx
push 0x6b
mov eax, esi
call fcn.0048ca00
mov ebx, dword [esi + 0xc]
add esp, 0x10
cmp dword [esi + 0x10], ebx
jg 0x4b89e3
mov edi, esi
call fcn.0048c980
test eax, eax
jne 0x4b8b35
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
mov ecx, dword [esp + 0x44]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax], 0x21
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [esi + 0x6e], cl
jmp 0x4b8b35
mov eax, ebx
mov dword [esp + 0x1c], 0
call fcn.004b6820
mov bl, al
test bl, bl
je 0x4b8a6b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov edi, dword [esp + 0x24]
push 0
push eax
push edi
call fcn.00499650
add esp, 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], eax
test eax, eax
je 0x4b8a6b
cmp byte [edi + 0x1e], 0
jne 0x4b8a6b
mov edx, dword [eax + 0xc]
cmp bl, 1
setne cl
mov byte [edx + 0xc], cl
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov byte [ecx], 0x97
mov edi, dword [ebp + 8]
lea edx, [esp + 0x7c]
push edx
push edi
call fcn.004b7210
movzx ax, bl
movzx ecx, ax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x28]
push edx
push eax
push ecx
push edi
call fcn.004c2380
add esp, 0x1c
mov dword [esp + 0x64], eax
test eax, eax
jne 0x4b8ab3
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
call fcn.00499d70
jmp 0x4b8c0b
lea edx, [esp + 0x7c]
push edx
push edi
call fcn.004b7530
add esp, 8
cmp dword [esp + 0x1c], 0
jne 0x4b8b15
test bl, bl
je 0x4b8b15
mov eax, dword [esp + 0x64]
mov ebx, dword [esi + 0xc]
cmp dword [esi + 0x10], ebx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x4c], ecx
jg 0x4b8aea
mov edi, esi
call fcn.0048c980
test eax, eax
jne 0x4b8b15
mov eax, dword [esi + 0x14]
inc dword [esi + 0xc]
lea edx, [ebx + ebx*4]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x4c]
xor ecx, ecx
mov byte [eax], 0x60
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov byte [esi + 0x6e], cl
mov eax, dword [esp + 0x64]
push eax
call fcn.004c2d50
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x80]
add esp, 4
push ecx
call fcn.004b7420
add esp, 4
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x54]
mov edi, dword [ebp + 8]
push 8
push esi
push edx
push edi
mov dword [esp + 0x40], 0
call fcn.0049ccf0
mov eax, dword [ebp + 0x10]
push esi
push esi
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0
push 0
push 0
push ecx
push eax
push edi
call fcn.004b2570
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x5c]
add esp, 0x38
call fcn.00499d70
mov edi, dword [esp + 0x48]
xor ebx, ebx
mov edi, dword [edi + 0x20]
mov esi, dword [esp + 0x48]
cmp edi, ebx
je 0x4b8ba2
mov edx, dword [esp + 0x34]
lea eax, [edx*4 + 4]
mov ecx, esi
mov edx, dword [ecx + 0xc]
sub edi, eax
mov dword [edi], edx
cmp dword [esp + 0x30], 0
je 0x4b8bc5
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x58]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push edx
push esi
push eax
push ecx
call fcn.004b2b00
add esp, 0x14
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4b8be1
mov edx, dword [esp + 0xa8]
lea ecx, [edx*4 + 4]
mov edx, dword [esi + 0xc]
sub eax, ecx
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
cmp byte [eax], 5
mov dword [esp + 0x14], 0
jne 0x4b8c07
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
call fcn.004b3370
add esp, 0xc
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4b8c40
cmp eax, dword [esi + 0xe8]
jb 0x4b8c40
cmp eax, dword [esi + 0xec]
jae 0x4b8c40
mov ecx, dword [esi + 0xe4]
mov dword [eax], ecx
dec dword [esi + 0xdc]
mov dword [esi + 0xe4], eax
jmp 0x4b8c49
mov esi, eax
jmp 0x4b8c0b
push eax
call fcn.00478e00
add esp, 4
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x4b8c83
cmp eax, dword [esi + 0xe8]
jb 0x4b8c83
cmp eax, dword [esi + 0xec]
jae 0x4b8c83
mov edx, dword [esi + 0xe4]
mov dword [eax], edx
dec dword [esi + 0xdc]
mov dword [esi + 0xe4], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.00478e00
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret