joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ec00
Capabilities:
Check if file exists
Delete file
Get common file path
Move file
Persist via run registry key

Disassembly:
sub esp, 0x508
mov eax, dword [0x468004]
xor eax, esp
mov dword [esp + 0x504], eax
mov eax, dword [esp + 0x50c]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push ebp
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov dword [esp + 0x10], eax
xor esi, esi
jmp 0x40ec40
push 0x400
lea ecx, [esp + 0x118]
push 0
push ecx
call fcn.0042ea40
add esp, 0xc
cmp esi, 4
ja case.default.0x40ec60
jmp dword [esi*4 + 0x40edf4]
lea edx, [esp + 0x114]
push edx
push str.Startup
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
call fcn.0040b6d0
add esp, 0x10
jmp case.default.0x40ec60
lea eax, [esp + 0x114]
push eax
push str.Common_Startup
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040b6d0
add esp, 0x10
jmp case.default.0x40ec60
lea ecx, [esp + 0x114]
push ecx
push str.AppData
jmp 0x40ec74
push 0x104
lea edx, [esp + 0x118]
push edx
call ebx
jmp case.default.0x40ec60
mov eax, dword [str.C:WindowsSysnative]
mov ecx, dword [0x45c970]
mov edx, dword [0x45c974]
mov dword [esp + 0x114], eax
mov eax, dword [0x45c978]
mov dword [esp + 0x118], ecx
mov ecx, dword [0x45c97c]
mov dword [esp + 0x11c], edx
mov dl, byte [0x45c980]
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], ecx
mov byte [esp + 0x128], dl
lea eax, [esp + 0x114]
push eax
call ebp
test eax, eax
je 0x40edd0
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x118]
push edx
mov eax, edx
push str._s_s
push eax
call fcn.0042ebd6
add esp, 0x10
lea ecx, [esp + 0x114]
push ecx
call ebp
test eax, eax
je 0x40edd0
lea edx, [esp + 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x40edd0
push 0xff
push eax
mov byte [esp + 0x1c], al
lea eax, [esp + 0x1d]
push eax
call fcn.0042ea40
lea ecx, [esp + 0x120]
push ecx
lea edx, [esp + 0x24]
push str._s.np4
push edx
call fcn.0042ebd6
add esp, 0x18
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x11c]
push ecx
call edi
test eax, eax
jne 0x40edd0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x118]
push eax
call fcn.0043081d
add esp, 8
test eax, eax
jne 0x40edd0
push str.Rename_process_sucessfully_
call fcn.004073f0
add esp, 4
inc esi
cmp esi, 5
jl 0x40ec40
mov ecx, dword [esp + 0x514]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042ea25
add esp, 0x508
ret
Function at 0x40f1cb
Capabilities:
Create thread

