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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, ecx
mov dword [esp + 0xc], edx
push esi
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [esp + 8], eax
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax]
mov byte [esp + 7], 0
mov dword [esp + 0x18], ecx
movaps xmmword [esp + 0x4c], xmm0
movq qword [esp + 0x5c], xmm0
push edi
test esi, esi
je 0x491dea
xor edi, edi
cmp dword [esi], 0x40
cmovge esi, edi
mov dword [ebp + 0xc], esi
mov edx, dword [edx]
cmp edx, 0x40
jle 0x491e09
push 0x40
push str.at_most__d_tables_in_a_join
push eax
call fcn.00409a30
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test byte [ebp + 0x18], 0x20
mov eax, 1
push 0
cmovne edx, eax
mov dword [esp + 0x30], edx
lea edi, [edx + edx*2]
shl edi, 5
lea eax, [edi + 0x2ff]
and eax, 0xfffffff8
mov dword [esp + 0x4c], eax
add eax, 0x50
push eax
call fcn.00406270
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
cmp byte [eax + 0x57], 0
je 0x491e63
test ecx, ecx
je 0x492a08
mov edx, ecx
mov ecx, eax
call fcn.00405ec0
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0xc]
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx], edx
mov dword [ecx + 8], esi
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 [ebp + 0x18]
mov word [ecx + 0x28], ax
mov eax, dword [ebp + 0x1c]
mov word [ecx + 0x2a], ax
movsx eax, word [edx + 0x9c]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
lea eax, [edi + 0x50]
movups xmmword [ecx + 0x2d], xmm0
push eax
movups xmmword [ecx + 0x3d], xmm0
mov word [ecx + 0x4d], 0
mov byte [ecx + 0x4f], 0
add ecx, 0x2f8
push 0
push ecx
mov dword [esp + 0x40], ecx
call fcn.0056a470
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x48]
lea edx, [edi + 0x50]
add ecx, edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x54], edx
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x1f8], 0xffffff9d
lea eax, [ecx + 0x40]
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x38], eax
xor eax, eax
mov word [ecx + 0x30], ax
mov eax, 3
mov word [ecx + 0x34], ax
lea eax, [edx + 0x20]
mov dword [esp + 0x58], ecx
lea ecx, [edi + 0x50]
mov dword [edx], edi
mov byte [edx + 9], 0
mov dword [edx + 4], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x10], 8
mov dword [edx + 0x18], eax
mov edx, dword [ebp + 8]
push 0x2c
mov dword [esp + 0x54], edi
call fcn.0048a980
add esp, 4
cmp dword [esp + 0x2c], 0
jne 0x491fad
test esi, esi
je 0x491f7c
mov al, byte [esi]
mov byte [edi + 0x2d], al
test dword [ebp + 0x18], 0x100
je 0x491f93
mov eax, dword [esp + 0x1c]
test byte [eax + 0x50], 0x10
jne 0x491f93
mov byte [edi + 0x2f], 1
mov edx, dword [esp + 0xc]
push str.SCAN_CONSTANT_ROW
push 0
push edx
call fcn.0042cad0
mov eax, dword [esp + 0x20]
add esp, 0xc
jmp 0x491ff8
mov esi, dword [esp + 0x14]
xor edi, edi
add esi, 8
nop word [eax + eax]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x2c]
mov ecx, dword [edx + 0x1f4]
mov dword [edx + ecx*4 + 0x1f8], eax
lea eax, [edx + 0x50]
inc dword [edx + 0x1f4]
mov edx, esi
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048ae70
mov eax, dword [esp + 0x18]
inc edi
add esp, 4
add esi, 0x48
cmp edi, dword [eax]
jl 0x491fc0
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 0xc]
sub esi, 1
js 0x49201e
mov edx, ecx
mov ecx, eax
push esi
call fcn.00489ae0
mov eax, dword [esp + 0x18]
add esp, 4
sub esi, 1
mov ecx, dword [esp + 0x30]
jns 0x492004
mov eax, dword [ebp + 0x14]
mov esi, dword [esp + 0x30]
test eax, eax
je 0x492038
cmp dword [eax + 0x3c], 0
je 0x492038
mov edx, eax
mov ecx, esi
call fcn.0048aaf0
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x4929ea
xor edx, edx
mov dword [esp + 0x40], edx
cmp dword [esi + 0x14], edx
jle 0x49212a
xor ecx, ecx
mov dword [esp + 0x3c], ecx
nop dword [eax + eax]
mov esi, dword [esi + 0x18]
add esi, ecx
test byte [esi + 0xa], 2
jne 0x49210d
mov eax, dword [esi + 0x28]
or eax, dword [esi + 0x2c]
mov edi, dword [esi]
jne 0x49210d
cmp dword [esp + 0x2c], eax
je 0x4920da
mov dword [esp + 0x88], eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
mov eax, 1
movq qword [esp + 0x80], xmm0
mov word [esp + 0x84], ax
mov dword [esp + 0x74], 0x4918a0
mov dword [esp + 0x78], 0x446730
test edi, edi
je 0x4920da
mov edx, edi
lea ecx, [esp + 0x70]
call fcn.00440d20
cmp word [esp + 0x84], 0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
je 0x49210d
test byte [edi + 4], 2
je 0x4920ea
mov eax, dword [esp + 0x14]
test byte [eax + 0x2c], 0x40
jne 0x49210d
mov eax, dword [esp + 0x10]
push 0x10
push dword [eax + 0x20]
push edi
push dword [esp + 0x18]
call fcn.0044bb60
mov ecx, dword [esp + 0x4c]
add esp, 0x10
or word [esi + 0xa], 4
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x30]
inc edx
add ecx, 0x30
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
cmp edx, dword [esi + 0x14]
jl 0x492060
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
test edx, 0x100
je 0x49218c
mov ecx, dword [esp + 0x1c]
test byte [ecx + 0x50], 0x10
je 0x49215a
mov esi, dword [esp + 0x10]
and edx, 0xfeff
mov eax, 0xfeff
mov dword [ebp + 0x18], edx
and word [esi + 0x28], ax
jmp 0x492190
mov edx, dword [esp + 0x14]
mov ecx, eax
push edi
push esi
call fcn.0048b770
mov esi, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x492178
mov byte [esi + 0x2f], 1
jmp 0x492190
cmp dword [ebp + 0xc], 0
jne 0x492190
mov eax, 0x80
mov dword [esi + 8], edi
or word [esi + 0x28], ax
jmp 0x492190
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x2c], 1
jne 0x4921a4
lea ecx, [esp + 0x50]
call fcn.00491650
test eax, eax
jne 0x4921fd
lea ecx, [esp + 0x50]
call fcn.00490040
test eax, eax
jne 0x4929ea
xor edx, edx
mov ecx, esi
call fcn.00490d80
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x57], 0
jne 0x4929ea
cmp dword [esi + 8], 0
je 0x4921ed
movzx edx, word [esi + 0x34]
mov ecx, esi
inc dx
call fcn.00490d80
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x57], 0
jne 0x4929ea
mov eax, 0x100
test word [esi + 0x28], ax
je 0x4921fd
add word [esi + 0x34], 0xffe2
cmp dword [esi + 8], 0
jne 0x49221b
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x20]
and eax, 0x1000
or eax, 0
je 0x49221b
mov ecx, esi
call fcn.00491d40
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x24], 0
jne 0x4929ea
mov cl, byte [esi + 0x2c]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
cmp cl, 2
jb 0x492282
test edi, edi
mov edi, dword [esp + 0x1c]
je 0x492286
mov eax, dword [ebp + 0x18]
xor edx, edx
and eax, 0x400
cmp dx, ax
jne 0x492286
test dword [edi + 0x50], 0x100
jne 0x492286
sub esp, 8
mov ecx, esi
call fcn.004918d0
mov cl, byte [esi + 0x2c]
add esp, 8
mov dword [esp + 0x3c], eax
movzx eax, cl
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], eax
jmp 0x492286
mov edi, dword [esp + 0x1c]
cmp cl, 2
jb 0x49229b
test dword [edi + 0x50], 0x80000
jne 0x49229b
mov ecx, esi
call fcn.00491aa0
mov ecx, dword [esi]
mov ax, word [esi + 0x34]
add word [ecx + 0x9c], ax
test byte [ebp + 0x18], 4
je 0x49231e
mov eax, dword [esi + 0x348]
mov ecx, dword [eax + 0x2c]
mov edx, ecx
shr edx, 0xc
and edx, 1
jne 0x4922eb
test byte [ebp + 0x18], 8
je 0x49231e
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
cmp byte [eax + 0x2b], 1
je 0x49231e
test ecx, 0x2000
je 0x4922e2
test byte [ebp + 0x18], 0x10
je 0x49231e
test dword [edi + 0x50], 0x8000000
jne 0x49231e
test edx, edx
mov edx, dword [esp + 0x14]
sete al
inc al
mov byte [esi + 0x2e], al
mov eax, dword [edx + 0x18]
test byte [eax + 0x1c], 0x80
jne 0x492322
test cl, 0x40
je 0x492322
mov eax, dword [esi + 0x348]
and ecx, 0xffffffbf
mov dword [eax + 0x2c], ecx
mov al, byte [ebp + 0x18]
and al, 8
mov byte [esp + 0xb], al
jmp 0x492322
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x492844
lea edi, [esi + 0x348]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x28], edi
nop dword [eax]
movzx eax, byte [edi - 0x14]
lea eax, [eax + eax*8]
lea eax, [eax + 1]
lea edi, [edx + eax*8]
mov edx, 0xffff8000
mov eax, dword [edi + 0x10]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x492390
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x44], edx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x49238c
nop dword [eax]
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x492380
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x20]
test dword [eax + 0x1c], 0x4000
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x10]
jne 0x49253e
mov al, byte [eax + 0x2b]
cmp al, 2
je 0x49253a
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 0x2c]
test ecx, 0x400
je 0x4923ff
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4923df
mov ecx, dword [esp + 0x1c]
cmp dword [eax], ecx
je 0x4923df
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x4923d4
mov ecx, dword [esp + 0x18]
mov edx, 0xad
push 0xfffffffffffffff5
push eax
push 0
push 0
push dword [edi + 0x2c]
call fcn.0042c990
add esp, 0x14
jmp 0x492536
cmp al, 1
je 0x492536
test cl, 0x40
jne 0x492412
test byte [ebp + 0x18], 0x20
je 0x49241c
test byte [edi + 0x24], 0x50
je 0x49251f
cmp byte [esi + 0x2e], 0
mov ecx, 0x70
je 0x492432
mov eax, dword [edi + 0x2c]
mov ecx, 0x71
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push edx
mov edx, dword [edi + 0x2c]
call fcn.004632f0
add esp, 0xc
cmp byte [esi + 0x2e], 0
jne 0x49250f
mov eax, dword [esp + 0x20]
cmp word [eax + 0x22], 0x40
jge 0x49250f
test byte [eax + 0x1c], 0xe0
jne 0x49250f
mov eax, dword [esp + 0x38]
test dword [eax + 0x2c], 0x404000
jne 0x49250f
mov edx, dword [edi + 0x38]
xor esi, esi
mov ecx, dword [edi + 0x3c]
mov eax, edx
or eax, ecx
je 0x49249d
nop word [eax + eax]
shrd edx, ecx, 1
inc esi
shr ecx, 1
mov eax, edx
or eax, ecx
jne 0x492490
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x4924cb
push esi
mov edx, 0xfffffffd
call fcn.0042d280
movzx edx, byte [esp + 0xf]
add esp, 4
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
call fcn.0042d010
jmp 0x492536
mov eax, dword [edx + 0x6c]
dec eax
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x492504
mov ecx, dword [esp + 0x18]
mov edx, eax
push 0xfffffffffffffffd
push esi
call fcn.0042d430
movzx edx, byte [esp + 0x13]
add esp, 8
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
call fcn.0042d010
jmp 0x492536
mov dword [eax + 0x10], esi
mov esi, dword [esp + 0x10]
mov byte [eax + 1], 0xfd
movzx edx, byte [esp + 0xb]
mov ecx, dword [esp + 0x18]
call fcn.0042d010
jmp 0x492536
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
push dword [eax]
push 0
push dword [eax + 0x14]
call fcn.00453040
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
test dword [edx + 0x2c], 0x200
je 0x4927dd
test byte [eax + 0x1c], 0x80
mov edi, dword [edx + 0x20]
mov dword [esp + 0x4c], 0x70
je 0x4926b6
mov eax, dword [edi + 0x38]
and al, 3
cmp al, 2
mov eax, dword [ebp + 0x18]
jne 0x4926b9
test al, 0x20
je 0x4926b9
mov eax, dword [ecx - 0x4c]
mov esi, dword [esp + 0xc]
mov dword [ecx - 0x48], eax
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
test ecx, ecx
js 0x4925bf
mov eax, dword [esi + 0x80]
mov edx, esi
test eax, eax
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x5c]
test esi, eax
jne 0x4925bf
bts esi, ecx
mov dword [edx + 0x5c], esi
cmp ecx, 1
jne 0x4925bf
mov ecx, edx
call fcn.00459f70
test byte [edi + 0x24], 0x10
mov esi, dword [esp + 0x10]
je 0x492826
mov ecx, dword [esi]
push 0
push 0x24
mov ecx, dword [ecx]
call fcn.00406270
mov edi, eax
add esp, 8
test edi, edi
je 0x4925fc
mov ecx, dword [esi + 0x44]
mov dword [edi], ecx
mov dword [edi + 8], 0x14
mov dword [edi + 0xc], 0
mov dword [esi + 0x44], edi
add edi, 0x10
mov eax, dword [esp + 0x28]
mov dword [eax - 0x18], edi
test edi, edi
je 0x492826
mov ecx, dword [esp + 0xc]
mov edx, 0x4d
mov eax, dword [ecx + 0x28]
mov dword [edi], eax
mov eax, dword [ecx + 0x2c]
inc dword [ecx + 0x28]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, dword [esp + 0x18]
push eax
push 0x10000
mov dword [edi + 4], eax
call fcn.0042c5c0
mov ecx, dword [esp + 0x14]
mov edx, 0x4b
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, dword [esp + 0x20]
push eax
push 0
mov dword [edi + 8], eax
call fcn.0042c5c0
mov eax, dword [esp + 0x30]
add esp, 0x10
test byte [eax + 0x1c], 0x80
jne 0x4927e6
push 1
push dword [edi]
mov edi, dword [esp + 0x20]
mov edx, 0x76
mov ecx, edi
call fcn.0042c5c0
mov eax, dword [esp + 0x14]
mov edx, 1
push 0
mov ecx, dword [eax]
call fcn.00470a00
add esp, 0xc
test eax, eax
je 0x492816
mov ecx, dword [eax + 0x10]
mov edx, eax
mov dword [eax + 0x14], 0
push 0xfffffffffffffff8
mov byte [ecx], 0
mov ecx, edi
call fcn.0042d5a0
add esp, 4
jmp 0x492816
mov eax, dword [ebp + 0x18]
cmp byte [esi + 0x2e], 0
je 0x4926ed
mov eax, dword [esp + 0x24]
mov esi, dword [ebp + 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 8]
test eax, eax
je 0x4926dc
cmp eax, edi
je 0x4926dc
mov eax, dword [eax + 0x14]
inc esi
test eax, eax
jne 0x4926d0
mov eax, dword [esp + 0x10]
mov edx, 0x71
mov dword [eax + 0x18], esi
mov dword [ecx - 0x48], esi
jmp 0x492766
mov edx, dword [ebp + 0x1c]
test edx, edx
je 0x492704
test al, 0x20
je 0x492704
mov esi, edx
mov edx, 0x65
mov dword [ecx - 0x48], esi
jmp 0x492766
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx + 0x28]
lea eax, [esi + 1]
mov dword [ecx + 0x28], eax
test dword [edi + 0x38], 0x800
je 0x49273b
mov eax, dword [esp + 0x1c]
test dword [eax + 0x50], 0x1000000
jne 0x49273b
mov eax, dword [esp + 0x24]
mov edx, edi
push eax
push esi
call fcn.00491b40
mov ecx, dword [esp + 0x14]
add esp, 8
mov eax, dword [edi + 0x24]
test eax, eax
je 0x49275b
mov edx, dword [esp + 0x24]
test byte [edx + 0x24], 0x10
jne 0x49275b
push edx
push esi
push 0
push eax
mov edx, edi
call fcn.0048ea30
add esp, 0x10
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
mov dword [eax - 0x48], esi
push dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
push dword [edi + 0x2c]
push esi
call fcn.0042c630
mov esi, dword [esp + 0x18]
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.0042d5e0
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x2c]
test al, 0xf
je 0x492586
test eax, 0x188002
jne 0x492586
mov eax, dword [esp + 0x10]
test byte [eax + 0x28], 1
jne 0x492586
cmp byte [eax + 0x2f], 2
je 0x492586
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x6c]
test eax, eax
jle 0x492586
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x492586
mov esi, dword [esp + 0xc]
jmp 0x49258a
mov ecx, eax
call fcn.004545d0
mov esi, eax
mov edx, 0x76
movzx ecx, word [esi + 0x32]
push ecx
push dword [edi]
mov ecx, dword [esp + 0x20]
call fcn.0042c5c0
mov ecx, dword [esp + 0x14]
add esp, 8
mov edx, esi
call fcn.0042d5e0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
and dword [eax + 0x2c], 0xffffffbf
mov byte [esi + 0x2d], 0
mov byte [esi + 0x2f], 3
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
add edi, 0x60
sub dword [esp + 0x48], 1
mov dword [esp + 0x28], edi
jne 0x492340
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x6c]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x57], 0
jne 0x4929ea
xor edi, edi
test ecx, ecx
jle 0x4929d8
mov edx, dword [esp + 0x34]
nop word [eax + eax]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x24], 0
jne 0x4929ea
mov eax, dword [edx + 0x50]
mov esi, dword [esp + 0x14]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x48], eax
movzx eax, byte [edx + 0x3c]
lea eax, [eax + eax*8]
lea esi, [esi + eax*8]
mov eax, dword [esi + 0x30]
test al, 0x10
je 0x49292b
test al, 8
je 0x4928c8
push dword [esi + 0x20]
mov edx, 0xa
push dword [esi + 0x24]
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.0042c5c0
mov ecx, dword [esp + 0x14]
add esp, 8
mov edx, dword [esp + 0x34]
jmp 0x49292f
mov ecx, dword [esp + 0x18]
mov edx, 0xf
call fcn.0042c500
push dword [esi + 0x20]
mov edx, 0xa
mov dword [esp + 0x50], eax
push dword [esi + 0x24]
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.0042c5c0
mov eax, dword [esi]
add esp, 8
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x492910
mov ecx, dword [esp + 0xc]
mov eax, 0x611da4
mov dword [eax + 8], edx
mov edx, dword [esp + 0x34]
jmp 0x49292f
mov eax, dword [esp + 0x4c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0xc]
jmp 0x49292f
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
test eax, 0x404000
je 0x492976
test eax, 0x4000
je 0x492955
push edx
push dword [esp + 0x44]
mov edx, dword [esp + 0x38]
push dword [esp + 0x44]
call fcn.0048ba50
jmp 0x492969
push dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x40]
push edx
mov edx, edi
call fcn.0048c610
mov eax, dword [esp + 0x28]
add esp, 0xc
cmp byte [eax + 0x57], 0
jne 0x4929ea
push dword [ebp + 0x18]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
call fcn.00483de0
push dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
push dword [esp + 0x48]
mov eax, dword [esi + 0x6c]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push ecx
mov dword [ecx + 0x20], eax
mov ecx, dword [esp + 0x20]
push edi
push esi
call fcn.00485790
mov dword [esp + 0x5c], edx
inc edi
mov edx, dword [esp + 0x50]
add esp, 0x1c
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x18]
add edx, 0x60
mov dword [esi + 0x1c], eax
mov dword [esp + 0x34], edx
cmp edi, dword [esp + 0x2c]
jl 0x492870
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x6c]
mov dword [esi + 0x3c], eax
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ax, word [ecx + 0x24]
mov word [edx + 0x9c], ax
mov edx, ecx
mov ecx, dword [esp + 0x1c]
call fcn.0048d540
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret