Function at 0x4016d0
Capabilities:
Hide graphical window
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x988
mov eax, dword [0x411440]
xor eax, esp
mov dword [esp + 0x984], eax
push ebx
push ebp
mov ebp, dword [esp + 0x994]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
xor ebx, ebx
push 0x412660
push ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], ebx
call esi
push 0x5c
push 0x412660
call fcn.004028c0
add esp, 8
test eax, eax
jne 0x401735
push ebx
push str.Ver.1.02
push 0x40e3a0
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4023d5
push 0x5c
push 0x412660
call fcn.004028c0
add esp, 8
push 0x104
push 0x412558
push ebp
mov byte [eax], bl
call esi
push 0x5c
push 0x412558
call fcn.004028c0
add esp, 8
test eax, eax
jne 0x40177d
push ebx
push str.Ver.1.02
push 0x40e370
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4023d5
push 0x5c
push 0x412558
call fcn.004028c0
push 0x94
push ebx
push 0x4124a0
mov byte [eax], bl
call fcn.00402d10
add esp, 0x14
push 0x4124a0
mov dword [0x4124a0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x412558
lea eax, [esp + 0x90]
push str._sLG_AutoRun.log
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x8c]
push ecx
mov ecx, 0x412770
call fcn.004027a0
push ebx
mov dword [0x412554], ebx
mov dword [0x412764], ebx
mov dword [0x412768], ebx
mov dword [esp + 0x50], 0x30
mov dword [esp + 0x54], 0x40
mov dword [esp + 0x58], 0x4010a0
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], str.LG_AutoRun
mov dword [esp + 0x7c], ebx
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov eax, dword [esp + 0x60]
push ebx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0x64
push 0x64
push ebx
push ebx
push 0x80880000
push str.LocalGames_AutoRun
push str.LG_AutoRun
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x2000
push ebx
push ebx
push ebx
push 0xc9
push ebp
mov dword [0x41265c], eax
call dword [sym.imp.USER32.dll_LoadImageA]
cmp eax, ebx
mov dword [0x412538], eax
jne 0x4018c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x194]
push 0x40e318
push ecx
call esi
add esp, 0xc
push ebx
push str.Ver.1.02
lea edx, [esp + 0x198]
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4023b6
push 0x41253c
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ax, word [0x41254e]
cmp ax, 0x20
je 0x40190f
movzx eax, ax
push eax
lea ecx, [esp + 0x194]
push 0x40e2f4
push ecx
call esi
add esp, 0xc
push ebx
push str.Ver.1.02
lea edx, [esp + 0x198]
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4023b6
mov eax, dword [0x412544]
imul eax, dword [0x412548]
add eax, 8
push eax
call fcn.00402d06
mov ecx, dword [0x412544]
imul ecx, dword [0x412548]
mov edx, dword [0x412538]
add esp, 4
push eax
push ecx
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_GetBitmapBits]
test eax, eax
jne 0x40197e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x194]
push 0x40e2d8
push eax
call esi
add esp, 0xc
push ebx
push str.Ver.1.02
lea ecx, [esp + 0x198]
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x4023b6
push edi
push 0x8020
call fcn.00402d06
mov edi, eax
mov dword [edi], 0x20
mov dword [edi + 4], 1
mov dword [edi + 8], 0x800
mov dword [edi + 0xc], 0x8000
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov edx, dword [0x412540]
mov dword [edi + 0x18], edx
mov eax, dword [0x412544]
xor ecx, ecx
add esp, 4
mov dword [edi + 0x1c], eax
xor esi, esi
cmp dword [0x412544], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ecx
jle 0x401a93
mov edx, dword [0x412540]
mov edi, edi
xor ebx, ebx
test edx, edx
jle 0x401a80
lea ebx, [ebx]
mov ebp, dword [esp + 0x10]
mov eax, ecx
imul eax, edx
add eax, ebx
mov eax, dword [ebp + eax*4]
cmp eax, 0xff00ff
mov dword [esp + 0x1c], eax
je 0x401a71
mov edx, esi
shl edx, 4
lea eax, [edx + edi + 0x20]
lea edx, [ebx + 1]
mov dword [eax + 8], edx
add esi, 1
cmp esi, 0x7d0
lea edx, [ecx + 1]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], edx
jl 0x401a6b
push edi
lea eax, [esi + 2]
shl eax, 4
push eax
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
mov ebp, eax
test ebp, ebp
je 0x401a67
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x401a53
mov dword [esp + 0x20], ebp
jmp 0x401a65
push 2
push ebp
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
xor esi, esi
mov ecx, dword [esp + 0x18]
mov edx, dword [0x412540]
add ebx, 1
cmp ebx, edx
jl 0x4019f0
mov ebp, dword [esp + 0x24]
add ecx, 1
cmp ecx, dword [0x412544]
mov dword [esp + 0x18], ecx
jl 0x4019e0
mov esi, dword [esp + 0x20]
mov ecx, dword [0x41265c]
push 1
push esi
push ecx
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov edx, dword [esp + 0x10]
push edx
call fcn.004027ea
push edi
call fcn.004027ea
add esp, 8
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x8c]
sub eax, dword [esp + 0x84]
mov ecx, dword [0x412544]
mov esi, dword [0x412540]
sub eax, ecx
cdq
push 0
sub eax, edx
push ecx
mov ecx, dword [0x41265c]
sar eax, 1
push esi
push eax
mov eax, dword [esp + 0x98]
sub eax, dword [esp + 0x90]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
push eax
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov edx, dword [0x41265c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x41265c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 0x400
lea ecx, [esp + 0x198]
push ecx
push 0x3e7
push ebp
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [esp + 0x194]
push edx
call fcn.00402cf5
xor ecx, ecx
mov dword [0x41276c], eax
mov edx, 0x922
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00402d06
mov ecx, dword [0x41276c]
imul ecx, ecx, 0x922
push ecx
push 0
push eax
mov dword [0x412534], eax
call fcn.00402d10
add esp, 0x14
cmp dword [0x41276c], 0
mov dword [esp + 0x20], 0
jbe 0x40233f
mov ebx, 0x66
xor ebp, ebp
mov dword [esp + 0x10], ebx
lea esp, [esp]
mov edx, dword [0x412534]
push 0x100
lea eax, [edx + ebp]
mov edx, dword [esp + 0x28]
push eax
lea ecx, [ebx - 2]
push ecx
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [0x412534]
lea ecx, [eax + ebp]
mov eax, ecx
lea esi, [eax + 1]
jmp 0x401bf0
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x401bf0
lea edx, [esp + 0x48]
push edx
sub eax, esi
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edi, dword [esp + 0x24]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x400
lea ecx, [esp + 0x198]
push ecx
push ebx
push edi
call esi
lea edx, [esp + 0x194]
push edx
mov byte [esp + 0x19c], 0
mov byte [esp + 0x1a1], 0
mov byte [esp + 0x1a4], 0
mov byte [esp + 0x1a7], 0
call fcn.00402cf5
mov ecx, dword [0x412534]
lea edx, [esp + 0x19d]
push edx
mov dword [ecx + ebp + 0x100], eax
call fcn.00402cf5
mov ecx, dword [0x412534]
mov dword [ecx + ebp + 0x104], eax
mov eax, dword [0x412534]
mov edx, dword [eax + ebp + 0x100]
add edx, dword [esp + 0x50]
add esp, 8
mov dword [eax + ebp + 0x108], edx
mov eax, dword [0x412534]
mov ecx, dword [eax + ebp + 0x104]
add ecx, dword [esp + 0x4c]
lea edx, [esp + 0x19e]
push edx
mov dword [eax + ebp + 0x10c], ecx
call fcn.00402400
mov ecx, dword [0x412534]
lea edx, [esp + 0x1a1]
push edx
mov byte [ecx + ebp + 0x920], al
call fcn.00402400
mov ecx, dword [0x412534]
mov byte [ecx + ebp + 0x921], al
mov edx, dword [0x412534]
push 0x104
lea eax, [edx + ebp + 0x110]
push eax
lea ecx, [ebx + 1]
push ecx
push edi
call esi
mov edx, dword [0x412534]
push 0x400
lea eax, [edx + ebp + 0x214]
push eax
lea ecx, [ebx + 2]
push ecx
push edi
call esi
mov edx, dword [0x412534]
push 0x104
lea eax, [edx + ebp + 0x614]
push eax
lea ecx, [ebx + 3]
push ecx
push edi
call esi
mov edx, dword [0x412534]
push 0x104
lea eax, [edx + ebp + 0x71c]
push eax
lea ecx, [ebx + 4]
push ecx
push edi
call esi
mov edx, dword [0x412534]
lea eax, [edx + ebp + 0x71c]
push 0x5c
push eax
call fcn.00402800
add esp, 8
test eax, eax
je 0x401e9b
mov byte [eax], 0
mov ecx, dword [0x412534]
lea edx, [ecx + ebp + 0x71c]
mov edi, str.HKEY_CLASSES_ROOT
mov esi, edx
mov ecx, 0x12
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x401d90
sbb ebx, ebx
sbb ebx, 0xffffffff
test ebx, ebx
jne 0x401daa
mov edx, dword [0x412534]
mov dword [edx + ebp + 0x718], 0x80000000
jmp 0x401e63
mov edi, str.HKEY_CURRENT_USER
mov esi, edx
mov ecx, 0x12
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x401dc1
sbb ebx, ebx
sbb ebx, 0xffffffff
test ebx, ebx
jne 0x401ddb
mov ecx, dword [0x412534]
mov dword [ecx + ebp + 0x718], 0x80000001
jmp 0x401e63
mov edi, str.HKEY_LOCAL_MACHINE
mov esi, edx
mov ecx, 0x13
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x401df2
sbb ebx, ebx
sbb ebx, 0xffffffff
test ebx, ebx
jne 0x401e09
mov edx, dword [0x412534]
mov dword [edx + ebp + 0x718], 0x80000002
jmp 0x401e63
mov edi, str.HKEY_USERS
mov esi, edx
mov ecx, 0xb
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x401e20
sbb ebx, ebx
sbb ebx, 0xffffffff
test ebx, ebx
jne 0x401e37
mov ecx, dword [0x412534]
mov dword [ecx + ebp + 0x718], 0x80000003
jmp 0x401e63
mov esi, edx
mov edi, str.HKEY_CURRENT_CONFIG
mov ecx, 0x14
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x401e4e
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
jne 0x401e63
mov edx, dword [0x412534]
mov dword [edx + ebp + 0x718], 0x80000005
add eax, 1
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x401e70
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x401e70
sub ecx, esi
add ecx, 1
push ecx
push eax
mov eax, dword [0x412534]
lea ecx, [eax + ebp + 0x71c]
push ecx
call fcn.00402990
mov ebx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x401ea9
mov edx, dword [0x412534]
mov byte [edx + ebp + 0x71c], 0
mov eax, dword [0x412534]
mov edi, dword [esp + 0x14]
push 0x100
lea ecx, [eax + ebp + 0x820]
mov eax, dword [esp + 0x28]
push ecx
lea edx, [ebx + 5]
push edx
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [0x412534]
lea edx, [esp + 0x10]
push edx
push 0x20019
xor esi, esi
lea ecx, [eax + ebp + 0x71c]
mov eax, dword [eax + ebp + 0x718]
push esi
push ecx
push eax
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401f11
cmp edi, esi
je 0x401f09
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], edi
mov ecx, dword [0x412534]
lea eax, [esp + 0x1c]
push eax
lea edx, [ecx + ebp + 0x820]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], 0x104
call fcn.00401020
test eax, eax
jne 0x401f63
mov edx, dword [0x412534]
lea ecx, [esp + 0x90]
lea edx, [edx + ebp + 0x110]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x401f55
mov eax, dword [0x412534]
lea ecx, [eax + ebp + 0x820]
push ecx
lea edx, [esp + 0x198]
push str._s_Parameter
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x198]
push ecx
lea edx, [esp + 0x59c]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], 0x104
call fcn.00401020
test eax, eax
jne 0x401ff5
mov eax, dword [0x412534]
lea ecx, [esp + 0x594]
lea edx, [eax + ebp + 0x214]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x401fc3
mov ecx, dword [0x412534]
cmp byte [ecx + ebp + 0x214], 0x20
lea eax, [ecx + ebp + 0x214]
jne 0x401ff5
cmp byte [ecx + ebp + 0x215], 0
jne 0x401ff5
mov byte [eax], 0
mov ecx, dword [0x412534]
lea edx, [ecx + ebp + 0x820]
push edx
lea eax, [esp + 0x198]
push str._s_Directory
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x198]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], 0x104
call fcn.00401020
test eax, eax
jne 0x402088
mov edx, dword [0x412534]
lea ecx, [esp + 0x90]
lea edx, [edx + ebp + 0x614]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x402057
mov eax, dword [0x412534]
cmp byte [eax + ebp + 0x614], 0x20
lea ecx, [eax + ebp + 0x614]
jne 0x40208d
cmp byte [eax + ebp + 0x615], 0
jne 0x4020d7
mov byte [ecx], 0
mov eax, dword [0x412534]
cmp byte [eax + ebp + 0x615], 0
jne 0x4020d7
lea ecx, [eax + ebp + 0x110]
lea edx, [eax + ebp + 0x614]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x4020a5
mov eax, dword [0x412534]
lea eax, [eax + ebp + 0x614]
push 0x5c
push eax
call fcn.004028c0
add esp, 8
cmp eax, esi
je 0x4020d2
mov byte [eax + 1], 0
mov eax, dword [0x412534]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [eax + ebp + 0x110]
push ecx
call fcn.00402520
cmp eax, esi
mov dword [esp + 0x1c], eax
je 0x402109
cmp eax, 0xffffffff
je 0x402109
mov edx, dword [0x412534]
mov byte [edx + ebp + 0x920], 1
jmp 0x402116
mov eax, dword [0x412534]
mov byte [eax + ebp + 0x920], 0
mov eax, dword [0x412534]
cmp byte [eax + ebp + 0x111], 0
jne 0x402155
cmp byte [eax + ebp + 0x215], 0
jne 0x402155
cmp byte [eax + ebp + 0x615], 0
jne 0x402155
cmp byte [eax + ebp + 0x71d], 0
jne 0x402155
cmp byte [eax + ebp + 0x821], 0
jne 0x402155
mov byte [eax + ebp + 0x920], 1
cmp edi, esi
je 0x402164
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x24]
push 0x104
lea ecx, [esp + 0x94]
push ecx
lea edx, [ebx + 6]
push edx
push eax
mov dword [esp + 0x28], esi
call dword [sym.imp.USER32.dll_LoadStringA]
lea ecx, [esp + 0x90]
push 0x5c
push ecx
call fcn.00402800
add esp, 8
cmp eax, esi
je 0x4022a2
mov edi, str.HKEY_CLASSES_ROOT
lea esi, [esp + 0x90]
mov ecx, 0x12
xor edx, edx
mov byte [eax], 0
repe cmpsb byte [esi], byte es:[edi]
je 0x4021bd
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
jne 0x4021ce
mov dword [esp + 0x18], 0x80000000
jmp 0x402274
mov edi, str.HKEY_CURRENT_USER
lea esi, [esp + 0x90]
mov ecx, 0x12
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4021ea
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
jne 0x4021f8
mov dword [esp + 0x18], 0x80000001
jmp 0x402274
mov edi, str.HKEY_LOCAL_MACHINE
lea esi, [esp + 0x90]
mov ecx, 0x13
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x402214
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
jne 0x402222
mov dword [esp + 0x18], 0x80000002
jmp 0x402274
mov edi, str.HKEY_USERS
lea esi, [esp + 0x90]
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x40223e
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
jne 0x40224c
mov dword [esp + 0x18], 0x80000003
jmp 0x402274
mov edi, str.HKEY_CURRENT_CONFIG
lea esi, [esp + 0x90]
mov ecx, 0x14
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x402268
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
jne 0x402274
mov dword [esp + 0x18], 0x80000005
add eax, 1
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x402280
sub ecx, esi
add ecx, 1
push ecx
push eax
lea edx, [esp + 0x98]
push edx
call fcn.00402990
add esp, 0xc
jmp 0x4022aa
mov byte [esp + 0x90], 0
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push 0x20019
xor edi, edi
push edi
lea ecx, [esp + 0x9c]
push ecx
push edx
mov dword [esp + 0x24], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x40231b
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, edi
je 0x4022e3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, edi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], esi
jne 0x40231b
mov eax, dword [0x412534]
push 0x100
lea ecx, [eax + ebp]
mov eax, dword [esp + 0x28]
push ecx
lea edx, [ebx - 1]
push edx
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
cmp esi, edi
je 0x40231b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x20]
add eax, 1
add ebx, 0xa
add ebp, 0x922
cmp eax, dword [0x41276c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ebx
jb 0x401bc0
mov ecx, dword [esp + 0x28]
mov edx, dword [0x41265c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
mov ebp, 0x12
cmp eax, ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
je 0x4023b5
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ebx, [ebx]
push 0
push 0
push 0
lea eax, [esp + 0x38]
push eax
call esi
test eax, eax
je 0x4023af
lea ecx, [esp + 0x2c]
push ecx
call edi
lea edx, [esp + 0x2c]
push edx
call ebx
cmp dword [esp + 0x30], ebp
jne 0x402390
pop edi
mov eax, dword [esp + 0x60]
push eax
push str.LG_AutoRun
call dword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4023d5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x990]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0040297c
add esp, 0x988
ret 0x10