joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4483a4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x448549
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40ced0]
call fcn.00402e6c
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403a90
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44851f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00438194
test al, al
je 0x448512
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x448558
lea eax, [ebp - 0x254]
call fcn.00408f0c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x448512
xor eax, eax
push ebp
push 0x44850b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x448590
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4484f4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403cbc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x4484f4
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403cbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448512
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x448415
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00410924
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448550
lea eax, [ebp - 0x260]
call fcn.00403a90
ret

Function at 0x448d34
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4a87ac]
cmp byte [eax + 0x8d], 0
jne 0x448da5
cmp dword [0x4a87e8], 0
jne 0x448d66
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x448cf0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a87e8], eax
cmp dword [0x4a87e4], 0
jne 0x448d81
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a87e4], eax
cmp dword [0x4a87ec], 0
jne 0x448da5
push esp
push 0
push 0
push 0x448c94
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a87ec], eax
pop edx
ret
Function at 0x448e9c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x448eb3
add esp, 0xfffffff0
call fcn.004031dc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00414e58
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40ca54]
call fcn.00402e6c
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40ca54]
call fcn.00402e6c
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x416be4]
call fcn.0041e8c4
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x449024
mov eax, dword [0x4a7528]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041ec68
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x44a950
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a7528]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040a254
test eax, eax
je 0x448fa3
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408880
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040a27c
test eax, eax
je 0x448fb7
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403cbc
mov eax, dword [0x4a73a4]
cmp byte [eax], 0
jne 0x448fe8
mov eax, ebx
call fcn.00449110
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44901a
call fcn.00403234
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44938c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a87ac]
cmp dword [eax + 0x24], 0
je 0x44941c
cmp dword [ebx + 0x7c], 0
jne 0x449419
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x449320
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x449419
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4493e8
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x449419
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.0040e3d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4493f4
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x449d6c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x449da1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403b74
jmp 0x449dab
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403b28
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44ac94
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x44accc
mov eax, esi
call fcn.00433ea0
test al, al
je 0x44accc
mov eax, dword [ebx + 0x6c]
call fcn.00433a78
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44accc
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00433a78
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00403ed0
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne al
pop ebx
ret

