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

Disassembly:
sub esp, 0x60
mov eax, dword [0x100d1040]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
push esi
push edi
mov edx, dword [0x100c86d0]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x54], edx
movzx edx, word [0x100c86dc]
mov word [esp + 0x4c], dx
movzx edx, word [0x100c86e8]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [str.parentCID]
mov esi, ecx
mov ecx, dword [str.version]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x100c86d8]
mov dword [esp + 0x44], eax
mov eax, dword [str.createType]
mov dword [esp + 0x48], ecx
mov ecx, dword [0x100c86e4]
mov word [esp + 0x34], dx
mov edx, dword [0x100c86f0]
mov dword [esp + 0x2c], eax
movzx eax, byte [0x100c86ea]
mov dword [esp + 0x30], ecx
mov ecx, dword [str.parentFileNameHint]
mov dword [esp + 0x5c], edx
movzx edx, word [0x100c86fc]
mov dword [esp + 0x58], ecx
mov ecx, dword [0x100c86f8]
mov byte [esp + 0x36], al
mov eax, dword [0x100c86f4]
mov word [esp + 0x68], dx
movzx edx, byte [0x100c8702]
mov dword [esp + 0x64], ecx
movzx ecx, word [0x100c8700]
mov dword [esp + 0x60], eax
movzx eax, byte [0x100c86fe]
mov byte [esp + 0x1e], dl
movzx edx, byte [0x100c870a]
mov word [esp + 0x1c], cx
movzx ecx, word [0x100c8708]
mov byte [esp + 0x6a], al
mov eax, dword [str.RDONLY]
mov byte [esp + 0x2a], dl
movzx edx, byte [0x100c8714]
mov dword [esp + 0x24], eax
mov eax, dword [str.NOACCESS]
mov word [esp + 0x28], cx
mov ecx, dword [0x100c8710]
mov dword [esp + 0x20], 0x444943
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x40], dl
lea esp, [esp]
mov al, byte [esi]
cmp al, 0x20
je 0x1004a89a
cmp al, 9
jne 0x1004a89d
inc esi
jmp 0x1004a890
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
push 7
lea eax, [esp + 0x54]
push eax
push esi
call edi
test eax, eax
jne 0x1004a901
push 0x3d
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrA]
test eax, eax
je 0x1004a8e7
inc eax
push eax
call fcn.100595fa
dec eax
add esp, 4
neg eax
sbb eax, eax
and eax, 0xe0033000
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.1005710f
add esp, 0x60
ret 0xc
mov eax, 0x80004005
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.1005710f
add esp, 0x60
ret 0xc
push 3
lea ecx, [esp + 0x24]
push ecx
push esi
call edi
test eax, eax
jne 0x1004a972
push 0x3d
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrA]
test eax, eax
je 0x1004a92d
lea ecx, [eax + 1]
nop
mov al, byte [ecx]
cmp al, 0x20
je 0x1004a92a
cmp al, 9
jne 0x1004a947
inc ecx
jmp 0x1004a920
mov eax, 0xe0033008
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.1005710f
add esp, 0x60
ret 0xc
lea edi, [esp + 0x18]
mov dword [esp + 0x18], ecx
call fcn.1004b410
mov edx, dword [esp + 0x14]
mov dword [edx + 0x3c], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.1005710f
add esp, 0x60
ret 0xc
push 9
lea eax, [esp + 0x48]
push eax
push esi
call edi
test eax, eax
jne 0x1004a9c8
push 0x3d
push esi
call dword [sym.imp.SHLWAPI.dll_StrChrA]
test eax, eax
je 0x1004a92d
lea ecx, [eax + 1]
mov al, byte [ecx]
cmp al, 0x20
je 0x1004a99a
cmp al, 9
jne 0x1004a99d
inc ecx
jmp 0x1004a990
lea edi, [esp + 0x18]
mov dword [esp + 0x18], ecx
call fcn.1004b410
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x40], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.1005710f
add esp, 0x60
ret 0xc
push 0xa
lea edx, [esp + 0x30]
push edx
push esi
call edi
test eax, eax
jne 0x1004a9f6
mov eax, dword [esp + 0x14]
push eax
push esi
call fcn.1004b0f0
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.1005710f
add esp, 0x60
ret 0xc
push 0x12
lea ecx, [esp + 0x5c]
push ecx
push esi
call edi
test eax, eax
jne 0x1004aa22
push ebp
push esi
mov ecx, ebx
call fcn.1004ae50
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.1005710f
add esp, 0x60
ret 0xc
push 8
lea edx, [esp + 0x3c]
push edx
push esi
call edi
test eax, eax
jne 0x1004aa4a
mov eax, 0xe0033009
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.1005710f
add esp, 0x60
ret 0xc
push 2
lea eax, [esp + 0x20]
push eax
push esi
call edi
test eax, eax
je 0x1004aa6a
push 6
lea ecx, [esp + 0x28]
push ecx
push esi
call edi
test eax, eax
jne 0x1004a95b
mov edx, dword [esp + 0x14]
push esi
push ebx
mov ecx, ebp
call fcn.1004aa90
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005710f
add esp, 0x60
ret 0xc