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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7e4
mov eax, dword [0x10f80b60]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x7e8], eax
push edi
lea eax, [esp + 0x50]
push eax
push 4
mov ebx, 1
push esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], 0
call fcn.10c20ee0
mov eax, dword [esp + 0x5c]
add esp, 0xc
cmp eax, 0x20534444
je 0x10c220bb
mov esi, dword [esi]
test esi, esi
je 0x10c220a5
mov word [esi], 0x88db
or eax, 0xffffffff
mov ecx, dword [esp + 0x7ec]
call fcn.10ddeddf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x68]
push ecx
push 0x7c
push esi
call fcn.10c20ee0
mov edi, dword [esp + 0x8c]
add esp, 0xc
test edi, edi
jne 0x10c220f4
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], ebx
mov byte [0x112363d0], 1
jmp 0x10c2211f
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
xor ecx, ecx
cmp eax, edx
mov byte [0x112363d0], 0
jg 0x10c2210b
mov eax, edx
test eax, eax
je 0x10c22117
nop
sar eax, 1
inc ecx
test eax, eax
jne 0x10c22110
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], edi
test dword [esp + 0x6c], 0x20000
mov ebx, 1
mov dword [esp + 0x1c], ebx
mov byte [esi + 0x2388], 0
je 0x10c221a4
test edi, edi
jbe 0x10c221a4
mov al, byte [esi + 0x2375]
test al, al
jne 0x10c22162
mov eax, ebx
cmp word [esi + 0x238c], ax
mov byte [esi + 0x2388], bl
je 0x10c2215a
jmp 0x10c22162
mov dword [esp + 0x3c], eax
mov dword [esp + 0x20], eax
mov al, byte [esi + 0x2374]
test al, al
je 0x10c221a4
push 1
push 0x10eac0e0
call fcn.10c2b820
add esp, 8
test eax, eax
je 0x10c221a4
push 4
push str.Mip_Maps
push str.Image_has_MIP_maps__Display_them_with_the_image__n_nNote:_You_must_select__Use_Existing_Mip_Maps__in_the_save_dialog
push 0
call dword [0x10e43a08]
cmp eax, 6
jne 0x10c221a4
mov byte [esi + 0x2388], 1
mov ebx, 2
mov eax, dword [esp + 0xd4]
test ah, 0xfe
je 0x10c221d0
mov al, byte [esi + 0x2388]
test al, al
mov ebx, 0xc
jne 0x10c221c4
mov ebx, 6
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], 6
test dword [esp + 0x6c], 0x800000
je 0x10c22205
mov cl, byte [esi + 0x2388]
test cl, cl
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
je 0x10c221f9
lea ebx, [eax + eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], eax
jmp 0x10c2220d
mov dword [esp + 0x1c], eax
mov ebx, eax
mov dword [esp + 0x24], eax
jmp 0x10c2220d
mov dword [esp + 0x30], 0
mov byte [0x112363e0], 1
mov edx, dword [esi + 4]
mov word [edx + 0x34], 4
mov eax, dword [esp + 0xb8]
cmp eax, 0x31545844
mov dword [esp + 0x28], 0
mov byte [esp + 0xf], 0
mov edi, 3
jne 0x10c22247
mov byte [esp + 0xf], 1
jmp 0x10c223e0
cmp eax, 0x32545844
jne 0x10c22258
mov byte [esp + 0xf], 1
jmp 0x10c223e0
cmp eax, 0x33545844
jne 0x10c22269
mov byte [esp + 0xf], 1
jmp 0x10c223e0
cmp eax, 0x34545844
jne 0x10c2227a
mov byte [esp + 0xf], 1
jmp 0x10c223e0
cmp eax, 0x35545844
jne 0x10c2228b
mov byte [esp + 0xf], 1
jmp 0x10c223e0
mov edx, dword [esp + 0xb4]
cmp edx, 0x41
jne 0x10c222c2
mov ecx, dword [esp + 0xbc]
cmp ecx, 0x20
jne 0x10c2235c
cmp dword [esp + 0xcc], 0xff000000
jne 0x10c223bd
mov eax, 0x15
jmp 0x10c223e0
cmp edx, 0x40
jne 0x10c22386
mov ecx, dword [esp + 0xbc]
cmp ecx, 0x18
jne 0x10c222ef
mov byte [0x112363e0], 0
mov ecx, dword [esi + 4]
mov eax, 0x14
mov word [ecx + 0x34], di
jmp 0x10c223e0
cmp ecx, 0x20
jne 0x10c2230c
mov byte [0x112363e0], 0
mov edx, dword [esi + 4]
mov eax, 0x16
mov word [edx + 0x34], di
jmp 0x10c223e0
cmp ecx, 0x10
jne 0x10c223bd
mov ecx, dword [esp + 0xc4]
cmp ecx, 0x3e0
jne 0x10c2233c
mov byte [0x112363e0], 0
mov ecx, dword [esi + 4]
mov eax, 0x18
mov word [ecx + 0x34], di
jmp 0x10c223e0
cmp ecx, 0x7e0
jne 0x10c223bd
mov byte [0x112363e0], 0
mov edx, dword [esi + 4]
mov eax, 0x17
mov word [edx + 0x34], di
jmp 0x10c223e0
cmp ecx, 0x10
jne 0x10c223bd
mov ecx, dword [esp + 0xcc]
cmp ecx, 0x8000
jne 0x10c22377
mov eax, 0x19
jmp 0x10c223e0
cmp ecx, 0xf000
jne 0x10c223bd
mov eax, 0x1a
jmp 0x10c223e0
cmp edx, 0x20
jne 0x10c2239a
mov eax, 0x29
mov dword [esp + 0x28], 0x100
jmp 0x10c223d9
cmp edx, 8
jne 0x10c223ae
mov eax, 0x29
mov dword [esp + 0x28], 0x10
jmp 0x10c223d9
cmp edx, 0x80000
jne 0x10c223bd
mov eax, 0x3c
jmp 0x10c223e0
cmp eax, 0x3c
jne 0x10c223c4
jmp 0x10c223e0
cmp eax, 0x75
jne 0x10c223cb
jmp 0x10c223e0
cmp edx, 2
jne 0x10c220a5
mov eax, 0x1c
mov byte [0x112363e0], 1
mov ecx, dword [esi + 4]
mov dx, word [esp + 0x70]
mov word [ecx + 0x2e], dx
imul ebx, dword [esp + 0x74]
mov ecx, dword [esi + 4]
mov word [ecx + 0x30], bx
mov edx, dword [esi + 4]
mov word [edx + 0x32], 8
mov ecx, dword [esi + 4]
mov word [ecx + 0x2c], di
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x2378], eax
xor esi, esi
test ecx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
jbe 0x10c22428
add esi, eax
inc eax
shr eax, 1
dec ecx
jne 0x10c22420
imul esi, dword [esp + 0x1c]
cmp dword [esp + 0x3c], 1
mov dword [esp + 0x4c], esi
jne 0x10c22491
mov al, byte [0x112363e0]
test al, al
je 0x10c2246d
mov eax, dword [esp + 0x70]
mov edx, esi
imul edx, eax
shl edx, 2
push edx
push 1
mov edi, eax
call fcn.10ddeda8
mov dword [0x112363a0], eax
lea eax, [esi*4]
mov dword [0x112363a4], eax
jmp 0x10c2258c
mov ecx, dword [esp + 0x70]
mov eax, esi
imul eax, ecx
mov edi, ecx
lea ecx, [eax + eax*2]
push ecx
push 1
call fcn.10ddeda8
lea edx, [esi + esi*2]
mov dword [0x112363a4], edx
jmp 0x10c22587
mov al, byte [esp + 0xf]
test al, al
mov al, byte [0x112363e0]
je 0x10c2253f
test al, al
mov edi, dword [esp + 0x70]
je 0x10c22509
cmp edi, 8
jae 0x10c224b4
mov edi, 8
mov eax, edi
imul eax, esi
shl eax, 2
push eax
push 1
call fcn.10ddeda8
lea ecx, [esi*4]
mov dword [0x112363a4], ecx
mov ecx, esi
imul ecx, dword [esp + 0x78]
add esp, 8
mov dword [0x112363a8], esi
shl ecx, 2
mov edx, eax
mov dword [0x112363ac], edi
mov dword [0x112363a0], edx
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x10c2259b
cmp edi, 8
jae 0x10c22513
mov edi, 8
mov eax, edi
imul eax, esi
lea eax, [eax + eax*2]
push eax
push 1
call fcn.10ddeda8
lea ecx, [esi + esi*2]
add esp, 8
mov dword [0x112363a8], esi
imul esi, dword [esp + 0x70]
mov dword [0x112363a4], ecx
lea ecx, [esi + esi*2]
jmp 0x10c224e4
test al, al
je 0x10c22568
mov eax, dword [esp + 0x70]
mov ecx, esi
imul ecx, eax
shl ecx, 2
push ecx
push 1
mov edi, eax
call fcn.10ddeda8
lea edx, [esi*4]
mov dword [0x112363a4], edx
jmp 0x10c22587
mov ecx, dword [esp + 0x70]
mov eax, esi
imul eax, ecx
lea eax, [eax + eax*2]
push eax
push 1
mov edi, ecx
call fcn.10ddeda8
lea ecx, [esi + esi*2]
mov dword [0x112363a4], ecx
mov dword [0x112363a0], eax
add esp, 8
mov dword [0x112363a8], esi
mov dword [0x112363ac], edi
mov eax, dword [esp + 0x30]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x20], ecx
mov byte [0x11236434], cl
mov byte [0x11236435], cl
jne 0x10c22abe
mov eax, dword [esp + 0x34]
cmp eax, ecx
jle 0x10c22ff9
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
xor ecx, ecx
cmp dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
jbe 0x10c22aaf
cmp eax, 0x29
jg 0x10c2264f
je 0x10c22633
add eax, 0xffffffec
cmp eax, 8
ja case.0x10c22608.27
jmp dword [eax*4 + 0x10c230f8]
mov ebx, edi
imul ebx, esi
shl ebx, 2
jmp case.0x10c22608.27
mov ebx, edi
imul ebx, esi
lea ebx, [ebx + ebx*2]
jmp case.0x10c22608.27
mov ebx, edi
imul ebx, esi
jmp case.0x10c22608.27
mov ebx, edi
imul ebx, esi
cmp edx, 0x10
jne 0x10c2263f
shr ebx, 1
test ecx, ecx
jne case.0x10c22608.27
lea ebx, [ebx + edx*4]
jmp case.0x10c22608.27
cmp eax, 0x32545844
jg 0x10c226cb
je 0x10c22687
cmp eax, 0x3c
je case.0x10c22608.23
cmp eax, 0x75
je case.0x10c22608.23
cmp eax, 0x31545844
jne case.0x10c22608.27
push edi
push esi
xor edx, edx
call fcn.10c21c20
jmp 0x10c227c7
mov ebx, edi
imul ebx, esi
shl ebx, 1
jmp case.0x10c22608.27
mov edx, dword [esp + 0x14]
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0x368]
rep stosd dword es:[edi], eax
mov dword [esp + 0x368], 0x7c
mov dword [esp + 0x374], esi
mov dword [esp + 0x370], edx
mov dword [esp + 0x36c], 6
lea eax, [esp + 0x368]
jmp 0x10c227b8
cmp eax, 0x33545844
je 0x10c22779
cmp eax, 0x34545844
je 0x10c22732
cmp eax, 0x35545844
jne case.0x10c22608.27
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x1e8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
push 0x200
lea edx, [esp + 0x1ec]
mov dword [esp + 0x1ec], 0x7c
mov dword [esp + 0x1f8], esi
mov dword [esp + 0x1f4], ecx
mov dword [esp + 0x1f0], 6
push edx
jmp 0x10c227be
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0x268]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
push 0x200
lea ecx, [esp + 0x26c]
mov dword [esp + 0x26c], 0x7c
mov dword [esp + 0x278], esi
mov dword [esp + 0x274], eax
mov dword [esp + 0x270], 6
push ecx
jmp 0x10c227be
mov edx, dword [esp + 0x14]
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0x2e8]
rep stosd dword es:[edi], eax
mov dword [esp + 0x2e8], 0x7c
mov dword [esp + 0x2f4], esi
mov dword [esp + 0x2f0], edx
mov dword [esp + 0x2ec], 6
lea eax, [esp + 0x2e8]
push 0x100
push eax
call fcn.10c29600
mov edi, dword [esp + 0x1c]
add esp, 8
mov ebx, eax
push ebx
push 1
call fcn.10ddeda8
mov ecx, dword [ebp + 8]
push eax
push ebx
push ecx
mov dword [esp + 0x38], eax
call fcn.10c20ee0
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x2388]
add esp, 0x14
test al, al
jne 0x10c2280d
mov eax, dword [esp + 0x38]
test eax, eax
jbe 0x10c2280d
mov eax, dword [esp + 0x24]
push eax
call fcn.10dde80a
add esp, 4
jmp 0x10c22a84
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0xe8]
rep stosd dword es:[edi], eax
cmp dword [esp + 0x18], 0x29
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xe8], 0x7c
mov dword [esp + 0xec], 0x1806
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf0], ecx
jne 0x10c22885
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x10c22885
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
shl eax, 2
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x3e8]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
add ecx, eax
mov dword [esp + 0x10c], ecx
jmp 0x10c22890
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10c], edx
mov al, byte [esp + 0xf]
test al, al
jne 0x10c228af
mov ecx, 8
lea esi, [esp + 0xb0]
lea edi, [esp + 0x130]
rep movsd dword es:[edi], dword [esi]
jmp 0x10c228d3
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x134], 4
mov dword [esp + 0x138], 0xdeadbabe
mov dword [esp + 0x13c], eax
lea ecx, [esp + 0xe8]
push ecx
call fcn.10c2a580
push eax
push 1
call fcn.10ddeda8
mov esi, eax
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0x174]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x3f4]
push edx
push eax
push ecx
push esi
lea edx, [esp + 0x184]
push edx
lea eax, [esp + 0x108]
push eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x18c], 0x7c
call fcn.10c2a980
mov al, byte [0x112363e0]
add esp, 0x24
xor edi, edi
test al, al
mov eax, dword [esp + 0x170]
jne 0x10c229cd
test eax, eax
jbe 0x10c22a5d
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
lea ecx, [eax + eax*2]
lea eax, [edx*4]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x40]
mov ecx, dword [0x112363a0]
mov eax, edi
imul eax, dword [0x112363a4]
add eax, esi
add eax, ecx
test edx, edx
mov ecx, dword [esp + 0x2c]
jbe 0x10c229ae
mov esi, edx
mov dl, byte [ecx]
mov byte [eax], dl
mov dl, byte [ecx + 1]
inc eax
inc ecx
mov byte [eax], dl
mov dl, byte [ecx + 1]
inc eax
inc ecx
mov byte [eax], dl
inc eax
add ecx, 2
dec esi
jne 0x10c22991
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0x170]
inc edi
cmp edi, eax
mov dword [esp + 0x2c], ecx
jb 0x10c22970
jmp 0x10c22a61
test eax, eax
jbe 0x10c22a5d
mov ecx, dword [esp + 0x20]
lea edx, [ecx*4]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x10]
lea eax, [edx*4]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x40]
mov eax, edi
imul eax, dword [0x112363a4]
add eax, ecx
add eax, dword [0x112363a0]
test edx, edx
mov ecx, esi
jbe 0x10c22a49
mov dword [esp + 0x30], edx
mov dl, byte [ecx]
mov byte [eax], dl
mov dl, byte [ecx + 1]
inc eax
inc ecx
mov byte [eax], dl
mov dl, byte [ecx + 1]
inc eax
inc ecx
mov byte [eax], dl
mov dl, byte [ecx + 1]
inc eax
inc ecx
test dl, dl
je 0x10c22a34
mov byte [0x11236434], 1
mov dl, byte [ecx]
mov byte [eax], dl
mov edx, dword [esp + 0x30]
inc eax
inc ecx
dec edx
mov dword [esp + 0x30], edx
jne 0x10c22a12
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x170]
inc edi
add esi, ecx
cmp edi, eax
jb 0x10c229f3
jmp 0x10c22a61
mov edx, dword [esp + 0x10]
add dword [esp + 0x20], edx
mov eax, dword [esp + 0x24]
push eax
call fcn.10dde80a
mov ecx, dword [esp + 0x48]
push ecx
call fcn.10dde80a
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add esp, 8
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
inc ecx
inc esi
shr esi, 1
inc edi
shr edi, 1
cmp ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
jb 0x10c225f5
dec dword [esp + 0x34]
jne 0x10c225d5
jmp 0x10c22ff9
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x3c], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], edx
jbe 0x10c22ff9
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x10c22fb7
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x10]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x40], eax
lea ebx, [ebx]
mov eax, dword [esp + 0x18]
cmp eax, 0x29
jg 0x10c22b7f
je 0x10c22b5e
add eax, 0xffffffec
cmp eax, 8
ja case.0x10c22b27.27
jmp dword [eax*4 + 0x10c2311c]
mov ebx, dword [esp + 0x14]
imul ebx, dword [esp + 0x10]
shl ebx, 2
jmp case.0x10c22b27.27
mov ebx, dword [esp + 0x14]
imul ebx, dword [esp + 0x10]
lea ebx, [ebx + ebx*2]
jmp case.0x10c22b27.27
mov ebx, dword [esp + 0x14]
imul ebx, dword [esp + 0x10]
jmp case.0x10c22b27.27
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
imul ebx, dword [esp + 0x10]
test eax, eax
jne case.0x10c22b27.27
mov ecx, dword [esp + 0x28]
lea ebx, [ebx + ecx*4]
jmp case.0x10c22b27.27
cmp eax, 0x32545844
jg 0x10c22c0f
je 0x10c22bc7
cmp eax, 0x3c
je case.0x10c22b27.23
cmp eax, 0x75
je case.0x10c22b27.23
cmp eax, 0x31545844
jne case.0x10c22b27.27
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
xor edx, edx
call fcn.10c21c20
jmp 0x10c22d11
mov ebx, dword [esp + 0x14]
imul ebx, dword [esp + 0x10]
shl ebx, 1
jmp case.0x10c22b27.27
mov edx, dword [esp + 0x14]
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0x2e8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2e8], 0x7c
mov dword [esp + 0x2f4], ecx
mov dword [esp + 0x2f0], edx
mov dword [esp + 0x2ec], 6
lea eax, [esp + 0x2e8]
jmp 0x10c22d06
cmp eax, 0x33545844
je 0x10c22cc3
cmp eax, 0x34545844
je 0x10c22c79
cmp eax, 0x35545844
jne case.0x10c22b27.27
mov edx, dword [esp + 0x14]
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0x268]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x268], 0x7c
mov dword [esp + 0x274], ecx
mov dword [esp + 0x270], edx
mov dword [esp + 0x26c], 6
push 0x200
lea eax, [esp + 0x26c]
jmp 0x10c22d0b
mov edx, dword [esp + 0x14]
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0x1e8]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1e8], 0x7c
mov dword [esp + 0x1f4], ecx
mov dword [esp + 0x1f0], edx
mov dword [esp + 0x1ec], 6
push 0x200
lea eax, [esp + 0x1ec]
jmp 0x10c22d0b
mov edx, dword [esp + 0x14]
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0x368]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x368], 0x7c
mov dword [esp + 0x374], ecx
mov dword [esp + 0x370], edx
mov dword [esp + 0x36c], 6
lea eax, [esp + 0x368]
push 0x100
push eax
call fcn.10c29600
add esp, 8
mov ebx, eax
push ebx
push 1
call fcn.10ddeda8
mov ecx, dword [ebp + 8]
mov esi, eax
push esi
push ebx
push ecx
mov dword [esp + 0x44], esi
call fcn.10c20ee0
mov edx, dword [esp + 0x24]
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0xfc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x2c]
add esp, 0x14
cmp eax, 0x29
mov dword [esp + 0xe8], 0x7c
mov dword [esp + 0xec], 0x1806
mov dword [esp + 0xf4], edx
jne 0x10c22dac
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x10c22dac
mov eax, dword [esp + 0x28]
shl eax, 2
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x3e8]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x30]
add ecx, eax
mov dword [esp + 0x10c], ecx
jmp 0x10c22db3
mov dword [esp + 0x10c], esi
mov al, byte [esp + 0xf]
test al, al
jne 0x10c22dd2
mov ecx, 8
lea esi, [esp + 0xb0]
lea edi, [esp + 0x130]
rep movsd dword es:[edi], dword [esi]
jmp 0x10c22df6
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x134], 4
mov dword [esp + 0x138], 0xdeadbabe
mov dword [esp + 0x13c], edx
lea eax, [esp + 0xe8]
push eax
call fcn.10c2a580
push eax
push 1
call fcn.10ddeda8
mov edx, dword [esp + 0x34]
mov esi, eax
xor eax, eax
mov ecx, 0x1f
lea edi, [esp + 0x174]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x3f4]
push ecx
push edx
push eax
push esi
lea ecx, [esp + 0x184]
push ecx
lea edx, [esp + 0x108]
push edx
mov dword [esp + 0x68], esi
mov dword [esp + 0x18c], 0x7c
call fcn.10c2a980
mov al, byte [0x112363e0]
add esp, 0x24
xor edi, edi
test al, al
mov eax, dword [esp + 0x170]
jne 0x10c22ee1
test eax, eax
mov edx, dword [esp + 0x10]
jbe 0x10c22f7d
lea eax, [edx*4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x34]
mov ecx, dword [0x112363a0]
mov eax, edi
imul eax, dword [0x112363a4]
add eax, esi
add eax, ecx
test edx, edx
mov ecx, dword [esp + 0x2c]
jbe 0x10c22ec2
mov esi, edx
mov dl, byte [ecx]
mov byte [eax], dl
mov dl, byte [ecx + 1]
inc eax
inc ecx
mov byte [eax], dl
mov dl, byte [ecx + 1]
inc eax
inc ecx
mov byte [eax], dl
inc eax
add ecx, 2
dec esi
jne 0x10c22ea5
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov eax, dword [esp + 0x170]
inc edi
cmp edi, eax
mov dword [esp + 0x2c], ecx
jb 0x10c22e84
jmp 0x10c22f79
test eax, eax
mov ecx, dword [esp + 0x20]
lea edx, [ecx*4]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x10]
jbe 0x10c22f7d
mov esi, dword [esp + 0x44]
lea eax, [edx*4]
mov dword [esp + 0x1c], eax
jmp 0x10c22f10
mov ecx, dword [esp + 0x54]
mov eax, edi
imul eax, dword [0x112363a4]
add eax, ecx
add eax, dword [0x112363a0]
test edx, edx
mov ecx, esi
jbe 0x10c22f67
mov dword [esp + 0x2c], edx
nop
mov dl, byte [ecx]
mov byte [eax], dl
mov dl, byte [ecx + 1]
inc eax
inc ecx
mov byte [eax], dl
mov dl, byte [ecx + 1]
inc eax
inc ecx
mov byte [eax], dl
mov dl, byte [ecx + 1]
inc eax
inc ecx
test dl, dl
je 0x10c22f52
mov byte [0x11236434], 1
mov dl, byte [ecx]
mov byte [eax], dl
mov edx, dword [esp + 0x2c]
inc eax
inc ecx
dec edx
mov dword [esp + 0x2c], edx
jne 0x10c22f30
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x170]
inc edi
add esi, ecx
cmp edi, eax
jb 0x10c22f10
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x30]
add edi, edx
push ecx
mov dword [esp + 0x24], edi
call fcn.10dde80a
push esi
call fcn.10dde80a
mov eax, dword [esp + 0x48]
add esp, 8
dec eax
mov dword [esp + 0x40], eax
jne 0x10c22b10
mov ecx, dword [esp + 0x24]
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x2388]
sar ecx, 1
test al, al
mov dword [esp + 0x24], ecx
je 0x10c22ff9
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
inc eax
inc ecx
shr ecx, 1
inc edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x3c]
shr edx, 1
cmp eax, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], edx
jb 0x10c22ae0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
cmp word [ecx + 0x34], 4
jne 0x10c230df
cmp dword [esp + 0x18], 0x31545844
mov al, byte [0x11236435]
je 0x10c2301e
mov al, byte [0x11236434]
test al, al
jne 0x10c230df
mov esi, dword [esp + 0x4c]
mov eax, esi
imul eax, dword [esp + 0x70]
lea edx, [eax + eax*2]
push edx
push 1
call fcn.10ddeda8
mov dword [esp + 0x60], eax
lea eax, [esi + esi*2]
mov dword [esp + 0x64], eax
mov eax, dword [0x112363ac]
add esp, 8
xor edi, edi
test eax, eax
jbe 0x10c230b1
mov ebx, dword [esp + 0x58]
mov edx, dword [0x112363a8]
nop
mov ecx, dword [0x112363a0]
mov eax, edi
imul eax, dword [0x112363a4]
add eax, ecx
xor esi, esi
test edx, edx
mov ecx, ebx
jbe 0x10c230a1
lea esp, [esp]
mov dl, byte [eax]
mov byte [ecx], dl
mov dl, byte [eax + 1]
inc ecx
inc eax
mov byte [ecx], dl
mov dl, byte [eax + 1]
inc ecx
inc eax
mov byte [ecx], dl
mov edx, dword [0x112363a8]
inc ecx
add eax, 2
inc esi
cmp esi, edx
jb 0x10c23080
mov ecx, dword [esp + 0x5c]
mov eax, dword [0x112363ac]
inc edi
add ebx, ecx
cmp edi, eax
jb 0x10c23060
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov word [ecx + 0x34], 3
mov edx, dword [0x112363a0]
push edx
call fcn.10dde80a
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add esp, 4
mov dword [0x112363a0], eax
mov dword [0x112363a4], ecx
mov ecx, dword [esp + 0x7ec]
mov eax, dword [esp + 0x4c]
call fcn.10ddeddf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret