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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x104419e
test dword [eax + 0x1c], 0x200
je 0x104419e
cmp byte [eax + 0x19], 4
jb 0x104419e
push 0x1003928
push 0x1e0
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push edi
call fcn.010fe264
mov ebx, dword [ebp + 8]
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0xc]
xor esi, esi
push esi
lea eax, [edi + 0x10]
push eax
push dword [ebx + 0x10]
call fcn.0107c9fc
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x1044208
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
cmp dword [ebx + 0x20], 1
je 0x10441f2
push 0x1004188
push 0x2607
push 0x1003938
call fcn.0107b644
push 0x48
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [edi + 0x1c], eax
cmp eax, esi
jne 0x1044278
mov dword [ebp + 0xc], 0x8007000e
mov eax, dword [0x111024c]
cmp eax, 0x111024c
je 0x1044238
test byte [eax + 0x1c], 1
je 0x1044238
cmp byte [eax + 0x19], 2
jb 0x1044238
push dword [ebp + 0xc]
push 0x1003928
push 0x1e1
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01019fa8
push edi
call fcn.010fe264
mov eax, dword [0x111024c]
pop edi
pop esi
pop ebx
cmp eax, 0x111024c
je 0x1044271
test dword [eax + 0x1c], 0x200
je 0x1044271
cmp byte [eax + 0x19], 4
jb 0x1044271
push 0x1003928
push 0x1e2
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0101894a
mov eax, dword [ebp + 0xc]
leave
ret 8
push 0x48
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push dword [edi + 0x1c]
push dword [edi + 0x18]
push dword [ebx + 0x24]
call fcn.01043f19
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x1044208
push esi
lea eax, [edi + 0x20]
push eax
push dword [ebx + 0x28]
call fcn.0107c9fc
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x1044208
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x24], eax
cmp dword [ebx + 0x2c], esi
jbe 0x1044328
mov eax, dword [ebx + 0x2c]
imul eax, eax, 0x58
push eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [edi + 0x28], eax
cmp eax, esi
je 0x1044201
mov ecx, dword [ebx + 0x2c]
imul ecx, ecx, 0x58
push ecx
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp + 8], esi
cmp dword [ebx + 0x2c], esi
jbe 0x1044328
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov eax, dword [edi + 0x28]
add eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x30]
add eax, dword [ebp - 8]
push eax
call fcn.0103a0ab
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x1044208
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
add dword [ebp - 4], 0x58
add dword [ebp - 8], 0x70
cmp eax, dword [ebx + 0x2c]
jb 0x10442f7
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x2c], eax
cmp dword [ebx + 0x34], esi
jbe 0x104439b
mov eax, dword [ebx + 0x34]
shl eax, 6
push eax
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [edi + 0x30], eax
cmp eax, esi
je 0x1044201
mov ecx, dword [ebx + 0x34]
shl ecx, 6
push ecx
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp + 8], esi
cmp dword [ebx + 0x34], esi
jbe 0x104439b
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov eax, dword [edi + 0x30]
add eax, dword [ebp - 8]
push eax
mov eax, dword [ebx + 0x38]
add eax, dword [ebp - 4]
push eax
call fcn.0103a5fc
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x1044208
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
add dword [ebp - 8], 0x40
add dword [ebp - 4], 0x4c
cmp eax, dword [ebx + 0x34]
jb 0x104436a
mov ax, word [ebx + 0x3c]
mov word [edi + 0x34], ax
mov dword [edi + 0x38], 0xe
mov eax, dword [ebx + 0x40]
mov dword [edi + 0x3c], eax
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x40], eax
push esi
lea eax, [edi + 0x44]
push eax
push dword [ebx + 0x58]
call fcn.0107c9fc
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x1044208
push esi
lea eax, [edi + 0x48]
push eax
push dword [ebx + 0x5c]
call fcn.0107c9fc
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x1044208
mov al, byte [ebx + 0x60]
mov byte [edi + 0x4c], al
push esi
lea eax, [edi + 0x50]
push eax
push dword [ebx + 0x64]
call fcn.0107c9fc
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x1044208
mov ax, word [ebx + 0x68]
mov word [edi + 0x54], ax
mov al, byte [ebx + 0x6a]
mov byte [edi + 0x56], al
mov eax, dword [ebx + 0x6c]
mov dword [edi + 0x58], eax
mov al, byte [ebx + 0x70]
mov byte [edi + 0x5c], al
mov al, byte [ebx + 0x88]
mov byte [edi + 0x78], al
mov al, byte [ebx + 0x7c]
mov byte [edi + 0x5d], al
mov eax, dword [ebx + 0x80]
mov dword [edi + 0x60], eax
mov eax, dword [ebx + 0x84]
mov dword [edi + 0x64], eax
add edi, 0x68
lea esi, [ebx + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x104423e