Disassembly:
sub esp, 0x10c
mov eax, dword [0x468004]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
push 0x45cac0
push 0x45cac0
push 0x45cac0
push 0x45cac0
push str.NPAV4MYSQLD.NPAV4.26042018
push str.NPAV4MYSQLD.NPAV4.26042018
push 0x45caa0
push str.MYSQLD.EXE
call fcn.00407310
push 0x103
lea eax, [esp + 0x35]
push 0
push eax
mov byte [esp + 0x3c], 0
call fcn.0042ea40
push str.WORM.MYSQLD.NPAV4.26042018
push str.MYSQLD.EXE
call fcn.0040a000
mov ebx, dword [0x46f734]
add esp, 0x34
test ebx, ebx
je 0x40f23e
push 0x1e0
push 0
push 0x469f00
call fcn.0042ea40
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x10]
mov byte [eax + 0x469f12], cl
inc eax
test cl, cl
jne 0x40f1e0
mov dl, byte [0x45ca74]
mov ecx, 6
mov esi, str.WORM.MYSQLD.NPAV4.26042018
mov edi, 0x46a03e
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [str.NPA4]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [0x46a0a3], ecx
sub esp, 0x1e0
mov byte [0x46a0a7], dl
mov byte [0x46a0a2], 3
mov ecx, 0x78
mov esi, 0x469f00
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call ebx
add esp, 0x1e0
cmp dword [0x470160], 0
jne 0x40f2dd
push 0x104
push 0
push 0x46f738
mov dword [0x470160], 1
call fcn.0042ea40
mov ecx, 6
mov esi, str.WORM.MYSQLD.NPAV4.26042018
mov edi, 0x46f738
rep movsd dword es:[edi], dword [esi]
push 0x104
movsw word es:[edi], word [esi]
push 0
push 0x46f978
movsb byte es:[edi], byte [esi]
call fcn.0042ea40
mov eax, dword [str.MYSQLD.EXE]
mov ecx, dword [0x45ca98]
mov dx, word [0x45ca9c]
mov dword [0x46f978], eax
mov al, byte [0x45ca9e]
add esp, 0x18
cmp dword [0x470144], 0
mov dword [0x46f97c], ecx
mov word [0x46f980], dx
mov byte [0x46f982], al
je 0x40f2dd
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0x40e7e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042ea25
add esp, 0x10c
ret
Function at 0x40f300
Capabilities:
Check for time delay via gettickcount
Query service status
Stop service

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
call ebx
push 0xf003f
push 0
push 0
mov ebp, eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [0x46f5d0], eax
test eax, eax
je 0x40f441
push 0x2c
push 0x467270
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [0x469cc0], eax
test eax, eax
jne 0x40f354
mov eax, dword [0x46f5d0]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebp
pop ebx
add esp, 0x28
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
lea ecx, [esp + 0xc]
push ecx
push 0x24
lea edx, [esp + 0x18]
push edx
push 0
push eax
call esi
test eax, eax
je 0x40f429
mov eax, dword [esp + 0x14]
cmp eax, 1
je 0x40f440
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp eax, 3
jne 0x40f3ca
lea ecx, [ecx]
mov eax, dword [esp + 0x2c]
push eax
call edi
mov eax, dword [0x469cc0]
lea ecx, [esp + 0x10]
push ecx
push 0x24
lea edx, [esp + 0x1c]
push edx
push 0
push eax
call esi
test eax, eax
je 0x40f428
cmp dword [esp + 0x18], 1
je 0x40f428
call ebx
sub eax, ebp
cmp eax, 0x3e8
ja 0x40f428
cmp dword [esp + 0x18], 3
je 0x40f390
call fcn.0040cb20
mov edx, dword [0x469cc0]
lea ecx, [esp + 0x14]
push ecx
push 1
push edx
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x40f428
cmp dword [esp + 0x18], 1
je 0x40f428
mov edi, edi
push 0x64
call edi
mov edx, dword [0x469cc0]
lea eax, [esp + 0x10]
push eax
push 0x24
lea ecx, [esp + 0x1c]
push ecx
push 0
push edx
call esi
test eax, eax
je 0x40f428
cmp dword [esp + 0x18], 1
je 0x40f428
call ebx
sub eax, ebp
cmp eax, 0x3e8
ja 0x40f428
cmp dword [esp + 0x18], 1
jne 0x40f3f0
pop edi
mov eax, dword [0x469cc0]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push eax
call esi
mov ecx, dword [0x46f5d0]
push ecx
call esi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x41e590
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x28
xor eax, eax
push esi
push eax
push 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x41e627
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x41e61c
push edi
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edi
call fcn.004108d0
add esp, 4
lea ecx, [esp + 0x14]
push ecx
push esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x41e5e1
pop edi
test esi, esi
je 0x41e627
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
add esp, 0x28
ret
Function at 0x41f460
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x459fa8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x468004]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], eax
call fcn.00404080
lea eax, [esp + 0x38]
push eax
mov ecx, 0x470380
mov dword [esp + 0x60], ebp
call fcn.00406370
test eax, eax
je 0x41f631
mov ecx, dword [esp + 0x4c]
mov esi, dword [ecx]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x4c]
cmp edi, ebp
je 0x41f4d3
cmp edi, dword [esp + 0x38]
je 0x41f4d8
call fcn.0042e53f
cmp esi, ebx
je 0x41f622
xor eax, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
cmp edi, ebp
jne 0x41f5cc
call fcn.0042e53f
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x41f507
call fcn.0042e53f
mov edx, dword [esi + 8]
mov dword [esp + 0x2c], edx
cmp edi, ebp
jne 0x41f5d3
call fcn.0042e53f
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x41f527
call fcn.0042e53f
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x18]
push edx
push ebp
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
push 0x41e630
push ebp
push ebp
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x30], ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x32
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, ebp
je 0x41f567
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebp
jne 0x41f5da
call fcn.0042e53f
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x41f57c
call fcn.0042e53f
inc dword [esi + 0x14]
cmp edi, ebp
jne 0x41f5de
call fcn.0042e53f
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x41f594
call fcn.0042e53f
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esi + 0x10]
cmp ecx, 0xea60
jbe 0x41f5ab
mov dword [esp + 0x14], 1
cmp ebx, ebp
je 0x41f5e2
lea edx, [esp + 0x20]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp eax, 0x103
je 0x41f5e2
mov dword [esp + 0x14], 1
jmp 0x41f5e8
mov eax, dword [edi]
jmp 0x41f4fd
mov eax, dword [edi]
jmp 0x41f51d
mov eax, dword [edi]
jmp 0x41f572
mov eax, dword [edi]
jmp 0x41f58a
cmp dword [esp + 0x14], ebp
je 0x41f602
push esi
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
call fcn.004033a0
mov edi, dword [eax]
mov esi, dword [eax + 4]
jmp 0x41f4c5
cmp edi, ebp
jne 0x41f61e
call fcn.0042e53f
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x41f617
call fcn.0042e53f
mov esi, dword [esi]
jmp 0x41f4c5
mov eax, dword [edi]
jmp 0x41f60d
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x470380
call fcn.004063e0
lea ecx, [esp + 0x38]
call fcn.004029d0
mov edx, dword [esp + 0x38]
push edx
call fcn.0042e0c9
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
Function at 0x428e70
Capabilities:
Delete file

