Function at 0x4b0eb0
Capabilities:
Connect to wmi namespace via wbemlocator
Get hostname
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd30
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0xd1c]
push eax
push 0x5020f8
push 1
xor edi, edi
push edi
push 0x5021c8
mov dword [ebp - 0xd1c], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4b0f7c
mov eax, dword [ebp - 0xd1c]
lea edx, [ebp - 0xd20]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
mov dword [ebp - 0xd20], edi
mov ecx, dword [eax]
push str.ROOTCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x4b0f6e
mov eax, dword [ebp - 0xd20]
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0xd20]
js 0x4b0f66
lea edx, [ebp - 0xd24]
push edx
push edi
push 0x30
push str.SELECT__FROM_Win32_OperatingSystem
mov dword [ebp - 0xd24], edi
mov ecx, dword [eax]
push 0x52550c
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jns 0x4b0f94
mov eax, dword [ebp - 0xd20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xd1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xd24]
mov dword [ebp - 0xd04], edi
mov dword [ebp - 0xd2c], edi
cmp eax, edi
je 0x4b1a9e
mov ecx, dword [eax]
lea edx, [ebp - 0xd2c]
push edx
lea edx, [ebp - 0xd04]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0xd2c], edi
je 0x4b1a98
push 0xfe
lea edx, [ebp - 0x2f6]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x2f8], cx
call fcn.004e8ba0
mov eax, dword [ebp - 0xd04]
mov ecx, dword [eax]
add esp, 0xc
push edi
push edi
lea edx, [ebp - 0xd18]
push edx
push edi
push str.Name
push eax
mov eax, dword [ecx + 0x10]
call eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
test eax, eax
jne 0x4b106c
cmp word [ebp - 0xd18], 1
je 0x4b106c
mov ecx, dword [ebp - 0xd10]
push 0x7f
push ecx
lea edx, [ebp - 0x2f8]
push edx
call fcn.004e5481
lea eax, [ebp - 0x2f8]
push 0x7c
push eax
call fcn.004e53f9
add esp, 0x14
test eax, eax
je 0x4b1063
lea ecx, [ebp - 0x2f8]
push 0x7c
push ecx
call fcn.004e53f9
add esp, 8
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0xd18]
push eax
call esi
push 0x3e
lea edx, [ebp - 0xf6]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0xf8], cx
call fcn.004e8ba0
mov eax, dword [ebp - 0xd04]
mov ecx, dword [eax]
add esp, 0xc
push edi
push edi
lea edx, [ebp - 0xd18]
push edx
push edi
push str.CSDVersion
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4b10d3
cmp word [ebp - 0xd18], 1
je 0x4b10d3
mov ecx, dword [ebp - 0xd10]
push 0x1f
push ecx
lea edx, [ebp - 0xf8]
push edx
call fcn.004e5481
add esp, 0xc
lea eax, [ebp - 0xd18]
push eax
call esi
xor eax, eax
push edi
xor ecx, ecx
push edi
mov word [ebp - 0x34], cx
lea ecx, [ebp - 0xd18]
push ecx
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 0xd04]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push edi
push str.OSLanguage
push eax
call edx
test eax, eax
jne 0x4b113e
cmp word [ebp - 0xd18], 1
je 0x4b113e
movsx ecx, word [ebp - 0xd10]
push 0xa
lea eax, [ebp - 0x34]
push eax
push ecx
call fcn.004e534f
add esp, 0xc
lea edx, [ebp - 0xd18]
push edx
call esi
push edi
xor eax, eax
push edi
lea edx, [ebp - 0xd18]
push edx
mov word [ebp - 0x14], ax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
mov eax, dword [ebp - 0xd04]
mov ecx, dword [eax]
push edi
push str.OSArchitecture
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4b119c
cmp word [ebp - 0xd18], 1
je 0x4b119c
mov ecx, dword [ebp - 0xd10]
push 7
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.004e5481
add esp, 0xc
lea eax, [ebp - 0xd18]
push eax
call esi
jmp 0x4b11b4
xor eax, eax
mov edi, edi
movzx ecx, word [eax + str.32_bit]
mov word [ebp + eax - 0x14], cx
add eax, 2
cmp cx, di
jne 0x4b11a0
xor eax, eax
push edi
xor ecx, ecx
push edi
mov word [ebp - 0x54], cx
lea ecx, [ebp - 0xd18]
push ecx
mov dword [ebp - 0x52], eax
mov dword [ebp - 0x4e], eax
mov dword [ebp - 0x4a], eax
mov dword [ebp - 0x46], eax
mov dword [ebp - 0x42], eax
mov dword [ebp - 0x3e], eax
mov dword [ebp - 0x3a], eax
mov word [ebp - 0x36], ax
mov eax, dword [ebp - 0xd04]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push edi
push 0x526680
push eax
call edx
test eax, eax
jne 0x4b121e
cmp word [ebp - 0xd18], 1
je 0x4b121e
mov eax, dword [ebp - 0xd10]
push 0xf
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.004e5481
add esp, 0xc
lea edx, [ebp - 0xd18]
push edx
call esi
push 0x1fe
lea ecx, [ebp - 0xafe]
xor eax, eax
push edi
push ecx
mov word [ebp - 0xb00], ax
call fcn.004e8ba0
mov eax, dword [ebp - 0xd04]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
add esp, 0xc
push edi
push edi
lea ecx, [ebp - 0xd18]
push ecx
push edi
push str.SystemDirectory
push eax
call edx
test eax, eax
jne 0x4b128b
cmp word [ebp - 0xd18], 1
je 0x4b128b
mov eax, dword [ebp - 0xd10]
push 0xff
push eax
lea ecx, [ebp - 0xb00]
push ecx
call fcn.004e5481
add esp, 0xc
lea edx, [ebp - 0xd18]
push edx
call esi
push 0x7e
lea ecx, [ebp - 0x176]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x178], ax
call fcn.004e8ba0
mov eax, dword [ebp - 0xd04]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
add esp, 0xc
push edi
push edi
lea ecx, [ebp - 0xd18]
push ecx
push edi
push str.SerialNumber
push eax
call edx
test eax, eax
jne 0x4b12f2
cmp word [ebp - 0xd18], 1
je 0x4b12f2
mov eax, dword [ebp - 0xd10]
push 0x3f
push eax
lea ecx, [ebp - 0x178]
push ecx
call fcn.004e5481
add esp, 0xc
lea edx, [ebp - 0xd18]
push edx
call esi
push 0x7e
lea ecx, [ebp - 0x1f6]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x1f8], ax
call fcn.004e8ba0
push 0x1fe
lea eax, [ebp - 0x6f6]
xor edx, edx
push edi
push eax
mov word [ebp - 0x6f8], dx
call fcn.004e8ba0
lea ecx, [ebp - 0x6f8]
push ecx
call fcn.004d2400
add esp, 0x1c
test eax, eax
je 0x4b1380
lea eax, [ebp - 0x6f8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4b1341
sub eax, edx
sar eax, 1
xor edx, edx
push 0x3f
mov word [ebp + eax*2 - 0x6fc], dx
lea eax, [ebp - 0x6f8]
push 9
push eax
call fcn.004e56ec
add esp, 8
add eax, 2
push eax
lea ecx, [ebp - 0x1f8]
push ecx
call fcn.004e5481
add esp, 0xc
push 0xfe
lea eax, [ebp - 0x3f6]
xor edx, edx
push edi
push eax
mov word [ebp - 0x3f8], dx
call fcn.004e8ba0
mov eax, dword [ebp - 0xd04]
mov ecx, dword [eax]
add esp, 0xc
push edi
push edi
lea edx, [ebp - 0xd18]
push edx
push edi
push str.RegisteredUser
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4b13ea
cmp word [ebp - 0xd18], 1
je 0x4b13ea
mov ecx, dword [ebp - 0xd10]
push 0x7f
push ecx
lea edx, [ebp - 0x3f8]
push edx
call fcn.004e5481
add esp, 0xc
lea eax, [ebp - 0xd18]
push eax
call esi
push 0x206
lea edx, [ebp - 0x8fe]
xor ecx, ecx
push edi
push edx
mov word [ebp - 0x900], cx
call fcn.004e8ba0
mov eax, dword [ebp - 0xd04]
mov ecx, dword [eax]
add esp, 0xc
push edi
push edi
lea edx, [ebp - 0xd18]
push edx
push edi
push str.Description
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4b1457
cmp word [ebp - 0xd18], 1
je 0x4b1457
mov ecx, dword [ebp - 0xd10]
push 0x103
push ecx
lea edx, [ebp - 0x900]
push edx
call fcn.004e5481
add esp, 0xc
lea eax, [ebp - 0xd18]
push eax
call esi
xor eax, eax
push edi
xor ecx, ecx
push edi
mov word [ebp - 0x74], cx
lea ecx, [ebp - 0xd18]
push ecx
mov dword [ebp - 0x72], eax
mov dword [ebp - 0x6e], eax
mov dword [ebp - 0x6a], eax
mov dword [ebp - 0x66], eax
mov dword [ebp - 0x62], eax
mov dword [ebp - 0x5e], eax
mov dword [ebp - 0x5a], eax
mov eax, dword [ebp - 0xd04]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push edi
push str.InstallDate
push eax
call edx
test eax, eax
jne 0x4b14bd
cmp word [ebp - 0xd18], 1
je 0x4b14bd
mov eax, dword [ebp - 0xd10]
push 0xe
push eax
lea ecx, [ebp - 0x74]
push ecx
call fcn.004e5481
add esp, 0xc
lea edx, [ebp - 0xd18]
push edx
call esi
xor eax, eax
push edi
push edi
lea edx, [ebp - 0xd18]
push edx
mov word [ebp - 0x94], ax
mov dword [ebp - 0x92], eax
mov dword [ebp - 0x8e], eax
mov dword [ebp - 0x8a], eax
mov dword [ebp - 0x86], eax
mov dword [ebp - 0x82], eax
mov dword [ebp - 0x7e], eax
mov dword [ebp - 0x7a], eax
mov eax, dword [ebp - 0xd04]
mov ecx, dword [eax]
push edi
push str.LocalDateTime
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4b1536
cmp word [ebp - 0xd18], 1
je 0x4b1536
mov ecx, dword [ebp - 0xd10]
push 0xe
push ecx
lea edx, [ebp - 0x94]
push edx
call fcn.004e5481
add esp, 0xc
lea eax, [ebp - 0xd18]
push eax
call esi
xor eax, eax
push edi
xor ecx, ecx
push edi
mov word [ebp - 0xb4], cx
lea ecx, [ebp - 0xd18]
push ecx
mov dword [ebp - 0xb2], eax
mov dword [ebp - 0xae], eax
mov dword [ebp - 0xaa], eax
mov dword [ebp - 0xa6], eax
mov dword [ebp - 0xa2], eax
mov dword [ebp - 0x9e], eax
mov dword [ebp - 0x9a], eax
mov eax, dword [ebp - 0xd04]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push edi
push str.LastBootUpTime
push eax
call edx
test eax, eax
jne 0x4b15b7
cmp word [ebp - 0xd18], 1
je 0x4b15b7
mov eax, dword [ebp - 0xd10]
push 0xe
push eax
lea ecx, [ebp - 0xb4]
push ecx
call fcn.004e5481
add esp, 0xc
lea edx, [ebp - 0xd18]
push edx
call esi
push 0xfe
lea ecx, [ebp - 0x4f6]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x4f8], ax
call fcn.004e8ba0
push 0x1fe
lea eax, [ebp - 0xcfe]
xor edx, edx
push edi
push eax
mov word [ebp - 0xd00], dx
call fcn.004e8ba0
add esp, 0x18
lea ecx, [ebp - 0xd28]
push ecx
lea edx, [ebp - 0xd00]
push edx
mov dword [ebp - 0xd28], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [ebp - 0xd28]
push eax
lea ecx, [ebp - 0x4f8]
push ecx
lea eax, [ebp - 0xd00]
mov dword [ebp - 0xd28], 0x7f
call fcn.004a56a0
lea eax, [ebp - 0x2f8]
mov edx, ebx
mov ecx, eax
add esp, 8
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x4b1640
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b1652
mov edx, dword [0x51ccdc]
lea eax, [ebp - 0xf8]
mov dword [edi], edx
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b1670
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b1680
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b16a0
mov eax, dword [0x51ccdc]
mov dword [edi], eax
lea eax, [ebp - 0x34]
mov edx, eax
jmp 0x4b16c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b16c0
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b16d0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b16f0
mov ecx, dword [0x51ccdc]
lea eax, [ebp - 0x14]
mov dword [edi], ecx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b1710
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b1720
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b1740
mov edx, dword [0x51ccdc]
lea eax, [ebp - 0x54]
mov dword [edi], edx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b1760
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b1770
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b1790
mov eax, dword [0x51ccdc]
mov dword [edi], eax
lea eax, [ebp - 0xb00]
mov edx, eax
jmp 0x4b17b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b17b0
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b17c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b17e0
mov ecx, dword [0x51ccdc]
lea eax, [ebp - 0x178]
mov dword [edi], ecx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b1800
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b1810
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b1830
mov edx, dword [0x51ccdc]
lea eax, [ebp - 0x1f8]
mov dword [edi], edx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b1850
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b1860
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b1880
mov eax, dword [0x51ccdc]
mov dword [edi], eax
lea eax, [ebp - 0x3f8]
mov edx, eax
jmp 0x4b18a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b18a0
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b18b0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b18d0
mov ecx, dword [0x51ccdc]
lea eax, [ebp - 0x900]
mov dword [edi], ecx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b18f0
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b1900
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b1920
mov edx, dword [0x51ccdc]
lea eax, [ebp - 0x74]
mov dword [edi], edx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b1940
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b1950
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b1970
mov eax, dword [0x51ccdc]
mov dword [edi], eax
lea eax, [ebp - 0x94]
mov edx, eax
jmp 0x4b1990
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b1990
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b19a0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b19c0
mov ecx, dword [0x51ccdc]
lea eax, [ebp - 0xb4]
mov dword [edi], ecx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b19e0
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b19f0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b1a10
mov edx, dword [0x51ccdc]
lea eax, [ebp - 0x4f8]
mov dword [edi], edx
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b1a30
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b1a40
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 2]
nop
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b1a60
mov eax, dword [0x51ccdc]
mov dword [edi], eax
mov eax, ebx
lea edx, [eax + 2]
jmp 0x4b1a80
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b1a80
sub eax, edx
sar eax, 1
mov ecx, 1
mov word [ebx + eax*2], cx
mov eax, dword [ebp - 0xd24]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0xd20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0xd1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004e4746
mov esp, ebp
pop ebp
ret