Function at 0x457e64
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x457e92
mov eax, ebx
call fcn.00458908
cmp dword [ebx + 0x3c], 0
je 0x457e8b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x457f03
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x457ef5
cmp dword [ebx + 8], 0
je 0x457eb4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x457ec6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x457ef5
cmp dword [ebx + 8], 0
je 0x457ea7
cmp eax, 3
je 0x457ed9
dec eax
jne 0x457ea7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x457ea7
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x457ea7
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x457f21
cmp dword [ebx + 0x10], 0xcc
je 0x457f21
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00457f2c
pop ebx
ret
Function at 0x46acfc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46add4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a88a4], 0
jne 0x46adb8
lea eax, [ebp - 4]
mov edx, 0x46adec
call fcn.00403b28
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00403ed0
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x46adb8
mov eax, ebx
call fcn.004026dc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46adb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x46ad9b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x46adfc
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46ad9b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4a88a4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46adb8
mov eax, dword [ebp - 0xc]
call fcn.004026f4
ret
mov ebx, dword [0x4a88a4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46addb
lea eax, [ebp - 4]
call fcn.00403a90
ret

Function at 0x477264
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4772f0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x3c4]
call fcn.00408518
test al, al
jne 0x4772b6
push 0x30
call sub.user32.dll_MessageBeep
push 0
lea eax, [ebp - 4]
mov ecx, dword [ebx + 0x3c4]
mov edx, 0x477304
call fcn.00403d58
mov eax, dword [ebp - 4]
mov cx, word [0x477330]
mov dl, 1
call fcn.00451e7c
push 5
push 0
push 0
mov eax, dword [ebx + 0x3c4]
call fcn.00403ed0
push eax
push 0x477334
mov eax, ebx
call fcn.00433a78
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4772f7
lea eax, [ebp - 4]
call fcn.00403a90
ret
Function at 0x48f7d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x48f8ae
push dword fs:[eax]
mov dword fs:[eax], esp
sub edx, 1
jb 0x48f7f7
je 0x48f807
dec edx
je 0x48f817
dec edx
je 0x48f82c
jmp 0x48f83a
lea eax, [ebp - 4]
mov edx, dword [0x4ae644]
call fcn.00403b28
jmp 0x48f83a
lea eax, [ebp - 4]
mov edx, dword [0x4ae648]
call fcn.00403b28
jmp 0x48f83a
lea eax, [ebp - 4]
mov edx, dword [0x4ae64c]
call fcn.00403b28
call fcn.00409fbc
jmp 0x48f83a
lea eax, [ebp - 4]
mov edx, dword [0x4ae650]
call fcn.00403b28
mov eax, dword [ebp - 4]
call fcn.00408518
test al, al
jne 0x48f872
push 0x30
call sub.user32.dll_MessageBeep
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x48f8c4
call fcn.00403d58
mov eax, dword [ebp - 8]
mov cx, word [0x48f8f0]
mov dl, 1
call fcn.00451e7c
jmp 0x48f893
push 5
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403ed0
push eax
push 0x48f8f4
mov eax, ebx
call fcn.00433a78
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f8b5
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403ab4
ret
Function at 0x48fa80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
xor ecx, ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ec0
mov eax, dword [ebp - 8]
call fcn.00403ec0
xor eax, eax
push ebp
push 0x48fc0e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x48fc24
push dword [ebp - 8]
push 0x48fc24
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403dcc
jmp 0x48fae7
mov edx, dword [ebp - 8]
mov eax, 0x48fc30
call fcn.00403ff4
mov edx, eax
lea eax, [ebp - 8]
mov ecx, 1
call fcn.00403f50
mov edx, dword [ebp - 8]
mov eax, 0x48fc30
call fcn.00403ff4
test eax, eax
jg 0x48facb
push 0x48fc24
push dword [ebp - 4]
push 0x48fc24
lea eax, [ebp - 4]
mov edx, 3
call fcn.00403dcc
jmp 0x48fb30
mov edx, dword [ebp - 4]
mov eax, 0x48fc30
call fcn.00403ff4
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00403f50
mov edx, dword [ebp - 4]
mov eax, 0x48fc30
call fcn.00403ff4
test eax, eax
jg 0x48fb14
push dword [ebp - 4]
push 0x48fc3c
push dword [ebp - 8]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00403dcc
lea eax, [ebp - 0x4c]
push eax
call sub.kernel32.dll_GetStartupInfoA_1
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00403ed0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x48fbd9
lea eax, [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
lea edx, [ebp - 0x70]
mov ecx, 1
mov eax, 0x48fc48
call fcn.00408f74
mov ecx, dword [ebp - 0x60]
mov dl, 1
mov eax, dword [0x40757c]
call fcn.004097dc
call fcn.00403588
jmp 0x48fbd9
mov eax, dword [0x4a76d0]
mov eax, dword [eax]
call fcn.0044a04c
push 0
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x48fbcd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fc15
lea eax, [ebp - 0x60]
call fcn.00403a90
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403ab4
ret
Function at 0x4a0dd4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a0ebf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc]
call fcn.00404fcc
test eax, eax
jl 0x4a0ea9
inc eax
mov dword [ebp - 4], eax
xor edi, edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 0x18]
mov dl, 1
mov eax, dword [0x43ada4]
call fcn.0043beb8
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + edi*4]
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.004a2f5c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0043cf30
mov dword [ebx + 0xc], edi
lea eax, [esi + esi*8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax*4 + 0x1d]
xor dl, 1
mov eax, ebx
call fcn.0043cff4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.004a1400
mov edx, eax
mov eax, ebx
call fcn.0043cfa0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x74], 0x4a08b4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x28]
mov edx, ebx
call fcn.0043d440
inc edi
dec dword [ebp - 4]
jne 0x4a0e0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0ec6
lea eax, [ebp - 8]
call fcn.00403a90
ret

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 0x5b77a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb9000]
push edi
jmp 0x5b77ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5b77c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b77b0
mov eax, 1
add ebx, ebx
jne 0x5b77d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5b77e4
jne 0x5b7803
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b7803
dec eax
add ebx, ebx
jne 0x5b77f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5b77c8
add ebx, ebx
jne 0x5b77ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5b7855
xor ecx, ecx
sub eax, 3
jb 0x5b781b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5b788a
sar eax, 1
mov ebp, eax
jmp 0x5b7826
add ebx, ebx
jne 0x5b7826
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b77f4
inc ecx
add ebx, ebx
jne 0x5b7834
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5b77f4
add ebx, ebx
jne 0x5b7841
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5b7836
jne 0x5b7852
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5b7836
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5b7874
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5b7866
jmp 0x5b77b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5b7874
add edi, ecx
jmp 0x5b77b6
pop esi
mov edi, esi
mov ecx, 0x6501
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5b7892
cmp byte [edi], 0x21
jne 0x5b7892
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 0x5b7897
lea edi, [esi + 0x1b4000]
mov eax, dword [edi]
or eax, eax
je 0x5b790f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1da160]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1da2a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5b78c4
mov ecx, edi
jns 0x5b78f3
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 + 0x1da2a4]
or eax, eax
je 0x5b7909
mov dword [ebx], eax
add ebx, 4
jmp 0x5b78e1
call dword [esi + 0x1da2b4]
mov ebp, dword [esi + 0x1da2a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x5b7943
sub esp, 0xffffff80
jmp 0x484085
Function at 0x4016f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push 0
push eax
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Best_Application
push str.Clariot
push 0
mov dword [0x405101], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x401737
pop esi
pop ebp
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
pop esi
pop ebp
ret

Function at 0x401f47
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x405364]
test eax, eax
je 0x401f60
call eax
test eax, eax
jne 0x401f60
push 0xfffffffffffffffe
jmp 0x401f7a
push 1
push 0x405010
push 0x405008
call fcn.00401b41
add esp, 0xc
test eax, eax
je 0x401f80
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x405004
push section..data
call fcn.00401b41
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x401fa6
mov esi, 0x404c1e
mov cl, 0x20
jmp 0x401faf
cmp al, 0x20
ja 0x401fb9
inc esi
mov al, byte [esi]
test al, al
jne 0x401faa
cmp al, 0x20
jbe 0x401fd0
mov al, byte [esi]
cmp al, 0x22
jne 0x401fc2
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x401fbb
jmp 0x401fd0
cmp al, cl
ja 0x401fd6
inc esi
mov al, byte [esi]
test al, al
jne 0x401fcb
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
test byte [ebp - 0x18], 1
je 0x401fff
movzx eax, word [ebp - 0x14]
jmp 0x402002
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.00402037
pop ecx
pop esi
leave
ret

