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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
mov eax, dword [0x5475b0]
xor eax, esp
mov dword [esp + 0xf0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x60], edi
mov esi, edx
inc eax
mov dword [esp + 0x6c], esi
mov ecx, dword [edi]
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], ecx
test esi, esi
je 0x4a4f1f
cmp byte [ecx + 0x1e], 0
jne 0x4a4f1f
xor ebx, ebx
cmp dword [edi + 0x40], ebx
jne 0x4a4f1f
push ebx
push ebx
push ebx
push 0x15
pop edx
mov ecx, edi
call fcn.00494a4a
add esp, 0xc
test eax, eax
je 0x4a418d
xor eax, eax
inc eax
jmp 0x4a4f1f
push 0x2c
lea eax, [esp + 0x84]
push ebx
push eax
call fcn.004deff0
mov ecx, dword [esp + 0x40]
add esp, 0xc
cmp byte [ecx], 4
ja 0x4a41c1
mov edx, dword [esi + 0x18]
mov ecx, dword [esp + 0x24]
call fcn.004908ee
mov eax, 0xfffe
mov dword [esi + 0x18], ebx
and word [esi + 6], ax
push ebx
mov edx, esi
mov ecx, edi
call fcn.004a3dc9
mov eax, dword [esi + 0x18]
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 8]
pop ecx
mov dword [esp + 0x40], eax
cmp dword [edi + 0x40], ebx
jne 0x4a4ef8
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1e], bl
jne 0x4a4ef8
movzx eax, word [esi + 6]
mov ecx, edi
shr eax, 2
and eax, 1
mov dword [esp + 0x4c], eax
call fcn.004a1ca9
mov dword [esp + 0x10], eax
test eax, eax
je 0x4a4ef8
mov ecx, ebx
mov dword [esp + 0x28], ebx
cmp dword [esi + 0x1c], ebx
jne 0x4a4358
mov edx, dword [esp + 0x40]
movsx eax, word [edx]
cmp ecx, eax
jge 0x4a4358
imul eax, ecx, 0x38
mov dword [esp + 0x1c], eax
mov edi, dword [eax + edx + 0x18]
test edi, edi
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x60]
je 0x4a434a
cmp byte [eax + edx + 0x1c], bl
jne 0x4a434a
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov ecx, esi
call fcn.0048fc63
mov eax, dword [esp + 0x20]
mov edx, esi
add dword [edi + 0x214], eax
mov ecx, edi
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 6]
shr eax, 2
and eax, 1
push eax
push dword [esp + 0x50]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x30]
push eax
call fcn.004a3168
add esp, 0xc
test eax, eax
je 0x4a42b9
cmp dword [esp + 0x3c], ebx
je 0x4a42b0
or word [esi + 6], 4
mov dword [esp + 0x4c], 1
or eax, 0xffffffff
mov dword [esp + 0x28], eax
jmp 0x4a4305
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + ecx + 0x20]
mov ecx, edi
mov dword [esp + 0xf0], eax
lea eax, [esp + 0xec]
push eax
mov word [esp + 0xf0], 9
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
call fcn.004a4117
mov eax, dword [esp + 0x20]
pop ecx
mov ecx, dword [esp + 0x40]
mov byte [eax + ecx + 0x1c], 1
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1e], bl
jne 0x4a4ef8
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov ecx, esi
call fcn.0048fc63
mov eax, dword [esp + 0x20]
sub dword [edi + 0x214], eax
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 8]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], edx
cmp byte [eax], 4
jbe 0x4a434a
mov eax, dword [esi + 0x18]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], eax
inc ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x1c], ebx
je 0x4a4228
mov edx, dword [esi + 0x14]
xor ecx, ecx
mov eax, dword [esi]
inc ecx
mov dword [esp + 0x20], edx
movzx edx, word [esi + 6]
mov dword [esp + 0x28], eax
and edx, ecx
mov eax, dword [esi + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x14], edx
cmp dword [esi + 0x1c], ebx
je 0x4a43d6
cmp dword [esi + 0x24], ebx
jne 0x4a43c3
mov ecx, ebx
mov eax, esi
mov dword [eax + 0x20], ebx
inc ecx
mov dword [eax + 0x24], esi
mov ebx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
jne 0x4a4392
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x58], 0
je 0x4a43c3
cmp ecx, dword [eax + 0x58]
jle 0x4a43c3
push str.too_many_terms_in_compound_SELECT
push edi
call fcn.00477f47
pop ecx
pop ecx
jmp 0x4a4185
push dword [esp + 0x34]
mov edx, esi
mov ecx, edi
call fcn.004a1e8f
pop ecx
jmp 0x4a4f1f
mov eax, dword [esp + 0x28]
cmp dword [eax], ecx
jle 0x4a43ee
mov edx, dword [esp + 0x34]
mov ecx, edi
call fcn.004a0f90
xor ecx, ecx
inc ecx
jmp 0x4a43f0
mov eax, ebx
test eax, eax
jne 0x4a4ef8
mov al, byte [esi + 6]
and al, 5
cmp al, cl
jne 0x4a4428
mov edx, dword [esi]
mov ecx, dword [esp + 0x24]
push ebx
call fcn.00490431
mov edx, eax
mov dword [esp + 0x18], ebx
mov eax, 0xfffe
mov dword [esp + 0x30], edx
and word [esi + 6], ax
pop ecx
mov dword [esi + 0x10], edx
mov dword [esp + 0x48], edx
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4a446f
mov edx, eax
mov ecx, edi
call fcn.004a1300
mov edx, dword [esp + 0x44]
mov ecx, eax
mov eax, dword [edi + 0x44]
push 0xfffffffffffffff0
push ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + 8], eax
inc dword [edi + 0x44]
mov eax, dword [edx]
push ebx
add eax, 2
push eax
push dword [edx + 8]
push 0x28
pop edx
call fcn.004853c9
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x1c], ecx
mov dword [esi + 0x40], ecx
jmp 0x4a4474
or dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x34]
cmp byte [eax], 9
jne 0x4a4496
mov ecx, dword [esp + 0x28]
push ebx
push dword [ecx]
mov ecx, dword [esp + 0x18]
push dword [eax + 4]
push 0x28
pop edx
call fcn.00485377
add esp, 0xc
mov ecx, dword [esp + 0x10]
call fcn.0048542c
push eax
mov edx, esi
mov dword [esp + 0xb8], eax
mov ecx, edi
call fcn.004a1cdf
pop ecx
cmp dword [esp + 0x14], ebx
je 0x4a44f8
mov eax, dword [edi + 0x44]
mov ecx, edi
mov dword [esp + 0x5c], eax
inc eax
mov dword [edi + 0x44], eax
mov edx, dword [esi]
call fcn.004a1300
mov ecx, dword [esp + 0x10]
mov esi, eax
push ebx
push ebx
push dword [esp + 0x64]
push 0x28
pop edx
call fcn.00485377
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff0
push esi
call fcn.004857a7
mov esi, dword [esp + 0x74]
pop ecx
pop ecx
jmp 0x4a44fd
or dword [esp + 0x5c], 0xffffffff
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x4c], ebx
jne 0x4a4597
test ecx, ecx
jne 0x4a459b
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x30]
push ebx
push eax
push dword [esp + 0x5c]
mov ecx, edi
call fcn.004ab043
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x4a4ef8
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], eax
test edx, edx
js 0x4a4565
test eax, eax
jne 0x4a4565
mov ecx, dword [esp + 0x10]
push 1
call fcn.00485761
or dword [esi + 0x40], 0xffffffff
mov eax, dword [esp + 0x48]
pop ecx
mov ecx, dword [esp + 0x20]
push dword [ecx + 0x14]
mov edx, esi
push dword [ecx + 0x10]
mov ecx, dword [esp + 0x3c]
push ecx
push 0xffffffffffffffff
push eax
push ebx
push ebx
push dword [esp + 0x44]
mov ecx, edi
call fcn.004a0fb4
mov ecx, dword [esp + 0x40]
add esp, 0x20
call fcn.004ab81a
mov ecx, dword [esp + 0x10]
jmp 0x4a4ead
test ecx, ecx
je 0x4a45cf
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
jle 0x4a45b6
add edx, 0x10
xor edi, edi
dec eax
mov word [edx], di
lea edx, [edx + 0x14]
test eax, eax
jg 0x4a45a9
mov eax, dword [ecx]
mov edx, dword [ecx + 0xc]
test eax, eax
jle 0x4a45cf
add edx, 0x10
xor ecx, ecx
dec eax
mov word [edx], cx
lea edx, [edx + 0x14]
test eax, eax
jg 0x4a45c2
mov ecx, dword [esp + 0x10]
call fcn.0048542c
mov dword [esp + 0x30], eax
lea edi, [esp + 0xc8]
xor eax, eax
push 9
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x60]
mov dword [esp + 0xcc], eax
lea eax, [esp + 0x80]
mov dword [esp + 0xc8], edi
mov dword [esp + 0xe4], eax
test ecx, ecx
je 0x4a4622
mov eax, dword [ecx]
inc eax
mov dword [esp + 0x8c], eax
jmp 0x4a4629
mov dword [esp + 0x8c], ebx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0xc8]
call fcn.00492cfb
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0xc8]
call fcn.00492cfb
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a468a
lea ecx, [esp + 0xc8]
mov dword [esp + 0xb8], 0x492a81
mov dword [esp + 0xc4], ecx
mov edx, eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0xbc], 0x492ccf
call fcn.0048e6da
mov eax, dword [esp + 0x94]
mov dword [esp + 0x9c], eax
cmp dword [esp + 0xa4], ebx
jle 0x4a46d3
mov esi, ebx
mov edi, ebx
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0xc8]
mov edx, dword [esi + eax]
mov edx, dword [edx + 0x10]
call fcn.00492cfb
inc edi
lea esi, [esi + 0x10]
cmp edi, dword [esp + 0xa4]
jl 0x4a46a5
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1e], bl
jne 0x4a4ef8
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4a4c5e
mov eax, dword [edi + 0x44]
mov edx, ecx
mov dword [esp + 0x84], eax
mov ecx, edi
inc eax
mov dword [edi + 0x44], eax
call fcn.004a1300
mov ecx, dword [esp + 0x10]
push 0xfffffffffffffff0
push eax
push ebx
push dword [esp + 0x98]
mov dword [esp + 0xbc], eax
push dword [esp + 0x94]
push 0x28
pop edx
call fcn.004853c9
mov ecx, dword [esp + 0x24]
add esp, 0x14
inc dword [edi + 0x48]
mov dword [esp + 0xb0], eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x58], eax
inc eax
mov dword [esp + 0x50], eax
inc eax
mov dword [edi + 0x48], eax
call fcn.0048542c
inc dword [edi + 0x48]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x14], eax
call fcn.0048542c
mov ecx, dword [edi + 0x48]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
push ebx
push dword [esp + 0x54]
lea eax, [ecx + 1]
add ecx, dword [edx]
mov dword [esp + 0x70], eax
mov dword [edi + 0x48], ecx
push ebx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
mov eax, dword [edx]
add eax, ecx
mov ecx, dword [esp + 0x1c]
push 7
pop edx
mov dword [edi + 0x48], eax
call fcn.00485377
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
push dword [esp + 0x5c]
push ebx
push 7
pop edx
call fcn.00485377
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
push dword [esp + 0x20]
push dword [esp + 0x1c]
push 2
pop edx
call fcn.00485377
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x54]
add esp, 0xc
mov ecx, edi
push ebx
push eax
push dword [esp + 0x5c]
call fcn.004ab043
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4a4ef8
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4a4810
mov eax, dword [esi + 0x10]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x54], ebx
jmp 0x4a49b5
mov eax, dword [eax]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x38], eax
inc eax
mov dword [esp + 0x54], 1
mov esi, eax
mov dword [esp + 0x78], eax
mov ecx, eax
mov dword [esp + 0x7c], eax
test edx, edx
jle 0x4a4850
mov eax, dword [esp + 0x90]
add eax, 0xc
cmp dword [eax], ecx
jl 0x4a4846
inc esi
inc ecx
add eax, 0x18
dec edx
jne 0x4a4840
mov dword [esp + 0x7c], esi
mov edx, esi
mov ecx, edi
call fcn.00492d95
mov esi, eax
mov ecx, edi
mov dword [esp + 0x64], esi
call fcn.00491666
mov edx, dword [esp + 0x48]
mov ecx, edi
push ebx
push esi
call fcn.0049238b
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
add eax, esi
push ebx
push eax
push dword [esp + 0x94]
push 0x34
pop edx
call fcn.00485377
add esp, 0x14
mov dword [esp + 0x70], ebx
cmp dword [esp + 0x94], ebx
jle 0x4a492d
mov ecx, dword [esp + 0x78]
mov edx, esi
add edx, ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], edx
mov eax, ebx
mov esi, dword [esp + 0x90]
cmp dword [eax + esi + 0xc], ecx
mov esi, dword [esp + 0x10]
jl 0x4a4910
mov ecx, dword [esp + 0x90]
push edx
push dword [eax + ecx + 4]
mov edx, dword [eax + ecx]
push dword [eax + ecx + 8]
mov ecx, edi
call fcn.00491599
mov edx, dword [esp + 0x54]
add esp, 0xc
cmp edx, eax
je 0x4a48fe
push ebx
push edx
push eax
push 0xf
pop edx
mov ecx, esi
call fcn.00485377
mov edx, dword [esp + 0x54]
add esp, 0xc
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x38]
inc ecx
inc edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x48], edx
mov edi, dword [esp + 0x70]
add eax, 0x18
inc edi
mov dword [esp + 0x38], eax
cmp edi, dword [esp + 0x94]
mov dword [esp + 0x70], edi
mov edi, dword [esp + 0x60]
jl 0x4a48b4
mov ecx, edi
call fcn.00492d45
mov ecx, dword [esp + 0x10]
mov esi, eax
push esi
push dword [esp + 0x80]
push dword [esp + 0x6c]
push 0x1e
pop edx
call fcn.00485377
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
push esi
push dword [esp + 0x8c]
push 0x43
pop edx
call fcn.00485377
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.00492d61
push dword [esp + 0x7c]
mov edx, dword [esp + 0x68]
call fcn.00492dc0
pop ecx
mov ecx, dword [esp + 0x3c]
call fcn.004ab81a
mov esi, dword [esp + 0x10]
mov ecx, esi
push ebx
push dword [esp + 0x34]
push dword [esp + 0x8c]
push 0x3f
pop edx
call fcn.00485377
add esp, 0xc
mov byte [esp + 0x81], 1
mov ecx, edi
call fcn.00491666
mov eax, dword [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x70], eax
call fcn.00491666
mov ecx, dword [esp + 0x2c]
mov edx, ebx
mov dword [esp + 0x38], edx
cmp dword [ecx], ebx
jle 0x4a4a2d
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
add eax, edx
push eax
test ebx, ebx
je 0x4a49fb
push edx
push dword [esp + 0x8c]
mov ecx, esi
push 0x1c
pop edx
call fcn.00485377
add esp, 0xc
jmp 0x4a4a15
mov eax, dword [esp + 0x68]
mov byte [esp + 0x84], 1
mov edx, dword [ecx + 0xc]
mov ecx, edi
mov edx, dword [edx + eax]
call fcn.00492279
pop ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
inc edx
add dword [esp + 0x64], 0x14
mov dword [esp + 0x38], edx
cmp edx, dword [ecx]
jl 0x4a49d9
xor ebx, ebx
push 0xfffffffffffffffa
push dword [esp + 0xb0]
push dword [ecx]
mov ecx, esi
push dword [esp + 0x58]
push dword [esp + 0x78]
push 0x18
pop edx
call fcn.004853c9
mov esi, dword [esi + 0xc]
add esp, 0x14
mov ecx, dword [esp + 0x10]
lea eax, [esi + 1]
push eax
push ebx
push eax
push 0x19
pop edx
call fcn.00485377
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov edx, dword [esp + 0x4c]
push dword [ecx]
mov ecx, edi
push dword [esp + 0x6c]
call fcn.0049168a
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
inc eax
push ebx
push dword [esp + 0x80]
push eax
push 2
pop edx
call fcn.00485377
mov ecx, dword [esp + 0x24]
add esp, 0x14
push ebx
push dword [esp + 0x34]
push dword [esp + 0x58]
push 0x70
pop edx
call fcn.00485377
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
push dword [esp + 0x20]
push dword [esp + 0x1c]
push 2
pop edx
call fcn.00485377
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, esi
mov esi, eax
mov ecx, esi
push dword [eax + 0xc]
call fcn.004855fd
pop ecx
lea edx, [esp + 0x80]
mov ecx, edi
call fcn.004a3f6d
push ebx
push dword [esp + 0x5c]
mov ecx, esi
push 1
push 7
pop edx
call fcn.00485377
add esp, 0xc
cmp dword [esp + 0x54], 0
je 0x4a4b1e
push ebx
push dword [esp + 0x74]
mov ecx, esi
push dword [esp + 0x8c]
push 0x42
pop edx
call fcn.00485377
add esp, 0xc
jmp 0x4a4b38
mov ecx, dword [esp + 0x3c]
call fcn.004ab81a
mov edx, dword [esp + 0xb0]
mov ecx, esi
push 1
call fcn.00485761
pop ecx
mov eax, dword [esp + 0x50]
mov ecx, esi
push ebx
push dword [esp + 0x78]
inc eax
push eax
push 2
pop edx
call fcn.00485377
add esp, 0xc
xor edx, edx
inc edx
mov ecx, esi
push ebx
push dword [esp + 0x34]
push ebx
call fcn.00485377
mov edi, dword [esi + 0xc]
add esp, 0xc
mov ecx, esi
push ebx
push dword [esp + 0x54]
push 1
push 7
pop edx
call fcn.00485377
mov eax, dword [esp + 0x5c]
add esp, 0xc
inc eax
mov ecx, esi
push ebx
push ebx
push eax
push 3
pop edx
call fcn.00485377
mov edx, dword [esp + 0x80]
add esp, 0xc
mov ecx, esi
call fcn.0048547c
mov esi, dword [esi + 0xc]
push ebx
lea eax, [esi + 2]
push eax
push dword [esp + 0x60]
push 0x70
pop edx
call fcn.00485377
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
inc eax
push ebx
push ebx
push eax
push 3
pop edx
call fcn.00485377
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x8c]
add esp, 0xc
call fcn.004a3f1c
mov edx, dword [esp + 0x20]
inc esi
mov ecx, dword [esp + 0x60]
push 8
push esi
call fcn.00492719
push edi
mov edi, dword [esp + 0x6c]
mov ecx, edi
push esi
push dword [esp + 0x44]
mov esi, dword [esp + 0x80]
mov edx, esi
push dword [esp + 0x70]
push dword [esp + 0x5c]
push ebx
push ebx
push dword [esi]
call fcn.004a0fb4
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x38]
inc eax
push ebx
push ebx
push eax
push 3
pop edx
call fcn.00485377
mov edx, dword [esp + 0x50]
add esp, 0x34
mov ecx, dword [esp + 0x10]
call fcn.0048547c
lea edx, [esp + 0x80]
mov ecx, edi
call fcn.004a3e42
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push dword [esp + 0x1c]
push 3
pop edx
call fcn.00485377
add esp, 0xc
jmp 0x4a4ea0
lea edx, [esp + 0x80]
mov dword [esp + 0x58], ebx
mov ecx, esi
call fcn.004a3784
mov dword [esp + 0x14], eax
test eax, eax
je 0x4a4d7b
mov edx, dword [eax + 0x44]
mov ecx, dword [edi]
call fcn.004a02c4
mov edx, dword [esp + 0x14]
mov ecx, edi
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x5c], eax
inc eax
mov dword [edi + 0x44], eax
mov eax, dword [edx + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x3c], eax
call fcn.00497de5
mov eax, dword [esp + 0x14]
mov ecx, edi
mov edx, dword [esp + 0x1c]
push dword [eax + 4]
push ebx
push dword [eax + 0x18]
call fcn.00494acb
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp dword [edx + 0x14], ebx
je 0x4a4d0f
mov esi, dword [edx + 0x14]
mov ecx, ebx
test ecx, ecx
je 0x4a4ce2
mov eax, dword [esi + 4]
cmp eax, dword [ecx + 4]
jge 0x4a4ce4
mov ecx, esi
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x4a4cd6
mov esi, dword [esp + 0x6c]
test ecx, ecx
je 0x4a4d0f
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 0xc]
jge 0x4a4d0f
mov eax, dword [ecx + 0x14]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0x3c], eax
call fcn.004980f6
mov dword [esp + 0x68], eax
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x40]
push dword [esp + 0x64]
push 0x26
pop edx
call fcn.00485377
mov eax, dword [esp + 0x74]
add esp, 0xc
test eax, eax
je 0x4a4d43
mov ecx, dword [esp + 0x10]
or edx, 0xffffffff
push 0xfffffffffffffff0
push eax
call fcn.004857a7
pop ecx
pop ecx
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x10]
push ebx
push dword [eax + 8]
push dword [esp + 0x64]
push 0x1f
pop edx
call fcn.00485377
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
push ebx
push dword [esp + 0x64]
push 0x2a
pop edx
call fcn.00485377
add esp, 0xc
jmp 0x4a4e5e
mov ecx, esi
mov dword [esp + 0x14], ebx
call fcn.004a371f
mov byte [esp + 0x1b], al
test al, al
je 0x4a4dd0
mov eax, dword [esi]
mov ecx, dword [esp + 0x24]
push ebx
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
call fcn.00490431
mov edx, eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x18], edx
pop ecx
test edx, edx
je 0x4a4dd0
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1e], bl
jne 0x4a4dd0
mov eax, dword [edx + 0xc]
cmp byte [esp + 0x1b], 1
setne cl
mov byte [eax + 0xc], cl
mov eax, dword [edx + 0xc]
mov eax, dword [eax]
mov byte [eax], 0x98
lea edx, [esp + 0x80]
mov ecx, edi
call fcn.004a3e42
movzx eax, byte [esp + 0x1b]
mov ecx, edi
mov edx, dword [esp + 0x40]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x5c]
call fcn.004ab043
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x4a4e15
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
call fcn.004908ee
jmp 0x4a4ef8
lea edx, [esp + 0x80]
mov ecx, edi
call fcn.004a3f6d
cmp dword [esp + 0x14], ebx
jne 0x4a4e47
cmp byte [esp + 0x1b], bl
je 0x4a4e47
mov eax, dword [esp + 0x3c]
xor edx, edx
mov ecx, dword [esp + 0x10]
inc edx
push ebx
push dword [eax + 0x14]
push ebx
call fcn.00485377
add esp, 0xc
mov ecx, dword [esp + 0x3c]
call fcn.004ab81a
lea edx, [esp + 0x80]
mov ecx, edi
call fcn.004a3f1c
mov edx, dword [esp + 0x20]
mov ecx, edi
push 8
push dword [esp + 0x34]
mov dword [esp + 0x4c], ebx
call fcn.00492719
mov eax, dword [esp + 0x38]
mov edx, esi
push eax
push eax
push dword [esp + 0x44]
mov ecx, edi
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push dword [esi]
call fcn.004a0fb4
mov edx, dword [esp + 0x80]
add esp, 0x28
mov ecx, dword [esp + 0x24]
call fcn.004908ee
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
call fcn.0048547c
cmp dword [esp + 0x44], 0
je 0x4a4ecb
mov eax, dword [esp + 0x28]
mov edx, esi
push dword [esp + 0x34]
push dword [eax]
push ecx
mov ecx, edi
call fcn.004a139f
add esp, 0xc
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x10]
call fcn.0048547c
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], ebx
cmp byte [eax], 5
jne 0x4a4ef8
push dword [esp + 0x28]
mov edx, dword [esp + 0x44]
mov ecx, edi
call fcn.004a17ec
pop ecx
push dword [esp + 0x90]
push dword [esp + 0x28]
call fcn.00476513
push dword [esp + 0xa8]
push dword [esp + 0x30]
call fcn.00476513
mov eax, dword [esp + 0x48]
add esp, 0x10
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d9731
mov esp, ebp
pop ebp
ret