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

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
mov ecx, dword [eax + 4]
push edi
mov dword [esi + 0x78], ecx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x7c], edx
push ebp
mov ecx, ebx
mov dword [esi + 0xc0], ebp
mov dword [esi + 0xc4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 4], eax
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], ebp
call fcn.004f84f0
lea edi, [esi + 0x34]
push ebp
mov ecx, edi
mov dword [ebx + 8], ebp
call fcn.004f84f0
mov dword [edi + 8], ebp
lea edi, [esi + 0x44]
push ebp
mov ecx, edi
call fcn.004f84f0
mov dword [edi + 8], ebp
lea edi, [esi + 0x54]
push ebp
mov ecx, edi
call fcn.004f84f0
mov dword [edi + 8], ebp
lea edi, [esi + 0x64]
push ebp
mov ecx, edi
call fcn.004f84f0
mov dword [edi + 8], ebp
lea edi, [esi + 0x90]
lea ebp, [esi + 0xa0]
mov dword [esp + 0x14], 3
mov ecx, edi
lea eax, [esi + 0x80]
mov edx, dword [ecx]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, ebp
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov ecx, dword [edx]
mov eax, edi
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov edx, dword [edx + 0xc]
mov dword [eax + 8], ecx
mov ecx, ebp
mov dword [eax + 0xc], edx
lea eax, [esi + 0xb0]
mov edx, dword [esi + 0xb0]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, esi
call fcn.004f8a00
test eax, eax
jne 0x4f7c97
mov ecx, esi
call fcn.004f8a00
test eax, eax
je 0x4f7c8c
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x14], eax
jne 0x4f7c27
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004f8670
mov dword [esi], eax
mov edi, dword [ebx + 0xc]
cmp edi, 1
jge 0x4f7ce8
cmp edi, 8
jl 0x4f7cc9
cmp edi, 1
jge 0x4f7cce
add edi, edi
cmp edi, 1
jge 0x4f7cce
mov edi, 8
mov eax, dword [ebx + 4]
lea edx, [edi*4]
push edx
push eax
call fcn.00522537
add esp, 8
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], edi
mov edx, dword [ebx + 8]
cmp edx, 1
jge 0x4f7d1d
mov edi, dword [ebx + 4]
lea ecx, [edx*4]
mov eax, ecx
mov ecx, 4
sub ecx, eax
lea edi, [edi + edx*4]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 8], 1
mov eax, dword [esi + 0x28]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 8]
mov dword [esi + 0x10], edx
mov ecx, dword [esi + 0x4c]
mov edi, dword [ebx + 0xc]
lea ebp, [eax + ecx + 1]
cmp ebp, edi
jle 0x4f7d7d
cmp edi, 8
jge 0x4f7d45
mov edi, 8
cmp ebp, edi
jle 0x4f7d63
add edi, edi
cmp ebp, edi
jle 0x4f7d63
lea edi, [ebp + 0xb]
mov edx, edi
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x4f7d61
dec edx
or edx, 0xfffffff8
inc edx
sub edi, edx
mov ecx, dword [ebx + 4]
lea eax, [edi*4]
push eax
push ecx
call fcn.00522537
add esp, 8
mov dword [ebx + 4], eax
mov dword [ebx + 0xc], edi
mov edx, dword [ebx + 8]
cmp edx, ebp
jge 0x4f7da4
mov edi, dword [ebx + 4]
mov ecx, ebp
sub ecx, edx
xor eax, eax
shl ecx, 2
lea edi, [edi + edx*4]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 8], ebp
mov eax, dword [esi + 0x4c]
xor ebp, ebp
test eax, eax
jle 0x4f7e42
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + ebp*4]
mov eax, dword [ecx + 8]
mov edi, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x18], edx
lea ecx, [eax + 1]
mov dword [esi + 0x10], ecx
mov edx, dword [esi + 0x48]
mov ecx, dword [esi + 0x28]
mov edx, dword [edx + ebp*4]
mov dword [ecx + eax*4], edx
mov eax, dword [edi + 4]
test eax, eax
jg 0x4f7e36
mov eax, dword [esi + 0x4c]
xor ebx, ebx
test eax, eax
jle 0x4f7e22
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ecx + 8]
mov ecx, dword [edx]
mov edx, dword [edi + 0x14]
add ecx, 0xc
mov eax, dword [ecx + 8]
cmp eax, edx
jne 0x4f7e1a
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x4f7e0c
mov eax, 0x5c2d20
push eax
call fcn.004f85f0
test eax, eax
je 0x4f7ecd
mov eax, dword [esi + 0x4c]
inc ebx
cmp ebx, eax
jl 0x4f7de8
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x18]
inc eax
mov dword [esi + 8], eax
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 4], eax
mov eax, dword [esi + 0x4c]
inc ebp
cmp ebp, eax
jl 0x4f7db1
mov edx, dword [esi + 0x10]
mov ecx, 1
cmp edx, ecx
jle 0x4f7e6b
mov eax, dword [esi + 0x28]
mov edi, dword [esi + 8]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
cmp eax, edi
jle 0x4f7e66
mov dword [esi + 8], eax
inc ecx
cmp ecx, edx
jl 0x4f7e4e
mov eax, dword [esi + 0x3c]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x18], ebp
jle 0x4f7f73
mov ecx, dword [esi + 0x38]
mov ebx, dword [ecx + ebp*4]
cmp dword [ebx + 8], 0xfffffffd
jne 0x4f7f10
mov eax, dword [esi + 0x4c]
xor edi, edi
test eax, eax
jle 0x4f7f02
mov edx, dword [esi + 0x48]
mov eax, dword [edx + edi*4]
mov ecx, dword [eax + 8]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ecx]
add ecx, 0xc
mov edx, dword [ecx + 8]
cmp edx, eax
jne 0x4f7ec3
mov eax, dword [ebx + 0x10]
test eax, eax
jne 0x4f7eb9
mov eax, 0x5c2d20
push eax
call fcn.004f85f0
test eax, eax
je 0x4f7ef2
mov eax, dword [esi + 0x4c]
inc edi
cmp edi, eax
jl 0x4f7e95
jmp 0x4f7f02
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx + ebx*4]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
mov eax, dword [ecx + 4]
test eax, eax
jl 0x4f7e22
mov edx, dword [esp + 0x18]
mov dword [edi + 4], eax
mov dword [edx + 4], eax
jmp 0x4f7e36
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
mov eax, dword [eax + 4]
jmp 0x4f7f07
mov eax, 0xfffffffd
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + ebp*4]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x38]
mov ebx, dword [eax + ebp*4]
mov edi, dword [ebx + 8]
test edi, edi
jl 0x4f7f63
cmp edi, dword [esi + 8]
jg 0x4f7f63
test edi, edi
jne 0x4f7f2d
mov ecx, dword [esi]
mov dword [ebx + 4], ecx
jmp 0x4f7f63
mov edx, dword [esi + 0x2c]
mov eax, 1
cmp edx, eax
jle 0x4f7f63
mov ecx, dword [esi + 0x28]
add ecx, 4
mov ebp, dword [ecx]
mov ebp, dword [ebp + 8]
mov ebp, dword [ebp]
cmp edi, dword [ebp + 4]
je 0x4f7f56
inc eax
add ecx, 4
cmp eax, edx
jl 0x4f7f3f
jmp 0x4f7f5f
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx + eax*4]
mov dword [ebx + 4], edx
mov ebp, dword [esp + 0x18]
mov eax, dword [esi + 0x3c]
inc ebp
cmp ebp, eax
mov dword [esp + 0x18], ebp
jl 0x4f7e7c
mov eax, dword [esi + 0x5c]
xor ebp, ebp
test eax, eax
jle 0x4f7fdb
mov eax, dword [esi + 0x58]
xor ebx, ebx
mov edi, dword [eax + ebp*4]
mov eax, dword [esi + 0x4c]
add edi, 0x10
test eax, eax
jle 0x4f7fc4
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx + ebx*4]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
mov eax, dword [edi + 8]
add ecx, 0xc
mov edx, dword [ecx + 8]
cmp edx, eax
jne 0x4f7fbc
mov eax, dword [edi + 4]
test eax, eax
jne 0x4f7fb2
mov eax, 0x5c2d20
push eax
call fcn.004f85f0
test eax, eax
je 0x4f8032
mov eax, dword [esi + 0x4c]
inc ebx
cmp ebx, eax
jl 0x4f7f8e
mov eax, 0xfffffffd
mov ecx, dword [esi + 0x58]
inc ebp
mov edx, dword [ecx + ebp*4 - 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x5c]
cmp ebp, eax
jl 0x4f7f7c
mov eax, dword [esi + 0x6c]
xor ebp, ebp
test eax, eax
jle 0x4f8076
mov eax, dword [esi + 0x68]
xor ebx, ebx
mov edi, dword [eax + ebp*4]
mov eax, dword [esi + 0x4c]
add edi, 8
test eax, eax
jle 0x4f806a
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx + ebx*4]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
mov eax, dword [edi + 8]
add ecx, 0xc
mov edx, dword [ecx + 8]
cmp edx, eax
jne 0x4f8028
mov eax, dword [edi + 4]
test eax, eax
jne 0x4f801e
mov eax, 0x5c2d20
push eax
call fcn.004f85f0
test eax, eax
je 0x4f8042
mov eax, dword [esi + 0x4c]
inc ebx
cmp ebx, eax
jl 0x4f7ffa
jmp 0x4f806a
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
mov eax, dword [eax + 4]
jmp 0x4f7fc9
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + ebx*4]
mov edx, dword [ecx + 8]
mov eax, dword [edx]
mov eax, dword [eax + 4]
test eax, eax
jl 0x4f806a
mov ecx, dword [esi + 0x68]
mov edx, dword [ecx + ebp*4]
mov dword [edx + 4], eax
mov eax, dword [esi + 0x68]
mov ecx, dword [eax + ebp*4]
mov dword [ecx + 0x18], 0
mov eax, dword [esi + 0x6c]
inc ebp
cmp ebp, eax
jl 0x4f7fe8
mov eax, dword [esi]
pop edi
pop esi
pop ebp
pop ebx
ret 8