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

Disassembly:
push 0xffffffffffffffff
push 0x4f4830
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x38], ebx
lea esi, [ebx + 0xc]
mov ecx, esi
call fcn.004cd090
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp dword [ebx + 0x10], ecx
jbe 0x4989d4
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ebx, [ebx]
mov eax, dword [esi]
xor edi, edi
mov dword [esp + 0x80], edi
mov esi, dword [eax + ecx*4]
mov dword [esp + 0x90], edi
mov dword [esp + 0x4c], edi
mov byte [esp + 0x90], 1
cmp dword [esi + 4], edi
jne 0x49860e
push 8
call fcn.004df9b3
mov esi, eax
add esp, 4
test esi, esi
je 0x498971
mov dword [esi + 4], edi
push esi
mov dword [esi], vtable.CArchiveFolderManager.0
call dword [0x50537c]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x498608
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x4c], esi
jmp 0x498666
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
mov dword [esp + 0x80], edi
setne al
test al, al
jne 0x498630
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x49865a
push str.CreateObject
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
jne 0x49864a
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x49865a
lea eax, [esp + 0x4c]
push eax
push 0x505170
lea eax, [esi + 0x1c]
push eax
call ecx
test eax, eax
jne 0x49890c
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x50], 0
mov byte [esp + 0x90], 2
lea ecx, [esp + 0x50]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x10]
test eax, eax
jne 0x4989ad
xorps xmm0, xmm0
mov dword [esp + 0x60], eax
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov byte [esp + 0x90], 3
lea ecx, [esp + 0x40]
push dword [esp + 0x50]
call fcn.00412680
lea edx, [esp + 0x58]
mov byte [esp + 0x90], 4
lea ecx, [esp + 0x40]
call fcn.004cf550
mov byte [esp + 0x90], 3
push dword [esp + 0x40]
call fcn.004df97b
mov ebp, dword [esp + 0x60]
xor eax, eax
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], ebp
test ebp, ebp
je 0x4988bd
jmp 0x498700
mov ecx, dword [esp + 0x58]
mov ebp, dword [ecx + eax*4]
mov dword [esp + 0x54], 0
mov byte [esp + 0x90], 5
push 8
mov dword [esp + 0x2c], 0
call fcn.004df9b3
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x498999
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 3
mov word [eax], cx
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x7c]
mov byte [esp + 0x90], 6
push edx
mov dword [esp + 0x28], eax
lea edx, [esp + 0x58]
mov eax, dword [esp + 0x50]
push edx
push dword [ebp]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x4987a3
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4987a3
push eax
lea ecx, [esp + 0x2c]
call fcn.00412850
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
xor esi, esi
cmp dword [ebx + 4], esi
jbe 0x4987cd
lea ebx, [ebx]
mov eax, dword [ebx]
mov edx, dword [ebp]
mov ecx, dword [eax + esi*4]
mov ecx, dword [ecx]
call fcn.00411840
test al, al
jne 0x498952
inc esi
cmp esi, dword [ebx + 4]
jb 0x4987b0
push 8
mov dword [esp + 0x68], 0
call fcn.004df9b3
add esp, 4
test eax, eax
je 0x498985
xor ecx, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 3
mov word [eax], cx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ecx
lea eax, [esp + 0x24]
mov byte [esp + 0x90], 7
push eax
lea ecx, [esp + 0x74]
call fcn.00498a20
push ebp
lea ecx, [esp + 0x68]
call fcn.004128e0
lea eax, [esp + 0x64]
mov ecx, ebx
push eax
call fcn.00498ad0
mov byte [esp + 0x90], 6
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
test esi, esi
je 0x498875
lea esp, [esp]
mov ebx, dword [ebp + esi*4 - 4]
dec esi
test ebx, ebx
je 0x49886d
push dword [ebx + 4]
call fcn.004df97b
add esp, 4
push ebx
call fcn.004df97b
add esp, 4
test esi, esi
jne 0x498850
mov ebx, dword [esp + 0x38]
push ebp
call fcn.004df97b
add esp, 4
push dword [esp + 0x64]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x90], 5
push dword [esp + 0x20]
call fcn.004df97b
add esp, 4
push dword [esp + 0x54]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, ebp
jb 0x498700
mov byte [esp + 0x90], 2
test ebp, ebp
je 0x4988f4
mov eax, dword [esp + 0x58]
lea ecx, [ecx]
mov esi, dword [eax + ebp*4 - 4]
dec ebp
test esi, esi
je 0x4988f0
push dword [esi]
call fcn.004df97b
add esp, 4
push esi
call fcn.004df97b
mov eax, dword [esp + 0x5c]
add esp, 4
test ebp, ebp
jne 0x4988d0
push dword [esp + 0x58]
call fcn.004df97b
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 4
push dword [esp + 0x50]
call ebp
mov byte [esp + 0x90], 0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x498922
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x90], 0xffffffff
test edi, edi
je 0x498938
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [ebx + 0x10]
jae 0x4989d4
lea esi, [ebx + 0xc]
jmp 0x4985b0
test esi, esi
js 0x4987cd
mov eax, dword [ebx]
mov ecx, dword [eax + esi*4]
lea eax, [esp + 0x24]
push eax
add ecx, 0xc
call fcn.00498a20
jmp 0x49888a
push 0x51c2c8
lea eax, [esp + 0x1a]
mov byte [esp + 0x1a], 0
push eax
call fcn.004ea58e
push 0x51c2c8
lea eax, [esp + 0x1a]
mov byte [esp + 0x1a], 0
push eax
call fcn.004ea58e
push 0x51c2c8
lea eax, [esp + 0x1b]
mov byte [esp + 0x1b], 0
push eax
call fcn.004ea58e
push dword [esp + 0x50]
call ebp
mov byte [esp + 0x90], 0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4989c9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test edi, edi
je 0x4989d4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004df96c
add esp, 0x80
ret