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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a7a30
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x4d7590]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00467160
lea eax, [esp + 0x14]
push eax
call fcn.004837f0
add esp, 4
mov eax, dword [eax]
xor ebx, ebx
mov dword [esp + 0xc8], ebx
cmp eax, ebx
je 0x484a41
mov eax, dword [eax]
jmp 0x484a43
xor eax, eax
lea ecx, [edi + 0x84]
push ecx
push eax
push esi
call fcn.004597e0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0xc8], 0xffffffff
cmp eax, ebx
je 0x484aa1
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x484aa1
cmp esi, ebx
je 0x484aa1
mov eax, dword [esi]
cmp eax, ebx
je 0x484a88
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x484a98
push eax
call fcn.00418636
add esp, 4
push esi
call fcn.00418636
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.00483830
add esp, 4
mov eax, dword [eax]
mov dword [esp + 0xc8], 1
cmp eax, ebx
je 0x484ac3
mov eax, dword [eax]
jmp 0x484ac5
xor eax, eax
lea ecx, [edi + 0x8c]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004597e0
mov eax, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0xc8], 0xffffffff
cmp eax, ebx
je 0x484b26
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x484b26
cmp esi, ebx
je 0x484b26
mov eax, dword [esi]
cmp eax, ebx
je 0x484b0d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x484b1d
push eax
call fcn.00418636
add esp, 4
push esi
call fcn.00418636
add esp, 4
mov ecx, edi
call fcn.00466fa0
test eax, eax
je 0x484b4f
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.00466fa0
mov ecx, eax
add ecx, 4
call fcn.00466c30
push eax
mov ecx, edi
call fcn.00466fe0
push 0x4b3ffe
lea ecx, [esp + 0x14]
call fcn.0040be45
push 4
mov dword [esp + 0xcc], 2
call fcn.004185fc
add esp, 4
cmp eax, ebx
je 0x484b7e
lea edx, [esp + 0x64]
mov dword [eax], edx
jmp 0x484b80
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0xd0], 3
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.00459a10
add esp, 8
cmp eax, ebx
je 0x48506c
xor edi, edi
mov dword [esp + 0x28], edi
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push edx
mov byte [esp + 0xd0], 4
call eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00483810
mov eax, dword [eax]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp ecx, eax
jne 0x484bff
xor eax, eax
jmp 0x484c47
cmp ecx, edi
jne 0x484c21
cmp eax, edi
je 0x484c18
mov eax, dword [eax]
cmp eax, edi
je 0x484c18
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, edi
jne 0x484c1c
xor eax, eax
jmp 0x484c47
or eax, 0xffffffff
jmp 0x484c47
cmp eax, edi
jne 0x484c41
mov ecx, dword [ecx]
cmp ecx, edi
je 0x484c36
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, edi
jne 0x484c3a
xor eax, eax
jmp 0x484c47
mov eax, 1
jmp 0x484c47
push eax
call fcn.0040ba6d
cmp eax, edi
mov eax, dword [esp + 0x2c]
sete bl
cmp eax, edi
je 0x484c92
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, edi
jne 0x484c8e
cmp esi, edi
je 0x484c8e
mov eax, dword [esi]
cmp eax, edi
je 0x484c75
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x484c85
push eax
call fcn.00418636
add esp, 4
push esi
call fcn.00418636
add esp, 4
mov dword [esp + 0x2c], edi
test bl, bl
je 0x484fff
push 0x4a9da0
lea ecx, [esp + 0x14]
call fcn.00450a60
lea edx, [esp + 0x30]
push edx
call fcn.004836e0
add esp, 4
mov eax, dword [eax]
mov byte [esp + 0xc8], 5
cmp eax, edi
je 0x484cc7
mov eax, dword [eax]
jmp 0x484cc9
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
call fcn.004597e0
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov byte [esp + 0xc8], 4
cmp eax, edi
je 0x484d2a
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, edi
jne 0x484d26
cmp esi, edi
je 0x484d26
mov eax, dword [esi]
cmp eax, edi
je 0x484d0d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x484d1d
push eax
call fcn.00418636
add esp, 4
push esi
call fcn.00418636
add esp, 4
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x48500d
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
je 0x484dbc
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, edi
jbe 0x484db8
lea ecx, [esp + 0x64]
call fcn.00452670
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.00459a10
add esp, 8
cmp eax, edi
je 0x484dab
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.00483090
mov dword [esp + 0x18], eax
cmp eax, edi
je 0x484d9a
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x68]
call fcn.004709e0
lea ecx, [esp + 0x34]
push ecx
call fcn.00459a30
add esp, 4
cmp eax, edi
jne 0x484d78
lea edx, [esp + 0x34]
push edx
call fcn.00459a50
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x48500d
mov eax, dword [eax]
test eax, eax
je 0x48500d
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x48500d
push 4
call fcn.004185fc
xor esi, esi
add esp, 4
cmp eax, esi
je 0x484df5
lea ecx, [esp + 0x44]
mov dword [eax], ecx
jmp 0x484df7
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x10]
mov byte [esp + 0xc8], 6
cmp eax, esi
je 0x484e1f
mov eax, dword [eax]
jmp 0x484e21
xor eax, eax
lea edx, [esp + 0x44]
push edx
push 0x4bb468
push eax
call fcn.0046f340
mov ecx, dword [esp + 0x6c]
add esp, 0xc
mov dword [esp + 0x18], esi
cmp ecx, esi
jbe 0x484fd7
mov eax, dword [esp + 0x5c]
add ecx, eax
mov esi, eax
cmp eax, ecx
jbe 0x484e55
call fcn.004370f8
mov eax, dword [esp + 0x44]
mov edi, eax
mov ebx, edi
mov dword [esp + 0xac], esi
test eax, eax
jne 0x484e89
call fcn.004370f8
xor eax, eax
xor ecx, ecx
mov ecx, dword [ecx + 0x1c]
mov edx, dword [esp + 0x18]
add ecx, dword [eax + 0x18]
add esi, edx
cmp esi, ecx
ja 0x484e96
test edi, edi
je 0x484e8f
mov edi, dword [edi]
jmp 0x484e91
mov eax, dword [eax]
mov ecx, eax
jmp 0x484e71
xor edi, edi
cmp esi, dword [edi + 0x18]
jae 0x484e9b
call fcn.004370f8
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
call fcn.0045c260
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
call fcn.0040be92
mov esi, dword [esp + 0x14]
mov dword [esp + 0x84], esi
test esi, esi
je 0x484ed1
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0xcc], 8
call fcn.004842b0
lea ecx, [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0xb4]
push edx
add ecx, 0x64
mov byte [esp + 0xd0], 9
call fcn.004848a0
lea ecx, [esp + 0x88]
call fcn.00452670
mov eax, dword [esp + 0x88]
push eax
call fcn.00418636
mov eax, dword [esp + 0x88]
add esp, 4
test eax, eax
je 0x484f7a
mov edi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x484f6f
test edi, edi
je 0x484f6f
mov eax, dword [edi]
test eax, eax
je 0x484f56
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x484f66
push eax
call fcn.00418636
add esp, 4
push edi
call fcn.00418636
add esp, 4
mov dword [esp + 0x84], 0
mov byte [esp + 0xc8], 6
test esi, esi
je 0x484fc2
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x484fba
mov eax, dword [esi]
test eax, eax
je 0x484fa1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x484fb1
push eax
call fcn.00418636
add esp, 4
push esi
call fcn.00418636
add esp, 4
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
inc eax
mov dword [esp + 0x18], eax
cmp eax, ecx
jb 0x484e44
lea ecx, [esp + 0x44]
mov byte [esp + 0xc8], 0xa
call fcn.0046f150
mov edx, dword [esp + 0x44]
push edx
mov byte [esp + 0xcc], 4
call fcn.00418636
add esp, 4
jmp 0x48500d
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
call fcn.00483090
lea ecx, [esp + 0x20]
push ecx
call fcn.00459a30
mov esi, dword [esp + 0x2c]
add esp, 4
mov edi, eax
mov byte [esp + 0xc8], 3
test esi, esi
je 0x485064
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x485064
test esi, esi
je 0x485064
mov eax, dword [esi]
test eax, eax
je 0x48504b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x48505b
push eax
call fcn.00418636
add esp, 4
push esi
call fcn.00418636
add esp, 4
test edi, edi
jne 0x484bc0
lea eax, [esp + 0x20]
push eax
call fcn.00459a50
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x8c]
lea esi, [edi + 0x8c]
add esp, 4
test eax, eax
je 0x4850a6
mov eax, dword [eax]
test eax, eax
je 0x4850a6
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
jbe 0x4850a6
push esi
mov ecx, edi
call fcn.00483a50
lea ecx, [esp + 0x64]
call fcn.00452670
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00418636
mov esi, dword [esp + 0x14]
add esp, 4
test esi, esi
je 0x4850fc
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4850fc
test esi, esi
je 0x4850fc
mov eax, dword [esi]
test eax, eax
je 0x4850e3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4850f3
push eax
call fcn.00418636
add esp, 4
push esi
call fcn.00418636
add esp, 4
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4