Function at 0x10038050
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100723e8
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
xor ebx, ebx
push esi
cmp ecx, ebx
push edi
je 0x10038076
lea edi, [ecx - 0x74]
jmp 0x10038078
xor edi, edi
mov word [esp + 0x30], bx
mov eax, dword [edi + 0x1c]
lea esi, [edi + 4]
cmp eax, ebx
mov dword [esp + 0x48], ebx
je 0x10038276
push ebx
lea edx, [esp + 0x34]
mov ecx, dword [eax]
push ebx
push edx
lea edx, [esp + 0x2c]
push edx
push 2
push 0x400
push 0x10076f04
push 0xfffffd3b
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call dword [ecx + 0x18]
cmp eax, ebx
jl 0x10038276
cmp word [esp + 0x30], 0xb
jne 0x10038276
cmp word [esp + 0x38], bx
jne 0x10038276
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov ecx, dword [esi + 0x10]
xor eax, eax
cmp ecx, ebx
mov byte [esp + 0x48], 2
mov dword [esp + 0xc], eax
je 0x1003810e
mov eax, dword [ecx]
lea edx, [esp + 0xc]
push edx
push 0x10076ea4
push ecx
call dword [eax]
mov eax, dword [esp + 0xc]
cmp eax, ebx
mov byte [esp + 0x48], 3
je 0x10038127
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov edi, eax
cmp edi, ebx
jge 0x1003822c
mov dword [esp + 0x50], ebx
mov edx, dword [esi]
lea eax, [esp + 0x50]
push eax
push 0x10076f14
mov ecx, esi
mov byte [esp + 0x50], 4
call dword [edx + 4]
mov ecx, dword [esp + 0x50]
push 0x10076e84
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.10035840
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10038214
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jl 0x10038219
mov eax, dword [esp + 0x50]
push ebp
push 0x10076f94
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.10035840
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp eax, ebx
je 0x10038205
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov edx, dword [eax]
push ecx
push 2
push eax
call dword [edx + 0x40]
lea edx, [esp + 0x20]
mov ecx, esi
push edx
call fcn.100382d0
test eax, eax
jge 0x100381c2
mov dword [esp + 0x20], 0x400
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ebx
push ebx
push eax
push ecx
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x64]
push edx
mov edx, dword [esi + 0x2c]
push eax
mov eax, dword [esi + 0x30]
push 1
push ecx
mov ecx, dword [esp + 0x78]
push edx
push eax
push ecx
call dword [sym.imp.OLEAUT32.dll_OleLoadPicture]
mov edx, dword [esp + 0x1c]
mov edi, eax
push edx
call ebp
mov eax, dword [esp + 0x28]
push eax
call ebp
pop ebp
jmp 0x10038219
mov eax, dword [esp + 0x28]
mov edi, 0x40181
push eax
call ebp
pop ebp
jmp 0x10038219
mov edi, 0x40181
mov eax, dword [esp + 0x50]
mov byte [esp + 0x48], 3
cmp eax, ebx
je 0x1003822c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 2
call fcn.10002fd0
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call fcn.10002fd0
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], bl
call fcn.10002fd0
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 8
lea eax, [edi + 0x74]
cmp eax, ebx
je 0x10038282
add eax, 0xffffff8c
jmp 0x10038284
xor eax, eax
lea edi, [eax + 4]
mov eax, dword [esp + 0x50]
push eax
push 0xfffffffffffffffb
mov ecx, edi
call fcn.10035880
mov esi, eax
cmp esi, ebx
jl 0x100382a4
mov ecx, edi
xor esi, esi
call fcn.10038360
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [esp + 0x40]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 8