Function at 0x1049d1c8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x1049c239
dec eax
cmp eax, 5
ja case.default.0x1049c139
jmp dword [eax*4 + 0x1049d308]
mov edx, dword [esi - 0xec]
cmp dword [esi - 0xe4], 0xfffffffe
sbb ecx, ecx
mov eax, dword [edx]
inc ecx
and eax, 1
xor ecx, eax
push ecx
push edx
push esi
call fcn.1049e340
add esp, 0xc
cmp dword [esi - 0xe4], 0xfffffffe
jb 0x1049c192
xor byte [esi + 0x75], 1
cmp dword [esi + 0xf8], 3
jne 0x1049c192
movzx ecx, word [esi + 0x18]
mov eax, dword [esi + 0x1c]
movzx edx, byte [eax + ecx*8 - 2]
movzx eax, word [eax + ecx*8 - 8]
add edx, eax
mov eax, dword [esi + 0x20]
dec dword [eax + edx*4 - 4]
mov ecx, esi
call fcn.104ac730
cmp dword [esi - 0xe4], 0xfffffffe
jb case.default.0x1049c139
mov eax, dword [esi + 0x4c]
mov edi, dword [esi + 0x64]
mov ecx, dword [eax + 0x10]
xor eax, eax
test edi, edi
je case.default.0x1049c139
mov edx, dword [esi + 0x5c]
add ecx, 4
nop dword [eax + eax]
cmp dword [edx + eax*4], 0x2007ffd
jne 0x1049c1ce
cmp dword [ecx], 0xfffffffe
je 0x1049c1d8
inc eax
add ecx, 8
cmp eax, edi
jb 0x1049c1c0
jmp case.default.0x1049c139
mov dword [edx + eax*4], 0x1007ffe
jmp case.default.0x1049c139
mov eax, dword [esi + 0x4c]
xor edi, edi
mov ecx, dword [eax + 0x10]
mov dword [esp + 0xc], ecx
cmp dword [esi + 0x64], edi
jbe case.default.0x1049c139
mov eax, dword [esi + 0x5c]
cmp dword [eax + edi*4], 0x7fff
jne 0x1049c218
cmp dword [ecx + 4], 0xffffffff
je 0x1049c218
push ecx
push esi
call fcn.1049bad0
mov ecx, dword [esi + 0x5c]
add esp, 8
mov dword [ecx + edi*4], eax
mov ecx, dword [esp + 0xc]
inc edi
add ecx, 8
mov dword [esp + 0xc], ecx
cmp edi, dword [esi + 0x64]
jb 0x1049c1f2
jmp case.default.0x1049c139
mov eax, dword [esi + 0x50]
cmp byte [eax], 0x5d
jae 0x1049c262
mov dword [esi + 0xf8], 0
cmp byte [esi + 0x6d], 0
je 0x1049c256
push esi
mov byte [esi + 0x6d], 0
call fcn.10499ac0
push esi
call fcn.10499950
add esp, 8
mov byte [esi + 0x6c], 1
mov al, byte [esi + 0x6f]
test al, al
je 0x1049c268
dec al
mov byte [esi + 0x6f], al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0xa0], 0
mov ecx, dword [esi + 0x50]
mov dword [esp + 0x10], ecx
jne 0x1049c28c
mov eax, ecx
sub eax, dword [esi + 0x88]
cmp eax, dword [esi + 0x8c]
jae 0x1049d2ce
mov eax, dword [esi + 0x4c]
mov edi, dword [eax + 0x10]
mov eax, dword [ecx]
movzx edx, al
mov dword [esp + 0x14], eax
shr eax, 8
movzx ecx, al
lea eax, [edx*2 + 0x1055d780]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x6c], eax
movzx eax, word [eax]
mov edx, eax
mov dword [esp + 0xc], edi
and al, 7
mov dword [esp + 0x20], edx
mov dword [esp + 8], ecx
mov dword [esp + 0x58], 0
movzx edx, dx
cmp al, 3
jne 0x1049c314
mov eax, dword [edi + ecx*8]
mov dword [esp + 0x38], eax
mov eax, dword [edi + ecx*8 + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x5c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1049c2f6
mov ecx, eax
mov eax, dword [esp + 0x20]
movzx eax, ax
jmp 0x1049c309
push ecx
push esi
call fcn.1049ffd0
mov ecx, eax
add esp, 8
mov eax, dword [esp + 0x6c]
movzx eax, word [eax]
mov dword [esp + 8], ecx
mov dword [esp + 0x58], ecx
movzx edx, ax
mov eax, dword [esp + 0x14]
mov ecx, eax
movzx edi, dx
shr eax, 0x10
movzx edx, al
mov dword [esp + 0x18], edx
mov edx, edi
shr ecx, 0x18
test dl, 0x78
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
je 0x1049c3a1
and dword [esp + 0x20], 0x78
mov eax, edi
cmp byte [esp + 0x20], 0x18
jne 0x1049c3b1
mov eax, dword [esp + 0xc]
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + ecx*8 + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x5c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1049c37d
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, edi
mov dword [esp + 0x50], ecx
movzx eax, ax
jmp 0x1049c3b1
push ecx
push esi
call fcn.1049ffd0
mov edx, dword [esp + 0x20]
mov ecx, eax
mov eax, dword [esp + 0x74]
add esp, 8
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], ecx
movzx eax, word [eax]
movzx eax, ax
jmp 0x1049c3b1
mov edx, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], edx
mov eax, edi
shr eax, 7
and eax, 0xf
add eax, 0xfffffffd
cmp eax, 7
ja case.0x1049c3bf.4
jmp dword [eax*4 + 0x1049d320]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + edx*8]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + edx*8 + 4]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x5c]
mov edi, dword [eax + edx*4]
test edi, edi
jne 0x1049c3ef
push edx
push esi
call fcn.1049ffd0
add esp, 8
mov edi, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], edi
jmp 0x1049c419
mov eax, edx
imul edx, edx, 0xffffff
not eax
mov dword [esp + 0x34], eax
add edx, 0x7fff
mov dword [esp + 0x18], edx
mov dword [esp + 0x54], edx
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
cmp edx, 0x5c
ja case.default.0x1049c42d
movzx eax, byte [edx + 0x1049d3f8]
jmp dword [eax*4 + 0x1049d340]
mov eax, dword [esi + 0x58]
sub esp, 8
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + edx*8]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + edx*8 + 4]
mov dword [esp + 0x3c], eax
movsd xmm0, qword [ecx + edx*8]
movsd qword [esp], xmm0
push esi
call fcn.104909f0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], edi
jmp 0x1049c419
mov eax, dword [esi + 0x58]
not edx
push 4
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx*4]
push eax
push esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0xfffffffb
call fcn.104907d0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
mov dword [esp + 0x54], edi
jmp 0x1049c419
mov ecx, dword [esp + 8]
mov eax, ecx
and eax, 0x1f000000
mov dword [esp + 0xc], eax
cmp eax, 0xa000000
je 0x1049c721
mov eax, edi
and eax, 0x1f000000
mov dword [esp + 0x20], eax
cmp eax, 0xa000000
je 0x1049c721
movzx eax, cx
mov edx, 0x8000
mov dword [esp + 0x10], eax
movzx eax, di
mov dword [esp + 0x18], eax
mov eax, edi
or eax, ecx
cmp ax, dx
jae 0x1049c525
mov eax, ecx
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x1049c503
cmp dword [esp + 0xc], 0x4000000
jne 0x1049c525
mov eax, edi
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x1049d280
cmp dword [esp + 0x20], 0x4000000
je 0x1049d280
mov edx, ecx
mov dword [esp + 0xc], 0x13
shr edx, 0x18
and edx, 0x1f
lea eax, [edx - 0xf]
cmp eax, 4
mov eax, edi
cmovbe edx, dword [esp + 0xc]
shr eax, 0x18
and eax, 0x1f
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
add eax, 0xfffffff1
cmp eax, 4
mov eax, dword [esp + 0x20]
cmovbe eax, dword [esp + 0xc]
cmp edx, eax
je 0x1049c5d9
cmp edx, 0x13
jne 0x1049c595
cmp eax, 0xe
jne 0x1049d280
mov eax, dword [esp + 0x10]
mov ecx, esi
mov dword [esi + 0x72], 0x550e01d3
mov word [esi + 0x70], ax
call fcn.104ac730
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0xe
jmp 0x1049c5d9
cmp edx, 0xe
jne 0x1049c5bd
cmp eax, 0x13
jne 0x1049d280
mov eax, dword [esp + 0x18]
mov ecx, esi
mov dword [esi + 0x72], 0x550e01d3
mov word [esi + 0x70], ax
call fcn.104ac730
mov edi, eax
jmp 0x1049c5d9
cmp edx, 1
je 0x1049c5cb
cmp edx, 2
jne 0x1049d280
cmp eax, 1
je 0x1049c5d9
cmp eax, 2
jne 0x1049d280
push esi
call fcn.1049e3b0
mov eax, dword [esp + 0x18]
add esp, 4
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
cmp eax, 0xe
jne 0x1049c642
movsd xmm0, qword [esp + 0x30]
mov ecx, edx
mov eax, edx
xor ecx, 4
and al, 1
cmove ecx, edx
push ecx
sub esp, 0x10
mov dword [esp + 0x24], ecx
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x4c]
movsd qword [esp], xmm0
call fcn.10490ca0
mov ecx, dword [esp + 0x28]
add esp, 0x14
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x1049c6d0
xor eax, 5
mov dword [esp + 0x10], eax
jmp 0x1049c6d0
push edx
cmp eax, 0x13
jne 0x1049c67f
movsd xmm0, qword [esp + 0x34]
sub esp, 0x10
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x4c]
movsd qword [esp], xmm0
call fcn.10490ca0
mov ecx, dword [esp + 0x28]
add esp, 0x14
test eax, eax
jne 0x1049c6cc
mov eax, dword [esp + 0x1c]
xor eax, 1
mov dword [esp + 0x10], eax
jmp 0x1049c6d0
cmp eax, 4
jne 0x1049c70e
push dword [esp + 0x34]
push dword [esp + 0x40]
call fcn.10490db0
add esp, 0xc
test eax, eax
jne 0x1049c6a7
mov eax, dword [esp + 0x1c]
xor eax, 1
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 8]
push edi
push ecx
push 0
push esi
call fcn.10490480
add esp, 0x10
mov dword [esp + 8], eax
xor edx, edx
mov ecx, esi
call fcn.10490320
mov edi, eax
mov ecx, 0x13
mov eax, dword [esp + 0x10]
shl eax, 8
or eax, ecx
mov word [esi + 0x72], di
mov ecx, dword [esp + 8]
or eax, 0x80
mov word [esi + 0x70], cx
mov ecx, esi
mov word [esi + 0x74], ax
call fcn.104ac730
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x1c]
and eax, 1
push eax
push dword [esi + 0x50]
push esi
call fcn.1049e340
add esp, 0xc
jmp case.0x1049c42d.37
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.1049f280
add esp, 0xc
jmp case.0x1049c42d.37
mov eax, edx
and eax, 2
or eax, 0xc
shr eax, 1
push eax
push edx
lea eax, [esp + 0x30]
push eax
push esi
call fcn.1049f3e0
add esp, 0x10
jmp case.0x1049c42d.37
mov ecx, dword [esp + 8]
mov eax, ecx
and eax, 0x1f000000
mov dword [esp + 0xc], eax
cmp eax, 0xa000000
je 0x1049c908
mov eax, edi
and eax, 0x1f000000
cmp eax, 0xa000000
je 0x1049c908
mov eax, edi
mov edx, 0x8000
or eax, ecx
cmp ax, dx
jae 0x1049c790
mov eax, dword [esp + 0xc]
cmp eax, 0xb000000
je 0x1049c790
cmp eax, 0xc000000
jne 0x1049d280
push esi
call fcn.1049e3b0
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x40]
push eax
push edi
push ecx
push esi
call fcn.1049d720
mov ecx, eax
add esp, 0x18
cmp ecx, 2
je 0x1049c8e6
mov eax, dword [esp + 0xc]
cmp eax, 0xb000000
je 0x1049c7d0
cmp eax, 0xc000000
jne 0x1049c8e6
cmp ecx, 1
jne case.0x1049c42d.37
mov eax, dword [esp + 0x58]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push 4
push eax
push esi
call fcn.1049d460
add esp, 0xc
test eax, eax
je case.0x1049c42d.37
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], eax
cmp edx, 0xfffffff4
jne 0x1049c840
mov eax, dword [ecx + 0x10]
cmp eax, dword [esp + 0x48]
jne 0x1049c884
mov dword [esi + 0x72], 0x430b0003
jmp 0x1049c855
cmp edx, 0xfffffff3
jne 0x1049c884
mov eax, dword [ecx + 0x10]
cmp eax, dword [esp + 0x48]
jne 0x1049c884
mov dword [esi + 0x72], 0x430b0009
movzx eax, word [esp + 0x54]
mov ecx, esi
mov word [esi + 0x70], ax
call fcn.104ac730
mov ecx, 0x88b
mov word [esi + 0x70], ax
movzx eax, word [esp + 0x5c]
mov word [esi + 0x74], cx
mov ecx, esi
mov word [esi + 0x72], ax
call fcn.104ac730
jmp 0x1049c8cf
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x28]
push 4
push eax
push esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
call fcn.1049d460
add esp, 0xc
test eax, eax
je case.0x1049c42d.37
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x68]
push dword [esp + 0x18]
push esi
call fcn.1049d720
add esp, 0x14
test eax, eax
jne case.0x1049c42d.37
push dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.1049f1e0
add esp, 0xc
jmp case.0x1049c42d.37
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x1c]
setne al
and ecx, 1
xor eax, ecx
push eax
push dword [esi + 0x50]
push esi
call fcn.1049e340
add esp, 0xc
jmp case.0x1049c42d.37
push 4
push edx
lea eax, [esp + 0x30]
push eax
push esi
call fcn.1049f3e0
add esp, 0x10
jmp case.0x1049c42d.37
mov eax, edi
mov ecx, 0x1000000
and eax, 0x1f000000
cmp ecx, eax
sbb eax, eax
and edx, 1
neg eax
xor ecx, ecx
cmp edx, eax
cmove edi, ecx
mov ecx, dword [esp + 0x10]
movzx eax, byte [ecx + 5]
mov ecx, dword [esp + 8]
cmp eax, dword [esi + 0x64]
jae 0x1049d280
mov dword [esi + 0x64], eax
jmp 0x1049d280
and edi, 0x1f000000
mov eax, 0x1000000
cmp eax, edi
sbb edi, edi
and edi, 0xff000001
add edi, 0x2007ffd
jmp case.0x1049c42d.37
mov eax, edi
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x1049c99e
mov ecx, esi
mov dword [esi + 0x72], 0x43130000
mov word [esi + 0x70], di
call fcn.104ac730
mov edi, eax
jmp case.0x1049c42d.37
cmp eax, 0xb000000
jne 0x1049c9b8
push edi
push 8
push esi
call fcn.10490480
add esp, 0xc
mov edi, eax
jmp case.0x1049c42d.37
mov eax, dword [esp + 0x30]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x70]
push 5
push eax
push esi
mov dword [esp + 0xa4], edi
call fcn.1049d460
add esp, 0xc
test eax, eax
je 0x1049d2d6
push 0x100036cb
push esi
call fcn.1049f440
mov edi, eax
mov eax, dword [ebp + 8]
lea esi, [edi*4]
push 2
push edi
mov ecx, dword [eax + 0x4c]
mov edx, dword [eax + 0x5c]
mov eax, dword [esp + 0xb8]
push dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
mov dword [edx + esi], eax
mov eax, dword [esp + 0x9c]
mov dword [ecx + edi*8], eax
mov eax, dword [esp + 0xa0]
mov dword [ecx + edi*8 + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + esi + 4], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + edi*8 + 8], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + edi*8 + 0xc], eax
mov dword [edx + esi + 8], 0x7fff
mov dword [ecx + edi*8 + 0x14], 0xffffffff
call fcn.1049e120
mov eax, dword [ebp + 8]
add esp, 0x14
inc dword [eax + 0xa0]
lea eax, [esi + 4]
mov esi, dword [ebp + 8]
add dword [esi + 0x5c], eax
lea eax, [edi + 1]
add dword [esi + 0x68], eax
xor edi, edi
jmp case.0x1049c42d.37
mov eax, edi
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x1049cac4
mov eax, edi
and eax, 0x1f000000
cmp eax, 0x4000000
je 0x1049cac4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push 0x10
push eax
push esi
mov dword [esp + 0x5c], edi
call fcn.1049f100
add esp, 0xc
mov edi, eax
jmp case.0x1049c42d.37
lea eax, [esp + 0x30]
push eax
push edi
push esi
call fcn.104aebb0
add esp, 0xc
mov edi, eax
jmp case.0x1049c42d.37
cmp dword [esp + 0x1c], 0x1d
mov esi, edi
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x50], edi
mov edi, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], ecx
mov ecx, esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
je 0x1049cba8
jmp 0x1049cb28
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x6c]
movzx edx, word [eax]
mov eax, ecx
shr eax, 0x18
and eax, 0x1f
shr edx, 0xb
sub eax, 0xe
cmp eax, 5
jbe 0x1049cb50
mov eax, ecx
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x1049cb6e
mov eax, edi
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x1049cb84
mov eax, edi
and eax, 0x1f000000
cmp eax, 0x4000000
je 0x1049cb84
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.1049f100
add esp, 0xc
mov edi, eax
jmp case.0x1049c42d.37
lea eax, [edx + 0x1e]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
push eax
push edi
push ecx
push esi
call fcn.104ae540
add esp, 0x18
mov edi, eax
jmp case.0x1049c42d.37
mov ecx, dword [esp + 0x14]
mov eax, ecx
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x1049cbc6
mov eax, ecx
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x1049cbe4
mov eax, edi
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x1049cbfb
mov eax, edi
and eax, 0x1f000000
cmp eax, 0x4000000
je 0x1049cbfb
push 0xe
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.1049f100
add esp, 0xc
mov edi, eax
jmp case.0x1049c42d.37
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
push ecx
push esi
call fcn.104ae790
add esp, 0x14
mov edi, eax
jmp case.0x1049c42d.37
mov ecx, dword [esp + 0x14]
mov eax, ecx
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x1049cc39
mov eax, ecx
and eax, 0x1f000000
cmp eax, 0x4000000
jne 0x1049cc57
mov eax, edi
shr eax, 0x18
and eax, 0x1f
sub eax, 0xe
cmp eax, 5
jbe 0x1049cc6e
mov eax, edi
and eax, 0x1f000000
cmp eax, 0x4000000
je 0x1049cc6e
push 0xf
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.1049f100
add esp, 0xc
mov edi, eax
jmp case.0x1049c42d.37
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
push ecx
push esi
call fcn.104ae910
add esp, 0x14
mov edi, eax
jmp case.0x1049c42d.37
mov ecx, dword [esp + 8]
cmp ecx, dword [esi + 0x64]
jbe 0x1049d280
mov eax, dword [esi + 0x5c]
mov dword [eax + ecx*4 - 4], 0
jmp 0x1049d280
movsx edx, di
mov ecx, esi
call fcn.10490320
mov edi, eax
jmp case.0x1049c42d.37
mov ecx, dword [esp + 8]
cmp ecx, edi
ja 0x1049cccf
mov eax, dword [esi + 0x5c]
mov dword [eax + ecx*4], 0x7fff
inc ecx
cmp ecx, edi
jbe 0x1049ccc0
cmp edi, dword [esi + 0x64]
jb 0x1049d280
lea eax, [edi + 1]
mov dword [esi + 0x64], eax
jmp 0x1049d280
mov eax, dword [esi + 0x58]
not edi
push 0xa
mov eax, dword [eax + 0x10]
push dword [eax + edi*4]
push esi
call fcn.104907d0
add esp, 0xc
mov edi, eax
jmp case.0x1049c42d.37
push 0
push edi
push esi
call fcn.1049f580
add esp, 0xc
mov edi, eax
jmp case.0x1049c42d.37
mov ecx, dword [esp + 8]
push edi
push ecx
push esi
call fcn.1049f580
add esp, 0xc
jmp case.0x1049c42d.37
mov eax, dword [esi + 0x54]
push esi
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0xfffffff4
call fcn.1049ba60
add esp, 4
movzx eax, ax
mov ecx, esi
mov dword [esi + 0x72], 0x430b0001
mov word [esi + 0x70], ax
call fcn.104ac730
mov dword [esp + 0x50], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x64], 0x64
push eax
push esi
call fcn.1049bb50
add esp, 8
mov edi, eax
jmp case.0x1049c42d.37
movd xmm0, edi
mov edx, edi
cvtdq2pd xmm0, xmm0
mov ecx, esi
movsd qword [esp + 0x30], xmm0
call fcn.10490320
mov dword [esp + 0x54], eax
jmp case.0x1049c42d.54
mov eax, edi
mov ecx, 0x801
and eax, 0x7ff
shr edi, 0xb
cmp eax, 0x7ff
mov word [esi + 0x72], di
cmove eax, ecx
mov ecx, 0x4e8b
mov word [esi + 0x74], cx
mov ecx, esi
mov word [esi + 0x70], ax
call fcn.104ac730
mov edi, eax
jmp case.0x1049c42d.37
mov eax, dword [esi + 0x58]
not edi
push 0xb
mov eax, dword [eax + 0x10]
push dword [eax + edi*4]
push esi
call fcn.104907d0
add esp, 0xc
movzx eax, ax
mov ecx, esi
mov dword [esi + 0x72], 0x4f8b0000
mov word [esi + 0x70], ax
call fcn.104ac730
mov edi, eax
jmp case.0x1049c42d.37
mov edx, dword [esp + 8]
mov ecx, dword [esi + 0x5c]
lea eax, [edx - 3]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x1049ce26
push dword [esp + 0xc]
push esi
call fcn.1049ffd0
mov ecx, dword [esi + 0x5c]
add esp, 8
mov edx, dword [esp + 8]
mov dword [ecx + edx*4], eax
lea eax, [edx - 2]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + eax*4]
test eax, eax
jne 0x1049ce4e
push dword [esp + 0xc]
push esi
call fcn.1049ffd0
mov ecx, dword [esi + 0x5c]
add esp, 8
mov edx, dword [esp + 8]
mov dword [ecx + edx*4 + 4], eax
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx + edx*4 - 4]
test eax, eax
jne 0x1049ce71
lea eax, [edx - 1]
push eax
push esi
call fcn.1049ffd0
mov ecx, dword [esi + 0x5c]
add esp, 8
mov edx, dword [esp + 8]
mov dword [ecx + edx*4 + 8], eax
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + edx*8 - 0x18]
mov dword [ecx + edx*8], eax
mov eax, dword [ecx + edx*8 - 0x14]
mov dword [ecx + edx*8 + 4], eax
mov eax, dword [ecx + edx*8 - 0x10]
mov dword [ecx + edx*8 + 8], eax
mov eax, dword [ecx + edx*8 - 0xc]
mov dword [ecx + edx*8 + 0xc], eax
mov eax, dword [ecx + edx*8 - 8]
mov dword [ecx + edx*8 + 0x10], eax
mov eax, dword [ecx + edx*8 - 4]
mov dword [ecx + edx*8 + 0x14], eax
lea eax, [edi - 1]
push eax
push edx
push esi
call fcn.1049ba90
add esp, 0xc
jmp case.0x1049c42d.37
mov eax, dword [esi + 0x4c]
mov ecx, dword [esp + 8]
mov edi, dword [eax + 0x14]
sub edi, dword [eax + 0x10]
sar edi, 3
sub edi, ecx
lea eax, [edi - 1]
push eax
push ecx
push esi
call fcn.1049ba90
add esp, 0xc
jmp case.0x1049c42d.37
mov ecx, dword [esp + 8]
lea eax, [edi - 1]
push eax
push ecx
push esi
call fcn.1049ba90
add esp, 0xc
jmp case.0x1049c42d.37
mov eax, dword [esi + 0x4c]
mov ecx, dword [esp + 8]
mov edi, dword [eax + 0x14]
sub edi, dword [eax + 0x10]
sar edi, 3
sub edi, ecx
jmp 0x1049cf11
mov ecx, dword [esp + 8]
lea eax, [edi - 1]
mov dword [esp + 0xc], ecx
push eax
push ecx
push esi
call fcn.1049e120
mov eax, dword [esi + 0x4c]
add esp, 0xc
mov eax, dword [eax + 0x10]
mov edx, dword [eax - 4]
mov eax, edx
and eax, 7
cmp al, 3
jne 0x1049cf5c
sar edx, 3
add dword [esi + 0xa0], 0xffffffff
js 0x1049d2de
sub dword [esi + 0x68], edx
mov eax, edx
neg eax
shl eax, 2
add dword [esi + 0x5c], eax
mov eax, dword [esp + 8]
add eax, edx
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x5c]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [esp + 0x10]
lea eax, [ecx + eax*4]
push eax
lea eax, [ecx - 4]
push eax
call sub.VCRuNTIme140.dLl_memmove
inc dword [esi + 0x9c]
add esp, 0xc
mov eax, dword [esi + 0x9c]
cmp eax, dword [esi + 0x98]
jg 0x1049d2e6
jmp case.0x1049c42d.37
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
dec eax
push eax
push ecx
push esi
call fcn.1049f8e0
add esp, 0xc
jmp case.0x1049c42d.37
mov eax, dword [esi + 0x4c]
mov ecx, dword [esp + 8]
mov edi, dword [eax + 0x14]
sub edi, dword [eax + 0x10]
sar edi, 3
sub edi, ecx
inc edi
lea eax, [edi - 1]
push eax
push ecx
push esi
call fcn.1049d810
add esp, 0xc
jmp case.0x1049c42d.37
mov ecx, dword [esp + 8]
lea eax, [edi - 1]
push eax
push ecx
push esi
call fcn.1049d810
add esp, 0xc
jmp case.0x1049c42d.37
mov ecx, dword [esp + 0x10]
push 0
push ecx
push esi
call fcn.1049e3f0
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
je 0x1049d280
mov eax, dword [esi + 8]
mov dword [esi + 0xe4], eax
jmp 0x1049d280
mov ecx, dword [esp + 0x10]
push 0
push ecx
push esi
call fcn.1049e3f0
add esp, 0xc
test eax, eax
je case.0x1049c42d.37
mov eax, dword [esp + 0x10]
movzx eax, word [eax + edi*4 - 0x1fffe]
push eax
push 1
push esi
call fcn.1049f4b0
add esp, 0xc
jmp case.0x1049c42d.37
mov eax, dword [esp + 0x10]
push 1
lea eax, [eax + edi*4]
add eax, 0xfffe0000
push eax
push esi
call fcn.1049e3f0
push eax
push dword [esp + 0x20]
push esi
call fcn.1049ef80
add esp, 0x18
jmp case.0x1049c42d.37
mov eax, dword [esp + 0x10]
push dword [eax]
push esi
call fcn.1049ef00
push eax
push dword [esp + 0x1c]
push esi
call fcn.1049ef80
add esp, 0x14
jmp case.0x1049c42d.37
mov ecx, dword [esp + 8]
push ecx
push esi
call fcn.1049ef60
push eax
push dword [esp + 0x1c]
push esi
call fcn.1049ef80
add esp, 0x14
jmp case.0x1049c42d.37
mov eax, dword [esi + 0x100]
mov ecx, dword [esp + 0x10]
add ecx, 0xfffe0000
push 1
mov eax, dword [eax + edi*4]
movzx eax, word [eax + 0x2e]
lea eax, [ecx + eax*4]
push eax
push esi
call fcn.1049e3f0
push eax
push edi
push esi
call fcn.1049f090
add esp, 0x18
jmp case.0x1049c42d.37
mov eax, dword [esi + 0x100]
mov eax, dword [eax + edi*4]
push dword [eax + 0x2c]
push esi
call fcn.1049ef00
push eax
push edi
push esi
call fcn.1049f090
add esp, 0x14
jmp case.0x1049c42d.37
mov ecx, dword [esp + 8]
push ecx
push esi
call fcn.1049ef60
push eax
push edi
push esi
call fcn.1049f090
add esp, 0x14
jmp case.0x1049c42d.37
mov ecx, dword [esp + 8]
cmp ecx, dword [esi + 0x64]
jae 0x1049d280
mov dword [esi + 0x64], ecx
jmp 0x1049d280
push esi
call fcn.1049e9d0
mov eax, dword [esi + 0x100]
add esp, 4
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
cmp byte [eax + 7], 7
jne 0x1049d17f
push edi
push esi
call fcn.1049b770
mov ecx, dword [esi + 0x50]
add esp, 8
mov eax, dword [ecx]
mov dword [esi + 0x8e8], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x8e4], ecx
mov eax, dword [eax + 0x2c]
mov dword [ecx], eax
jmp case.0x1049c42d.37
mov eax, dword [esi + 0x50]
mov dword [esi + 0x94], 0
cmp eax, dword [esi + 0x8d8]
jne 0x1049d1b7
mov eax, dword [esi + 0xa4]
add eax, dword [esi + 0xa0]
jne 0x1049d1b7
movzx eax, word [esi + 0x40]
push eax
push 3
push esi
call fcn.1049f4b0
add esp, 0xc
jmp case.0x1049c42d.37
push edi
push 1
push esi
call fcn.1049f4b0
add esp, 0xc
jmp case.0x1049c42d.37
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x64]
mov dword [esp + 0x20], eax
inc edx
mov dword [esp + 0x14], edx
movzx eax, byte [eax + 7]
add eax, edx
add eax, dword [esi + 0x68]
cmp eax, 0xfa
jae 0x1049d2f6
mov ecx, dword [esi + 0x5c]
shl edx, 2
mov dword [esp + 0xc], edx
mov eax, dword [ecx - 4]
mov dword [edx + ecx - 4], eax
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 6]
cmp ecx, dword [esi + 0x64]
cmovae ecx, dword [esi + 0x64]
xor edx, edx
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x1049d244
mov edi, dword [esp + 0xc]
nop dword [eax]
mov ecx, dword [esi + 0x5c]
lea edi, [edi + 4]
mov eax, dword [ecx + edx*4]
mov dword [edi + ecx - 4], eax
mov eax, dword [esi + 0x5c]
mov ecx, dword [esp + 0x20]
mov dword [eax + edx*4], 0x7fff
inc edx
cmp edx, ecx
jb 0x1049d220
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
add dword [esi + 0x5c], eax
inc dword [esi + 0xa0]
mov eax, dword [esp + 0x14]
add dword [esi + 0x68], eax
mov dword [esi + 0x64], ecx
push esi
call fcn.1049e9d0
push 0
push esi
call fcn.1049b770
add esp, 0xc
jmp case.0x1049c42d.37
cmp edx, 0x5d
jb case.0x1049c42d.36
push esi
call fcn.104b0dc0
add esp, 4
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x6c]
mov al, byte [eax]
and al, 7
cmp al, 1
jne 0x1049d2a1
test edi, edi
je 0x1049d2a1
mov eax, dword [esi + 0x5c]
mov dword [eax + ecx*4], edi
cmp ecx, dword [esi + 0x64]
jb 0x1049d2a1
lea eax, [ecx + 1]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x5c8]
add eax, 0x8001
cmp dword [esi + 8], eax
ja 0x1049d2fe
jmp 0x1049c262
movd xmm0, edx
cvtdq2pd xmm0, xmm0
push 5
push esi
movsd qword [esi + 0x908], xmm0
call fcn.10480e00
push 6
push esi
call fcn.10480dc0
push 0x12
push esi
call fcn.10480dc0
push 0x10
push esi
call fcn.10480dc0
push 8
push esi
call fcn.10480dc0
push 4
push esi
call fcn.10480dc0
push 2
push esi
call fcn.10480dc0
push 1
push esi
call fcn.10480dc0
nop
inc eax
ror dword [ecx + 16], 0x62
ror dword [ecx + 0x10], 0x62
ror dword [ecx + 0x10], 0x99
ror dword [ecx + 0x10], 0xe1
ror dword [ecx + 0x10], 0x27
ret 0x1049