joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b984
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbb4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x400
lea ecx, [ebp - 0x44c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040b7cc
mov eax, dword [0x43d07c]
cmp byte [eax], 0
je 0x40ba17
mov eax, dword [0x43ce38]
call fcn.00402fc8
call fcn.00402c24
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x44c]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x44c]
call fcn.004085f0
push eax
lea eax, [ebp - 0x44c]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40ba5c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ba4d
push 0x40
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [0x43cdec]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x43e668]
call fcn.00405860
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov esp, ebp
pop ebp
ret

Function at 0x40cb10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40cb7a
push dword fs:[eax]
mov dword fs:[eax], esp
push 7
lea eax, [ebp - 0xf]
push eax
push 0x1004
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xf]
mov ecx, 7
call fcn.004046e0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407f68
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cb81
lea eax, [ebp - 0x14]
call fcn.00404470
ret

Function at 0x420ba4
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x420bf1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00420974
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x420c09
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x420c10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
setge dl
mov eax, dword [ebp - 4]
call fcn.00420974
cmp dword [ebp - 8], 1
jne 0x420c44
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 0
pop ecx
pop ecx
pop ebp
ret
Function at 0x4242f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 0x1c
call fcn.004030d8
mov eax, dword [ebp - 8]
add eax, 0x14
push eax
push 0
mov eax, dword [ebp - 8]
add eax, 0x10
push eax
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov eax, dword [ebp - 8]
add eax, 8
push eax
push 0
mov eax, dword [ebp - 8]
add eax, 4
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete byte [ebp - 9]
mov eax, dword [0x43d1a0]
cmp byte [eax + 0xc], 0
je 0x42437b
mov eax, dword [0x43d188]
cmp dword [eax], 2
jne 0x42437b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
add dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
add dword [edx + 0xc], eax
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x424384
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42444d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.004242f0
test al, al
je 0x42442f
mov ecx, dword [ebp - 0x30]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404560
mov eax, dword [ebp - 0x34]
dec eax
test eax, eax
jl 0x42442f
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404930
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0x14]
call fcn.00404930
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.00404668
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4243de
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424454
lea eax, [ebp - 0x38]
call fcn.00404470
lea eax, [ebp - 0x14]
call fcn.00404470
ret

