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

Disassembly:
mov eax, 0x196c
call fcn.10021410
push ebx
push ebp
push esi
push edi
push 0x800
lea eax, [esp + 0x17c]
mov ebx, ecx
push 0
push eax
mov edi, edx
mov dword [esp + 0x20], ebx
call fcn.10008a00
push 0x58
lea eax, [esp + 0x30]
push 0
push eax
call fcn.10008a00
add esp, 0x18
test ebx, ebx
je 0x1000332b
mov ecx, 0x10027e80
mov eax, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100032ec
test dx, dx
je 0x100032e8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100032ec
add eax, 4
add ecx, 4
test dx, dx
jne 0x100032c6
xor eax, eax
jmp 0x100032f1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1000332b
mov eax, dword [0x10027ea4]
movq xmm0, qword [str.windows_wchar]
mov dword [0x100478c8], eax
mov ax, word [0x10027ea8]
mov word [0x100478cc], ax
mov eax, 1
movq qword [0x100478c0], xmm0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x196c
ret
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [esp + 0x1c], eax
test edi, edi
je 0x10003381
push 0x2f
push edi
call fcn.100085fb
mov esi, eax
add esp, 8
test esi, esi
jne 0x1000335f
push 0x5c
push edi
call fcn.100085fb
mov esi, eax
add esp, 8
test esi, esi
je 0x10003381
sub esi, edi
lea eax, [esp + 0x978]
sar esi, 1
push esi
push edi
push eax
call fcn.1000f3aa
add esp, 0xc
xor eax, eax
mov word [esp + esi*2 + 0x978], ax
jmp 0x1000338b
xor eax, eax
mov word [esp + 0x978], ax
mov edx, edi
mov ecx, 0x1002e890
call fcn.10001600
cmp dword [esp + 0x1980], 0
jle 0x100035df
mov ebp, dword [esp + 0x1988]
mov edx, dword [0x100298c8]
test ebp, ebp
je 0x1000340e
mov ecx, ebp
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100033c0
sub ecx, esi
sar ecx, 1
je 0x1000340e
lea esi, [esp + 0x178]
mov ecx, ebp
sub esi, ebp
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x100033e0
lea edi, [esp + 0x178]
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x10003400
mov dword [edi], edx
mov eax, dword [esp + 0x1984]
mov ebx, dword [eax]
mov esi, ebx
nop dword [eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x10003420
lea edi, [esp + 0x178]
sub ebx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10003440
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
cmp dword [esp + 0x1980], 1
rep movsb byte es:[edi], byte [esi]
jle 0x100034f1
mov eax, dword [0x100298cc]
mov ebp, 1
mov edx, dword [esp + 0x1984]
nop dword [eax]
lea edi, [esp + 0x178]
add edi, 0xfffffffe
nop word [eax + eax]
mov cx, word [edi + 2]
lea edi, [edi + 2]
test cx, cx
jne 0x10003490
mov ebx, dword [edx + ebp*4]
mov esi, ebx
mov dword [edi], eax
mov cx, word [ebx]
add ebx, 2
test cx, cx
jne 0x100034a3
lea edi, [esp + 0x178]
sub ebx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x100034c0
mov ecx, ebx
inc ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp ebp, dword [esp + 0x1980]
jl 0x10003480
mov edx, dword [0x100298c8]
mov ebp, dword [esp + 0x1988]
lea edi, [esp + 0x178]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x10003500
mov dword [edi], edx
test ebp, ebp
je 0x10003527
lea ecx, [ebp + 2]
mov ax, word [ebp]
add ebp, 2
test ax, ax
jne 0x10003515
sub ebp, ecx
sar ebp, 1
jne 0x1000358a
xor ecx, ecx
nop dword [eax]
movzx eax, word [esp + ecx + 0x178]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x1176], ax
test ax, ax
jne 0x10003530
lea edx, [esp + 0x1178]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10003551
lea edi, [esp + 0x178]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10003570
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x178]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10003594
mov ecx, 7
lea eax, [esp + 0x178]
mov esi, 0x100298d0
rep movsd dword es:[edi], dword [esi]
push 0xa
push eax
movsw word es:[edi], word [esi]
call fcn.1000818b
add esp, 8
test eax, eax
je 0x100035db
xor ecx, ecx
mov word [eax], cx
add eax, 2
push 0xa
push eax
call fcn.1000818b
add esp, 8
test eax, eax
jne 0x100035c4
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], 0x58
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea ecx, [esp + 0x178]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003603
sub ecx, edx
mov dword [esp + 0x38], 1
sar ecx, 1
lea eax, [esp + 0x178]
mov ecx, 0
mov dword [esp + 0x3c], 0x1002e890
cmove eax, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x978]
mov dword [esp + 0x2c], eax
lea edx, [ecx + 2]
mov dword [esp + 0x40], 0x400
mov dword [esp + 0x48], 0x200
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003660
sub ecx, edx
lea eax, [esp + 0x978]
sar ecx, 1
mov ecx, 0
cmove eax, ecx
mov dword [esp + 0x4c], eax
test ebx, ebx
je 0x100036a5
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003690
sub ecx, edx
mov dword [esp + 0x50], ebx
sar ecx, 1
jne 0x100036ad
mov dword [esp + 0x50], 0
mov esi, dword [esp + 0x198c]
xor ecx, ecx
mov dword [esp + 0x58], ecx
test esi, esi
mov dword [esp + 0x5c], ecx
mov eax, 0x81808
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov ecx, 0x81a08
cmovne eax, ecx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
jne 0x100036f3
xor esi, esi
jmp 0x100037d7
mov ecx, 0x1002e890
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003700
sub ecx, edx
sar ecx, 1
lea ebp, [ecx + ecx]
lea edx, [ebp + 0x1002e892]
mov dword [esp + 0x78], edx
test esi, esi
je 0x100037d2
cmp word [edx], ax
je 0x100037d2
xor esi, esi
xor ebx, ebx
mov ecx, edx
mov edi, esi
lea eax, [ecx + 2]
mov dword [esp + 0x14], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10003740
sub ecx, dword [esp + 0x14]
lea eax, [edx + 2]
sar ecx, 1
inc esi
mov dword [esp + ebx + 0xf8], ecx
lea eax, [eax + ecx*2]
mov dword [esp + ebx + 0x7c], eax
lea ebx, [esi*4]
mov edx, dword [esp + ebx + 0x78]
cmp word [edx], 0
jne 0x10003731
xor eax, eax
mov esi, 0x1003e88e
mov word [0x1003e88e], ax
test edi, edi
js 0x100037cd
lea ebx, [eax + 0x5c]
nop dword [eax + eax]
mov eax, dword [esp + edi*4 + 0xf8]
add eax, eax
push eax
push dword [esp + edi*4 + 0x7c]
sub esi, eax
push esi
call fcn.10009970
sub esi, 2
push ebp
push 0x1002e890
mov word [esi], bx
sub esi, ebp
push esi
call fcn.10009970
sub esi, 2
add esp, 0x18
sub edi, 1
mov eax, 0x7c
mov word [esi], ax
jns 0x10003790
add esi, 2
jmp 0x100037d7
mov esi, 0x1002e890
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100037e4
cmp eax, 1
jne 0x100037ea
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x196c
ret