Function at 0x479929
Capabilities:
Authenticate hmac
Resolve function by parsing pe exports

Disassembly:
mov ebx, dword [esp + 0x60]
push ebp
mov ebp, dword [esp + 0x6c]
push esi
mov esi, dword [eax + 8]
push edi
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], 0xfffffffd
mov dword [esp + 0x74], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x6c], edi
cmp ebp, edi
je 0x479c79
cmp dword [esp + 0x70], edi
je 0x479c79
mov edx, dword [esp + 0x78]
cmp edx, edi
je 0x479c79
push ebp
call fcn.0043550e
test al, al
jne 0x4799a3
mov ecx, dword [esp + 0x68]
push 1
push str.Not_an_Object_type
push edi
push 2
push ecx
call fcn.004781ae
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x18
mov eax, dword [ebp]
mov ebp, dword [eax + 8]
cmp ebp, edi
jne 0x4799cb
mov ecx, dword [esp + 0x68]
push 1
push str.NULL_Pointer_assignment
push edi
push 4
push ecx
call fcn.004781ae
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x18
push edx
call fcn.004112d5
add esp, 4
test eax, eax
je 0x479a32
mov edi, dword [esp + 0x78]
call fcn.0040fff0
mov dword [esp + 0x6c], eax
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x74]
push eax
push 0x400
push 1
lea ecx, [esp + 0x78]
push ecx
push 0x482a60
push ebp
call edx
mov edi, eax
test edi, edi
jge 0x479a36
mov eax, dword [esp + 0x6c]
push eax
call fcn.004137d3
mov ecx, dword [esp + 0x6c]
add esp, 4
push 1
push 0
push 0
push edi
push ecx
call fcn.004781ae
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x18
mov dword [esp + 0x74], edi
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00410f64
add esp, 4
xor edi, edi
mov dword [esp + 0x78], eax
test esi, esi
jbe 0x479ab2
mov ecx, esi
shl ecx, 4
lea edx, [ecx + eax - 0x10]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edi*4]
push edx
push eax
call fcn.00476a8a
add esp, 8
test eax, eax
jne 0x479a91
sub dword [esp + 0x14], 0x10
inc edi
cmp edi, esi
jb 0x479a69
jmp 0x479ab2
mov eax, dword [esp + 0x68]
push 1
push str.Conversion_of_parameters_failed
push 0
push 5
push eax
call fcn.004781ae
mov dword [esp + 0x10], eax
test eax, eax
jne 0x479c28
mov ecx, dword [esp + 0x78]
mov edi, ebx
and edi, 0xc
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], ecx
je 0x479ad5
lea edx, [esp + 0x18]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], edx
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0x20
lea ecx, [esp + 0x44]
push 0
push ecx
call fcn.004131f0
mov edx, dword [ebp]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
push ecx
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [edx + 0x18]
push ebx
push 0x800
push 0x482a60
push eax
push ebp
call ecx
cmp eax, 0x80020003
jne 0x479b68
test di, di
je 0x479ba1
mov edx, dword [ebp]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
push ecx
lea eax, [esp + 0x38]
push eax
mov eax, ebx
not eax
xor eax, ebx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x84]
and eax, 0xc
xor eax, ebx
push eax
push 0x800
push 0x482a60
push ecx
push ebp
call edx
test eax, eax
jge 0x479bc5
cmp eax, 0x80020009
jne 0x479ba1
mov ecx, dword [esp + 0x68]
push 1
push 0
lea eax, [esp + 0x48]
push eax
push 0x80020009
push ecx
call fcn.004781ae
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x14], eax
call ebx
jmp 0x479c2e
mov edx, dword [esp + 0x68]
push 1
push 0
push 0
push eax
push edx
call fcn.004781ae
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x14], eax
call ebx
jmp 0x479c2e
mov ecx, dword [esp + 0x70]
lea eax, [esp + 0x30]
push eax
call fcn.00467626
xor edi, edi
test esi, esi
jbe 0x479c19
mov edx, dword [esp + 0x78]
mov ecx, esi
shl ecx, 4
lea ebx, [ecx + edx - 0x10]
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + edi*4]
cmp dword [ecx + 8], 6
jne 0x479c0b
push ecx
call fcn.004355fd
test eax, eax
je 0x479c11
push ebx
push ecx
call fcn.004355fd
wait
enter 0x5eb, 0xffffffffffffffd3
call 0xfdc5f626
shr eax, cl
adc eax, 0x47fd7e5a
inc edi
sub ebx, 0x10
cmp edi, esi
jo 0x479be6
mov ebx, dword [ebp + 0x2e]
sub al, 0x48
add byte [ebp + 0x52302054], cl
call ebx
jmp 0x479c2e
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ch, 0xf4
jbe 0x479c4d
mov edi, dword [esp + 0x78]
cmp word [edi], 0xc
jne 0x479c42
add dword [edi + 8], 0x50
call ebx
push edi
invalid
mov ecx, dword [esp + 0x78]
push ecx
call 0x804137d3
mov eax, dword [esp + 0x30]
add esp, 0xc
add eax, 0xe8500934
imul ebx, dword [ebx - 0x3b7c0007], 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x56
ret 0x218
mov edx, dword [esp + 0x68]
push 1
push str.NULL_Pointer_assignment
push edi
push 1
push edx
call fcn.004783ae
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ror byte [eax], cl
add byte [ecx + 0x200094ec], al
sub esp, 0x200094
push ebx
push ebp