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

Disassembly:
push 0xffffffffffffffff
push 0x51d52a
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x56a338]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56a338]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x1a0], ebp
mov esi, ecx
mov dword [esp + 0x48], ebp
push ebp
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebp
push 0x55fd30
mov dword [esp + 0x2c], esi
mov word [esi + 4], bp
call fcn.004021f0
mov dword [esp + 0x1a0], ebp
mov edi, 1
push ebp
mov dword [esp + 0x4c], edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esp + 0x1c], ebp
call fcn.00412870
shr eax, 0x10
cmp eax, 5
jbe 0x4129bb
lea eax, [esp + 0x1c]
push eax
push 0x5618c4
jmp 0x4129c5
lea ecx, [esp + 0x1c]
push ecx
push 0x5618b4
push edi
push ebp
push 0x5618a4
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jne 0x412e75
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ecx
push eax
call edx
cmp eax, ebp
jne 0x412e69
push 0x4c
lea eax, [esp + 0x54]
push ebp
push eax
call fcn.00435740
add esp, 0xc
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x54]
mov dword [esp + 0xa4], ecx
lea edx, [esp + 0x58]
mov dword [esp + 0xb0], edx
mov eax, 0x20
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0xbc], ecx
lea edx, [esp + 0x60]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xd8], eax
lea ecx, [esp + 0x64]
lea edx, [esp + 0x68]
lea eax, [esp + 0x6c]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xe0], edx
mov dword [esp + 0xec], eax
lea ecx, [esp + 0x70]
lea edx, [esp + 0x74]
lea eax, [esp + 0x78]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x104], edx
mov dword [esp + 0x110], eax
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x80]
lea eax, [esp + 0x84]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x128], edx
mov dword [esp + 0x134], eax
lea ecx, [esp + 0x88]
lea edx, [esp + 0x8c]
lea eax, [esp + 0x90]
mov dword [esp + 0x4c], 0x50
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], str.Name:
mov dword [esp + 0xa8], 2
mov dword [esp + 0xac], str.Version:
mov dword [esp + 0xb4], 4
mov dword [esp + 0xb8], str.Publisher:
mov dword [esp + 0xc0], 8
mov dword [esp + 0xc4], str.Product:
mov dword [esp + 0xcc], 0x10
mov dword [esp + 0xd0], str.Owner:
mov dword [esp + 0xdc], str.Company:
mov dword [esp + 0xe4], 0x40
mov dword [esp + 0xe8], str.Language:
mov dword [esp + 0xf0], 0x80
mov dword [esp + 0xf4], str.URL:
mov dword [esp + 0xfc], 0x100
mov dword [esp + 0x100], str.Telephone:
mov dword [esp + 0x108], 0x200
mov dword [esp + 0x10c], str.Link:
mov dword [esp + 0x114], 0x400
mov dword [esp + 0x118], str.Location:
mov dword [esp + 0x120], 0x800
mov dword [esp + 0x124], str.Source:
mov dword [esp + 0x12c], 0x1000
mov dword [esp + 0x130], str.Date:
mov dword [esp + 0x138], 0x4000
mov dword [esp + 0x13c], str.Contact:
mov dword [esp + 0x140], ecx
mov dword [esp + 0x144], 0x8000
mov dword [esp + 0x148], str.Comments:
mov dword [esp + 0x14c], edx
mov dword [esp + 0x150], 0x20000
mov dword [esp + 0x154], str.Image:
mov dword [esp + 0x158], eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x98]
mov dword [esp + 0x170], edx
lea ecx, [esp + 0x94]
lea edx, [esp + 0x14]
mov dword [esp + 0x164], ecx
mov dword [esp + 0x14], ebp
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x164], 0x40000
mov dword [esp + 0x168], str.Readme:
mov dword [esp + 0x170], 0x80000
mov dword [esp + 0x174], str.Update:
call eax
cmp eax, ebp
jne 0x412e5d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push eax
call edx
test eax, eax
jne 0x412e30
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebp
mov ecx, dword [eax]
push 0x561894
push eax
mov eax, dword [ecx]
xor bl, bl
call eax
cmp eax, ebp
jne 0x412d76
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
mov dword [esp + 0x2c], 0xffffffff
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebp
jne 0x412d76
test byte [esp + 0x2c], 1
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
je 0x412d28
mov eax, dword [esp + 0x30]
push eax
call esi
test byte [esp + 0x2c], 2
je 0x412d3c
mov eax, dword [esp + 0x34]
cmp word [eax], bp
push eax
setne bl
call esi
test byte [esp + 0x2c], 4
je 0x412d4a
mov ecx, dword [esp + 0x38]
push ecx
call esi
test byte [esp + 0x2c], 8
je 0x412d58
mov edx, dword [esp + 0x3c]
push edx
call esi
test byte [esp + 0x2c], 0x20
je 0x412d6e
test bl, bl
jne 0x412e30
cmp dword [esp + 0x44], ebp
setne bl
test bl, bl
jne 0x412e30
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x4c]
mov dword [esp + 0x50], 0xffffffff
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebp
jne 0x412e30
xor eax, eax
lea edx, [esp + 0xa0]
mov ecx, dword [esp + 0x50]
test dword [edx - 4], ecx
je 0x412dbb
mov esi, dword [edx]
mov edi, str.Name:
mov ecx, 6
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x412dc8
add eax, 1
add edx, 0xc
cmp eax, 0x12
jb 0x412da0
jmp 0x412e30
lea edx, [eax + eax*2]
mov eax, dword [esp + edx*4 + 0xa4]
mov edx, dword [eax]
lea eax, [esp + 0x178]
call fcn.00401b60
push ebp
lea ecx, [esp + 0x17c]
mov dword [esp + 0x1a4], 1
mov esi, dword [esp + 0x28]
push ecx
or eax, 0xffffffff
call fcn.00401bd0
push 1
push 0x5616fc
mov ecx, esi
call fcn.00401d70
mov byte [esp + 0x1a0], 0
cmp dword [esp + 0x190], 8
jb 0x412e30
mov edx, dword [esp + 0x17c]
push edx
call fcn.0042eca7
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
cmp eax, ebp
je 0x412cb2
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.0042eb95
add esp, 0x190
ret