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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov ebx, ecx
mov edx, dword [0x4b70c8]
cmp edx, 0x4b70c8
je 0x4a5c53
test byte [edx + 0x1c], 2
je 0x4a5c53
cmp byte [edx + 0x19], 5
jb 0x4a5c53
push dword [ebp + 8]
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x411238
push 0xa
pop ecx
call fcn.0041610f
mov edx, dword [0x4b70c8]
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
xor ecx, ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 8], eax
mov edi, eax
cmp eax, 0x23
jae 0x4a668d
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push edx
push dword [eax*8 + 0x4b8a00]
mov esi, dword [ecx]
push ecx
mov ecx, dword [esi + 0x14]
call dword [0x4bb544]
call dword [esi + 0x14]
mov esi, eax
mov dword [ebp - 0xc], esi
mov edx, dword [0x4b70c8]
mov edi, dword [ebp - 8]
cmp edx, 0x4b70c8
je 0x4a5cd8
test byte [edx + 0x1c], 0x20
je 0x4a5cd8
cmp byte [edx + 0x19], 4
jb 0x4a5cd8
movzx eax, word [ebp - 0x1c]
mov ecx, dword [edi*8 + 0x4b8a00]
push eax
movzx eax, word [edi*8 + 0x4b8a04]
push eax
push esi
push dword [ecx + 0x10]
push ecx
push dword [edx + 0x14]
push dword [edx + 0x10]
call fcn.004a59b1
mov edx, dword [0x4b70c8]
test esi, esi
jne 0x4a6639
mov ax, word [ebp - 0x1c]
xor ecx, ecx
cmp cx, ax
je 0x4a6639
movzx esi, word [edi*8 + 0x4b8a04]
cmp si, ax
je 0x4a5d46
mov dword [ebp - 0xc], 0x8000ffff
cmp edx, 0x4b70c8
je 0x4a666b
test byte [edx + 0x1c], 0x20
je 0x4a666b
cmp byte [edx + 0x19], 4
jb 0x4a666b
mov ecx, dword [edi*8 + 0x4b8a00]
movzx eax, ax
push eax
push esi
push dword [ecx + 0x10]
push ecx
push dword [edx + 0x14]
push dword [edx + 0x10]
push 0xc
pop ecx
call fcn.004a5978
jmp 0x4a666b
cmp edi, 0x22
ja case.default.0x4a5d4f
jmp dword [edi*4 + 0x4a66cc]
push dword [ebp - 0x14]
lea ecx, [ebx + 0x20]
call fcn.0041741f
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push dword [ebp - 0x14]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xd
mov edx, 0x411238
pop ecx
call fcn.00416072
jmp 0x4a666b
xor ecx, ecx
xor eax, eax
cmp ax, word [ebp - 0x14]
setne cl
mov dword [ebx + 0x14], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xe
mov edx, 0x411238
pop ecx
call fcn.0041610f
jmp 0x4a666b
push dword [ebp - 0x14]
lea ecx, [ebx + 0x18]
call fcn.0041741f
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push dword [ebp - 0x14]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xf
jmp 0x4a5d90
push dword [ebp - 0x14]
lea ecx, [ebx + 0x1c]
call fcn.0041741f
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push dword [ebp - 0x14]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x10
jmp 0x4a5d90
mov ecx, dword [ebp - 0x14]
xor eax, eax
cmp ax, cx
je 0x4a5e80
mov dword [ebx + 0x28], 1
mov edx, dword [0x4b70c8]
cmp edx, 0x4b70c8
je 0x4a666b
test byte [edx + 0x1c], 0x20
je 0x4a666b
cmp byte [edx + 0x19], 4
jb 0x4a666b
xor eax, eax
xor esi, esi
cmp si, cx
setne al
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
push 0x11
jmp 0x4a5ddb
mov ecx, dword [ebp - 0x14]
xor eax, eax
cmp ax, cx
je 0x4a5ecb
and dword [ebx + 0x28], eax
mov edx, dword [0x4b70c8]
cmp edx, 0x4b70c8
je 0x4a666b
test byte [edx + 0x1c], 0x20
je 0x4a666b
cmp byte [edx + 0x19], 4
jb 0x4a666b
xor eax, eax
xor esi, esi
cmp si, cx
setne al
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
push 0x12
jmp 0x4a5ddb
xor ecx, ecx
xor eax, eax
cmp ax, word [ebp - 0x14]
setne cl
mov dword [ebx + 0x2c], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x13
jmp 0x4a5ddb
xor ecx, ecx
xor eax, eax
cmp ax, word [ebp - 0x14]
setne cl
mov dword [ebx + 0x30], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x14
jmp 0x4a5ddb
xor ecx, ecx
xor eax, eax
cmp ax, word [ebp - 0x14]
setne cl
mov dword [ebx + 0x34], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x15
jmp 0x4a5ddb
xor ecx, ecx
xor eax, eax
cmp ax, word [ebp - 0x14]
setne cl
mov dword [ebx + 0x38], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x16
jmp 0x4a5ddb
push dword [ebp - 0x14]
lea ecx, [ebx + 0x40]
call fcn.0041741f
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push dword [ebp - 0x14]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x17
jmp 0x4a5d90
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x44], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x18
mov edx, 0x411238
pop ecx
call fcn.0041610f
jmp 0x4a666b
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x48], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x19
jmp 0x4a6075
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x4c], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1a
jmp 0x4a6075
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x50], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1b
jmp 0x4a6075
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x54], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1c
jmp 0x4a6075
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x58], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1d
jmp 0x4a6075
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x5c], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1e
jmp 0x4a6075
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x60], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x1f
jmp 0x4a6075
xor ecx, ecx
xor eax, eax
cmp ax, word [ebp - 0x14]
setne cl
mov dword [ebx + 0x70], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x20
jmp 0x4a5ddb
mov eax, dword [ebp - 0x14]
mov esi, 0xff
cmp eax, esi
jbe 0x4a6255
mov eax, esi
mov byte [ebx + 0x74], al
mov ecx, dword [0x4b70c8]
cmp ecx, 0x4b70c8
je 0x4a666b
test byte [ecx + 0x1c], 0x20
je 0x4a666b
cmp byte [ecx + 0x19], 4
jb 0x4a666b
movzx eax, al
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x21
jmp 0x4a6075
mov eax, dword [ebp - 0x14]
mov esi, 0xff
cmp eax, esi
jbe 0x4a629d
mov eax, esi
mov byte [ebx + 0x75], al
mov ecx, dword [0x4b70c8]
cmp ecx, 0x4b70c8
je 0x4a666b
test byte [ecx + 0x1c], 0x20
je 0x4a666b
cmp byte [ecx + 0x19], 4
jb 0x4a666b
movzx eax, al
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x22
jmp 0x4a6075
mov eax, dword [ebp - 0x14]
mov esi, 0xff
cmp eax, esi
jbe 0x4a62e5
mov eax, esi
mov byte [ebx + 0x76], al
mov ecx, dword [0x4b70c8]
cmp ecx, 0x4b70c8
je 0x4a666b
test byte [ecx + 0x1c], 0x20
je 0x4a666b
cmp byte [ecx + 0x19], 4
jb 0x4a666b
movzx eax, al
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x23
jmp 0x4a6075
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x64], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x24
jmp 0x4a6075
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x68], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x25
jmp 0x4a6075
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x6c], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x26
jmp 0x4a6075
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push dword [ebp - 0x14]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x27
mov edx, 0x411238
pop ecx
call fcn.0043d87b
jmp 0x4a666b
push dword [ebp - 0x14]
lea ecx, [ebx + 0x24]
call fcn.0041741f
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push dword [ebp - 0x14]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x28
jmp 0x4a5d90
xor ecx, ecx
xor eax, eax
cmp ax, word [ebp - 0x14]
setne cl
mov dword [ebx + 0x3c], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x29
jmp 0x4a5ddb
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x78]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push dword [ebp - 0x14]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2a
jmp 0x4a6400
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x88]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push dword [ebp - 0x14]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2b
jmp 0x4a6400
xor ecx, ecx
xor eax, eax
cmp ax, word [ebp - 0x14]
setne cl
mov dword [ebx + 0x98], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2c
jmp 0x4a5ddb
xor ecx, ecx
xor eax, eax
cmp ax, word [ebp - 0x14]
setne cl
mov dword [ebx + 0x9c], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2d
jmp 0x4a5ddb
xor ecx, ecx
xor eax, eax
cmp ax, word [ebp - 0x14]
setne cl
mov dword [ebx + 0xa0], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2e
jmp 0x4a5ddb
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0xa4], ecx
mov eax, dword [0x4b70c8]
cmp eax, 0x4b70c8
je 0x4a666b
test byte [eax + 0x1c], 0x20
je 0x4a666b
cmp byte [eax + 0x19], 4
jb 0x4a666b
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2f
jmp 0x4a6075
mov dword [ebp - 0xc], 0x8000ffff
cmp edx, 0x4b70c8
je 0x4a666b
test byte [edx + 0x1c], 0x20
je 0x4a666b
cmp byte [edx + 0x19], 4
jb 0x4a666b
push 0
push edi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x411238
push 0x30
pop ecx
call fcn.004338a6
jmp 0x4a666b
cmp edx, 0x4b70c8
je 0x4a666b
test byte [edx + 0x1c], 0x20
je 0x4a666b
cmp byte [edx + 0x19], 4
jb 0x4a666b
mov eax, dword [edi*8 + 0x4b8a00]
push dword [eax + 0x10]
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x411238
push 0x31
pop ecx
call fcn.0045c93e
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
inc eax
mov edx, dword [0x4b70c8]
mov dword [ebp - 8], eax
test edi, edi
jns 0x4a5c65
cmp edx, 0x4b70c8
je 0x4a66c2
test byte [edx + 0x1c], 2
je 0x4a66c2
movzx eax, byte [edx + 0x19]
mov ecx, edi
sar ecx, 0x1f
and ecx, 0xfffffffd
add ecx, 5
cmp eax, ecx
jl 0x4a66c2
push edi
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x411238
push 0x32
pop ecx
call fcn.0041610f
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4