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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x22
push 0
push 0
dec ecx
jne 0x4893fc
push ebx
push esi
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x78]
mov edx, dword [0x488188]
call fcn.00405410
lea ebx, [ebp - 4]
xor eax, eax
push ebp
push 0x489a36
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 5
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.00404b48
mov eax, dword [ebp - 8]
call fcn.00404f18
mov edx, eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov ecx, dword [ebp - 0xc]
call fcn.0041ee14
mov edx, dword [ebp - 8]
mov eax, 0x489a4c
call fcn.0040b12c
test al, al
jne 0x489492
lea edx, [ebp - 0x7c]
mov eax, dword [0x49b4e8]
call fcn.00406a80
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea edx, [ebp - 0x84]
xor ecx, ecx
pop eax
call fcn.004886bc
lea edx, [ebp - 0x14]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov ecx, 4
call fcn.0041ee14
cmp dword [ebp - 0x14], 0x6b10903
je 0x4894e1
lea edx, [ebp - 0x88]
mov eax, dword [0x49b4e8]
call fcn.00406a80
mov eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea edx, [ebp - 0x84]
xor ecx, ecx
pop eax
call fcn.004886bc
lea edx, [ebp - 0x2c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov ecx, 0x10
call fcn.0041ee14
mov eax, dword [ebx]
add eax, 8
push eax
lea eax, [ebp - 0x2c]
push eax
call sub.ole32.dll_IsEqualGUID
test al, al
jne 0x48955f
mov byte [ebp - 0x16], 0
mov eax, dword [ebx]
cmp dword [eax + 0x80], 0
je 0x489525
lea ecx, [ebp - 0x16]
mov esi, dword [ebx]
lea edx, [ebp - 0x2c]
mov eax, dword [ebx]
call dword [esi + 0x80]
cmp byte [ebp - 0x16], 0
jne 0x48955f
lea edx, [ebp - 0x8c]
mov eax, dword [0x49b5d4]
call fcn.00406a80
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea edx, [ebp - 0x84]
xor ecx, ecx
pop eax
call fcn.004886bc
lea edx, [ebp - 0x15]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov ecx, 1
call fcn.0041ee14
cmp byte [ebp - 0x15], 0
jne 0x4895ab
lea edx, [ebp - 0x90]
mov eax, dword [0x49b858]
call fcn.00406a80
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea edx, [ebp - 0x84]
xor ecx, ecx
pop eax
call fcn.004886bc
mov eax, dword [ebx]
lea edx, [eax + 0x5c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov ecx, 4
call fcn.0041ee14
lea edx, [ebp - 0x1c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov ecx, 4
call fcn.0041ee14
mov eax, dword [ebx]
lea edx, [eax + 0x68]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov ecx, 8
call fcn.0041ee14
mov eax, dword [ebx]
lea edx, [eax + 0x70]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov ecx, 8
call fcn.0041ee14
mov eax, dword [ebx]
lea edx, [eax + 0x24]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov ecx, 1
call fcn.0041ee14
mov eax, dword [ebx]
lea edx, [eax + 0x25]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov ecx, 0x10
call fcn.0041ee14
mov eax, dword [ebx]
lea edx, [eax + 0x90]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov ecx, 8
call fcn.0041ee14
mov eax, dword [ebx]
lea edx, [eax + 0x78]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov ecx, 8
call fcn.0041ee14
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
mov eax, dword [ebx]
add edx, dword [eax + 0x78]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
lea edx, [ebp - 0x94]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
call fcn.00487bd0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebx]
add eax, 0x50
call fcn.00404aac
lea edx, [ebp - 0x98]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
call fcn.00487bd0
mov edx, dword [ebp - 0x98]
mov eax, dword [ebx]
add eax, 0x54
call fcn.00404aac
lea edx, [ebp - 0x9c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
call fcn.00487bd0
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebx]
add eax, 0x48
call fcn.00404aac
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
call fcn.00487a74
mov edx, dword [ebx]
mov dword [edx + 0x40], eax
lea edx, [ebp - 0xa0]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
call fcn.00487bd0
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebx]
add eax, 0x44
call fcn.00404aac
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
call fcn.00487a74
mov edx, dword [ebx]
mov dword [edx + 0x3c], eax
lea edx, [ebp - 0xa4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
call fcn.00487bd0
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebx]
add eax, 0x58
call fcn.00404aac
lea edx, [ebp - 0xa8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
call fcn.00487bd0
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebx]
add eax, 0x4c
call fcn.00404aac
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
mov eax, dword [ebx]
mov eax, dword [eax + 0x98]
call fcn.0048a0b8
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
mov eax, dword [ebx]
add edx, dword [eax + 0x68]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
xor ecx, ecx
mov esi, dword [eax]
call dword [esi + 0x14]
cdq
push edx
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebx]
add eax, dword [ecx + 0x68]
adc edx, dword [ecx + 0x6c]
cmp edx, dword [esp + 4]
jne 0x489784
cmp eax, dword [esp]
pop edx
pop eax
je 0x4897bc
lea edx, [ebp - 0xac]
mov eax, dword [0x49b858]
call fcn.00406a80
mov eax, dword [ebp - 0xac]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea edx, [ebp - 0x84]
xor ecx, ecx
pop eax
call fcn.004886bc
xor eax, eax
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4899d7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebx]
add eax, dword [ecx + 0x68]
adc edx, dword [ecx + 0x6c]
push edx
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebx]
add eax, dword [ecx + 0x70]
adc edx, dword [ecx + 0x74]
push edx
push eax
push 0
mov eax, dword [ebx]
mov ecx, dword [eax + 0x20]
mov dl, 1
mov eax, dword [0x48822c]
call fcn.0048876c
mov esi, eax
mov dword [ebp - 0x10], esi
mov eax, dword [ebx]
cmp byte [eax + 0x24], 0
je 0x4898be
mov eax, dword [ebx]
mov al, byte [eax + 0x24]
call fcn.00489de4
test eax, eax
je 0x48985a
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov ecx, dword [ebx]
add eax, dword [ecx + 0x70]
adc edx, dword [ecx + 0x74]
mov ecx, dword [ebx]
sub eax, dword [ecx + 0x68]
sbb edx, dword [ecx + 0x6c]
push edx
push eax
push 0
mov eax, dword [ebx]
mov al, byte [eax + 0x24]
call fcn.00489de4
mov eax, dword [eax + 0x10]
mov ecx, esi
mov dl, 1
call dword [eax + 0x1c]
mov dword [ebp - 0x10], eax
jmp 0x4898be
cmp dword [ebp - 0x10], 0
je 0x489868
mov eax, dword [ebp - 0x10]
call fcn.00403c84
lea ecx, [ebp - 0xb0]
mov eax, dword [ebx]
movzx eax, byte [eax + 0x24]
mov edx, 3
call fcn.0040b474
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea eax, [ebp - 0x84]
push eax
push 0
lea edx, [ebp - 0xb4]
mov eax, dword [0x49b828]
call fcn.00406a80
mov ecx, dword [ebp - 0xb4]
mov dl, 1
mov eax, dword [0x488058]
call fcn.0040ea14
call fcn.00404410
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0x10]
call fcn.004886e0
lea eax, [ebp - 0xc4]
mov edx, dword [ebx]
add edx, 0x25
call fcn.004879e0
test al, al
jne 0x489914
lea edx, [ebp - 0xc8]
mov eax, dword [0x49b558]
call fcn.00406a80
mov eax, dword [ebp - 0xc8]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea edx, [ebp - 0x84]
xor ecx, ecx
pop eax
call fcn.004886bc
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0041ec08
mov eax, dword [ebx]
mov esi, dword [eax + 0x5c]
dec esi
test esi, esi
jl 0x4899bb
inc esi
mov dword [ebp - 0xc], 0
push ebp
lea eax, [ebp - 0x110]
call fcn.00489264
pop ecx
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x78]
mov ecx, dword [0x488188]
call fcn.00405744
mov eax, dword [ebx]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
add eax, dword [ebp - 0x70]
adc edx, dword [ebp - 0x6c]
mov ecx, dword [ebx]
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], edx
mov eax, dword [ebx]
mov eax, dword [eax + 0x38]
lea edx, [ebp - 0x78]
call fcn.00488b38
mov eax, dword [ebx]
cmp word [eax + 0x8a], 0
je 0x4899b1
mov eax, dword [ebp - 0xc]
inc eax
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x5c]
push eax
mov edx, dword [0x488188]
lea eax, [ebp - 0x78]
call fcn.004054e0
mov ecx, eax
mov edi, dword [ebx]
mov edx, dword [ebx]
mov eax, dword [edi + 0x8c]
call dword [edi + 0x88]
inc dword [ebp - 0xc]
dec esi
jne 0x489936
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4899de
cmp dword [ebp - 0x10], 0
je 0x4899d6
mov eax, dword [ebp - 0x10]
call fcn.00403c84
ret