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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x104408a
test dword [eax + 0x1c], 0x200
je 0x104408a
cmp byte [eax + 0x19], 4
jb 0x104408a
push 0x1003920
push 0x1e0
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push edi
call fcn.010fe457
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.0107c871
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x10440f4
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 0x10440de
push 0x1004180
push 0x2607
push 0x1003930
call fcn.0107b4be
push 0x48
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov dword [edi + 0x1c], eax
cmp eax, esi
jne 0x1044164
mov dword [ebp + 0xc], 0x8007000e
mov eax, dword [0x111124c]
cmp eax, 0x111124c
je 0x1044124
test byte [eax + 0x1c], 1
je 0x1044124
cmp byte [eax + 0x19], 2
jb 0x1044124
push dword [ebp + 0xc]
push 0x1003920
push 0x1e1
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189f6
push edi
call fcn.010fe457
mov eax, dword [0x111124c]
pop edi
pop esi
pop ebx
cmp eax, 0x111124c
je 0x104415d
test dword [eax + 0x1c], 0x200
je 0x104415d
cmp byte [eax + 0x19], 4
jb 0x104415d
push 0x1003920
push 0x1e2
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010189d0
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.01043e05
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x10440f4
push esi
lea eax, [edi + 0x20]
push eax
push dword [ebx + 0x28]
call fcn.0107c871
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x10440f4
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x24], eax
cmp dword [ebx + 0x2c], esi
jbe 0x1044214
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 0x10440ed
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 0x1044214
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.01039fe0
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x10440f4
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 0x10441e3
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x2c], eax
cmp dword [ebx + 0x34], esi
jbe 0x1044287
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 0x10440ed
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 0x1044287
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.0103a531
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x10440f4
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 0x1044256
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.0107c871
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x10440f4
push esi
lea eax, [edi + 0x48]
push eax
push dword [ebx + 0x5c]
call fcn.0107c871
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x10440f4
mov al, byte [ebx + 0x60]
mov byte [edi + 0x4c], al
push esi
lea eax, [edi + 0x50]
push eax
push dword [ebx + 0x64]
call fcn.0107c871
cmp eax, esi
mov dword [ebp + 0xc], eax
jl 0x10440f4
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 0x104412a