Function at 0x402037
Capabilities:
Terminate process

Disassembly:
call fcn.00402081
push 0
push 0x405018
push 0x405014
call fcn.00401b41
push 0
push 0x405020
push 0x40501c
call fcn.00401b41
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x211013d0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push esi
call sym.mss32.dll__AIL_ms_count_0
mov esi, eax
mov eax, dword [0x2114e834]
test eax, eax
mov dword [0x2114e5d0], eax
je 0x211013fb
mov eax, dword [0x2114e5d4]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x21101539
lock inc dword [0x2114e8c8]
mov eax, dword [0x2114e8bc]
test eax, eax
je 0x2110151c
mov eax, dword [0x2114e8c0]
test eax, eax
jg 0x2110151c
cmp dword [0x2114e8c8], 1
jne 0x2110151c
push ebx
lock inc dword [0x2114e8b0]
mov ecx, dword [0x2114e8c4]
test ecx, ecx
jne 0x21101443
mov ebx, dword [0x2114e5d8]
jmp 0x2110146a
mov eax, esi
sub eax, ecx
cmp eax, dword [0x2114e8cc]
jbe 0x21101454
mov dword [0x2114e8cc], eax
cmp eax, 0x64
jbe 0x2110145e
mov eax, 0x64
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ebx, [eax + eax*4]
shl ebx, 3
mov eax, dword [0x2114e7e0]
mov dword [0x2114e8c4], esi
xor esi, esi
test eax, eax
mov dword [0x2114e7e8], esi
jle 0x21101514
push edi
mov edi, dword [0x2114e8bc]
mov ecx, esi
shl ecx, 5
lea eax, [ecx + edi]
cmp dword [eax], 2
jne 0x211014ff
add dword [eax + 0xc], ebx
mov esi, dword [0x2114e7e8]
mov edi, dword [0x2114e8bc]
mov edx, esi
shl edx, 5
lea ecx, [edx + edi]
mov eax, dword [ecx + 0xc]
lea edx, [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
cmp eax, ecx
jl 0x211014ff
sub eax, ecx
mov dword [edx], eax
mov eax, dword [0x2114e7e8]
mov ecx, dword [0x2114e8bc]
shl eax, 5
mov edx, dword [eax + ecx + 8]
add eax, ecx
push edx
call dword [eax + 4]
mov esi, dword [0x2114e7e8]
mov edi, dword [0x2114e8bc]
mov eax, esi
shl eax, 5
lea ecx, [eax + edi]
cmp dword [ecx], 2
jne 0x211014ff
mov eax, dword [ecx + 0xc]
lea edx, [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
cmp eax, ecx
jge 0x211014bd
mov eax, dword [0x2114e7e0]
inc esi
cmp esi, eax
mov dword [0x2114e7e8], esi
jl 0x2110148c
pop edi
lock dec dword [0x2114e8b0]
pop ebx
lock dec dword [0x2114e8c8]
mov eax, dword [0x2114e5d0]
test eax, eax
je 0x21101539
mov ecx, dword [0x2114e5d4]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret 0x14

Function at 0x21101860
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [0x2114e89c]
test eax, eax
je 0x21101894
mov eax, dword [0x2114fa38]
test eax, eax
jne 0x2110188b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push 0
push 0
call esi
test eax, eax
mov dword [0x2114fa38], eax
je 0x21101879
pop esi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret