Function at 0x4acfc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [0x609e44]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
mov ebx, ecx
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x60], edx
push esi
xor esi, esi
mov dword [esp + 0x8c], eax
mov eax, dword [ebx]
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x38], esi
movlpd qword [esp + 0x84], xmm0
mov dword [esp + 0x64], eax
cmp dword [ebx + 0x24], esi
jne 0x4ae19d
cmp byte [eax + 0x51], 0
jne 0x4ae19d
call fcn.004acc40
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4ae19d
mov eax, dword [ebx]
xor edx, edx
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4ad07f
mov edx, edi
mov ecx, ebx
call fcn.004d1030
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4ad098
cmp byte [ecx + 8], 0x7e
jne 0x4ad091
movzx eax, byte [ecx + 9]
or esi, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4ad085
mov eax, dword [edi + 0xc]
xor ecx, ecx
test esi, esi
mov dword [esp + 0x40], eax
cmovne ecx, edx
mov dword [esp + 0x80], ecx
test ecx, ecx
jne 0x4ad0cb
push ecx
push ecx
mov edx, edi
mov ecx, ebx
call fcn.004b49b0
add esp, 8
mov dword [esp + 0x2c], 0
test eax, eax
je 0x4ad0d3
mov dword [esp + 0x2c], 1
mov edx, edi
mov ecx, ebx
call fcn.004a6d70
test eax, eax
jne 0x4ae19b
cmp dword [esp + 0x80], eax
mov edx, edi
mov ecx, ebx
setne al
push eax
call fcn.004accd0
add esp, 4
test eax, eax
jne 0x4ae19b
mov ecx, dword [edi + 0x48]
mov esi, 0xffff8000
mov edx, dword [esp + 0x64]
test ecx, ecx
je 0x4ad128
mov eax, dword [edx + 0x10]
xor esi, esi
add eax, 0xc
cmp dword [eax], ecx
je 0x4ad128
nop
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x4ad120
mov eax, dword [edx + 0x10]
mov ecx, esi
add ecx, ecx
mov edx, 9
push dword [eax + ecx*8]
mov ecx, ebx
push 0
push dword [edi]
call fcn.004a1b40
add esp, 0xc
mov dword [esp + 0x54], eax
cmp eax, 1
je 0x4ae19b
mov ecx, dword [esp + 0x68]
xor edx, edx
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], edx
mov dword [ecx + 0x34], eax
mov ecx, dword [ebx + 0x28]
inc ecx
mov dword [ebx + 0x28], ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x4ad184
inc ecx
inc edx
mov dword [ebx + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4ad174
mov dword [esp + 0x70], edx
cmp dword [esp + 0x40], 0
je 0x4ad1a9
mov ecx, dword [ebx + 0xf4]
mov eax, dword [edi]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ecx
mov dword [ebx + 0xf4], eax
jmp 0x4ad1c5
mov eax, dword [esp + 0x88]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x98], eax
mov edi, dword [ebx + 8]
lea eax, [ebx + 0x74]
mov dword [esp + 0x14], eax
test edi, edi
je 0x4ad1e9
mov ecx, edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x48], edi
mov edx, eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x30], ecx
jmp 0x4ad222
cmp dword [eax], 0
jne 0x4ad1fa
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x4ad1fa
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.0047a090
mov edi, eax
lea eax, [ebx + 0x74]
mov dword [esp + 0x48], edi
mov ecx, edi
mov dword [esp + 0x78], eax
mov edx, eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x30], edi
test edi, edi
je 0x4ae17d
cmp byte [ebx + 0x12], 0
jne 0x4ad22f
or dword [edi + 0x98], 0x10
mov edx, dword [edx]
mov dword [esp + 0x3c], edx
test edx, edx
je 0x4ad23d
mov eax, edx
jmp 0x4ad267
mov edx, dword [esp + 0x48]
mov eax, ebx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0x54]
mov ecx, esi
mov dword [esp + 0x44], eax
mov eax, 1
shl eax, cl
test edx, eax
jne 0x4ad28f
mov ecx, dword [esp + 0x44]
bts edx, esi
mov dword [ecx + 0x54], edx
cmp esi, 1
jne 0x4ad28f
call fcn.004ab2f0
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x50]
bts eax, esi
mov dword [ecx + 0x50], eax
mov eax, dword [esp + 0x2c]
or byte [ecx + 0x14], al
cmp dword [esp + 0x40], 0
je 0x4ad2d3
push dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov ecx, ebx
push 0
push 0
push dword [esp + 0x78]
call fcn.004acdb0
mov eax, dword [esp + 0x44]
add esp, 0x10
mov dword [esp + 0x8c], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x9c]
mov edx, dword [esp + 0x6c]
xorps xmm0, xmm0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], eax
call fcn.004911c0
test eax, eax
jne 0x4ae17d
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x4ad38e
cmp byte [ebx + 0x12], 0
jne 0x4ad38e
cmp dword [ebx + 0x78], 0
jne 0x4ad38e
inc dword [ebx + 0x2c]
mov ecx, dword [edi + 0x6c]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x7c], edx
cmp dword [edi + 0x70], ecx
jg 0x4ad35f
push 0
push edx
push 0
mov edx, 0x45
mov ecx, edi
call fcn.0047a300
add esp, 0xc
jmp 0x4ad38e
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x54], 0
mov ecx, dword [esp + 0x2c]
jne 0x4ad52d
cmp dword [esp + 0x6c], 0
jne 0x4ad52d
test ecx, ecx
jne 0x4ad52d
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x38], ecx
jne 0x4ad52d
push dword [eax]
mov edx, esi
mov ecx, ebx
push 1
push dword [eax + 0x1c]
call fcn.004a1be0
mov eax, dword [esp + 0x28]
add esp, 0xc
test byte [eax + 0x24], 0x80
jne 0x4ad4b3
mov ecx, dword [eax]
mov edx, dword [esp + 0x7c]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x50], ecx
or ecx, 0xffffffff
test edx, edx
mov dword [esp + 0x80], eax
cmovne ecx, edx
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x54], ecx
cmp dword [edi + 0x70], edx
jg 0x4ad423
push ecx
push esi
push eax
mov edx, 0x89
mov ecx, edi
call fcn.0047a300
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x30]
add eax, 0x68
jmp 0x4ad45c
mov ebx, dword [esp + 0x80]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x54]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edi + 0x68]
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
je 0x4ad475
push dword [esp + 0x50]
or edx, 0xffffffff
call fcn.0047af00
add esp, 4
jmp 0x4ad4af
test edx, edx
jns 0x4ad47d
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [eax]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4ad4a0
push 0xffffffffffffffff
push dword [esp + 0x54]
mov edx, eax
mov ecx, edi
call fcn.0047b0d0
add esp, 8
jmp 0x4ad4af
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x4ad4af
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xff
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
test eax, eax
je 0x4ad51e
nop
mov ecx, dword [edi + 0x6c]
mov edx, dword [eax + 0x2c]
cmp dword [edi + 0x70], ecx
jg 0x4ad4e0
push 0
push esi
push edx
mov edx, 0x89
mov ecx, edi
call fcn.0047a300
add esp, 0xc
jmp 0x4ad50b
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x44], eax
test eax, eax
jne 0x4ad4c0
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
lea esi, [eax + 0x6c]
add eax, 0x70
jmp 0x4ae0e0
test byte [esp + 0xb4], 0x40
mov eax, 1
cmovne ecx, eax
xor eax, eax
test ecx, ecx
sete al
lea eax, [eax*8 + 0x414]
movzx eax, ax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
test byte [eax + 0x24], 0x80
jne 0x4ad5e5
mov edx, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
inc edx
mov dword [esp + 0xc], ecx
lea esi, [edi + 0x6c]
mov dword [ecx], edx
mov ecx, dword [esi]
lea eax, [edi + 0x70]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 1
mov dword [esp + 0x74], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], eax
cmp dword [eax], ecx
jg 0x4ad5ae
push 0
push edx
push 0
mov edx, 0x48
mov ecx, edi
call fcn.0047a300
add esp, 0xc
jmp 0x4ad6f9
mov ebx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4ad6f9
mov ecx, dword [eax + 8]
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x4ad604
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4ad600
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4ad5f0
mov dword [esp + 0x3c], ecx
movzx edx, word [ecx + 0x32]
lea ecx, [ebx + 0x2c]
mov eax, dword [ecx]
mov dword [esp + 0x30], edx
movsx edx, dx
mov dword [esp + 0xc], ecx
lea esi, [eax + 1]
add eax, edx
mov dword [ecx], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x28], eax
inc eax
mov dword [ebx + 0x28], eax
lea eax, [edi + 0x70]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x58], esi
lea esi, [edi + 0x6c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x90], ecx
mov dword [esp + 0x18], eax
cmp dword [eax], ecx
jg 0x4ad669
push 0
push edx
push dword [esp + 0x30]
mov edx, 0x64
mov ecx, edi
call fcn.0047a300
add esp, 0xc
mov dword [esp + 0x90], eax
jmp 0x4ad69b
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 8]
mov ecx, ebx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
call fcn.004abce0
mov dword [esp + 0x44], eax
test eax, eax
je 0x4ad6f9
mov edx, dword [esp + 0x54]
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x4ad6d1
push eax
mov edx, 0xfffffff7
call fcn.0047af00
add esp, 4
jmp 0x4ad6e7
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x44]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x2c], esi
lea eax, [edi + 0x70]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov ecx, ebx
mov edx, dword [esp + 0x68]
movzx eax, ax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x34]
inc eax
push eax
push dword [esp + 0x50]
push 0
push 0
push dword [esp + 0x7c]
call fcn.004e6a40
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x44], ecx
test ecx, ecx
je 0x4ae17d
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x54], eax
mov al, byte [ecx + 0x2e]
mov byte [esp + 0x13], al
mov byte [esp + 0x84], al
cmp al, 1
je 0x4ad763
mov eax, dword [esp + 0x14]
mov ecx, ebx
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x4ad7ce
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
cmp dword [eax], ecx
jg 0x4ad792
push 0
push 1
push edx
mov edx, 0x52
mov ecx, edi
call fcn.0047a300
lea eax, [ebx + 0x2c]
add esp, 0xc
mov dword [esp + 0xc], eax
jmp 0x4ad7d2
mov ebx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x52
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
jmp 0x4ad7d2
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x48]
movsx edx, cx
je 0x4ad837
xor ecx, ecx
mov dword [esp + 0x14], ecx
test edx, edx
jle 0x4ad82d
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x58]
mov edx, esi
add eax, ecx
push eax
mov eax, dword [ebx + 4]
movsx eax, word [eax + ecx*2]
mov ecx, edi
push eax
push dword [esp + 0x3c]
call fcn.00496db0
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x48]
inc ecx
movsx eax, dx
mov dword [esp + 0x14], ecx
cmp ecx, eax
jl 0x4ad7f2
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x14], edx
jmp 0x4ad858
inc dword [eax]
mov ecx, edi
mov eax, dword [eax]
mov edx, dword [esp + 0x1c]
push eax
push 0xffffffffffffffff
push dword [esp + 0x3c]
mov dword [esp + 0x20], eax
call fcn.00496db0
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp byte [esp + 0x13], 0
je 0x4ad92d
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x64]
movzx eax, ax
mov dword [esp + 0x30], eax
lea eax, [esi + 2]
cdq
push edx
push eax
call fcn.004581b0
mov ecx, eax
add esp, 8
mov dword [esp + 0x60], ecx
test ecx, ecx
jne 0x4ad89c
mov ecx, dword [esp + 0x44]
call fcn.004e78d0
jmp 0x4ae17d
lea eax, [esi + 1]
push eax
push 1
push ecx
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x6c]
add esp, 0xc
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x34]
mov byte [esi + ecx + 1], 0
test eax, eax
js 0x4ad8c6
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x54]
test eax, eax
js 0x4ad8d4
sub eax, edx
mov byte [eax + ecx], 0
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4ad90f
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4ad90f
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
push dword [eax + ecx*4 + 0x10]
movsx edx, byte [eax + ecx*4 + 1]
lea esi, [eax + ecx*4]
mov ecx, dword [edi]
call fcn.0047af00
add esp, 4
mov word [esi], 0xad
mov dword [esi + 0x10], 0
dec dword [ebx + 0x38]
mov edx, dword [esp + 0x5c]
mov eax, dword [ebx + 0x38]
add edx, 0x68
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov dword [esp + 0xc], edx
jmp 0x4ada9b
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4ada21
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x30], 0
inc dword [ecx]
mov ecx, dword [ecx]
mov dword [esp + 0x14], ecx
movsx ecx, dx
mov edx, eax
push ecx
push ecx
mov ecx, dword [ebx]
call fcn.004b57d0
mov ecx, dword [esp + 0x50]
add esp, 4
mov edx, 0x5b
push eax
push dword [esp + 0x1c]
movsx eax, cx
mov ecx, edi
push eax
push dword [esp + 0x68]
call fcn.0047a620
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [esi]
mov dword [esp + 0x4c], ecx
cmp dword [eax], ecx
jg 0x4ad9b6
push dword [esp + 0x58]
mov edx, 0x82
mov ecx, edi
push dword [esp + 0x18]
push dword [esp + 0x30]
call fcn.0047a300
mov edx, dword [esp + 0x68]
add esp, 0xc
mov ecx, eax
add edx, 0x68
jmp 0x4ad9f2
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi], eax
lea edx, [edi + 0x68]
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x82
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x4c]
mov eax, dword [edi]
mov dword [esp + 0xc], edx
cmp byte [eax + 0x51], 0
jne 0x4ada8e
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov esi, dword [esp + 0x48]
movsx ebx, si
mov esi, dword [esp + 0x2c]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], ebx
mov dword [esp + 0xc], edx
jmp 0x4ada8a
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x30], 1
cmp dword [eax], ecx
jg 0x4ada56
push 0
push edx
push dword [esp + 0x7c]
mov edx, 0x93
mov ecx, edi
call fcn.0047a300
mov eax, dword [esp + 0x68]
add esp, 0xc
add eax, 0x68
mov dword [esp + 0xc], eax
jmp 0x4ada8e
mov ebx, dword [esp + 0x74]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
lea eax, [edi + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x93
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
call fcn.004e78d0
mov edx, dword [esp + 0xc]
cmp dword [esp + 0x40], 0
jne 0x4adb81
xor eax, eax
cmp byte [esp + 0x13], 2
mov dword [esp + 0x40], eax
jne 0x4adb0d
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x40], ecx
cmp dword [eax], ecx
jg 0x4adadc
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.0047a300
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x4adb0d
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
push dword [esp + 0x68]
push dword [esp + 0x40]
push 8
push 0x61
call fcn.004ba110
mov al, byte [esp + 0x2b]
add esp, 0x18
cmp al, 2
jne 0x4adb85
mov eax, dword [esi]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
lea edx, [eax - 1]
cmp ecx, edx
jne 0x4adb51
mov dword [esi], edx
jmp 0x4adb8d
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4adb67
mov ecx, dword [esp + 0x4c]
mov eax, 0x60d7e0
mov dword [eax + 8], ecx
jmp 0x4adb8d
mov eax, dword [esp + 0xc]
test ecx, ecx
cmovns edx, ecx
mov eax, dword [eax]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
jmp 0x4adb8d
mov al, byte [esp + 0x13]
test al, al
je 0x4adc45
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
cmp dword [eax + 0x38], 0
jne 0x4adde1
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x34]
cmp byte [eax + ecx], 0
je 0x4adde1
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x4c], ecx
cmp dword [eax], ecx
jg 0x4adbe2
push dword [esp + 0x14]
mov edx, 0x1d
mov ecx, edi
push dword [esp + 0x54]
push dword [esp + 0x2c]
call fcn.0047a300
mov edx, dword [esp + 0x18]
add esp, 0xc
mov ecx, eax
jmp 0x4adc1f
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x24]
lea ecx, [ecx + ecx*4]
mov dword [esi], eax
mov eax, dword [edx]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x4c]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4adddd
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x30]
cwde
mov dword [ecx + 0x10], eax
jmp 0x4adddd
cmp dword [esp + 0x3c], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x38], ecx
mov eax, dword [eax]
je 0x4add81
cmp eax, ecx
jg 0x4adc81
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x25
mov ecx, edi
call fcn.0047a300
mov edx, dword [esp + 0x18]
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x4adcb6
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x28]
lea ecx, [ecx + ecx*4]
mov dword [esi], eax
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov ebx, dword [eax]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], ebx
mov ebx, dword [esp + 0x20]
cmp dword [eax + 0x38], 0
je 0x4add2a
cmp dword [esp + 0x70], ecx
jg 0x4adcf4
push dword [esp + 0x14]
mov edx, 0x59
mov ecx, edi
push 0
push dword [esp + 0x30]
call fcn.0047a300
add esp, 0xc
jmp 0x4adddd
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4adddd
cmp dword [esp + 0x70], ecx
jg 0x4add4e
push 0
push dword [esp + 0x18]
mov edx, 0x7e
mov ecx, edi
push dword [esp + 0x30]
call fcn.0047a300
add esp, 0xc
jmp 0x4adddd
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x7e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4adddd
cmp eax, ecx
jg 0x4adda0
push dword [esp + 0x14]
mov edx, 0x2a
mov ecx, edi
push 0
push dword [esp + 0x7c]
call fcn.0047a300
add esp, 0xc
jmp 0x4addd9
mov edx, dword [esp + 0x74]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x2a
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
cmp dword [edx + 0x38], 0
je 0x4adf55
mov eax, dword [edx + 0x40]
mov dword [esp + 0x40], eax
test eax, eax
je 0x4ade0f
mov edx, dword [esp + 0x64]
nop
cmp dword [eax], edx
je 0x4ade0b
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4ade00
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.004d9150
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
test eax, eax
mov ecx, ebx
cmovne ecx, eax
cmp byte [esp + 0x13], 1
mov byte [ecx + 0x15], 1
jne 0x4ade97
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
cmp dword [eax], ecx
jg 0x4ade55
push 0
push 0
push dword [esp + 0x3c]
mov edx, 0x74
mov ecx, edi
call fcn.0047a300
add esp, 0xc
jmp 0x4ade8a
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x78]
cmp dword [eax], 0
jne 0x4ade97
mov byte [ebx + 0x14], 0
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
cmp dword [eax], edx
jg 0x4adebc
push dword [esp + 0x14]
mov edx, 0xa
mov ecx, edi
push 1
push 0
call fcn.0047a300
add esp, 0xc
mov edx, eax
jmp 0x4adef5
mov ebx, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [esi], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4adf2a
test edx, edx
jns 0x4adf04
mov edx, dword [esi]
dec edx
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
cmp byte [eax + ecx*4 + 1], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x40]
je 0x4adf45
push 0xfffffffffffffff4
mov edx, ecx
mov ecx, edi
push eax
call fcn.0047b0d0
add esp, 8
mov edx, dword [esp + 0xc]
mov eax, dword [esi]
test eax, eax
jle 0x4adf8e
lea ecx, [eax + eax*4]
mov eax, dword [edx]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4adf8e
test eax, eax
je 0x4adf2e
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xf4
inc dword [eax + 0xc]
jmp 0x4adf2e
push dword [esp + 0x54]
cmp byte [ebx + 0x12], 0
push dword [esp + 0x88]
sete al
push 0xb
movzx eax, al
push eax
push dword [esp + 0x40]
push dword [esp + 0x28]
push dword [esp + 0xa4]
push ecx
push dword [esp + 0xa0]
mov ecx, ebx
call fcn.004ae270
add esp, 0x24
cmp byte [esp + 0x13], 0
je 0x4adfd5
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x50]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4adfbf
push edx
mov edx, edi
call fcn.0047aae0
mov ecx, dword [esp + 0x48]
add esp, 4
call fcn.004e78d0
jmp 0x4ae0e4
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x44]
call fcn.004e78d0
jmp 0x4ae0e4
cmp dword [esp + 0x3c], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov eax, dword [eax]
je 0x4ae04c
mov edx, dword [esp + 0x38]
inc edx
cmp eax, ecx
jg 0x4ae00c
push 0
push edx
push dword [esp + 0x30]
mov edx, 5
mov ecx, edi
call fcn.0047a300
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4ae0a6
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x38]
lea ecx, [ecx + ecx*4]
mov dword [esi], eax
inc ebx
mov eax, dword [edx]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4ae0a6
cmp eax, ecx
jg 0x4ae06d
push 0
push dword [esp + 0x3c]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.0047a300
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4ae0a6
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x38]
lea ecx, [ecx + ecx*4]
mov dword [esi], eax
mov eax, dword [edx]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov ecx, dword [esi]
mov dword [esp + 0x84], ecx
cmp byte [eax + 0x51], 0
je 0x4ae0be
mov eax, 0x60d7e0
jmp 0x4ae0d9
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x38]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x84]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
cmp byte [ebx + 0x12], 0
jne 0x4ae0fd
cmp dword [ebx + 0x78], 0
jne 0x4ae0fd
cmp dword [ebx + 0x70], 0
je 0x4ae0fd
mov ecx, ebx
call fcn.004b5cf0
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x4ae17d
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
cmp dword [eax], ecx
jg 0x4ae125
push 0
push 1
push edx
mov edx, 0x50
mov ecx, edi
call fcn.0047a300
add esp, 0xc
jmp 0x4ae153
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, 1
mov ecx, edi
call fcn.0047c5f0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x4ae17d
mov ecx, dword [edi + 0x74]
mov edx, str.rows_deleted
push 0
push 1
push 0xffffffffffffffff
call fcn.004793e0
add esp, 0xc
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x60]
test eax, eax
je 0x4ae19d
mov ecx, dword [esp + 0x98]
mov dword [eax + 0xf4], ecx
jmp 0x4ae19d
xor esi, esi
mov ebx, dword [esp + 0x64]
mov ecx, ebx
mov edx, dword [esp + 0x68]
call fcn.004aa9b0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4ae1bd
mov edx, eax
mov ecx, ebx
call fcn.00492560
test esi, esi
je 0x4ae25b
test ebx, ebx
je 0x4ae252
cmp dword [ebx + 0x1f8], 0
je 0x4ae1f4
mov edx, esi
mov ecx, ebx
call fcn.00457e30
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
cmp esi, dword [ebx + 0x14c]
jae 0x4ae252
cmp esi, dword [ebx + 0x144]
jb 0x4ae227
mov eax, dword [ebx + 0x140]
mov dword [esi], eax
mov dword [ebx + 0x140], esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
cmp esi, dword [ebx + 0x148]
jb 0x4ae252
mov eax, dword [ebx + 0x138]
mov dword [esi], eax
mov dword [ebx + 0x138], esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret
push esi
call fcn.00457dc0
add esp, 4
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005a6fed
mov esp, ebp
pop ebp
ret