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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
lea edi, [esi + 0x4c]
mov dword [eax], ebx
mov eax, dword [edi]
mov dword [esp + 0x1c], edi
cmp eax, ebx
je 0x41910d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi], ebx
xor eax, eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0xc]
push 3
mov dword [esp + 0x40], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push ecx
push eax
call edx
mov edi, eax
cmp edi, ebx
je 0x419169
mov ax, word [esp + 0x30]
cmp ax, bx
je case.0x41914c.0
movzx eax, ax
cmp eax, 0x40
ja case.0x41914c.1
movzx eax, byte [eax + 0x41955c]
jmp dword [eax*4 + 0x419554]
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 8
call fcn.004ba2ba
xor edx, edx
mov word [eax], dx
mov cx, word [esp + 0x34]
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 3
cmp cx, bx
jne 0x419199
mov ebx, 0x62b2b0
jmp 0x4191c3
cmp cx, 8
je 0x4191bf
push eax
call fcn.004ba2af
add esp, 4
lea ecx, [esp + 0x30]
call fcn.00418e50
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [esp + 0x38]
lea edi, [esp + 0x20]
call fcn.00418000
add esi, 0x1c
mov ebx, edi
mov dword [esp + 0x14], esi
call fcn.00418070
mov eax, dword [esp + 0x20]
push eax
call fcn.004ba2af
mov ax, word [esp + 0x34]
add esp, 4
test ax, ax
je case.0x419200.0
movzx eax, ax
cmp eax, 0x40
ja case.0x419200.1
movzx ecx, byte [eax + 0x4195a8]
jmp dword [ecx*4 + 0x4195a0]
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor eax, eax
cmp dword [ebp + 0x14], eax
jne 0x41954b
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 9
push ebx
push eax
call edx
mov edi, eax
test edi, edi
je 0x419258
lea ecx, [esp + 0x30]
call fcn.00418e50
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ax, word [esp + 0x30]
test ax, ax
jne 0x41926e
mov dword [esi + 0x40], 0
mov byte [esi + 0x45], al
jmp 0x419283
cmp ax, 0x13
jne 0x4191a8
mov eax, dword [esp + 0x38]
mov dword [esi + 0x40], eax
mov byte [esi + 0x45], 1
lea ecx, [esp + 0x30]
call fcn.00418e50
mov eax, dword [esi + 0xc]
lea edi, [esi + 0x44]
push ebx
push eax
mov dword [esp + 0x18], edi
call fcn.00418fb0
add esp, 8
test eax, eax
jne 0x41954b
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x30]
push edx
xor ecx, ecx
push 0xc
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
mov ecx, dword [eax]
push ebx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov edi, eax
test edi, edi
jne 0x419244
mov byte [esi + 0x46], al
movzx eax, word [esp + 0x30]
test eax, eax
je 0x4192f6
cmp eax, 0x40
jne 0x4191a8
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
mov byte [esi + 0x46], 1
lea ecx, [esp + 0x30]
call fcn.00418e50
xor eax, eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 7
push ebx
push eax
call edx
mov ebx, eax
test ebx, ebx
je 0x419336
lea ecx, [esp + 0x30]
call fcn.00418e50
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [esp + 0x20]
lea eax, [esp + 0x30]
call fcn.00418ee0
lea ecx, [esp + 0x30]
call fcn.00418e50
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.004181e0
test eax, eax
js 0x419392
push ebx
lea edi, [esp + 0x24]
call fcn.00418d20
lea ecx, [esi + 0x10]
lea edx, [esp + 0x30]
call fcn.00417f00
mov ecx, dword [eax]
call fcn.0041c730
mov eax, dword [esp + 0x30]
push eax
call fcn.004ba2af
mov ecx, dword [esp + 0x24]
add esp, 4
push ecx
call fcn.004ba2af
add esp, 4
lea ecx, [esi + 0x10]
mov eax, ebx
lea edx, [esp + 0x30]
call fcn.00417f00
add esi, 0x28
lea ebx, [esp + 0x30]
mov dword [esp + 0x20], esi
call fcn.00418070
mov edx, dword [esp + 0x10]
cmp byte [edx], 0
je 0x4193c7
mov ecx, dword [esp + 0x30]
call fcn.0041c730
jmp 0x41953c
lea esi, [esp + 0x40]
call fcn.004195f0
mov esi, dword [esp + 0x30]
push esi
lea ecx, [esp + 0x44]
call fcn.0041b3b0
test al, al
je 0x419432
mov eax, esi
call fcn.0041c9a0
test al, al
jne 0x419432
mov eax, dword [0x6686d0]
push str.DeleteFileAlways_abort_
push 0x9e
push 4
push eax
mov ebx, str.CArchiveExtractCallback::GetStream
mov edi, str.ArchiveExtractCallback.cpp
call fcn.004169e0
mov ecx, dword [esp + 0x78]
push ecx
call fcn.004ba2af
add esp, 0x14
push esi
call fcn.004ba2af
add esp, 4
mov eax, 0x80004004
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x18
call fcn.004ba280
xor edi, edi
add esp, 4
cmp eax, edi
je 0x41945a
mov dword [eax + 4], edi
mov ebx, eax
mov dword [eax], vtable.COutFileStream.0
mov dword [eax + 8], 0xffffffff
mov dword [esp + 0x10], ebx
jmp 0x419460
mov dword [esp + 0x10], edi
mov ebx, edi
mov esi, dword [ebp + 8]
mov dword [esi + 0x48], ebx
mov dword [esp + 0x18], ebx
cmp ebx, edi
je 0x419476
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [esi + 0x48]
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], edi
push 1
lea esi, [eax + 8]
mov eax, dword [esp + 0x34]
push 0x40000000
mov edi, 2
call fcn.00418390
test al, al
jne 0x4194f8
mov ecx, dword [0x6686d0]
push str.COutFileStream_open_abort_
push 0xa8
push 4
push ecx
mov ebx, str.CArchiveExtractCallback::GetStream
mov edi, str.ArchiveExtractCallback.cpp
call fcn.004169e0
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
je 0x4194d0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004ba2af
mov edx, dword [esp + 0x34]
add esp, 4
push edx
call fcn.004ba2af
add esp, 4
mov eax, 0x80004004
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
call fcn.00419780
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax], ebx
mov eax, dword [ecx + 0x68]
test eax, eax
je 0x41952f
mov ecx, dword [ecx + 0x6c]
test ecx, ecx
je 0x41952f
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
push edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx]
push edx
push eax
call ecx
add esp, 0xc
mov eax, dword [esp + 0x68]
push eax
call fcn.004ba2af
add esp, 4
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004ba2af
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10