Function at 0x424458
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.004030d8
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404930
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0xd]
mov eax, dword [ebp - 0x14]
call fcn.00423f78
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x424574
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404930
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4245d6
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x43d1ac]
mov dl, 1
mov eax, dword [0x423de8]
call fcn.0040bb80
call fcn.00403e04
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.00423f78
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x4355c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
call fcn.00404470
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00404930
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegOpenKeyA
test eax, eax
jne 0x435676
xor eax, eax
push ebp
push 0x43566f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], pe_nt_image_headers32
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404a60
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
call fcn.00404930
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404930
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x435650
mov edx, dword [ebp - 0x10]
dec edx
mov eax, dword [ebp + 8]
call fcn.00404a60
jmp 0x435658
mov eax, dword [ebp + 8]
call fcn.00404470
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435676
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov esp, ebp
pop ebp
ret 4
Function at 0x4375dc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
push pe_nt_image_headers32
lea eax, [ebp - 0x10d]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumKeyA
test eax, eax
jne 0x437626
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x10d]
mov ecx, pe_nt_image_headers32
call fcn.004046e0
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x437630
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x114]
push eax
mov eax, dword [ebp - 8]
call fcn.00404930
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x437685
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x114]
mov ecx, pe_nt_image_headers32
call fcn.004046e0
mov byte [ebp - 0xd], 1
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x4011f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
ror esi, 0xe
inc eax
rcr edi, 0x88
imul edx
and edi, 0xfc
not esi
dec edx
ror edx, 0xd9
neg edx
inc edi
dec edx
not ebx
rcr eax, 0xf7
dec ebx
neg esi
sbb edx, 0xdd
and edi, 0x5f
rol edx, 0x9b
mov ebx, 0xa3
bswap eax
and esi, 9
not esi
add eax, 0x79
and ebx, 0xce
dec eax
inc esi
not edi
neg edx
add ebx, 0x21
mov edx, 0xcd
rcr ebx, 0x62
imul edx
rol eax, 0xfa
imul eax
dec esi
add esi, 0xa0
bswap ebx
imul edi
rcr esi, 2
or esi, 0x5e
and ebx, 0xb8
inc ebx
rcl esi, 0x3e
or ebx, 0x85
imul ebx
rcr edi, 0x59
neg edx
bswap eax
inc esi
dec esi
xor ecx, ecx
xor edi, edi
neg edi
dec eax
imul edx
add edi, 0xfd
mov edi, 2
neg esi
not edx
sbb edi, 0xa4
add esi, 0x72
rcr edi, 0x53
sbb ebx, 0xfc
imul ebx
rcl edi, 0xc5
rcr edx, 0xb5
bswap esi
bswap edi
imul ebx
neg edx
dec eax
rol edx, 0x92
rol eax, 0x14
and eax, 0x6e
imul eax
imul esi
ror edx, 0xba
or esi, 0x49
add edx, 0x81
sbb edx, 0x7e
dec esi
rol esi, 0x3d
not edx
not ebx
and edi, 0xb2
inc eax
ror eax, 0x34
rol edx, 0xd1
imul edx
inc eax
ror eax, 0x4f
neg eax
inc ebx
rcl esi, 0x45
rcl edx, 0xe2
not esi
sub ebx, 0xf7
inc eax
rcr eax, 0x40
imul edi
imul edx
sub edi, 0xe6
mov ecx, dword [ebp + 0xc]
rcr edi, 0xb7
not edi
or esi, 0x11
not edi
rcl eax, 0xda
dec ebx
sub edi, 0x6e
or eax, 0xe1
imul edx
inc edx
bswap esi
add eax, 0xea
sub edi, 0x3a
neg edx
rcr eax, 0x89
dec edi
ror esi, 0xf3
sbb eax, 0xc2
imul edx
dec esi
ror edx, 2
neg edx
dec edi
neg edx
and ebx, 0x36
sbb eax, 0xe
inc edi
and edx, 0x1f
not eax
rol esi, 0x68
neg edx
and edx, 0xaa
sub eax, 0x78
bswap eax
mov esi, 0xc2
bswap eax
dec eax
inc esi
imul edx
ror eax, 0xe3
or esi, 0xe7
rol edx, 0x4e
add ebx, 0x62
or edx, 3
sbb esi, 0x9b
not edi
rcr ebx, 0xfd
bswap ebx
rol ebx, 0xdf
neg eax
mov edi, dword [ebp + 8]
xor eax, esi
xor esi, esi
xor eax, ebx
not byte [edi]
mov esi, ebx
xor ebx, esi
mov ebx, eax
sub byte [edi], 0x88
mov ebx, esi
mov ebx, eax
mov ebx, eax
add byte [edi], 0x49
mov eax, esi
mov eax, esi
mov ebx, eax
imul byte [edi]
inc edi
loop 0x4013a0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4075b4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4108f0]
jne 0x4075be
repz ret
jmp fcn.0040b51c
Function at 0x407f23
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.0040584a
and dword [ebp - 4], 0
cmp dword [0x4115d4], 0
mov ebx, eax
jne 0x407fd4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408085
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408085
push eax
call fcn.004057d8
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4115d4], eax
call esi
push eax
call fcn.004057d8
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4115d8], eax
call esi
push eax
call fcn.004057d8
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4115dc], eax
call esi
push eax
call fcn.004057d8
pop ecx
mov dword [0x4115e4], eax
test eax, eax
je 0x407fd4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004057d8
pop ecx
mov dword [0x4115e0], eax
mov eax, dword [0x4115e0]
cmp eax, ebx
je 0x40802c
cmp dword [0x4115e4], ebx
je 0x40802c
push eax
call fcn.00405853
push dword [0x4115e4]
mov esi, eax
call fcn.00405853
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40802c
test edi, edi
je 0x40802c
call esi
test eax, eax
je 0x408023
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408023
test byte [ebp - 0xc], 1
jne 0x40802c
or dword [ebp + 0x10], 0x200000
jmp 0x408065
mov eax, dword [0x4115d8]
cmp eax, ebx
je 0x408065
push eax
call fcn.00405853
pop ecx
test eax, eax
je 0x408065
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408065
mov eax, dword [0x4115dc]
cmp eax, ebx
je 0x408065
push eax
call fcn.00405853
pop ecx
test eax, eax
je 0x408065
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4115d4]
call fcn.00405853
pop ecx
test eax, eax
je 0x408085
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408087
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x8721ff
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.0087230f
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
call sub.gdiplus.dll_GdiplusStartup
mov dword [ebp - 0x48], 0x30
and dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x871ed4
and dword [ebp - 0x3c], 0
and dword [ebp - 0x38], 0
mov eax, dword [section..data]
mov dword [ebp - 0x34], eax
push 0x74
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x30], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x28], 0
and dword [ebp - 0x24], 0
mov dword [ebp - 0x20], str.MyClass
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [section..data]
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.Hello_World
push str.MyClass
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 8], eax
push 0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x8722ec
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x8722cc
push dword [ebp - 4]
call sub.gdiplus.dll_GdiplusShutdown
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4e7a09c1
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x579938f1
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x421c90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x421cb2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421cb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421ca8
mov eax, 1
add ebx, ebx
jne 0x421ccb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421cc0
jne 0x421cdc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421cc0
xor ecx, ecx
sub eax, 3
jb 0x421cf0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421d62
mov ebp, eax
add ebx, ebx
jne 0x421cfb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x421d08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x421d2c
inc ecx
add ebx, ebx
jne 0x421d18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x421d0d
jne 0x421d29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421d0d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x421d4c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x421d3d
jmp 0x421cae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x421d4c
add edi, ecx
jmp 0x421cae
pop esi
mov edi, esi
mov ecx, 0x844
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x421d6a
cmp byte [edi], 0xd
jne 0x421d6a
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 eax, ebx
loop 0x421d6f
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x421de7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22990]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22a44]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x421d9c
mov ecx, edi
jns 0x421dcb
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 + 0x22a48]
or eax, eax
je 0x421de1
mov dword [ebx], eax
add ebx, 4
jmp 0x421db9
call dword [esi + 0x22a4c]
popal
jmp section.UPX0
Function at 0x401630
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 [0x4150d2], eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x401677
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 0x404325
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push str.FlsGetValue
push 0x40e4e8
push str.FlsGetValue
push 2
call fcn.00405f32
add esp, 0x10
push dword [ebp + 8]
test eax, eax
je 0x40434c
call eax
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop ebp
ret

