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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x2f8
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, eax
mov dl, byte [eax]
cmp dl, 0xff
mov byte [esp + 0xcf], dl
mov dword [esp + 0xc8], ecx
je 0x1000143a
jmp 0x1000148b
mov eax, dword [esp + 0xc4]
mov ecx, esp
mov dword [ecx + 0x20], 0x23b
mov dword [ecx + 0x1c], 0xe5e
mov dword [ecx + 0x18], 0x2a
mov dword [ecx + 0x14], 0xe5e
mov dword [ecx + 0x10], 0xe5e
mov dword [ecx + 0xc], 0xe5e
mov dword [ecx + 8], 0xe5e
mov dword [ecx + 4], 0xe5e
mov dword [ecx], 0x1522be
mov ecx, dword [sym.imp.GDI32.dll_Pie]
mov dword [esp + 0xc0], eax
call ecx
sub esp, 0x24
mov ecx, dword [esp + 0xc0]
sub ecx, 9
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], ecx
je 0x1000164a
jmp 0x1000120d
mov eax, dword [esp + 0xc0]
sub eax, 0x62
mov dword [esp + 0xb4], eax
je 0x100013ff
jmp 0x1000168e
mov eax, dword [esp + 0xb0]
add eax, 1
cmp eax, 0x17e
mov dword [esp + 0xac], eax
jl 0x10001388
jmp 0x1000141a
mov eax, 2
mov dword [esp + 0xa8], eax
jmp 0x100016b1
lea eax, [esp + 0xd8]
mov ecx, eax
add ecx, 0xe
add eax, 0xa
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], eax
jmp 0x10001623
xor eax, eax
lea ecx, [esp + 0x2e8]
lea edx, [esp + 0x2f0]
mov esi, ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], edx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x90]
mov ecx, esp
mov dword [ecx + 0x20], 0x23b
mov dword [ecx + 0x1c], 0xe5e
mov dword [ecx + 0x18], 0x2a
mov dword [ecx + 0x14], 0xe5e
mov dword [ecx + 0x10], 0xe5e
mov dword [ecx + 0xc], 0xe5e
mov dword [ecx + 8], 0xe5e
mov dword [ecx + 4], 0xe5e
mov dword [ecx], 0x1522be
mov ecx, dword [sym.imp.GDI32.dll_Pie]
mov dword [esp + 0x8c], eax
call ecx
sub esp, 0x24
mov ecx, dword [esp + 0x8c]
sub ecx, 9
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ecx
je 0x100014dd
jmp 0x1000132b
mov eax, dword [esp + 0x8c]
sub eax, 0x62
mov dword [esp + 0x80], eax
je 0x100014c7
jmp 0x10001524
xor eax, eax
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x2e0]
mov esi, edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], esi
mov dword [esp + 0xc4], eax
jmp 0x10001194
call fcn.100088e0
xor ecx, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0xa8], ecx
jmp 0x100016b1
mov eax, dword [esp + 0xac]
mov ecx, esp
mov edx, dword [esp + 0x6c]
mov dword [ecx + 4], edx
mov dword [ecx + 8], 0x104
mov dword [ecx], 0
mov ecx, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esp + 0xb0], eax
call ecx
sub esp, 0xc
mov ecx, dword [esp + 0x68]
cmp word [ecx], 0x46
sete bl
mov edx, dword [esp + 0x64]
cmp word [edx], 0x2e
sete bh
and bl, bh
mov esi, dword [esp + 0x60]
cmp word [esi], 0x4c
sete bh
and bl, bh
mov edi, dword [esp + 0x5c]
cmp word [edi], 0x45
sete bh
and bl, bh
test bl, 1
mov dword [esp + 0x58], eax
jne 0x10001347
jmp 0x10001229
mov eax, esp
mov dword [eax], 0x58
mov eax, dword [sym.imp.SHLWAPI.dll_PathGetCharTypeA]
call eax
sub esp, 4
mov dword [esp + 0x54], eax
jmp 0x1000164a
mov eax, 1
mov ecx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [ecx], 0x6a
mov dword [esp + 0xa8], eax
je 0x100016b1
jmp 0x10001371
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [esp + 0x50], eax
jmp 0x10001445
mov eax, dword [esp + 0x50]
cmp byte [eax + 1], 0x25
mov dword [esp + 0x4c], eax
jne 0x10001553
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 2]
mov ecx, dword [ecx]
mov dl, byte [ecx]
cmp dl, 0xff
mov esi, ecx
mov byte [esp + 0x4b], dl
mov dword [esp + 0x50], esi
mov dword [esp + 0x44], ecx
je 0x10001445
mov eax, dword [esp + 0x44]
mov cl, byte [esp + 0x4b]
mov byte [esp + 0xcf], cl
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xc8]
mov cl, byte [esp + 0xcf]
cmp cl, 0xb8
mov dword [esp + 0x40], eax
jne 0x10001555
mov eax, dword [esp + 0x40]
cmp byte [eax + 3], 0x50
jne 0x10001555
mov eax, dword [esp + 0x40]
cmp byte [eax + 4], 0xcd
je 0x10001284
jmp 0x10001555
mov eax, esp
mov dword [eax], 0x58
mov eax, dword [sym.imp.SHLWAPI.dll_PathGetCharTypeA]
call eax
sub esp, 4
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2ec], 0
mov dword [esp + 0x2e8], 0
mov eax, esp
mov ecx, dword [esp + 0x9c]
mov dword [eax + 8], ecx
lea edx, [esp + 0x2f0]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 0x40a
mov dword [eax], 0x64f4d1
mov eax, dword [sym.imp.GDI32.dll_PlayMetaFileRecord]
call eax
sub esp, 0x10
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x8c]
add eax, 1
cmp eax, 0xd9
mov dword [esp + 0x90], eax
jne 0x100012b2
mov eax, 2
mov dword [esp + 0xa8], eax
jmp 0x100016b1
jmp 0x10001555
lea eax, [esp + 0xd8]
mov ecx, eax
add ecx, 8
mov edx, eax
add edx, 0xc
mov esi, eax
mov edi, esp
mov dword [edi + 4], eax
mov dword [edi + 8], 0x104
mov dword [edi], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x34], esi
call edi
sub esp, 0xc
cmp word [esp + 0xe4], 0x54
sete bl
cmp word [esp + 0xe0], 0x45
sete bh
and bl, bh
test bl, 1
mov dword [esp + 0x30], eax
jne 0x100015c5
jmp 0x1000125d
lea eax, [esp + 0xd8]
add eax, 0xa
cmp word [esp + 0xe2], 0x53
mov dword [esp + 0x2c], eax
jne 0x1000125d
mov eax, 2
lea ecx, [esp + 0xd8]
add ecx, 0xe
mov dx, word [esp + 0xe6]
cmp dx, 0x41
mov esi, dword [esp + 0x2c]
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], eax
je 0x100016b1
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov edx, 0x18
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0xac], edx
jmp 0x10001388
mov dword [esp + 0x2e4], 0
mov dword [esp + 0x2e0], 0
mov eax, esp
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
lea edx, [esp + 0xd0]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 0x40a
mov dword [eax], 0x64f4d1
mov eax, dword [sym.imp.GDI32.dll_PlayMetaFileRecord]
call eax
sub esp, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc0]
add eax, 1
cmp eax, 0xd9
mov dword [esp + 0xc4], eax
je 0x1000124c
jmp 0x10001194
mov eax, dword [esp + 0xa8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret