Function at 0x49ff25
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 [0x5415b0]
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 0x4a0d2d
cmp byte [ecx + 0x1e], 0
jne 0x4a0d2d
xor ebx, ebx
cmp dword [edi + 0x40], ebx
jne 0x4a0d2d
push ebx
push ebx
push ebx
push 0x15
pop edx
mov ecx, edi
call fcn.00490858
add esp, 0xc
test eax, eax
je 0x49ff9b
xor eax, eax
inc eax
jmp 0x4a0d2d
push 0x2c
lea eax, [esp + 0x84]
push ebx
push eax
call fcn.004db6f0
mov ecx, dword [esp + 0x40]
add esp, 0xc
cmp byte [ecx], 4
ja 0x49ffcf
mov edx, dword [esi + 0x18]
mov ecx, dword [esp + 0x24]
call fcn.0048c6fb
mov eax, 0xfffe
mov dword [esi + 0x18], ebx
and word [esi + 6], ax
push ebx
mov edx, esi
mov ecx, edi
call fcn.0049fbd7
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 0x4a0d06
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1e], bl
jne 0x4a0d06
movzx eax, word [esi + 6]
mov ecx, edi
shr eax, 2
and eax, 1
mov dword [esp + 0x4c], eax
call fcn.0049dab7
mov dword [esp + 0x10], eax
test eax, eax
je 0x4a0d06
mov ecx, ebx
mov dword [esp + 0x28], ebx
cmp dword [esi + 0x1c], ebx
jne 0x4a0166
mov edx, dword [esp + 0x40]
movsx eax, word [edx]
cmp ecx, eax
jge 0x4a0166
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 0x4a0158
cmp byte [eax + edx + 0x1c], bl
jne 0x4a0158
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov ecx, esi
call fcn.0048ba70
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.0049ef76
add esp, 0xc
test eax, eax
je 0x4a00c7
cmp dword [esp + 0x3c], ebx
je 0x4a00be
or word [esi + 6], 4
mov dword [esp + 0x4c], 1
or eax, 0xffffffff
mov dword [esp + 0x28], eax
jmp 0x4a0113
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.0049ff25
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 0x4a0d06
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov ecx, esi
call fcn.0048ba70
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 0x4a0158
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 0x4a0036
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 0x4a01e4
cmp dword [esi + 0x24], ebx
jne 0x4a01d1
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 0x4a01a0
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x58], 0
je 0x4a01d1
cmp ecx, dword [eax + 0x58]
jle 0x4a01d1
push str.too_many_terms_in_compound_SELECT
push edi
call fcn.00473d54
pop ecx
pop ecx
jmp 0x49ff93
push dword [esp + 0x34]
mov edx, esi
mov ecx, edi
call fcn.0049dc9d
pop ecx
jmp 0x4a0d2d
mov eax, dword [esp + 0x28]
cmp dword [eax], ecx
jle 0x4a01fc
mov edx, dword [esp + 0x34]
mov ecx, edi
call fcn.0049cd9e
xor ecx, ecx
inc ecx
jmp 0x4a01fe
mov eax, ebx
test eax, eax
jne 0x4a0d06
mov al, byte [esi + 6]
and al, 5
cmp al, cl
jne 0x4a0236
mov edx, dword [esi]
mov ecx, dword [esp + 0x24]
push ebx
call fcn.0048c23e
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 0x4a027d
mov edx, eax
mov ecx, edi
call fcn.0049d10e
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.004811d6
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x1c], ecx
mov dword [esi + 0x40], ecx
jmp 0x4a0282
or dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x34]
cmp byte [eax], 9
jne 0x4a02a4
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.00481184
add esp, 0xc
mov ecx, dword [esp + 0x10]
call fcn.00481239
push eax
mov edx, esi
mov dword [esp + 0xb8], eax
mov ecx, edi
call fcn.0049daed
pop ecx
cmp dword [esp + 0x14], ebx
je 0x4a0306
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.0049d10e
mov ecx, dword [esp + 0x10]
mov esi, eax
push ebx
push ebx
push dword [esp + 0x64]
push 0x28
pop edx
call fcn.00481184
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, eax
push 0xfffffffffffffff0
push esi
call fcn.004815b4
mov esi, dword [esp + 0x74]
pop ecx
pop ecx
jmp 0x4a030b
or dword [esp + 0x5c], 0xffffffff
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x4c], ebx
jne 0x4a03a5
test ecx, ecx
jne 0x4a03a9
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x30]
push ebx
push eax
push dword [esp + 0x5c]
mov ecx, edi
call fcn.004a6e51
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x4a0d06
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], eax
test edx, edx
js 0x4a0373
test eax, eax
jne 0x4a0373
mov ecx, dword [esp + 0x10]
push 1
call fcn.0048156e
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.0049cdc2
mov ecx, dword [esp + 0x40]
add esp, 0x20
call fcn.004a7628
mov ecx, dword [esp + 0x10]
jmp 0x4a0cbb
test ecx, ecx
je 0x4a03dd
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
jle 0x4a03c4
add edx, 0x10
xor edi, edi
dec eax
mov word [edx], di
lea edx, [edx + 0x14]
test eax, eax
jg 0x4a03b7
mov eax, dword [ecx]
mov edx, dword [ecx + 0xc]
test eax, eax
jle 0x4a03dd
add edx, 0x10
xor ecx, ecx
dec eax
mov word [edx], cx
lea edx, [edx + 0x14]
test eax, eax
jg 0x4a03d0
mov ecx, dword [esp + 0x10]
call fcn.00481239
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 0x4a0430
mov eax, dword [ecx]
inc eax
mov dword [esp + 0x8c], eax
jmp 0x4a0437
mov dword [esp + 0x8c], ebx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0xc8]
call fcn.0048eb09
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0xc8]
call fcn.0048eb09
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a0498
lea ecx, [esp + 0xc8]
mov dword [esp + 0xb8], 0x48e88f
mov dword [esp + 0xc4], ecx
mov edx, eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0xbc], 0x48eadd
call fcn.0048a4e7
mov eax, dword [esp + 0x94]
mov dword [esp + 0x9c], eax
cmp dword [esp + 0xa4], ebx
jle 0x4a04e1
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.0048eb09
inc edi
lea esi, [esi + 0x10]
cmp edi, dword [esp + 0xa4]
jl 0x4a04b3
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1e], bl
jne 0x4a0d06
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4a0a6c
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.0049d10e
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.004811d6
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.00481239
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.00481239
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.00481184
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
push dword [esp + 0x5c]
push ebx
push 7
pop edx
call fcn.00481184
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
push dword [esp + 0x20]
push dword [esp + 0x1c]
push 2
pop edx
call fcn.00481184
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.004a6e51
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
je 0x4a0d06
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4a061e
mov eax, dword [esi + 0x10]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x54], ebx
jmp 0x4a07c3
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 0x4a065e
mov eax, dword [esp + 0x90]
add eax, 0xc
cmp dword [eax], ecx
jl 0x4a0654
inc esi
inc ecx
add eax, 0x18
dec edx
jne 0x4a064e
mov dword [esp + 0x7c], esi
mov edx, esi
mov ecx, edi
call fcn.0048eba3
mov esi, eax
mov ecx, edi
mov dword [esp + 0x64], esi
call fcn.0048d473
mov edx, dword [esp + 0x48]
mov ecx, edi
push ebx
push esi
call fcn.0048e199
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.00481184
add esp, 0x14
mov dword [esp + 0x70], ebx
cmp dword [esp + 0x94], ebx
jle 0x4a073b
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 0x4a071e
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.0048d3a6
mov edx, dword [esp + 0x54]
add esp, 0xc
cmp edx, eax
je 0x4a070c
push ebx
push edx
push eax
push 0xf
pop edx
mov ecx, esi
call fcn.00481184
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 0x4a06c2
mov ecx, edi
call fcn.0048eb53
mov ecx, dword [esp + 0x10]
mov esi, eax
push esi
push dword [esp + 0x80]
push dword [esp + 0x6c]
push 0x1e
pop edx
call fcn.00481184
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
push esi
push dword [esp + 0x8c]
push 0x43
pop edx
call fcn.00481184
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.0048eb6f
push dword [esp + 0x7c]
mov edx, dword [esp + 0x68]
call fcn.0048ebce
pop ecx
mov ecx, dword [esp + 0x3c]
call fcn.004a7628
mov esi, dword [esp + 0x10]
mov ecx, esi
push ebx
push dword [esp + 0x34]
push dword [esp + 0x8c]
push 0x3f
pop edx
call fcn.00481184
add esp, 0xc
mov byte [esp + 0x81], 1
mov ecx, edi
call fcn.0048d473
mov eax, dword [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x70], eax
call fcn.0048d473
mov ecx, dword [esp + 0x2c]
mov edx, ebx
mov dword [esp + 0x38], edx
cmp dword [ecx], ebx
jle 0x4a083b
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
add eax, edx
push eax
test ebx, ebx
je 0x4a0809
push edx
push dword [esp + 0x8c]
mov ecx, esi
push 0x1c
pop edx
call fcn.00481184
add esp, 0xc
jmp 0x4a0823
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.0048e087
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 0x4a07e7
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.004811d6
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.00481184
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.0048d497
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.00481184
mov ecx, dword [esp + 0x24]
add esp, 0x14
push ebx
push dword [esp + 0x34]
push dword [esp + 0x58]
push 0x70
pop edx
call fcn.00481184
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
push dword [esp + 0x20]
push dword [esp + 0x1c]
push 2
pop edx
call fcn.00481184
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, esi
mov esi, eax
mov ecx, esi
push dword [eax + 0xc]
call fcn.0048140a
pop ecx
lea edx, [esp + 0x80]
mov ecx, edi
call fcn.0049fd7b
push ebx
push dword [esp + 0x5c]
mov ecx, esi
push 1
push 7
pop edx
call fcn.00481184
add esp, 0xc
cmp dword [esp + 0x54], 0
je 0x4a092c
push ebx
push dword [esp + 0x74]
mov ecx, esi
push dword [esp + 0x8c]
push 0x42
pop edx
call fcn.00481184
add esp, 0xc
jmp 0x4a0946
mov ecx, dword [esp + 0x3c]
call fcn.004a7628
mov edx, dword [esp + 0xb0]
mov ecx, esi
push 1
call fcn.0048156e
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.00481184
add esp, 0xc
xor edx, edx
inc edx
mov ecx, esi
push ebx
push dword [esp + 0x34]
push ebx
call fcn.00481184
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.00481184
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.00481184
mov edx, dword [esp + 0x80]
add esp, 0xc
mov ecx, esi
call fcn.00481289
mov esi, dword [esi + 0xc]
push ebx
lea eax, [esi + 2]
push eax
push dword [esp + 0x60]
push 0x70
pop edx
call fcn.00481184
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.00481184
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x8c]
add esp, 0xc
call fcn.0049fd2a
mov edx, dword [esp + 0x20]
inc esi
mov ecx, dword [esp + 0x60]
push 8
push esi
call fcn.0048e527
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.0049cdc2
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x38]
inc eax
push ebx
push ebx
push eax
push 3
pop edx
call fcn.00481184
mov edx, dword [esp + 0x50]
add esp, 0x34
mov ecx, dword [esp + 0x10]
call fcn.00481289
lea edx, [esp + 0x80]
mov ecx, edi
call fcn.0049fc50
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push dword [esp + 0x1c]
push 3
pop edx
call fcn.00481184
add esp, 0xc
jmp 0x4a0cae
lea edx, [esp + 0x80]
mov dword [esp + 0x58], ebx
mov ecx, esi
call fcn.0049f592
mov dword [esp + 0x14], eax
test eax, eax
je 0x4a0b89
mov edx, dword [eax + 0x44]
mov ecx, dword [edi]
call fcn.0049c0d2
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.00493bf3
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.004908d9
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp dword [edx + 0x14], ebx
je 0x4a0b1d
mov esi, dword [edx + 0x14]
mov ecx, ebx
test ecx, ecx
je 0x4a0af0
mov eax, dword [esi + 4]
cmp eax, dword [ecx + 4]
jge 0x4a0af2
mov ecx, esi
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x4a0ae4
mov esi, dword [esp + 0x6c]
test ecx, ecx
je 0x4a0b1d
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 0xc]
jge 0x4a0b1d
mov eax, dword [ecx + 0x14]
mov edx, ecx
mov ecx, edi
mov dword [esp + 0x3c], eax
call fcn.00493f04
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.00481184
mov eax, dword [esp + 0x74]
add esp, 0xc
test eax, eax
je 0x4a0b51
mov ecx, dword [esp + 0x10]
or edx, 0xffffffff
push 0xfffffffffffffff0
push eax
call fcn.004815b4
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.00481184
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ebx
push ebx
push dword [esp + 0x64]
push 0x2a
pop edx
call fcn.00481184
add esp, 0xc
jmp 0x4a0c6c
mov ecx, esi
mov dword [esp + 0x14], ebx
call fcn.0049f52d
mov byte [esp + 0x1b], al
test al, al
je 0x4a0bde
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.0048c23e
mov edx, eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x18], edx
pop ecx
test edx, edx
je 0x4a0bde
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x1e], bl
jne 0x4a0bde
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.0049fc50
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.004a6e51
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
jne 0x4a0c23
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
call fcn.0048c6fb
jmp 0x4a0d06
lea edx, [esp + 0x80]
mov ecx, edi
call fcn.0049fd7b
cmp dword [esp + 0x14], ebx
jne 0x4a0c55
cmp byte [esp + 0x1b], bl
je 0x4a0c55
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.00481184
add esp, 0xc
mov ecx, dword [esp + 0x3c]
call fcn.004a7628
lea edx, [esp + 0x80]
mov ecx, edi
call fcn.0049fd2a
mov edx, dword [esp + 0x20]
mov ecx, edi
push 8
push dword [esp + 0x34]
mov dword [esp + 0x4c], ebx
call fcn.0048e527
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.0049cdc2
mov edx, dword [esp + 0x80]
add esp, 0x28
mov ecx, dword [esp + 0x24]
call fcn.0048c6fb
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
call fcn.00481289
cmp dword [esp + 0x44], 0
je 0x4a0cd9
mov eax, dword [esp + 0x28]
mov edx, esi
push dword [esp + 0x34]
push dword [eax]
push ecx
mov ecx, edi
call fcn.0049d1ad
add esp, 0xc
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x10]
call fcn.00481289
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], ebx
cmp byte [eax], 5
jne 0x4a0d06
push dword [esp + 0x28]
mov edx, dword [esp + 0x44]
mov ecx, edi
call fcn.0049d5fa
pop ecx
push dword [esp + 0x90]
push dword [esp + 0x28]
call fcn.00472320
push dword [esp + 0xa8]
push dword [esp + 0x30]
call fcn.00472320
mov eax, dword [esp + 0x48]
add esp, 0x10
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d5e2a
mov esp, ebp
pop ebp
ret