Function at 0x404947
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push str.FlsGetValue
push 0x40e4e8
push str.FlsSetValue
push 3
call fcn.00405f32
add esp, 0x10
push dword [ebp + 0xc]
push dword [ebp + 8]
test eax, eax
je 0x404971
call eax
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebp
ret

Function at 0x406027
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push str.FlsGetValue
push 0x40e4e8
push str.FlsAlloc
push 0
call fcn.00405f32
add esp, 0x10
test eax, eax
je 0x40604e
push dword [ebp + 8]
call eax
pop ebp
ret
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x406809
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov eax, dword [0x415f14]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0xfffffffffffffff4
call fcn.00404221
mov esi, eax
pop ecx
test esi, esi
je 0x406875
cmp esi, 0xffffffff
je 0x406875
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1f8]
mov al, byte [edx]
mov byte [ecx], al
inc ecx
lea eax, [ebp - 4]
cmp ecx, eax
je 0x406850
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x406839
xor eax, eax
push eax
mov byte [ebp - 5], al
mov dword [ebp - 0x1fc], eax
lea eax, [ebp - 0x1fc]
push eax
lea eax, [ebp - 0x1f8]
sub ecx, eax
dec ecx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040518a
mov esp, ebp
pop ebp
ret

Function at 0x406cc3
Capabilities:
Parse pe header

Disassembly:
call fcn.00407996
test al, al
jne 0x406ccf
xor al, al
ret
push 0
call fcn.004022a6
pop ecx
mov ecx, eax
test ecx, ecx
je 0x406ccc
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x406ccc
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x406ccc
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x406ccc
cmp dword [eax + 0x74], 0xe
jbe 0x406ccc
cmp dword [eax + 0xe8], 0
setne al
ret
Function at 0x40770f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
call fcn.00407987
test al, al
jne 0x407724
xor eax, eax
jmp 0x40784b
push ebx
xor ecx, ecx
mov ebx, 0x417dec
xor eax, eax
lock cmpxchg dword [ebx], ecx
test eax, eax
jne 0x407848
push esi
push edi
push 0x800
push eax
mov edi, 0x40f490
push edi
call fcn.0040246e
mov esi, eax
add esp, 0xc
mov dword [ebp - 4], esi
test esi, esi
jne 0x407787
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x407839
push esi
push esi
push edi
call fcn.0040246e
add esp, 0xc
lea ecx, [ebp - 4]
push eax
call fcn.004032ca
mov esi, dword [ebp - 4]
test esi, esi
je 0x407839
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push esi
call edi
mov dword [ebp - 4], eax
test eax, eax
je 0x407839
push str.MessageBoxW
push esi
call edi
mov dword [ebp - 8], eax
test eax, eax
je 0x407839
push dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_EncodePointer]
call edi
mov ecx, 0x417df0
xchg dword [ecx], eax
push dword [ebp - 8]
call edi
mov ecx, 0x417df4
xchg dword [ecx], eax
push str.GetActiveWindow
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ecx, 0x417df8
xchg dword [ecx], eax
push str.GetLastActivePopup
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ecx, 0x417dfc
xchg dword [ecx], eax
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ecx, 0x417e00
xchg dword [ecx], eax
push str.GetUserObjectInformationW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ecx, 0x417e04
xchg dword [ecx], eax
mov ecx, esi
xor eax, eax
lock cmpxchg dword [ebx], ecx
neg eax
sbb eax, eax
and esi, eax
jmp 0x40783b
xor ebx, ebx
test esi, esi
je 0x407846
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407919
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004075ca