Function at 0x527ba4
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x55
push 0
push 0
dec ecx
jne 0x527bac
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x528630
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x2d], 0
mov byte [ebp - 5], 0
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
mov dl, 1
mov eax, dword [0x41b034]
call fcn.00404288
mov dword [ebp - 0xc], eax
push 1
push 0x2710
lea ecx, [ebp - 0xc]
mov edx, 0x52864c
mov eax, 0x528674
call fcn.004a12bc
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x527d71
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x258]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x258]
lea edx, [ebp - 0x254]
call fcn.00409b94
mov edx, dword [ebp - 0x254]
mov eax, 0x528680
call fcn.0040570c
test eax, eax
jle 0x527d65
lea ecx, [ebp - 0x260]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x25c]
mov edx, 0x528698
call fcn.004a11d0
mov eax, dword [ebp - 0x25c]
push eax
lea edx, [ebp - 0x264]
mov eax, dword [ebp - 4]
call fcn.0040a2d8
mov edx, dword [ebp - 0x264]
pop eax
call fcn.00405514
jne 0x527d65
lea ecx, [ebp - 0x26c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x26c]
lea ecx, [ebp - 0x268]
mov edx, 0x5286a8
call fcn.004a11d0
mov eax, dword [ebp - 0x268]
or edx, 0xffffffff
call fcn.0040a480
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x274]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x274]
lea ecx, [ebp - 0x270]
mov edx, 0x5286bc
call fcn.004a11d0
mov eax, dword [ebp - 0x270]
or edx, 0xffffffff
call fcn.0040a480
mov dword [ebp - 0x1c], eax
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [ebp - 0x27c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x278]
mov edx, 0x5286d4
call fcn.004a11d0
mov eax, dword [ebp - 0x278]
call fcn.0040a4fc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
jmp 0x527d71
inc dword [ebp - 0x14]
dec dword [ebp - 0x3c]
jne 0x527c2f
lea eax, [ebp - 0xc]
call fcn.00410460
cmp dword [ebp - 0x18], 0xffffffff
jle 0x52860a
cmp dword [ebp - 0x1c], 0xffffffff
jle 0x52860a
cmp dword [ebp - 0x24], 0xffffffff
jne 0x527d9f
cmp dword [ebp - 0x28], 0xffffffff
jbe 0x52860a
jmp 0x527da5
jle 0x52860a
lea ecx, [ebp - 0x250]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.00524838
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x52860a
lea eax, [ebp - 0x2c]
call fcn.00405108
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x280]
mov edx, dword [ebp - 0x14]
mov dl, byte [ebp + edx - 0x240]
call fcn.004052f0
mov edx, dword [ebp - 0x280]
lea eax, [ebp - 0x2c]
call fcn.004053d0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x200
jne 0x527dd0
lea eax, [ebp - 0x2c]
xor edx, edx
call fcn.005240e8
mov byte [ebp - 0x30], 0
cmp byte [ebp - 0x23c], 0x37
jne 0x527e1f
cmp byte [ebp - 0x23b], 0xc8
je 0x527e67
cmp byte [ebp - 0x23c], 0x73
jne 0x527e31
cmp byte [ebp - 0x23b], 0x8c
je 0x527e67
cmp byte [ebp - 0x23c], 0x8c
jne 0x527e43
cmp byte [ebp - 0x23b], 0x73
je 0x527e67
cmp byte [ebp - 0x23c], 0xc8
jne 0x527e55
cmp byte [ebp - 0x23b], 0x37
je 0x527e67
cmp byte [ebp - 0x23c], 0
jne 0x527e6b
cmp byte [ebp - 0x23b], 0
jne 0x527e6b
mov byte [ebp - 0x30], 1
cmp byte [ebp - 0x30], 0
je 0x527eac
mov dword [ebp - 0x14], 0x14
mov eax, dword [ebp - 0x14]
cmp byte [ebp + eax - 0x240], 0x20
jb 0x527e92
mov eax, dword [ebp - 0x14]
cmp byte [ebp + eax - 0x240], 0x7f
jbe 0x527ea3
mov eax, dword [ebp - 0x14]
cmp byte [ebp + eax - 0x240], 0
je 0x527ea3
mov byte [ebp - 0x30], 0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x28
jne 0x527e78
cmp byte [ebp - 0x30], 0
je 0x527f01
mov dword [ebp - 0x14], 0x2e
mov eax, dword [ebp - 0x14]
cmp byte [ebp + eax - 0x240], 0x20
jb 0x527ed3
mov eax, dword [ebp - 0x14]
cmp byte [ebp + eax - 0x240], 0x7f
jbe 0x527ef8
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
lea edx, [ebp - 0x240]
mov ecx, 0x1ff
mov eax, dword [ebp - 4]
call fcn.004fedf8
test al, al
je 0x527f01
mov byte [ebp - 0x2d], 1
jmp 0x527f01
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x36
jne 0x527eb9
cmp byte [ebp - 0x2d], 0
je 0x527f4d
lea eax, [ebp - 0x2c]
call fcn.00405108
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x284]
mov edx, dword [ebp - 0x14]
mov dl, byte [ebp + edx - 0x240]
call fcn.004052f0
mov edx, dword [ebp - 0x284]
lea eax, [ebp - 0x2c]
call fcn.004053d0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x200
jne 0x527f14
lea eax, [ebp - 0x2c]
xor edx, edx
call fcn.005240e8
cmp byte [ebp - 0x30], 0
je 0x527f81
mov dword [ebp - 0x14], 0x36
mov eax, dword [ebp - 0x14]
cmp byte [ebp + eax - 0x240], 0x20
jb 0x527f74
mov eax, dword [ebp - 0x14]
cmp byte [ebp + eax - 0x240], 0x7f
jbe 0x527f78
mov byte [ebp - 0x30], 0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x5c
jne 0x527f5a
push 0x5286e4
lea edx, [ebp - 0x28c]
mov eax, dword [ebp - 4]
call fcn.0040a2d8
push dword [ebp - 0x28c]
push 0x5286fc
lea edx, [ebp - 0x290]
mov al, byte [ebp - 0x30]
call fcn.0048dfc0
push dword [ebp - 0x290]
lea eax, [ebp - 0x288]
mov edx, 4
call fcn.00405488
mov eax, dword [ebp - 0x288]
call fcn.0049839c
mov byte [ebp - 0x2f], 0
mov eax, dword [ebp - 4]
dec eax
test eax, eax
jl 0x5280c2
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x2f], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0xa7a554]
call fcn.004053c8
cmp eax, 0x80
jl 0x5280b6
mov byte [ebp - 0x2f], 1
mov dword [ebp - 0x14], 0x15
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx*4 + 0xa7a554]
mov ecx, dword [ebp - 0x14]
cmp al, byte [edx + ecx - 1]
je 0x528035
mov byte [ebp - 0x2f], 0
jmp 0x52803e
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x29
jne 0x528012
cmp byte [ebp - 0x2f], 0
je 0x528077
mov dword [ebp - 0x14], 0x2f
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx*4 + 0xa7a554]
mov ecx, dword [ebp - 0x14]
cmp al, byte [edx + ecx - 1]
je 0x52806e
mov byte [ebp - 0x2f], 0
jmp 0x528077
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x37
jne 0x52804b
cmp byte [ebp - 0x2f], 0
je 0x5280b0
mov dword [ebp - 0x14], 0x37
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx*4 + 0xa7a554]
mov ecx, dword [ebp - 0x14]
cmp al, byte [edx + ecx - 1]
je 0x5280a7
mov byte [ebp - 0x2f], 0
jmp 0x5280b0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x5f
jne 0x528084
cmp byte [ebp - 0x2f], 0
jne 0x5280c2
inc dword [ebp - 0x10]
dec dword [ebp - 0x3c]
jne 0x527fe9
cmp byte [ebp - 0x2f], 0
je 0x528198
cmp dword [ebp - 0x10], 0
jl 0x528198
cmp dword [ebp - 0x10], 0xc7
jge 0x528198
push 0x528710
lea edx, [ebp - 0x298]
mov eax, dword [ebp - 0x10]
call fcn.0040a2d8
push dword [ebp - 0x298]
push 0x528724
lea eax, [ebp - 0x29c]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0xa7a554]
mov ecx, 0x28
mov edx, 0x37
call fcn.00405628
push dword [ebp - 0x29c]
push 0x528730
lea eax, [ebp - 0x2a0]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0xa7a554]
mov ecx, 8
mov edx, 0x2f
call fcn.00405628
push dword [ebp - 0x2a0]
push 0x528730
lea eax, [ebp - 0x2a4]
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0xa7a554]
mov ecx, 0x14
mov edx, 0x15
call fcn.00405628
push dword [ebp - 0x2a4]
lea eax, [ebp - 0x294]
mov edx, 8
call fcn.00405488
mov eax, dword [ebp - 0x294]
call fcn.0049839c
cmp byte [ebp - 0x30], 0
je 0x52860a
cmp byte [ebp - 0x2f], 0
jne 0x52860a
mov eax, dword [ebp - 4]
lea eax, [eax*4 + 0xa7a554]
mov edx, dword [ebp - 0x2c]
call fcn.0040515c
mov al, byte [ebp - 4]
mov edx, dword [ebp - 4]
shl edx, 2
lea edx, [edx + edx*2]
lea edx, [edx*8 + 0x64d88c]
call fcn.004ff16c
push 1
lea ecx, [ebp - 0x250]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.00524aa0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x5285b5
lea edx, [ebp - 0x240]
mov ecx, 0x1ff
mov eax, dword [ebp - 4]
call fcn.005207c4
test al, al
je 0x5285b5
mov dword [ebp - 0x14], 0x16a
mov eax, dword [ebp - 0x14]
mov al, byte [ebp + eax - 0x240]
imul edx, dword [ebp - 4], 0x4b
lea edx, [edx*2 + 0xa7a874]
mov ecx, dword [ebp - 0x14]
mov byte [edx + ecx - 0x16a], al
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x200
jne 0x528218
lea edx, [ebp - 0x2a8]
mov eax, dword [ebp - 4]
call fcn.00500678
mov eax, dword [ebp - 0x2a8]
lea edx, [ebp - 0x2c]
call fcn.00500774
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, eax
shl eax, 5
add eax, edx
imul edx, dword [ebp - 4], 0x651
lea edx, [edx*2 + 0xb1fc34]
lea eax, [edx + eax*2]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
shl eax, 2
lea eax, [eax + eax*2]
mov al, byte [ebp + eax - 0x23e]
mov edx, dword [ebp - 0x40]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x14]
shl eax, 2
lea eax, [eax + eax*2]
mov al, byte [ebp + eax - 0x23b]
mov edx, dword [ebp - 0x40]
mov byte [edx + 4], al
mov eax, dword [ebp - 0x14]
shl eax, 2
lea eax, [eax + eax*2]
movzx eax, byte [ebp + eax - 0x23d]
mov edx, dword [ebp - 0x14]
shl edx, 2
lea edx, [edx + edx*2]
movzx edx, byte [ebp + edx - 0x23c]
shl edx, 8
add ax, dx
mov edx, dword [ebp - 0x40]
mov word [edx + 2], ax
mov eax, dword [ebp - 0x14]
shl eax, 2
lea eax, [eax + eax*2]
mov al, byte [ebp + eax - 0x23a]
mov edx, dword [ebp - 0x40]
mov byte [edx + 5], al
lea ecx, [ebp - 0x2e]
mov eax, dword [ebp - 0x40]
xor edx, edx
mov dl, byte [eax + 1]
mov eax, dword [ebp - 0x2c]
call fcn.004ffd44
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [0x614164]
cdq
add dword [ebp - 0x38], eax
adc dword [ebp - 0x34], edx
push 0
push 0x1000000
mov eax, dword [ebp - 0x14]
shl eax, 2
lea eax, [eax + eax*2]
movzx eax, byte [ebp + eax - 0x236]
xor edx, edx
call fcn.004061f4
push edx
push eax
mov eax, dword [ebp - 0x14]
shl eax, 2
lea eax, [eax + eax*2]
movzx eax, byte [ebp + eax - 0x239]
xor edx, edx
add eax, dword [ebp - 0x38]
adc edx, dword [ebp - 0x34]
push edx
push eax
mov eax, dword [ebp - 0x14]
shl eax, 2
lea eax, [eax + eax*2]
movzx eax, byte [ebp + eax - 0x238]
shl eax, 8
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 0x14]
shl eax, 2
lea eax, [eax + eax*2]
movzx eax, byte [ebp + eax - 0x237]
shl eax, 0x10
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
push 0
push pe_nt_image_headers32
push 0
push 0x1000000
mov eax, dword [ebp - 0x14]
shl eax, 2
lea eax, [eax + eax*2]
movzx eax, byte [ebp + eax - 0x235]
xor edx, edx
call fcn.004061f4
call fcn.004061f4
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
push 0
push 0x10000
push 0
push 0x1000000
mov eax, dword [ebp - 0x14]
shl eax, 2
lea eax, [eax + eax*2]
movzx eax, byte [ebp + eax - 0x234]
xor edx, edx
call fcn.004061f4
call fcn.004061f4
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
jne 0x528422
cmp dword [ebp - 0x38], 0
jae 0x528432
jmp 0x528424
jge 0x528432
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
push 0
push pe_nt_image_headers32
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
call fcn.004062b8
mov edx, dword [ebp - 0x40]
mov byte [edx + 7], al
push 0
push pe_nt_image_headers32
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
shrd eax, edx, 8
shr edx, 8
call fcn.004062b8
mov edx, dword [ebp - 0x40]
mov byte [edx + 8], al
push 0
push pe_nt_image_headers32
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
shrd eax, edx, 0x10
shr edx, 0x10
call fcn.004062b8
mov edx, dword [ebp - 0x40]
mov byte [edx + 9], al
push 0
push pe_nt_image_headers32
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
shrd eax, edx, 0x18
shr edx, 0x18
call fcn.004062b8
mov edx, dword [ebp - 0x40]
mov byte [edx + 0xa], al
push 0
push pe_nt_image_headers32
mov eax, dword [ebp - 0x34]
xor edx, edx
call fcn.004062b8
mov edx, dword [ebp - 0x40]
mov byte [edx + 0xb], al
push 0
push pe_nt_image_headers32
mov eax, dword [ebp - 0x34]
shr eax, 8
xor edx, edx
call fcn.004062b8
mov edx, dword [ebp - 0x40]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 0x40]
mov cl, byte [eax + 4]
mov eax, dword [ebp - 0x40]
mov dl, byte [eax + 6]
mov eax, dword [ebp - 0x40]
mov al, byte [eax + 1]
call fcn.00526ce0
mov edx, dword [ebp - 0x40]
mov byte [edx], al
mov eax, dword [ebp - 0x40]
mov byte [eax + 0x40], 0
mov eax, dword [ebp - 0x40]
cmp byte [eax + 6], 0
jne 0x528516
mov eax, dword [ebp - 0x40]
lea edi, [eax + 0xd]
mov esi, 0x528734
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x52858e
mov eax, dword [ebp - 0x40]
cmp byte [eax + 6], 0xff
jne 0x528535
mov eax, dword [ebp - 0x40]
lea edi, [eax + 0xd]
mov esi, 0x528748
mov ecx, 5
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x52858e
mov eax, dword [ebp - 0x40]
mov al, byte [eax + 4]
mov edx, dword [ebp - 0x40]
cmp al, byte [edx + 6]
jbe 0x528553
mov eax, dword [ebp - 0x40]
lea edi, [eax + 0xd]
mov esi, 0x528760
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x52858e
mov eax, dword [ebp - 0x40]
mov byte [eax + 0x40], 1
mov eax, dword [ebp - 0x40]
test byte [eax + 2], 1
jne 0x52857a
mov eax, dword [ebp - 0x40]
lea edi, [eax + 0xd]
mov esi, 0x528764
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp 0x52858e
mov eax, dword [ebp - 0x40]
lea edi, [eax + 0xd]
mov esi, 0x528784
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1e
jne 0x528264
imul eax, dword [ebp - 4], 0x651
lea edx, [eax*2 + 0xb1fc34]
mov cl, 1
mov eax, dword [ebp - 4]
call fcn.00529b60
jmp 0x5285da
imul eax, dword [ebp - 4], 0x651
imul edx, dword [ebp - 4], 0x651
lea esi, [eax*2 + 0xa81da4]
lea edi, [edx*2 + 0xb1fc34]
mov ecx, 0x328
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov dword [eax*8 + 0x63988c], edx
mov edx, dword [ebp - 0x24]
mov dword [eax*8 + 0x639890], edx
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [0x614160]
jl 0x528606
mov eax, dword [ebp - 4]
inc eax
mov dword [0x614160], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x528637
lea eax, [ebp - 0x2a8]
mov edx, 0x16
call fcn.0040512c
lea eax, [ebp - 0x2c]
call fcn.00405108
ret