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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6ac
mov eax, dword [0x1000a004]
xor eax, esp
mov dword [esp + 0x6a8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
push 0x58
mov dword [esp + 0x18], eax
lea eax, [esp + 0x44]
push ebx
push eax
call sub.msvcrt.dll_memset
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x2ac]
mov edi, 0x208
push edi
push ebx
push eax
call sub.msvcrt.dll_memset
push edi
lea eax, [esp + 0x4c4]
push ebx
push eax
call sub.msvcrt.dll_memset
push edi
lea eax, [esp + 0xc0]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x30
lea eax, [esp + 0x2a0]
mov edi, 0x104
push edi
push eax
push 0x4b2
push dword [0x1000abe0]
call dword [sym.imp.USER32.dll_LoadStringW]
push edi
lea eax, [esp + 0x4ac]
push eax
push 0x4b3
push dword [0x1000abe0]
call dword [sym.imp.USER32.dll_LoadStringW]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x2a0]
push 0x104
push 0x40
mov dword [esp + 0x48], 0x58
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x4a8]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x60], 0x104
mov dword [esp + 0x74], 0x81220
mov dword [esp + 0x84], 0x10007a40
mov dword [esp + 0x2c], 0x14
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], 0x80000001
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], edi
call fcn.10007959
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
jne 0x10007c93
mov edi, 0x80040113
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe
jne 0x10007ddf
mov edi, 0x8007000e
jmp 0x10007ddf
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x10007ca5
mov edi, 0x8000ffff
jmp 0x10007df0
movzx eax, word [esp + 0x78]
lea edx, [ecx + eax*2]
xor ecx, ecx
cmp word [edx - 2], cx
je 0x10007cc5
xor eax, eax
xor ebx, ebx
mov word [edx - 2], ax
inc ebx
or dword [esp + 0x38], 8
jmp 0x10007cf2
cmp word [edx], cx
je 0x10007cf2
xor edi, edi
mov ecx, edx
inc ebx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x10007cd2
sub ecx, esi
sar ecx, 1
lea edx, [edx + ecx*2]
add edx, 2
cmp word [edx], di
jne 0x10007ccc
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov esi, esp
mov dword [esp + 0x18], ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x20], ecx
push eax
push edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
mov dword [esp + 0x24], ebx
call dword [0x1000b17c]
call edi
cmp esi, esp
je 0x10007d1f
mov ecx, 4
int 0x29
movzx ecx, word [esp + 0x78]
test ebx, ebx
mov eax, dword [esp + 0x5c]
lea esi, [eax + ecx*2]
jmp 0x10007dd1
push dword [esp + 0x5c]
mov edx, 0x104
lea ecx, [esp + 0x9c]
call fcn.1000327d
push esi
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
mov edi, esp
push ecx
push eax
mov esi, dword [eax]
mov esi, dword [esi + 0x20]
mov ecx, esi
call dword [0x1000b17c]
call esi
cmp edi, esp
je 0x10007d7c
mov ecx, 4
int 0x29
mov edi, eax
test edi, edi
js 0x10007e09
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x18]
inc dword [esp + 0x18]
mov esi, esp
push eax
push dword [esp + 0x14]
mov ecx, edi
call dword [0x1000b17c]
call edi
cmp esi, esp
je 0x10007dae
mov ecx, 4
int 0x29
mov esi, dword [esp + 0x28]
xor edi, edi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x10007db9
sub ecx, edx
sar ecx, 1
lea esi, [esi + ecx*2]
add esi, 2
sub ebx, 1
mov dword [esp + 0x28], esi
jne 0x10007d32
xor eax, eax
mov edi, eax
cmp dword [esp + 0x5c], 0
je 0x10007df0
push dword [esp + 0x5c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x6b4]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10001863
mov esp, ebp
pop ebp
ret 0x14
cmp edi, 0x80040113
jne 0x10007ddf
mov esi, esp
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
mov ecx, ebx
call dword [0x1000b17c]
call ebx
cmp esi, esp
je 0x10007e39
mov ecx, 4
int 0x29
jmp 0x10007ddf