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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
push edi
mov edi, ecx
mov byte [esp + 0xf], 0
mov esi, edx
mov dword [esp + 0x28], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], 0
mov eax, dword [edi + 8]
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], eax
call fcn.0043eb80
mov ecx, dword [esp + 0x48]
xorps xmm0, xmm0
mov esi, dword [esi + 0x14]
xor edx, edx
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x30], eax
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp + 0x14]
shl eax, 4
add eax, esi
mov dword [esp + 0x44], eax
cmp esi, eax
mov ecx, dword [ecx + 0x40]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
jae 0x471b9d
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], 1
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x10]
mov ecx, dword [esi]
mov dword [esp + 0x50], ecx
mov eax, dword [edx]
or eax, dword [edx + 4]
jne 0x4719f7
test byte [esi + 0x14], 2
jne 0x4719f7
test byte [ecx + 4], 1
jne 0x4719f7
mov dword [esp + 0x78], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov edx, ecx
movaps xmmword [esp + 0x60], xmm0
lea ecx, [esp + 0x60]
movq qword [esp + 0x70], xmm0
mov byte [esp + 0x74], 3
mov eax, dword [eax + 0x30]
mov dword [esp + 0x60], 0x43e790
mov dword [esp + 0x64], 0x43e8a0
mov dword [esp + 0x78], eax
call fcn.0043ac10
cmp byte [esp + 0x74], 0
je 0x4719f7
mov edx, dword [esp + 0x50]
mov ecx, dword [edi]
push 0
push 0
call fcn.0043d990
mov edx, dword [esp + 0x34]
mov ecx, dword [edi]
push eax
call fcn.0043d430
add esp, 0xc
mov dword [esp + 0x2c], eax
mov edx, dword [ebp + 8]
mov eax, dword [esi + 8]
cmp eax, dword [edx + 0x30]
jne 0x471b7e
test byte [esi + 0x12], 0x82
je 0x471b7e
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x471b7e
mov ecx, dword [esi + 0xc]
test ecx, ecx
js 0x471b7e
mov eax, dword [edx + 0x10]
lea ecx, [ecx + ecx*2]
mov eax, dword [eax + 4]
mov dl, byte [eax + ecx*8 + 0x15]
mov ecx, dword [esi]
call fcn.0043cd40
test eax, eax
je 0x471b7e
mov eax, dword [esi + 0xc]
cmp eax, 0x40
jl 0x471a65
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0x80000000
jmp 0x471a82
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov dword [esp + 0x24], ecx
cmovae edx, ecx
mov dword [esp + 0x1c], edx
cmp byte [esp + 0xf], 0
jne 0x471aaf
mov edx, dword [esp + 0x30]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 4]
push dword [eax + ecx*8]
push dword [edx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.0040ed50
add esp, 0x10
mov byte [esp + 0xf], 1
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
and ecx, dword [esp + 0x20]
and eax, dword [esp + 0x14]
or ecx, eax
jne 0x471b7e
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x34]
mov ecx, dword [edi]
mov dword [esp + 0x50], ecx
movzx eax, word [eax + 0x2c]
cmp eax, edx
jge 0x471b49
lea eax, [edx + 7]
and eax, 0xfffffff8
mov dword [esp + 0x3c], eax
shl eax, 2
push 0
push eax
call fcn.0040ce90
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x47244e
mov edx, dword [esp + 0x10]
movzx ecx, word [edx + 0x2c]
shl ecx, 2
push ecx
push dword [edx + 0x30]
push eax
call fcn.005cb890
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov edx, dword [ecx + 0x30]
lea eax, [ecx + 0x38]
cmp edx, eax
je 0x471b34
mov ecx, dword [esp + 0x50]
call fcn.0040cc10
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0x3c]
mov word [ecx + 0x2c], ax
jmp 0x471b4d
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
inc edx
mov eax, dword [ecx + 0x30]
inc dword [esp + 0x18]
mov dword [esp + 0x34], edx
mov dword [eax + edi*4], esi
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
or eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jmp 0x471b86
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add esi, 0x30
cmp esi, dword [esp + 0x44]
jb 0x471975
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
jmp 0x471ba1
mov esi, dword [esp + 0x50]
mov word [ecx + 0x28], dx
not eax
mov word [ecx + 0x18], dx
or eax, 0x80000000
mov edx, dword [ebp + 8]
not esi
mov dword [ecx + 0x24], 0x4241
mov ecx, dword [edx + 0x44]
and eax, ecx
and esi, dword [edx + 0x40]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], esi
xor esi, esi
mov dword [esp + 0x50], ecx
movzx edx, word [eax + 0x22]
mov eax, 0x3f
mov dword [esp + 0x40], edx
cmp ax, dx
jge 0x471bee
mov dword [esp + 0x34], eax
jmp 0x471bf9
movsx eax, dx
mov dword [esp + 0x34], eax
test eax, eax
jle 0x471c38
mov edi, dword [esp + 0x34]
nop dword [eax]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x20]
and ecx, dword [esp + 0x14]
or edx, ecx
je 0x471c27
inc dword [esp + 0x18]
inc esi
cmp esi, edi
jl 0x471c00
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
and ecx, 0x80000000
xor eax, eax
or eax, ecx
mov ecx, dword [esp + 0x18]
je 0x471c54
movsx eax, dx
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x18], ecx
lea eax, [ecx + 1]
movzx eax, ax
mov dword [esp + 0x40], eax
cwde
lea ecx, [eax*4 + 7]
lea eax, [eax + eax*4]
and ecx, 0xfffffff8
add eax, 9
mov dword [esp + 0x3c], ecx
and eax, 0xfffffff8
add ecx, 0x38
add eax, ecx
mov ecx, dword [edi]
cdq
push edx
push eax
mov dword [esp + 0x58], eax
call fcn.0040ce90
mov esi, eax
add esp, 8
mov dword [esp + 0x1c], esi
test esi, esi
je 0x47244e
push dword [esp + 0x50]
push 0
push esi
call fcn.005cbe10
mov eax, dword [esp + 0x4c]
lea ecx, [esi + 0x38]
movsx edx, ax
add esp, 0xc
mov dword [esi + 0x20], ecx
xorps xmm0, xmm0
add ecx, dword [esp + 0x3c]
mov dword [esi + 8], ecx
lea eax, [edx + 1]
movlpd qword [esp + 0x50], xmm0
lea eax, [ecx + eax*2]
mov dword [esi + 4], eax
lea eax, [eax + edx*2]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x40]
mov word [esi + 0x30], ax
dec eax
mov word [esi + 0x2e], ax
mov eax, dword [esp + 0x10]
mov dword [eax + 0x1c], esi
mov eax, dword [esp + 0x30]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esi], str.auto_index
xor esi, esi
mov edx, dword [eax + 0x14]
mov dword [esp + 0x24], edx
cmp edx, dword [esp + 0x44]
jae 0x471e64
mov eax, dword [esp + 0x54]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 8]
cmp eax, dword [ecx + 0x30]
jne 0x471e53
test byte [edx + 0x12], 0x82
je 0x471e53
mov ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x24]
and ecx, dword [ebp + 0xc]
and eax, dword [ebp + 0x10]
or ecx, eax
jne 0x471e50
mov ecx, dword [edx + 0xc]
test ecx, ecx
js 0x471e50
mov eax, dword [ebp + 8]
lea ecx, [ecx + ecx*2]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 4]
mov dl, byte [eax + ecx*8 + 0x15]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
call fcn.0043cd40
mov edx, dword [esp + 0x24]
test eax, eax
je 0x471e50
mov eax, dword [edx + 0xc]
cmp eax, 0x40
jl 0x471d90
xor eax, eax
mov dword [esp + 0x3c], 0x80000000
jmp 0x471db5
mov dword [esp + 0x50], eax
xor ecx, ecx
mov edi, dword [esp + 0x50]
xor eax, eax
bts eax, edi
cmp edi, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edi, 0x40
mov edi, dword [esp + 0x28]
cmovae ecx, eax
mov dword [esp + 0x3c], ecx
mov ecx, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
and ecx, dword [esp + 0x38]
and eax, dword [esp + 0x40]
or ecx, eax
jne 0x471e50
mov eax, dword [esp + 0x38]
or eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x3c]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
mov ax, word [eax + 0xc]
mov word [ecx + esi*2], ax
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0xc]
mov dword [esp + 0x50], eax
test dword [edx + 4], 0x100
jne 0x471e2f
test eax, eax
je 0x471e20
test dword [eax + 4], 0x100
je 0x471e20
mov edx, eax
jmp 0x471e2f
mov ecx, edi
call fcn.0043cb20
test eax, eax
jne 0x471e3f
mov edx, dword [esp + 0x50]
mov ecx, edi
call fcn.0043cb20
mov ecx, str.BINARY
test eax, eax
je 0x471e41
mov ecx, dword [eax]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 0x20]
mov dword [eax + esi*4], ecx
inc esi
mov ecx, dword [ebp + 8]
add edx, 0x30
mov dword [esp + 0x24], edx
cmp edx, dword [esp + 0x44]
jb 0x471d20
cmp dword [esp + 0x34], 0
jle 0x471eb4
xor edi, edi
nop dword [eax]
xor edx, edx
xor ecx, ecx
mov eax, edi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x20]
and ecx, dword [esp + 0x14]
or edx, ecx
je 0x471ea9
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov word [eax + esi*2], di
mov eax, dword [ecx + 0x20]
mov dword [eax + esi*4], str.BINARY
inc esi
inc edi
cmp edi, dword [esp + 0x34]
jl 0x471e70
mov edi, dword [esp + 0x28]
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax + 0x44]
xor eax, eax
and ecx, 0x80000000
or eax, ecx
je 0x471eff
mov eax, dword [esp + 0x30]
mov ecx, 0x3f
cmp cx, word [eax + 0x22]
jge 0x471eff
mov edi, eax
nop dword [eax + eax]
mov eax, dword [edx + 4]
mov word [eax + esi*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + esi*4], str.BINARY
inc esi
movsx eax, word [edi + 0x22]
cmp ecx, eax
jl 0x471ee0
mov edi, dword [esp + 0x28]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp + 0x14]
mov dword [eax + esi*4], str.BINARY
mov eax, dword [edi + 0x44]
mov esi, dword [esp + 0x4c]
mov dword [ecx + 8], eax
inc dword [edi + 0x44]
mov eax, dword [ecx + 8]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x50], ecx
cmp dword [eax + 0x54], ecx
jg 0x471f48
mov ecx, esi
call fcn.00429f80
test eax, eax
jne 0x471f7c
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x38
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x18]
inc eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
mov eax, dword [edi + 8]
mov ecx, edi
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x50], eax
call fcn.0044c930
mov edx, dword [esp + 0x50]
mov dword [esp + 0x40], eax
mov esi, dword [edx + 4]
test esi, esi
mov ecx, dword [edx]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x4c]
je 0x471ff8
cmp byte [ecx + 0x41], 0
jne 0x471ff8
mov edx, dword [edx + 0x20]
dec edx
lea eax, [edx + edx*4]
mov edx, dword [esp + 0x50]
lea edx, [edx + eax*4]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x50]
push dword [edx + eax*4 + 0x10]
movsx edx, byte [edx + eax*4 + 1]
call fcn.0042a760
mov eax, dword [esp + 0x48]
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x10], 0
test ecx, ecx
jne 0x471fef
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
jmp 0x472006
mov dword [eax + 0x10], ecx
mov byte [eax + 1], 0xfa
jmp 0x472006
push eax
mov edx, 0xfffffffa
call fcn.0042a760
add esp, 4
mov edx, dword [ebp + 0x14]
inc dword [edi + 0x64]
movzx eax, byte [edx + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x48]
shl ecx, 4
mov eax, dword [eax]
mov eax, dword [eax + 4]
add eax, 8
add eax, ecx
mov dword [esp + 0x44], eax
test byte [eax + 0x28], 4
je 0x4720ce
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x48], ecx
cmp dword [eax + 0x54], ecx
jg 0x47205e
mov ecx, esi
call fcn.00429f80
test eax, eax
jne 0x472092
mov ecx, dword [esp + 0x48]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x18], edx
cmp dword [eax + 0x54], edx
jg 0x4720bd
mov ecx, esi
call fcn.00429f80
test eax, eax
je 0x4720b9
mov dword [esp + 0x18], 1
jmp 0x472131
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x14
jmp 0x47210c
mov eax, dword [edx + 4]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x18], edx
cmp dword [eax + 0x54], edx
jg 0x4720fd
mov ecx, esi
call fcn.00429f80
test eax, eax
je 0x4720f9
mov dword [esp + 0x18], 1
jmp 0x472131
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
inc dword [esi + 0x20]
mov word [eax + ecx*4], 0x6d
mov edx, dword [esp + 0x50]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov byte [eax + ecx*4 + 3], 0
cmp dword [esp + 0x2c], 0
je 0x4721ac
mov edx, dword [esi + 0x18]
mov dword [esp + 0x50], edx
mov ecx, dword [edx + 0x6c]
mov dword [esp + 0x58], ecx
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea eax, [ecx - 1]
test ecx, eax
jne 0x472179
mov edx, dword [edx + 0x70]
lea eax, [ecx*8 + 4]
mov ecx, dword [esp + 0x50]
push 0
push eax
mov ecx, dword [ecx]
call fcn.0040cff0
mov edx, dword [esp + 0x58]
add esp, 8
mov ecx, dword [esp + 0x58]
mov dword [edx + 0x70], eax
mov eax, dword [edx + 0x70]
test eax, eax
je 0x472187
mov dword [eax + ecx*4], 0xffffffff
mov edx, dword [esp + 0x2c]
or eax, 0xffffffff
sub eax, ecx
mov ecx, edi
push 0x10
push eax
mov dword [esp + 0x60], eax
call fcn.00441f60
mov eax, dword [esp + 0x18]
add esp, 8
or dword [eax + 0x24], 0x20000
mov al, byte [edi + 0x13]
test al, al
jne 0x4721bb
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
jmp 0x4721c7
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x1c]
push 0
push 0
push 0
push 0
push eax
push dword [ecx + 4]
mov ecx, edi
mov dword [esp + 0x60], eax
call fcn.0044e7a0
mov eax, dword [ebp + 0x14]
add esp, 0x18
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], ecx
jg 0x472210
mov ecx, esi
call fcn.00429f80
test eax, eax
jne 0x472244
mov ecx, dword [esp + 0x50]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x6f
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x472256
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x10
cmp dword [esp + 0x2c], 0
je 0x472289
mov edx, dword [esi + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x58]
mov dword [esp + 0x58], eax
js 0x472282
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x472282
mov edi, dword [esp + 0x58]
mov eax, dword [esi + 0x20]
mov dword [ecx + edi*4], eax
mov edi, dword [esp + 0x28]
mov eax, dword [esi + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x44]
test byte [eax + 0x28], 4
je 0x47237c
push dword [eax + 0x20]
mov eax, dword [ebp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x1c]
push dword [eax + 4]
call fcn.00471850
mov eax, dword [esi + 0x18]
add esp, 8
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x58], ecx
cmp dword [eax + 0x54], ecx
jg 0x4722cc
mov ecx, esi
call fcn.00429f80
test eax, eax
jne 0x472300
mov ecx, dword [esp + 0x58]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
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
mov eax, dword [esp + 0x44]
and dword [eax + 0x28], 0xfffffffb
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x47231e
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 3
cmp dword [esi + 0x20], edx
jbe 0x472330
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
mov edx, dword [esi + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov edx, dword [esp + 0x48]
mov dword [eax + 0x58], ecx
test edx, edx
je 0x4723e6
mov al, byte [edi + 0x13]
mov byte [esp + 0xf], al
cmp al, 8
jae 0x4723e6
xor ecx, ecx
lea eax, [edi + 0x74]
nop word [eax + eax]
cmp dword [eax + 0xc], edx
je 0x4723e2
inc ecx
add eax, 0x14
cmp ecx, 0xa
jl 0x472360
movzx eax, byte [esp + 0xf]
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x13]
jmp 0x4723e6
mov eax, dword [ebp + 0x14]
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x58], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x54], ecx
jg 0x4723a8
mov ecx, esi
call fcn.00429f80
test eax, eax
jne 0x472308
mov ecx, dword [esp + 0x58]
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x20]
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4], 8
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x50]
mov byte [ecx + 3], 0
mov dword [ecx + 4], eax
lea eax, [edx + 1]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
jmp 0x47230c
mov byte [eax + 6], 1
dec dword [edi + 0x64]
lea ecx, [edi + 0x80]
mov esi, 0xa
mov edx, dword [ecx]
test edx, edx
je 0x472423
mov eax, dword [ecx - 4]
cmp eax, dword [edi + 0x64]
jle 0x472423
cmp byte [ecx - 6], 0
je 0x47241d
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x472419
movzx eax, al
mov dword [edi + eax*4 + 0x18], edx
inc byte [edi + 0x13]
mov byte [ecx - 6], 0
mov dword [ecx], 0
add ecx, 0x14
sub esi, 1
jne 0x4723f4
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x5c]
mov edx, dword [esi + 0x20]
cmp edx, eax
jbe 0x472444
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x58], ecx
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi]
call fcn.0043d820
pop edi
pop esi
mov esp, ebp
pop ebp
ret