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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, ecx
mov dword [esp + 0x1c], edx
push esi
push edi
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [eax + 8]
mov ecx, dword [eax]
mov dword [esp + 0x10], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x1c], ecx
movaps xmmword [esp + 0x60], xmm0
movq qword [esp + 0x70], xmm0
test edi, edi
je 0x4a92cd
cmp dword [edi], 0x40
mov dword [esp + 0x20], 0
cmovge edi, dword [esp + 0x20]
mov dword [ebp + 0xc], edi
mov edx, dword [edx]
cmp edx, 0x40
jle 0x4a92ec
push 0x40
push str.at_most__d_tables_in_a_join
push eax
call fcn.00417860
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
test al, 0x20
mov dword [esp + 0x18], eax
mov eax, 1
cmovne edx, eax
push 0
mov dword [esp + 0x48], edx
lea eax, [edx + edx*2]
shl eax, 5
mov dword [esp + 0x24], eax
add eax, 0x2ff
and eax, 0xfffffff8
mov dword [esp + 0x2c], eax
add eax, 0x50
push eax
call fcn.00413890
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
cmp byte [eax + 0x57], 0
je 0x4a9347
push ecx
push eax
call fcn.00413560
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
xorps xmm0, xmm0
mov eax, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [ecx], edx
mov dword [ecx + 8], edi
mov dword [ecx + 0x18], 0xffffffff
mov dword [ecx + 0x14], 0xffffffff
mov byte [ecx + 0x2c], al
mov eax, dword [edx + 0x38]
dec eax
mov dword [edx + 0x38], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x18]
mov word [ecx + 0x28], ax
mov eax, dword [ebp + 0x1c]
mov word [ecx + 0x2a], ax
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0x8c]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x20]
movups xmmword [ecx + 0x2d], xmm0
add eax, 0x50
movups xmmword [ecx + 0x3d], xmm0
mov word [ecx + 0x4d], 0
push eax
mov byte [ecx + 0x4f], 0
add ecx, 0x2f8
push 0
push ecx
mov dword [esp + 0x4c], ecx
call sub.VCRUNTIME140.dll_memset
mov edx, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [esp + 0x28]
add ecx, edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x68], ecx
mov dword [edx + 0x1f4], 0
lea eax, [edx + 0x50]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x64], eax
lea eax, [ecx + 0x40]
mov dword [edx + 0x1f8], 0xffffff9d
mov dword [ecx + 0x38], eax
xor eax, eax
mov word [ecx + 0x30], ax
mov eax, 3
mov word [ecx + 0x34], ax
mov dword [ecx + 0x2c], 0
lea ecx, [edx + 0x50]
mov dword [ecx], edx
lea eax, [ecx + 0x20]
mov edx, dword [ebp + 8]
push 0x2c
mov byte [ecx + 9], 0
mov dword [ecx + 4], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 8
mov dword [ecx + 0x18], eax
call fcn.004a19d0
add esp, 4
cmp dword [esp + 0x44], 0
jne 0x4a949e
mov ecx, dword [esp + 0xc]
test edi, edi
je 0x4a946c
mov al, byte [edi]
mov byte [ecx + 0x2d], al
test dword [esp + 0x18], 0x100
je 0x4a9484
mov eax, dword [esp + 0x1c]
test byte [eax + 0x50], 0x10
jne 0x4a9484
mov byte [ecx + 0x2f], 1
mov edx, dword [esp + 0x10]
push str.SCAN_CONSTANT_ROW
push 0
push edx
call fcn.00437550
mov eax, dword [esp + 0x30]
add esp, 0xc
jmp 0x4a94ec
mov edi, dword [esp + 0x24]
xor esi, esi
add edi, 8
nop word [eax + eax]
mov edx, dword [esp + 0xc]
mov eax, dword [edi + 0x2c]
mov ecx, dword [edx + 0x1f4]
mov dword [edx + ecx*4 + 0x1f8], eax
lea eax, [edx + 0x50]
inc dword [edx + 0x1f4]
mov edx, edi
mov ecx, dword [esp + 0x10]
push eax
call fcn.004a1fe0
mov eax, dword [esp + 0x28]
inc esi
add esp, 4
add edi, 0x48
cmp esi, dword [eax]
jl 0x4a94b0
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
mov edi, dword [ecx + 0xc]
sub edi, 1
js 0x4a951a
mov esi, ecx
nop word [eax + eax]
push edi
mov edx, esi
mov ecx, eax
call fcn.004a08d0
mov eax, dword [esp + 0x28]
add esp, 4
sub edi, 1
jns 0x4a9500
mov esi, dword [esp + 0x4c]
mov eax, dword [ebp + 0x14]
mov edi, dword [esp + 0x3c]
test eax, eax
je 0x4a9534
cmp dword [eax + 0x3c], 0
je 0x4a9534
mov edx, eax
mov ecx, edi
call fcn.004a1bf0
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
jne 0x4a96e9
cmp dword [edi + 0x14], 0
jle 0x4a962a
xor edx, edx
xor esi, esi
mov dword [esp + 0x30], edx
mov edi, dword [edi + 0x18]
add edi, edx
test byte [edi + 0xa], 2
jne 0x4a960d
mov eax, dword [edi + 0x28]
or eax, dword [edi + 0x2c]
mov ecx, dword [edi]
mov dword [esp + 0x20], ecx
jne 0x4a960d
cmp dword [esp + 0x44], eax
je 0x4a95de
mov dword [esp + 0x98], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
mov eax, 1
movq qword [esp + 0x90], xmm0
mov word [esp + 0x94], ax
mov dword [esp + 0x84], 0x4a8ca0
mov dword [esp + 0x88], 0x450110
test ecx, ecx
je 0x4a95de
mov edx, ecx
lea ecx, [esp + 0x80]
call fcn.0044a1e0
cmp word [esp + 0x94], 0
mov edx, dword [esp + 0x30]
je 0x4a960d
mov ecx, dword [esp + 0x20]
test byte [ecx + 4], 2
je 0x4a95ee
mov eax, dword [esp + 0x24]
test byte [eax + 0x2c], 0x40
jne 0x4a960d
mov eax, dword [esp + 0xc]
push 0x10
push dword [eax + 0x20]
push ecx
push dword [esp + 0x1c]
call fcn.00456af0
mov edx, dword [esp + 0x40]
add esp, 0x10
or word [edi + 0xa], 4
mov edi, dword [esp + 0x3c]
inc esi
add edx, 0x30
mov dword [esp + 0x30], edx
cmp esi, dword [edi + 0x14]
jl 0x4a9554
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov edi, dword [ebp + 0x10]
test edx, 0x100
je 0x4a9694
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0x50], 0x10
je 0x4a965c
mov eax, dword [esp + 0xc]
and edx, 0xfeff
mov ecx, 0xfeff
mov dword [esp + 0x18], edx
and word [eax + 0x28], cx
jmp 0x4a9694
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
push edi
push ecx
mov ecx, eax
call fcn.004a2780
add esp, 8
test eax, eax
je 0x4a967e
mov eax, dword [esp + 0xc]
mov byte [eax + 0x2f], 1
jmp 0x4a9694
cmp dword [ebp + 0xc], 0
jne 0x4a9694
mov eax, dword [esp + 0xc]
mov ecx, 0x80
or word [eax + 0x28], cx
mov dword [eax + 8], edi
cmp dword [esp + 0x44], 1
jne 0x4a96a8
lea ecx, [esp + 0x60]
call fcn.004a8a50
test eax, eax
jne 0x4a970d
lea ecx, [esp + 0x60]
call fcn.004a73b0
test eax, eax
jne 0x4a96e9
mov ecx, dword [esp + 0xc]
xor edx, edx
call fcn.004a8010
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0x57], 0
jne 0x4a96e9
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 8], 0
je 0x4a971b
movzx edx, word [ecx + 0x34]
inc dx
call fcn.004a8010
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0x57], 0
je 0x4a9711
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [edx + 0x8c], eax
mov edx, edi
call fcn.004a4600
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 8], 0
jne 0x4a9736
mov eax, dword [edx + 0x20]
and eax, 0x1000
or eax, 0
je 0x4a9736
mov dword [ecx + 0x48], 0xffffffff
mov dword [ecx + 0x4c], 0xffffffff
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
jne 0x4a96e9
mov al, byte [ecx + 0x2c]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x30], 0xffffffff
cmp al, 2
jb 0x4a97b3
test edi, edi
je 0x4a9799
mov eax, dword [esp + 0x18]
xor edi, edi
and eax, 0x400
cmp di, ax
jne 0x4a9799
test dword [edx + 0x50], 0x100
jne 0x4a9799
sub esp, 8
call fcn.004a8cd0
mov dword [esp + 0x60], eax
add esp, 8
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], edx
mov al, byte [eax + 0x2c]
movzx ecx, al
mov dword [esp + 0x44], ecx
cmp al, 2
jb 0x4a97b3
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
test dword [eax + 0x50], 0x80000
jne 0x4a97b7
mov ecx, edi
call fcn.004a8ed0
jmp 0x4a97b7
mov edi, dword [esp + 0xc]
mov ecx, dword [edi]
movsx eax, word [edi + 0x34]
mov dword [esp + 0x48], 0
add dword [ecx + 0x8c], eax
mov eax, dword [esp + 0x18]
test al, 4
je 0x4a9863
mov edx, dword [edi + 0x348]
mov ecx, dword [edx + 0x2c]
test ecx, 0x1000
jne 0x4a9820
mov dword [esp + 0x48], 0
test al, 8
je 0x4a9863
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], 0
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x2b], 1
je 0x4a9863
test ecx, 0x2000
je 0x4a9820
test byte [esp + 0x18], 0x10
mov dword [esp + 0x48], 0
je 0x4a9863
mov eax, ecx
mov dword [esp + 0x48], 0
and eax, 0x1000
neg eax
sbb al, al
add al, 2
mov byte [edi + 0x2e], al
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x18]
test byte [eax + 0x1c], 0x80
jne 0x4a9863
mov dword [esp + 0x48], 0
test cl, 0x40
je 0x4a9863
mov eax, dword [esp + 0x18]
and ecx, 0xffffffbf
and eax, 8
mov dword [edx + 0x2c], ecx
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x44]
lea eax, [edi + 0x2f8]
mov dword [esp + 0x50], eax
mov edx, eax
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x4a9fc4
movzx eax, byte [edx + 0x3c]
mov edx, 0xffff8000
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea eax, [ecx + eax*8]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x4a98d3
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4a98cf
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4a98c3
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x14]
test dword [eax + 0x1c], 0x4000
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx + 0x50]
mov dword [esp + 0x34], ecx
jne 0x4a9b24
mov al, byte [eax + 0x2b]
cmp al, 2
je 0x4a998e
mov ecx, dword [ecx + 0x2c]
test ecx, 0x400
je 0x4a99e8
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x34]
test edi, edi
je 0x4a991f
mov eax, dword [esp + 0x1c]
cmp dword [edi], eax
je 0x4a991f
mov edi, dword [edi + 0x18]
test edi, edi
jne 0x4a9914
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x2c]
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x28], eax
cmp dword [esi + 0x70], edx
jg 0x4a994a
push 0
push 0
push eax
mov edx, 0xad
mov ecx, esi
call fcn.00437140
add esp, 0xc
mov edx, eax
jmp 0x4a9981
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0xad
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff5
push edi
mov ecx, esi
call fcn.00437de0
add esp, 8
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
test dword [edx + 0x2c], 0x200
je 0x4a9ca1
test byte [eax + 0x1c], 0x80
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x54], 0x70
je 0x4a9b2d
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
mov eax, dword [esp + 0x18]
jne 0x4a9b31
test al, 0x20
je 0x4a9b31
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 4]
mov dword [ecx + 8], eax
jmp 0x4a9ca1
cmp al, 1
je 0x4a998e
test cl, 0x40
jne 0x4a99f8
test byte [esp + 0x18], 0x20
je 0x4a9a3c
mov eax, dword [esp + 0x38]
test byte [eax + 0x24], 0x50
jne 0x4a9a40
mov edi, dword [esp + 0x10]
cmp edx, 1
je 0x4a9992
mov eax, dword [edi]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x4a9992
mov eax, dword [esp + 0x14]
mov ecx, edi
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.0045f660
add esp, 0xc
jmp 0x4a9992
mov eax, dword [esp + 0x38]
cmp byte [edi + 0x2e], 0
mov ecx, 0x70
je 0x4a9a56
mov eax, dword [eax + 0x2c]
mov ecx, 0x71
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push edx
mov edx, dword [esp + 0x44]
mov edx, dword [edx + 0x2c]
call fcn.004728d0
add esp, 0xc
cmp byte [edi + 0x2e], 0
jne 0x4a9b01
mov eax, dword [esp + 0x14]
cmp word [eax + 0x22], 0x40
jge 0x4a9b01
test byte [eax + 0x1c], 0xe0
jne 0x4a9b01
mov eax, dword [esp + 0x34]
test dword [eax + 0x2c], 0x404000
jne 0x4a9b01
mov eax, dword [esp + 0x38]
xor edi, edi
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov eax, edx
or eax, ecx
je 0x4a9abd
nop
shrd edx, ecx, 1
inc edi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x4a9ab0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4a9ad5
push edi
mov edx, 0xfffffffd
call fcn.00437b50
add esp, 4
jmp 0x4a9b01
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x4a9afa
push 0xfffffffffffffffd
push edi
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.00437d00
add esp, 8
jmp 0x4a9b01
mov dword [eax - 4], edi
mov byte [eax - 0x13], 0xfd
mov eax, dword [esi + 0x6c]
mov edi, dword [esp + 0x10]
test eax, eax
jle 0x4a9992
mov edx, dword [esp + 0x48]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4a9992
mov edi, dword [esp + 0x10]
jmp 0x4a9996
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
cmp byte [edx + 0x2e], 0
je 0x4a9b69
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x5c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x4a9b5c
nop dword [eax]
cmp eax, ecx
je 0x4a9b5c
mov eax, dword [eax + 0x14]
inc edi
test eax, eax
jne 0x4a9b50
mov dword [esp + 0x54], 0x71
mov dword [edx + 0x18], edi
jmp 0x4a9bc5
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x4a9b81
test al, 0x20
je 0x4a9b81
mov edi, edx
mov dword [esp + 0x54], 0x65
jmp 0x4a9bc5
mov edi, dword [edi + 0x28]
mov edx, dword [esp + 0x10]
lea eax, [edi + 1]
mov dword [edx + 0x28], eax
test dword [ecx + 0x38], 0x800
je 0x4a9bbd
mov eax, dword [esp + 0x1c]
test dword [eax + 0x50], 0x1000000
jne 0x4a9bbd
push dword [esp + 0x38]
mov edx, ecx
mov ecx, dword [esp + 0x14]
push edi
call fcn.004a9010
mov ecx, dword [esp + 0x30]
add esp, 8
jmp 0x4a9bc5
mov dword [esp + 0x54], 0x70
mov edx, dword [esp + 0x50]
mov eax, edi
mov dword [edx + 8], eax
mov edx, dword [ecx + 0x2c]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a9bf0
mov ecx, dword [esp + 0x2c]
push ecx
push edx
mov edx, dword [esp + 0x5c]
mov ecx, esi
push edi
call fcn.00437140
add esp, 0xc
jmp 0x4a9c26
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x54]
mov byte [eax + 1], 0
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x10]
mov ecx, eax
mov edx, dword [esp + 0x28]
mov edi, dword [eax + 8]
call fcn.00468e70
mov edx, eax
test edx, edx
je 0x4a9c68
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4a9c56
push edx
mov edx, 0xfffffff8
call fcn.00437b50
add esp, 4
jmp 0x4a9c68
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x2c]
test al, 0xf
je 0x4a9ca1
test eax, 0x188002
jne 0x4a9ca1
mov eax, dword [esp + 0xc]
test byte [eax + 0x28], 1
jne 0x4a9ca1
cmp byte [eax + 0x2f], 2
je 0x4a9ca1
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x4a9ca1
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
js 0x4a9cd5
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x78]
test eax, eax
cmovne edx, eax
mov eax, 1
shl eax, cl
mov edi, dword [edx + 0x58]
test edi, eax
jne 0x4a9cd5
bts edi, ecx
mov dword [edx + 0x58], edi
cmp ecx, 1
jne 0x4a9cd5
mov ecx, edx
call fcn.004685d0
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0xc]
test byte [eax + 0x24], 0x10
je 0x4a9fa4
mov ecx, dword [edi]
push 0
push 0x24
mov ecx, dword [ecx]
call fcn.00413890
mov edx, eax
mov dword [esp + 0x34], eax
add esp, 8
test edx, edx
je 0x4a9d1e
mov ecx, dword [edi + 0x44]
mov dword [edx], ecx
mov dword [edx + 8], 0x14
mov dword [edx + 0xc], 0
mov dword [edi + 0x44], edx
add edx, 0x10
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x50]
mov dword [eax + 0x38], edx
test edx, edx
je 0x4a9fa4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x28]
mov dword [edx], eax
inc dword [ecx + 0x2c]
inc dword [ecx + 0x28]
mov edi, dword [ecx + 0x2c]
mov dword [edx + 4], edi
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a9d63
push 0
push edi
push 0x10000
mov edx, 0x4d
mov ecx, esi
call fcn.00437140
add esp, 0xc
jmp 0x4a9d92
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4d
mov dword [eax + ecx*4 + 4], 0x10000
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
inc dword [eax + 0x2c]
mov edi, dword [eax + 0x2c]
mov dword [edx + 8], edi
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4a9dc1
push 0
push edi
push 0
mov edx, 0x4b
mov ecx, esi
call fcn.00437140
add esp, 0xc
jmp 0x4a9df0
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
test byte [eax + 0x1c], 0x80
jne 0x4a9ed7
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
cmp dword [esi + 0x70], ecx
jg 0x4a9e22
push 0
push 1
push edx
mov edx, 0x76
mov ecx, esi
call fcn.00437140
add esp, 0xc
jmp 0x4a9e51
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x76
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 + 0x10]
push 0
push 0x19
mov edi, dword [eax]
mov ecx, edi
call fcn.00413890
mov edx, eax
add esp, 8
test edx, edx
je 0x4a9e8c
lea ecx, [edx + 0x18]
mov dword [edx + 6], 0x10001
mov dword [edx + 0x10], ecx
mov al, byte [edi + 0x54]
mov byte [edx + 4], al
mov dword [edx + 0xc], edi
mov dword [edx], 1
mov byte [ecx], 0
jmp 0x4a9e9d
mov ecx, edi
call fcn.00413c70
mov edx, eax
test edx, edx
je 0x4a9f90
mov eax, dword [edx + 0x10]
mov dword [edx + 0x14], 0
mov byte [eax], 0
mov ecx, dword [esi]
cmp byte [ecx + 0x57], 0
je 0x4a9ec5
push edx
mov edx, 0xfffffff8
call fcn.00437b50
add esp, 4
jmp 0x4a9f90
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 - 4], edx
jmp 0x4a9f8b
mov edi, dword [eax + 8]
test edi, edi
je 0x4a9ef0
nop
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
je 0x4a9ef0
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x4a9ee0
movzx eax, word [edi + 0x32]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
mov dword [esp + 0x28], eax
cmp dword [esi + 0x70], ecx
jg 0x4a9f17
push 0
push eax
push edx
mov edx, 0x76
mov ecx, esi
call fcn.00437140
add esp, 0xc
jmp 0x4a9f4a
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
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 ecx, dword [esp + 0x10]
mov edx, edi
mov eax, dword [ecx + 8]
mov dword [esp + 0x28], eax
call fcn.00468e70
mov edi, eax
test edi, edi
je 0x4a9f90
mov edx, dword [esp + 0x28]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x4a9f7e
push edi
mov edx, 0xfffffff8
call fcn.00437b50
add esp, 4
jmp 0x4a9f90
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4 - 4], edi
mov byte [eax + ecx*4 - 0x13], 0xf8
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0xc]
and dword [eax + 0x2c], 0xffffffbf
mov byte [edi + 0x2d], 0
mov byte [edi + 0x2f], 3
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x50]
inc eax
mov ecx, dword [esp + 0x44]
add edx, 0x60
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], edx
cmp eax, ecx
jl 0x4a9883
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x57], 0
jne 0x4a96ed
xor edi, edi
mov dword [esp + 0x34], edi
test ecx, ecx
jle 0x4aa224
nop word [eax + eax]
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
jne 0x4a96e9
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx + 0x50]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x28], eax
movzx eax, byte [ecx + 0x3c]
lea eax, [eax + eax*8]
lea edx, [edx + eax*8]
mov eax, dword [edx + 0x30]
mov dword [esp + 0x20], edx
test al, 0x10
je 0x4aa15f
test al, 8
je 0x4aa087
mov ecx, dword [esi + 0x6c]
mov edi, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
cmp dword [esi + 0x70], ecx
jg 0x4aa053
push 0
push edi
push edx
mov edx, 0xa
mov ecx, esi
call fcn.00437140
add esp, 0xc
jmp 0x4aa157
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4aa157
mov edi, dword [esi + 0x6c]
cmp dword [esi + 0x70], edi
jg 0x4aa0a8
push 0
push 0
push 0
mov edx, 0xf
mov ecx, esi
call fcn.00437140
add esp, 0xc
mov edi, eax
jmp 0x4aa0db
lea eax, [edi + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 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
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x6c]
mov eax, dword [edx + 0x20]
mov edx, dword [edx + 0x24]
mov dword [esp + 0x20], eax
cmp dword [esi + 0x70], ecx
jg 0x4aa106
push 0
push eax
push edx
mov edx, 0xa
mov ecx, esi
call fcn.00437140
add esp, 0xc
jmp 0x4aa139
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4aa14b
mov eax, 0x5160d8
jmp 0x4aa154
mov eax, dword [esi + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x28]
test eax, 0x404000
je 0x4aa1ae
test eax, 0x4000
je 0x4aa189
mov edx, dword [esp + 0x3c]
push ecx
push dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x60]
call fcn.004a2b30
jmp 0x4aa19d
push dword [esp + 0x30]
mov edx, edi
push dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004a3680
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp byte [eax + 0x57], 0
jne 0x4a96e9
push dword [esp + 0x18]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push eax
call fcn.00499af0
push dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
mov edx, esi
push dword [esp + 0x64]
mov eax, dword [esi + 0x6c]
push ecx
push edi
push dword [esp + 0x24]
mov dword [ecx + 0x20], eax
mov ecx, dword [esp + 0x2c]
call fcn.0049b670
mov ecx, dword [esp + 0x28]
inc edi
mov dword [esp + 0x4c], edx
add esp, 0x1c
mov edx, dword [esp + 0x40]
mov dword [esp + 0x58], eax
mov dword [esp + 0x34], edi
mov eax, dword [edx + 0x18]
add edx, 0x60
mov dword [ecx + 0x1c], eax
mov dword [esp + 0x40], edx
cmp edi, dword [esp + 0x44]
jl 0x4a9ff0
mov eax, dword [esi + 0x6c]
mov dword [ecx + 0x3c], eax
mov eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x6c]
pop edi
pop esi
mov dword [ecx + 0x3c], eax
mov eax, ecx
mov esp, ebp
pop ebp
ret