Disassembly:
sub esp, 0x2c
mov eax, dword [0x468004]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
push str.c:zvinfo_v.ini
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 8]
push 0x45c434
push ecx
call fcn.0042ebd6
mov edx, dword [esp + 0x44]
xor eax, eax
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x28]
push 0x45c434
push eax
call fcn.0042ebd6
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0x18
push str.c:zvinfo_v.ini
lea ecx, [esp + 8]
push ecx
push 0x45ed4c
push str.info
call esi
push str.c:zvinfo_v.ini
lea edx, [esp + 0x1c]
push edx
push 0x45ed40
push str.info
call esi
mov ecx, dword [esp + 0x2c]
pop esi
xor ecx, esp
call fcn.0042ea25
add esp, 0x2c
ret

Function at 0x42ea25
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x468004]
jne 0x42ea2f
repz ret
jmp fcn.004381ec

Function at 0x441f21
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x441f52
call fcn.00431413
mov dword [eax], esi
call fcn.00431400
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0042e519
add esp, 0x14
push 0x16
pop eax
jmp 0x441fa7
test dword [ebp + 0xc], 0xfffffff9
jne 0x441f2e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x441f7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00431426
pop ecx
call fcn.00431400
mov eax, dword [eax]
jmp 0x441fa7
test al, 0x10
jne 0x441fa5
test al, 1
je 0x441fa5
test byte [ebp + 0xc], 2
je 0x441fa5
call fcn.00431413
mov dword [eax], 5
call fcn.00431400
mov dword [eax], 0xd
jmp 0x441f76
xor eax, eax
pop esi
pop ebp
ret
Function at 0x451f0c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00437b28
and dword [ebp - 4], 0
cmp dword [0x4711a0], 0
mov ebx, eax
jne 0x451fbd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45206e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45206e
push eax
call fcn.00437ab6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4711a0], eax
call esi
push eax
call fcn.00437ab6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4711a4], eax
call esi
push eax
call fcn.00437ab6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4711a8], eax
call esi
push eax
call fcn.00437ab6
pop ecx
mov dword [0x4711b0], eax
test eax, eax
je 0x451fbd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00437ab6
pop ecx
mov dword [0x4711ac], eax
mov eax, dword [0x4711ac]
cmp eax, ebx
je 0x452015
cmp dword [0x4711b0], ebx
je 0x452015
push eax
call fcn.00437b31
push dword [0x4711b0]
mov esi, eax
call fcn.00437b31
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x452015
test edi, edi
je 0x452015
call esi
test eax, eax
je 0x45200c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45200c
test byte [ebp - 0xc], 1
jne 0x452015
or dword [ebp + 0x10], 0x200000
jmp 0x45204e
mov eax, dword [0x4711a4]
cmp eax, ebx
je 0x45204e
push eax
call fcn.00437b31
pop ecx
test eax, eax
je 0x45204e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45204e
mov eax, dword [0x4711a8]
cmp eax, ebx
je 0x45204e
push eax
call fcn.00437b31
pop ecx
test eax, eax
je 0x45204e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4711a0]
call fcn.00437b31
pop ecx
test eax, eax
je 0x45206e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x452070
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x54f130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf8000]
push edi
jmp 0x54f14a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x54f151
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54f140
mov eax, 1
add ebx, ebx
jne 0x54f163
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x54f174
jne 0x54f193
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54f193
dec eax
add ebx, ebx
jne 0x54f180
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x54f158
add ebx, ebx
jne 0x54f18f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x54f1e5
xor ecx, ecx
sub eax, 3
jb 0x54f1ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54f21a
sar eax, 1
mov ebp, eax
jmp 0x54f1b6
add ebx, ebx
jne 0x54f1b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54f184
inc ecx
add ebx, ebx
jne 0x54f1c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x54f184
add ebx, ebx
jne 0x54f1d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x54f1c6
jne 0x54f1e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x54f1c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x54f204
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x54f1f6
jmp 0x54f146
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x54f204
add edi, ecx
jmp 0x54f146
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x54f222
cmp byte [edi], 0x11
jne 0x54f222
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x54f227
lea edi, [esi + 0x148000]
mov eax, dword [edi]
or eax, eax
je 0x54f29f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c4ecc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c5048]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x54f254
mov ecx, edi
jns 0x54f283
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c504c]
or eax, eax
je 0x54f299
mov dword [ebx], eax
add ebx, 4
jmp 0x54f271
call dword [esi + 0x1c505c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x54f2d0
cmp al, 0xef
ja 0x54f2c3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x54f2a5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x54f2b2
mov ebp, dword [esi + 0x1c5050]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x54f304
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x3934480b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x7e5c727a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402ab4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004045d4
test esi, esi
jne 0x402aea
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004046c4
jmp 0x402b08
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402968
mov edi, eax
test esi, esi
je 0x402b08
cmp dword [ebx], 0
je 0x402b08
dec esi
jmp 0x402af1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4036b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4b300c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403750
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403730
xor eax, eax
push ebp
push 0x403729
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40376c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403730
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4b300c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4b300c], ax
mov esp, ebp
pop ebp
ret

Function at 0x404438
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4b504c], 0
je 0x404499
cmp word [0x4b5220], 0xd7b2
jne 0x404461
cmp dword [0x4b5228], 0
jbe 0x404461
mov eax, 0x4b521c
call dword [0x4b5238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4b3054
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4044c0
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x4b301c], 0
jne 0x4044b5
push 0
push 0x4b3074
push 0x4b3054
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret
Function at 0x405f80
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4061b0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406003
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4061b0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406003
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4061cc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40608c
xor eax, eax
push ebp
push 0x406085
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405dc8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40606a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4061ec
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40606a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40608c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale_1
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA_1
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4061a6
cmp byte [ebp - 0xd], 0
jne 0x4060d3
cmp byte [ebp - 0x12], 0
je 0x4061a6
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4060ec
dec ebx
cmp byte [ebx], 0x2e
je 0x4060fb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4060eb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4061a6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406138
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4061a6
cmp byte [ebp - 0xd], 0
je 0x4061a6
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4061a6
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret