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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
mov eax, dword [0x570400]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
mov ebx, ecx
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x58], edx
push esi
xor esi, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], eax
mov eax, dword [ebx]
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x34], 1
mov dword [esp + 0x28], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x3c], esi
movlpd qword [esp + 0x74], xmm0
mov dword [esp + 0x50], eax
cmp dword [ebx + 0x24], esi
jne 0x47a3b5
call fcn.00478dc0
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x47a3b5
cmp dword [edi + 0x38], esi
jne 0x47932f
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x479338
cmp dword [eax + 0x30], esi
je 0x479338
cmp byte [ebx + 0xa1], 0
je 0x47934b
mov al, byte [edi + 0x2b]
xor esi, esi
mov dword [esp + 0x54], esi
mov byte [esp + 0xf], al
mov byte [esp + 0x1b], al
jmp 0x479375
push 0
push 0
push 0x80
mov edx, edi
mov ecx, ebx
call fcn.004a6090
mov esi, eax
add esp, 0xc
mov al, byte [edi + 0x2b]
mov dword [esp + 0x54], esi
mov byte [esp + 0xf], al
mov byte [esp + 0x1b], al
test esi, esi
jne 0x479391
push 0
push 0
mov edx, edi
mov ecx, ebx
call fcn.00481dd0
add esp, 8
mov dword [esp + 0x10], 0
test eax, eax
je 0x479399
mov dword [esp + 0x10], 1
cmp byte [edi + 0x2b], 1
je 0x4793a6
cmp word [edi + 0x22], 0
jg 0x4793b7
mov edx, edi
mov ecx, ebx
call fcn.004733b0
test eax, eax
jne 0x47a3b3
push esi
mov edx, edi
mov ecx, ebx
call fcn.00478f30
add esp, 4
test eax, eax
jne 0x47a3b3
mov ecx, dword [edi + 0x3c]
mov esi, 0xffff8000
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x4793fc
mov eax, dword [edx + 0x10]
xor esi, esi
add eax, 0xc
mov dword [esp + 0x1c], esi
cmp dword [eax], ecx
je 0x4793fc
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x4793f0
mov dword [esp + 0x1c], esi
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.0046dcc0
add esp, 0xc
mov dword [esp + 0x24], eax
cmp eax, 1
je 0x47a3b3
mov ecx, dword [esp + 0x60]
xor edx, edx
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], 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 0x479458
inc ecx
inc edx
mov dword [ebx + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x479448
mov dword [esp + 0x68], edx
cmp byte [esp + 0xf], 2
jne 0x47947a
mov ecx, dword [ebx + 0x104]
mov eax, dword [edi]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ecx
mov dword [ebx + 0x104], eax
jmp 0x47948d
mov eax, dword [esp + 0x78]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x80], eax
mov edi, dword [ebx + 8]
test edi, edi
jne 0x4794b9
cmp dword [ebx + 0x80], edi
jne 0x4794a8
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x4794a8
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.00441d60
mov edi, eax
test edi, edi
je 0x47a398
cmp byte [ebx + 0x12], 0
jne 0x4794c6
or dword [edi + 0x98], 0x10
mov eax, dword [ebx + 0x80]
mov edx, ebx
test eax, eax
mov ecx, esi
cmovne edx, eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x48], edx
mov ecx, dword [edx + 0x5c]
test ecx, eax
jne 0x4794fd
bts ecx, esi
mov dword [edx + 0x5c], ecx
cmp esi, 1
jne 0x4794fd
mov ecx, edx
call fcn.00477670
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 0x58]
bts eax, esi
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x10]
or byte [edx + 0x14], al
cmp byte [esp + 0x1b], 2
jne 0x47953a
push dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, ebx
push 0
push 0
push dword [esp + 0x70]
call fcn.00479070
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x88]
mov edx, dword [esp + 0x64]
xorps xmm0, xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], eax
call fcn.0045a640
test eax, eax
jne 0x47a398
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x479610
cmp byte [ebx + 0x12], 0
jne 0x479610
cmp dword [ebx + 0x84], 0
jne 0x479610
cmp byte [ebx + 0x9f], 0
jne 0x479610
inc dword [ebx + 0x2c]
mov ecx, dword [edi + 0x6c]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x5c], edx
cmp dword [edi + 0x70], ecx
jg 0x4795dd
push 0
push edx
push 0
mov edx, 0x47
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
jmp 0x479610
mov esi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x47
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 + 0x24], 0
mov ecx, dword [esp + 0x10]
jne 0x47980f
cmp dword [esp + 0x64], 0
jne 0x47980f
test ecx, ecx
jne 0x47980f
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x2b], 1
je 0x47980f
cmp esi, 1
je 0x47966f
mov eax, dword [ebx]
mov ecx, esi
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x47966f
push dword [edx]
mov ecx, ebx
push 1
push dword [edx + 0x14]
mov edx, esi
call fcn.0046dd60
mov edx, dword [esp + 0x20]
add esp, 0xc
test byte [edx + 0x1c], 0x80
jne 0x47973f
mov eax, dword [edx]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
or eax, 0xffffffff
test ecx, ecx
cmovne eax, ecx
mov ecx, dword [edx + 0x14]
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], ecx
cmp dword [edi + 0x70], edx
jg 0x4796b4
push eax
push esi
push ecx
mov edx, 0x91
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
mov edx, eax
jmp 0x4796e7
mov ebx, dword [esp + 0x54]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x91
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x479703
mov ecx, dword [esp + 0x3c]
or edx, 0xffffffff
push ecx
mov ecx, eax
call fcn.00442b90
add esp, 4
jmp 0x47973b
test edx, edx
jns 0x47970b
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
je 0x479730
push 0xffffffffffffffff
push ecx
mov edx, eax
mov ecx, edi
call fcn.00442ca0
add esp, 8
jmp 0x47973b
test ecx, ecx
je 0x47973b
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xff
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 8]
test esi, esi
je 0x47a363
mov ebx, dword [esp + 0x1c]
nop
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
jne 0x4797a8
test byte [edx + 0x1c], 0x80
je 0x4797a8
mov eax, dword [esp + 0x5c]
or edx, 0xffffffff
mov ecx, dword [edi + 0x6c]
test eax, eax
cmovne edx, eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x54], eax
cmp dword [edi + 0x70], ecx
jg 0x47978e
push edx
push ebx
push eax
mov edx, 0x91
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
jmp 0x4797f7
mov ebx, dword [esp + 0x54]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 0xc], edx
jmp 0x4797e0
mov ecx, dword [edi + 0x6c]
mov edx, dword [esi + 0x2c]
cmp dword [edi + 0x70], ecx
jg 0x4797c8
push 0
push ebx
push edx
mov edx, 0x91
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
jmp 0x4797f7
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], 0
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4], 0x91
mov esi, dword [esi + 0x14]
mov edx, dword [esp + 0x14]
test esi, esi
jne 0x479750
mov ebx, dword [esp + 0x2c]
jmp 0x47a363
test byte [esp + 0xa0], 0x40
mov eax, 1
mov esi, dword [esp + 0x14]
cmovne ecx, eax
xor eax, eax
test ecx, ecx
sete al
test byte [esi + 0x1c], 0x80
lea eax, [eax*8 + 0x14]
movzx eax, ax
mov dword [esp + 0x24], eax
jne 0x4798a5
inc dword [ebx + 0x2c]
mov ecx, dword [edi + 0x6c]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x58], edx
cmp dword [edi + 0x70], ecx
jg 0x479871
push 0
push edx
push 0
mov edx, 0x4b
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
jmp 0x479990
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x4b
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 0x479990
mov ecx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x4798c4
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4798c0
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4798b0
mov dword [esp + 0x1c], ecx
movzx edx, word [ecx + 0x32]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x34], edx
movsx edx, dx
lea ecx, [eax + 1]
add eax, edx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x28], eax
inc eax
mov dword [ebx + 0x28], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x30], ecx
cmp dword [edi + 0x70], ecx
jg 0x479911
push 0
push edx
push dword [esp + 0x30]
mov edx, 0x76
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x479944
mov esi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x76
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 + 0x1c]
mov dword [esp + 0x40], eax
call fcn.00477f50
mov dword [esp + 0x48], eax
test eax, eax
je 0x479990
mov edx, dword [esp + 0x40]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x47997a
push eax
mov edx, 0xfffffff8
call fcn.00442b90
add esp, 4
jmp 0x479990
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, dword [esp + 0x48]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x20]
mov ecx, ebx
mov edx, dword [esp + 0x60]
inc eax
push eax
push dword [esp + 0x28]
push 0
push 0
push 0
push dword [esp + 0x78]
call fcn.004bf730
mov edx, eax
add esp, 0x18
mov dword [esp + 0x48], edx
test edx, edx
je 0x47a398
mov eax, dword [edx + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x40], eax
mov al, byte [edx + 0x2e]
mov byte [esp + 0xf], al
mov byte [esp + 0x84], al
cmp al, 1
je 0x4799f1
mov eax, dword [ebx + 0x80]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
test byte [edx + 0x30], 1
je 0x479a4b
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x479a18
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x8f
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
jmp 0x479a4b
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x8f
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 edx, dword [esp + 0x5c]
test edx, edx
je 0x479aa4
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x479a71
push 0
push 1
push edx
mov edx, 0x56
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
jmp 0x479aa4
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x56
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
cmp dword [esp + 0x1c], 0
je 0x479b01
mov eax, dword [esp + 0x34]
xor ecx, ecx
cwde
mov dword [esp + 0x24], ecx
test eax, eax
jle 0x479af7
mov ebx, dword [esp + 0x1c]
nop
mov eax, dword [esp + 0x44]
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 + 0x28]
call fcn.00461160
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov edx, dword [esp + 0x34]
inc ecx
movsx eax, dx
mov dword [esp + 0x24], ecx
cmp ecx, eax
jl 0x479ac0
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x10], edx
jmp 0x479b62
inc dword [ebx + 0x2c]
mov ecx, dword [edi + 0x6c]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x10], edx
cmp dword [edi + 0x70], ecx
jg 0x479b2f
push 0
push edx
push dword [esp + 0x28]
mov edx, 0x87
mov ecx, edi
call fcn.00441fb0
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x479b62
mov esi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x87
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0xf], 0
je 0x479c2f
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x50]
movzx eax, ax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x68]
add eax, 2
cdq
push edx
push eax
call fcn.004190c0
mov ecx, eax
add esp, 8
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x479ba6
mov ecx, dword [esp + 0x48]
call fcn.004c07d0
jmp 0x47a398
mov eax, dword [esp + 0x68]
inc eax
push eax
push 1
push ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x74]
add esp, 0xc
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov byte [eax + edx + 1], 0
mov eax, dword [esp + 0x74]
test eax, eax
js 0x479bd6
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x40]
test eax, eax
js 0x479be4
sub eax, ecx
mov byte [eax + edx], 0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x479c20
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x479c20
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.00442b90
mov word [esi], 0xbb
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x14]
dec dword [ebx + 0x38]
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x3c], eax
jmp 0x479db7
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x479d53
inc dword [ebx + 0x2c]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], ecx
test ecx, ecx
jne 0x479c69
mov ecx, dword [ebx]
mov edx, eax
call fcn.004831d0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [edi + 0x6c]
mov eax, dword [esp + 0x34]
cwde
mov dword [esp + 0x74], ecx
cmp dword [edi + 0x70], ecx
jg 0x479c93
push edx
push eax
push dword [esp + 0x4c]
mov edx, 0x61
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
mov edx, eax
jmp 0x479cd1
mov esi, dword [esp + 0x44]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x34]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
movsx esi, bx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], edx
mov edx, dword [esp + 0x74]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x34]
movsx eax, cx
mov ecx, edi
push eax
push dword [esp + 0x34]
call fcn.00442d60
mov ecx, dword [edi + 0x6c]
add esp, 8
cmp dword [edi + 0x70], ecx
jg 0x479d17
mov ecx, dword [esp + 0x34]
mov edx, 0x8a
movsx eax, cx
mov ecx, edi
push eax
push dword [esp + 0x48]
push dword [esp + 0x18]
push dword [esp + 0x34]
call fcn.00441ff0
add esp, 0x10
jmp 0x479dae
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x34]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 0xc], edx
movsx edx, bx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xfd8a
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x479dae
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x24], 1
cmp dword [edi + 0x70], ecx
jg 0x479d7b
push 0
push edx
push dword [esp + 0x60]
mov edx, 0x9c
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
jmp 0x479dae
mov esi, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x9c
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x48]
call fcn.004c07d0
cmp byte [esp + 0x1b], 2
je 0x479e82
xor eax, eax
cmp byte [esp + 0xf], 2
mov dword [esp + 0x30], eax
jne 0x479e24
mov edx, dword [edi + 0x6c]
mov dword [esp + 0x30], edx
cmp dword [edi + 0x70], edx
jg 0x479df1
push eax
push eax
push eax
lea edx, [eax + 0xf]
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x479e24
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xf
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
lea eax, [esp + 0x70]
mov edx, esi
push eax
lea eax, [esp + 0x70]
mov ecx, ebx
push eax
push dword [esp + 0x54]
push dword [esp + 0x2c]
push 8
push 0x71
call fcn.004882f0
mov al, byte [esp + 0x27]
add esp, 0x18
cmp al, 2
jne 0x479e86
mov edx, dword [edi + 0x6c]
mov ecx, dword [esp + 0x30]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x479e61
mov dword [edi + 0x6c], eax
jmp 0x479e8e
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x479e73
mov eax, 0x5732c0
mov dword [eax + 8], edx
jmp 0x479e8e
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x479e8e
mov al, byte [esp + 0xf]
test al, al
je 0x479f18
cmp byte [esi + 0x2b], 1
je 0x479fb3
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x20]
mov edx, dword [esp + 0x6c]
cmp byte [eax + edx], 0
je 0x479fb3
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0x6c]
cwde
cmp dword [edi + 0x70], ecx
jg 0x479ed9
push eax
push dword [esp + 0x14]
mov ecx, edi
push dword [esp + 0x44]
push edx
mov edx, 0x1c
call fcn.00441ff0
add esp, 0x10
jmp 0x479fb3
mov esi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
movsx ebx, si
mov esi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0x10], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0xfd1c
mov dword [eax + ecx*4 + 0xc], edx
jmp 0x479fb7
cmp dword [esp + 0x1c], 0
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
mov dword [esp + 0x38], edx
je 0x47a0af
cmp eax, edx
jg 0x479f52
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x24
mov ecx, edi
call fcn.00441fb0
mov edx, dword [esp + 0x34]
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x479f85
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x24
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
cmp byte [esi + 0x2b], 1
mov ecx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
jne 0x47a062
cmp eax, ecx
jg 0x47a02a
push dword [esp + 0x10]
push 0
push edx
mov edx, 0x5e
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
mov edx, dword [esp + 0x10]
cmp byte [esi + 0x2b], 1
jne 0x47a204
mov esi, dword [esi + 0x34]
test esi, esi
je 0x479fdb
mov eax, dword [esp + 0x50]
nop dword [eax]
cmp dword [esi], eax
je 0x479fdb
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x479fd0
mov edx, dword [esp + 0x14]
mov ecx, ebx
call fcn.004adff0
mov eax, dword [ebx + 0x80]
mov ecx, ebx
test eax, eax
cmovne ecx, eax
cmp byte [esp + 0xf], 1
mov byte [ecx + 0x15], 1
jne 0x47a152
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x47a112
push 0
push 0
push dword [esp + 0x28]
mov edx, 0x7a
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
jmp 0x47a145
mov ebx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x479fb7
cmp eax, ecx
jg 0x47a077
push 0
push dword [esp + 0x14]
push edx
mov edx, 0x86
jmp 0x479fa9
mov esi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x479fb7
cmp eax, edx
jg 0x47a0d2
push dword [esp + 0x10]
mov edx, 0x2e
mov ecx, edi
push 0
push dword [esp + 0x60]
call fcn.00441fb0
mov dword [esp + 0x44], eax
jmp 0x479fb0
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x2e
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
jmp 0x479fb7
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x7a
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
cmp dword [ebx + 0x80], 0
jne 0x47a152
mov byte [ebx + 0x14], 0
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x47a175
push dword [esp + 0x10]
mov edx, 7
mov ecx, edi
push 1
push 0
call fcn.00441fb0
add esp, 0xc
mov edx, eax
jmp 0x47a1ac
mov ebx, dword [esp + 0x10]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 7
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 + 0x57], 0
jne 0x47a1eb
test edx, edx
jns 0x47a1bc
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x47a1dd
push 0xfffffffffffffff5
push esi
mov edx, eax
mov ecx, edi
call fcn.00442ca0
add esp, 8
jmp 0x47a1eb
test esi, esi
je 0x47a1eb
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf5
inc dword [esi + 0xc]
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x47a23f
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x47a23f
push dword [esp + 0x40]
cmp byte [ebx + 0x12], 0
mov ecx, ebx
push dword [esp + 0x88]
sete al
push 0xb
movzx eax, al
push eax
push dword [esp + 0x34]
push edx
push dword [esp + 0x88]
mov edx, esi
push dword [esp + 0x88]
push dword [esp + 0x74]
call fcn.0047a400
add esp, 0x24
cmp byte [esp + 0xf], 0
je 0x47a287
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47a270
push edx
mov edx, edi
call fcn.00442800
mov ecx, dword [esp + 0x4c]
add esp, 4
call fcn.004c07d0
jmp 0x47a363
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x48]
call fcn.004c07d0
jmp 0x47a363
cmp dword [esp + 0x1c], 0
mov ecx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
mov esi, dword [esp + 0x38]
je 0x47a2fc
lea edx, [esi + 1]
cmp eax, ecx
jg 0x47a2b7
push 0
push edx
push dword [esp + 0x30]
mov edx, 0x27
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
jmp 0x47a2ea
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x27
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x47a357
mov eax, 0x5732c0
jmp 0x47a360
cmp eax, ecx
jg 0x47a316
push 0
push esi
push 0
mov edx, 9
mov ecx, edi
call fcn.00441fb0
add esp, 0xc
jmp 0x47a345
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x47a357
mov eax, 0x5732c0
jmp 0x47a360
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp byte [ebx + 0x12], 0
jne 0x47a37f
cmp dword [ebx + 0x84], 0
jne 0x47a37f
cmp dword [ebx + 0x7c], 0
je 0x47a37f
mov ecx, ebx
call fcn.00483920
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x47a398
push str.rows_deleted
mov edx, eax
mov ecx, edi
call fcn.00478e50
add esp, 4
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x4c]
test eax, eax
je 0x47a3b5
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x104], ecx
jmp 0x47a3b5
xor esi, esi
mov ebx, dword [esp + 0x50]
mov ecx, ebx
mov edx, dword [esp + 0x60]
call fcn.00476d60
mov eax, dword [esp + 0x64]
test eax, eax
je 0x47a3d5
mov edx, eax
mov ecx, ebx
call fcn.0045c540
test esi, esi
je 0x47a3e2
mov edx, esi
mov ecx, ebx
call fcn.00418ce0
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054507b
mov esp, ebp
pop ebp
ret