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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x118c
call fcn.0048a3a0
mov eax, dword [0x828208]
xor eax, esp
mov dword [esp + 0x1188], eax
push ebx
push esi
push edi
mov edi, dword [0x86c1b8]
lea eax, [esp + 0x88]
push 0x58
mov ebx, ecx
push 0
push eax
mov dword [esp + 0x20], ebx
call fcn.0048ff50
add esp, 0xc
test edi, edi
je 0x402b8f
mov eax, dword [0x875bfc]
test eax, eax
je 0x402aff
push eax
call fcn.00489f8e
add esp, 4
mov dword [0x875bfc], 0
mov dword [0x875bf8], 0
mov eax, dword [edi + 0x10]
push edi
call eax
add esp, 4
test eax, eax
jne 0x402b89
lea eax, [esp + 0x88]
push eax
mov eax, dword [edi + 0x18]
push edi
call eax
add esp, 8
test eax, eax
jne 0x402b89
mov dword [esp + 0x58], 0x17088572
lea ecx, [esp + 0x58]
mov dword [esp + 0x5c], 0x44ef377f
lea edx, [esp + 0x88]
mov dword [esp + 0x60], 0x9fb04e8f
lea esi, [eax + 0xc]
mov dword [esp + 0x64], 0x70a046ff
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x402b7c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x402b53
lea eax, [esp + 0x88]
mov edx, edi
push eax
mov ecx, ebx
call fcn.004204b0
add esp, 4
test al, al
je 0x402b89
mov eax, dword [edi + 0x14]
push edi
call eax
add esp, 4
test eax, eax
je 0x402b10
mov edi, dword [0x86c1b8]
mov eax, dword [edi + 0x1c]
push edi
call eax
add esp, 4
push eax
call fcn.00429f80
mov ecx, dword [0x86c1b8]
add esp, 4
mov esi, eax
mov dword [esp + 0x40], esi
push 0x82a040
push ecx
mov ecx, dword [ecx + 0xc]
call ecx
add esp, 8
cmp eax, 0x3f5
jne 0x402bd5
mov eax, dword [0x86c1b8]
push 0x82a00c
push eax
mov eax, dword [eax + 0xc]
call eax
add esp, 8
test eax, eax
jne 0x4036c0
mov eax, dword [esi]
push 0x4da4c0
push esi
call eax
add esp, 8
test eax, eax
jne 0x4036c0
mov eax, dword [esi + 0xc]
push esi
call eax
add esp, 4
test eax, eax
jne 0x4036b7
mov eax, dword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov dword [esp + 0x30], 0x64
mov dword [esp + 0x3c], 0x3e8
mov dword [esp + 0x38], eax
nop dword [eax]
lea eax, [esp + 0x110]
push eax
push 0x80
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esi + 0x14]
push esi
call eax
add esp, 0x1c
test eax, eax
jne 0x4036b7
xor esi, esi
nop word [eax + eax]
test esi, esi
je 0x402c69
mov esi, dword [esi + 0x10]
jmp 0x402c72
mov esi, dword [0x8483c4]
mov esi, dword [esi + 0x28]
test esi, esi
je 0x40369e
nop word [eax + eax]
mov cl, byte [esi + 0x7c]
test cl, cl
jne 0x402c93
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x402c80
jmp 0x40369e
cmp byte [ebx + 6], 0
je 0x402ca8
test dword [esi + 8], 0x400
jne 0x402ca8
mov byte [esi + 0x7c], 0
xor cl, cl
cmp byte [ebx + 7], 0
je 0x402cc3
mov eax, dword [esi + 8]
and eax, 0x4010
cmp eax, 0x4010
je 0x402cc3
mov byte [esi + 0x7c], 0
xor cl, cl
cmp byte [ebx + 8], 0
je 0x402d1d
mov edx, dword [esi + 0x18]
mov edi, 0x829fd8
mov ebx, 0xc
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x402ceb
add edx, 4
add edi, 4
sub ebx, 4
jae 0x402cd6
xor eax, eax
jmp 0x402d10
cmp al, byte [edi]
jne 0x402d0b
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x402d0b
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x402d0b
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
jne 0x402d0b
xor eax, eax
jmp 0x402d10
sbb eax, eax
or eax, 1
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x402d1d
mov byte [esi + 0x7c], al
xor cl, cl
test cl, cl
je 0x402c60
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x78]
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x402c60
add ecx, 4
add edx, 4
sub edi, 4
jae 0x402d31
mov dword [esp + 0x68], 0x17088572
lea ecx, [esp + 0x68]
mov dword [esp + 0x6c], 0x44ef377f
lea edx, [esp + 0x78]
mov dword [esp + 0x70], 0x9fb04e8f
mov edi, 0xc
mov dword [esp + 0x74], 0x70a046ff
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x402f5f
add ecx, 4
add edx, 4
sub edi, 4
jae 0x402d73
movzx ebx, word [esp + 0xe4]
lea ecx, [esi + 0x88]
movzx edx, word [esp + 0xe6]
mov eax, ebx
shl eax, 8
movzx edi, dl
or edi, eax
movzx eax, word [esp + 0xe8]
shl edi, 8
movzx eax, al
or edi, eax
movzx eax, word [esp + 0xea]
shl edi, 8
movzx eax, al
or edi, eax
test ecx, ecx
je 0x402df0
movzx eax, word [esp + 0xea]
push eax
movzx eax, word [esp + 0xec]
push eax
push edx
push ebx
push str.0x_02x_02x_02x_02x
push 0x20
push ecx
call fcn.00415a40
add esp, 0x1c
lea eax, [esp + 0x110]
mov dword [esi + 0x80], edi
push eax
lea eax, [esi + 0xc8]
push 0x80
push eax
call fcn.00499884
lea edi, [esp + 0x54]
mov dword [esp + 0x18], 8
xor ecx, ecx
mov eax, 1
cpuid
mov dword [edi], eax
add esp, 0xc
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
push dword [esp + 0x48]
mov edi, dword [esp + 0x18]
push str.System_CpuId__0x_x_n
push edi
call fcn.0040adc0
add esp, 0xc
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x5c]
push eax
push 0
push 8
push str.Update_Revision
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
call dword [esp + 0x54]
test eax, eax
jne 0x402ec9
movzx eax, byte [esp + 0x5c]
push eax
movzx eax, byte [esp + 0x61]
push eax
movzx eax, byte [esp + 0x66]
push eax
movzx eax, byte [esp + 0x6b]
push eax
push str.MicrocodeVer__0x_02x_02x_02x_02x_n
push edi
call fcn.0040abf0
movzx eax, byte [esp + 0x77]
add esp, 0x18
movzx ecx, byte [esp + 0x5e]
movzx edx, byte [esp + 0x5d]
movzx edi, byte [esp + 0x5c]
mov word [esp + 0xe4], ax
mov word [esp + 0xe6], cx
mov word [esp + 0xe8], dx
mov word [esp + 0xea], di
jmp 0x402efc
push dword [esp + 0xc]
push eax
push str.Failed_to_get_System_Microcode_version_from_registry._Status___d_nMicrocodeVerSize___d_n
push edi
call fcn.0040abf0
mov di, word [esp + 0xfa]
add esp, 0x10
mov dx, word [esp + 0xe8]
mov cx, word [esp + 0xe6]
mov ax, word [esp + 0xe4]
movzx edi, di
lea ebx, [esi + 0xa8]
movzx eax, ax
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], eax
shl eax, 8
movzx ecx, cx
movzx edi, cl
or edi, eax
movzx edx, dx
shl edi, 8
movzx eax, dl
or edi, eax
mov eax, dword [esp + 0xc]
shl edi, 8
movzx eax, al
or edi, eax
test ebx, ebx
je 0x402f50
push dword [esp + 0xc]
push edx
push ecx
push dword [esp + 0x24]
push str.0x_02x_02x_02x_02x
push 0x20
push ebx
call fcn.00415a40
add esp, 0x1c
mov ebx, dword [esp + 0x14]
mov dword [esi + 0x84], edi
jmp 0x402c60
mov edx, dword [esi + 8]
test dl, 0x41
setne cl
test dl, 0x20
setne al
test al, cl
je 0x403327
mov eax, dword [0x8483c4]
test byte [eax + 4], 0x80
je 0x403173
test dl, 0x40
je 0x403173
movzx eax, word [esp + 0xe4]
lea edi, [esi + 0x88]
xor edx, edx
mov dword [esp + 0xc], 0
mov ecx, 0x64
div ecx
mov eax, 0xcccccccd
movzx ecx, dl
mul ecx
mov eax, ecx
mov ecx, 0xa
mov ebx, edx
xor edx, edx
div ecx
shr ebx, 3
mov ecx, edx
mov dword [esp + 0x20], ebx
mov al, bl
mov dword [esp + 0x1c], ecx
shl al, 4
xor edx, edx
or al, cl
mov ecx, 0x64
mov byte [esp + 0xf], al
movzx eax, word [esp + 0xe6]
div ecx
mov eax, 0xcccccccd
movzx ecx, dl
mul ecx
mov eax, ecx
mov ecx, 0xa
mov ebx, edx
xor edx, edx
div ecx
shr ebx, 3
mov ecx, edx
mov dword [esp + 0x24], ebx
mov al, bl
mov dword [esp + 0x2c], ecx
shl al, 4
xor edx, edx
or al, cl
mov ecx, 0x64
mov byte [esp + 0xe], al
movzx eax, word [esp + 0xe8]
div ecx
mov eax, 0xcccccccd
movzx ecx, dl
mul ecx
mov eax, ecx
mov ecx, 0xa
mov ebx, edx
xor edx, edx
div ecx
shr ebx, 3
mov ecx, edx
mov dword [esp + 0x18], ebx
mov al, bl
mov dword [esp + 0x28], ecx
shl al, 4
xor edx, edx
or al, cl
mov ecx, 0x64
mov byte [esp + 0xd], al
movzx eax, word [esp + 0xea]
div ecx
mov eax, 0xcccccccd
movzx ecx, dl
mul ecx
mov eax, ecx
mov ecx, 0xa
mov ebx, edx
xor edx, edx
div ecx
shr ebx, 3
mov al, bl
shl al, 4
or al, dl
mov byte [esp + 0xc], al
test edi, edi
je 0x4030da
shl ebx, 4
or ebx, edx
movzx eax, bl
push eax
mov eax, dword [esp + 0x1c]
shl eax, 4
or eax, dword [esp + 0x2c]
movzx eax, al
push eax
mov eax, dword [esp + 0x2c]
shl eax, 4
or eax, dword [esp + 0x34]
movzx eax, al
push eax
mov eax, dword [esp + 0x2c]
shl eax, 4
or eax, dword [esp + 0x28]
movzx eax, al
push eax
push str._02x._02X._02X._02X
push edi
call fcn.00402130
add esp, 0x18
mov eax, dword [esp + 0xc]
mov dword [esi + 0x80], eax
test eax, eax
jne 0x4030ff
movq xmm0, qword [0x4da4e4]
movq qword [edi], xmm0
mov cx, word [0x4da4ec]
mov word [edi + 8], cx
mov cx, word [0x86c154]
mov edx, 0x104
cmp cx, dx
jne 0x403120
mov ecx, dword [esi + 0x18]
cmp dword [ecx], 0xb1fb8736
je 0x40314f
jmp 0x4034bd
cmp cx, 4
jne 0x403136
mov ecx, dword [esi + 0x18]
cmp dword [ecx], 0x326130bc
je 0x40314f
jmp 0x4034bd
cmp cx, 5
jne 0x4034bd
mov ecx, dword [esi + 0x18]
cmp dword [ecx], 0x7c9dd0c
jne 0x4034bd
mov dword [0x847fbc], eax
mov ecx, 0x8480c0
nop dword [eax]
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x403160
jmp 0x4034bd
mov al, byte [esi + 0x7e]
lea edi, [esi + 0x88]
mov byte [esp + 0x13], al
xor edx, edx
movzx eax, word [esp + 0xe4]
mov ecx, 0x64
div ecx
mov ebx, 0xa
mov dword [esp + 0xc], 0
movzx eax, dl
xor edx, edx
div ebx
shl al, 4
or al, dl
xor edx, edx
mov dword [esp + 0x2c], eax
mov byte [esp + 0xf], al
movzx eax, word [esp + 0xe6]
div ecx
mov eax, 0xcccccccd
movzx ecx, dl
mul ecx
mov eax, ecx
mov ecx, 0xa
mov ebx, edx
xor edx, edx
div ecx
shr ebx, 3
mov ecx, 0x64
mov al, bl
mov dword [esp + 0x18], edx
shl al, 4
or al, dl
mov dword [esp + 0x20], ebx
mov byte [esp + 0xe], al
xor edx, edx
movzx eax, word [esp + 0xe8]
div ecx
mov eax, 0xcccccccd
movzx ecx, dl
mul ecx
mov eax, ecx
mov ecx, 0xa
mov ebx, edx
xor edx, edx
div ecx
shr ebx, 3
mov ecx, 0x64
mov al, bl
mov dword [esp + 0x28], edx
shl al, 4
or al, dl
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xd], al
xor edx, edx
movzx eax, word [esp + 0xea]
div ecx
mov eax, 0xcccccccd
movzx ecx, dl
mul ecx
mov eax, ecx
mov ecx, 0xa
mov ebx, edx
xor edx, edx
div ecx
shr ebx, 3
mov al, bl
mov ecx, edx
shl al, 4
or al, cl
mov dword [esp + 0x24], ecx
mov byte [esp + 0xc], al
test edi, edi
je 0x4032e1
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
shl ebx, 4
shl ecx, 4
shl edx, 4
cmp byte [esp + 0x13], 9
jne 0x4032b7
mov eax, dword [esp + 0x24]
or eax, ebx
movzx eax, al
push eax
mov eax, dword [esp + 0x2c]
or eax, ecx
movzx eax, al
push eax
mov eax, dword [esp + 0x20]
or eax, edx
movzx eax, al
push eax
mov eax, dword [esp + 0x38]
movzx eax, al
push eax
push str._02X._02X._02X._02X
push edi
call fcn.00402130
add esp, 0x18
jmp 0x4032e1
or ebx, dword [esp + 0x24]
movzx eax, bl
push eax
mov eax, dword [esp + 0x2c]
or eax, ecx
movzx eax, al
push eax
mov eax, dword [esp + 0x20]
or eax, edx
movzx eax, al
push eax
push str._02X._02X._02X
push edi
call fcn.00402130
add esp, 0x14
test byte [esi + 8], 0x40
mov eax, dword [esp + 0xc]
mov dword [esi + 0x80], eax
je 0x4034bd
mov edx, edi
lea ecx, [esp + 0xe4]
call fcn.004056d0
mov ecx, 0x8480c0
mov dword [esi + 0x80], eax
mov dword [0x847fbc], eax
sub ecx, edi
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [edi + ecx - 1], al
test al, al
jne 0x403315
jmp 0x4034bd
and edx, 0x50
lea edi, [esi + 0x88]
mov dword [esp + 0x20], edi
cmp dl, 0x50
jne 0x4033f2
cmp byte [esi + 0x7e], 3
jne 0x4033c1
movzx ecx, word [esp + 0xe4]
xor edx, edx
mov ebx, 0xa
mov eax, ecx
div ebx
movzx eax, word [esp + 0xe6]
mov ebx, edx
xor edx, edx
div dword [esp + 0x30]
movzx eax, word [esp + 0xe8]
shl ebx, 8
or ebx, edx
xor edx, edx
div dword [esp + 0x30]
movzx eax, word [esp + 0xea]
shl ebx, 8
or ebx, edx
xor edx, edx
div dword [esp + 0x3c]
shl ebx, 0xc
or ebx, edx
test edi, edi
je 0x4033d1
movzx eax, word [esp + 0xea]
push eax
movzx eax, word [esp + 0xec]
push eax
movzx eax, word [esp + 0xee]
push eax
push ecx
push str._d._02d._02d._03d
push edi
call fcn.00402130
add esp, 0x18
jmp 0x4033d1
mov edx, edi
lea ecx, [esp + 0xe4]
call fcn.004056d0
mov ebx, eax
mov ecx, 0x8484d0
mov dword [esi + 0x80], ebx
sub ecx, edi
nop
mov al, byte [edi]
lea edi, [edi + 1]
mov byte [edi + ecx - 1], al
test al, al
jne 0x4033e0
jmp 0x4034bd
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4033f7
sub ecx, edx
jne 0x4034e3
cmp byte [esi + 0x7e], 0xa
je 0x403444
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x38]
push eax
push 0x20
push edi
call fcn.0042a590
add esp, 0x10
test eax, eax
jne 0x4034bd
movq xmm0, qword [0x4da4e4]
movq qword [edi], xmm0
mov ax, word [0x4da4ec]
mov word [edi + 8], ax
jmp 0x4034bd
movzx eax, word [esp + 0xea]
push eax
movzx eax, word [esp + 0xec]
push eax
movzx eax, word [esp + 0xee]
push eax
movzx eax, word [esp + 0xf0]
push eax
push str._X._X._X._X
push edi
call fcn.00402130
movzx eax, byte [esp + 0x102]
add esp, 0x18
mov dword [esi + 0x80], eax
movzx edx, byte [esp + 0xe8]
shl edx, 8
or edx, eax
mov dword [esi + 0x80], edx
movzx ecx, byte [esp + 0xe6]
shl ecx, 0x10
or ecx, edx
mov dword [esi + 0x80], ecx
movzx eax, word [esp + 0xe4]
shl eax, 0x18
or eax, ecx
mov dword [esi + 0x80], eax
lea ecx, [esp + 0x110]
mov eax, esi
mov edx, ecx
sub eax, edx
lea edx, [eax + 0xc8]
mov al, byte [ecx]
mov byte [ecx + edx], al
inc ecx
test al, al
jne 0x4034d0
mov ebx, dword [esp + 0x14]
jmp 0x402c60
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xf8]
push 0x20
push eax
call fcn.0042a590
add esp, 0x10
test eax, eax
je 0x40369e
mov cl, byte [esi + 0x7e]
mov edx, edi
call fcn.00408810
mov cl, byte [esi + 0x7e]
lea edx, [esp + 0xf0]
mov dword [esp + 0x1c], eax
call fcn.00408810
mov ecx, dword [esi + 0x18]
mov edi, eax
call fcn.00419160
mov ebx, eax
cmp edi, dword [esp + 0x1c]
ja 0x4035d3
test ebx, ebx
je 0x40369e
sub esp, 8
mov byte [ebx + 0x7c], 1
lea eax, [esp + 0x198]
mov ecx, 0x10000076
push 0x1000
push eax
push 0
call fcn.00407180
lea ecx, [esp + 0x104]
mov eax, ebx
mov edx, ecx
add esp, 0x14
sub eax, edx
lea edx, [eax + 0x88]
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x403580
lea ecx, [esp + 0x190]
mov eax, ebx
mov edx, ecx
sub eax, edx
lea edx, [eax + 0xa8]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4035a0
lea ecx, [esp + 0x110]
mov eax, ecx
sub ebx, eax
nop dword [eax + eax]
mov al, byte [ecx]
mov byte [ebx + ecx + 0xc8], al
inc ecx
test al, al
jne 0x4035c0
jmp 0x40369e
test ebx, ebx
je 0x40369e
mov ecx, dword [esp + 0x20]
lea edx, [esi + 0x88]
mov edi, ebx
mov byte [ebx + 0x7c], 1
sub edi, edx
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edi + 0x87], al
test al, al
jne 0x4035f0
add esi, 0xc8
mov edi, ebx
mov ecx, esi
sub edi, esi
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edi + 0xc7], al
test al, al
jne 0x403610
lea ecx, [esp + 0xf0]
mov eax, ecx
sub edx, eax
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x403630
lea ecx, [esp + 0x110]
mov eax, ecx
sub esi, eax
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x403650
sub esp, 8
lea eax, [esp + 0x198]
mov ecx, 0x10000076
push 0x1000
push eax
push 0
call fcn.00407180
lea ecx, [esp + 0x1a4]
add esp, 0x14
mov eax, ecx
sub ebx, eax
nop word [eax + eax]
mov al, byte [ecx]
mov byte [ebx + ecx + 0xa8], al
inc ecx
test al, al
jne 0x403690
mov esi, dword [esp + 0x40]
push esi
mov eax, dword [esi + 0x10]
call eax
mov ebx, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x402c20
mov eax, dword [esi + 4]
push esi
call eax
add esp, 4
mov ecx, dword [esp + 0x1194]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0048980e
mov esp, ebp
pop ebp
ret