joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018c40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov ecx, 0x1002cf78
call fcn.1000c3a0
push 0x41
mov ecx, 0x1002cd00
mov byte [ebp - 1], 1
mov edi, eax
call fcn.1000afa0
test al, al
jne 0x10018c98
push 0x57
mov ecx, 0x1002cd00
call fcn.1000afa0
test al, al
jne 0x10018c98
push 0x53
mov ecx, 0x1002cd00
call fcn.1000afa0
test al, al
jne 0x10018c98
push 0x44
mov ecx, 0x1002cd00
call fcn.1000afa0
test al, al
je 0x10018c9c
xor al, al
jmp 0x10018c9f
mov al, byte [ebp - 1]
mov esi, dword [ebp + 8]
mov ecx, 0
movzx eax, al
xorps xmm0, xmm0
movss dword [ebp + 8], xmm0
test byte [esi + 0x30], 1
cmove ecx, eax
lea eax, [ebp - 0x14]
mov dword [ebp - 8], ecx
mov ecx, edi
push eax
call fcn.10014820
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax]
movss xmm0, dword [eax + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
comiss xmm0, dword [0x10026b9c]
jbe 0x10018d4d
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.10014820
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
movss xmm2, dword [0x10026b98]
divss xmm2, xmm0
andps xmm2, xmmword [0x10025510]
mulss xmm2, dword [0x10026b98]
movss dword [ebp + 8], xmm2
push 0x20
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10018e4c
mov ecx, edi
call fcn.10019500
test al, 1
jne 0x10018e4c
cmp byte [ebp - 8], 0
je 0x10018e4c
cmp byte [0x1002c1d0], 0
movss xmm0, dword [0x10031f38]
movss xmm1, dword [ebp + 8]
push 0x10031f38
je 0x10018ddb
subss xmm0, xmm1
movss dword [0x10031f38], xmm0
movss xmm0, dword [0x10031f3c]
subss xmm0, xmm1
movss dword [0x10031f3c], xmm0
movss xmm0, dword [0x10031f40]
subss xmm0, xmm1
movss dword [0x10031f40], xmm0
call fcn.1001f5f0
mov dword [esi + 0x28], 0xc3e10000
mov byte [0x1002c1d0], 0
jmp 0x10018e22
addss xmm0, xmm1
movss dword [0x10031f38], xmm0
movss xmm0, dword [0x10031f3c]
addss xmm0, xmm1
movss dword [0x10031f3c], xmm0
movss xmm0, dword [0x10031f40]
addss xmm0, xmm1
movss dword [0x10031f40], xmm0
call fcn.1001f5f0
mov dword [esi + 0x28], 0x43d70000
mov byte [0x1002c1d0], 1
movzx eax, word [esi + 0x44]
add esp, 4
test ax, ax
jns 0x10018e3c
mov dword [esi + 0x24], 0x41b00000
mov dword [esi + 0x28], 0xc3e10000
jle 0x10018e4c
mov dword [esi + 0x24], 0x41b00000
mov dword [esi + 0x28], 0x43e10000
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10018e60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024088
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1002c270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10031f5c]
cmp eax, 0x320
jbe 0x10018f2b
call esi
mov ecx, dword [0x10031f24]
sub ecx, dword [0x10031f20]
mov dword [0x10031f5c], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edx, edx
div esi
mov eax, dword [0x10031f20]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
push eax
lea eax, [ebp - 0x28]
push str.say
push eax
call fcn.100188b0
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [0x1002d0f8]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
mov edx, dword [ecx]
mov eax, dword [0x10031fe8]
mov dword [ebp - 4], 0
mov eax, dword [edx + eax*4]
call eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10018f2b
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10005680
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100212f9
mov esp, ebp
pop ebp
ret

Function at 0x10018f50
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024088
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1002c270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10031f60]
cmp eax, 0x320
jbe 0x1001901b
call esi
mov ecx, dword [0x10031f30]
sub ecx, dword [0x10031f2c]
mov dword [0x10031f60], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edx, edx
div esi
mov eax, dword [0x10031f2c]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
push eax
lea eax, [ebp - 0x28]
push str.say
push eax
call fcn.100188b0
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [0x1002d0f8]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
mov edx, dword [ecx]
mov eax, dword [0x10031fe8]
mov dword [ebp - 4], 0
mov eax, dword [edx + eax*4]
call eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1001901b
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10005680
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100212f9
mov esp, ebp
pop ebp
ret
Function at 0x10019300
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024088
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1002c270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10031f58]
cmp eax, 0x320
jbe 0x100193cb
call esi
mov ecx, dword [0x10031f18]
sub ecx, dword [0x10031f14]
mov dword [0x10031f58], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edx, edx
div esi
mov eax, dword [0x10031f14]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
push eax
lea eax, [ebp - 0x28]
push str.say
push eax
call fcn.100188b0
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [0x1002d0f8]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
mov edx, dword [ecx]
mov eax, dword [0x10031fe8]
mov dword [ebp - 4], 0
mov eax, dword [edx + eax*4]
call eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100193cb
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10005680
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100212f9
mov esp, ebp
pop ebp
ret

Function at 0x100193f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024088
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1002c270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10031f54]
cmp eax, 0x320
jbe 0x100194bb
call esi
mov ecx, dword [0x10031f0c]
sub ecx, dword [0x10031f08]
mov dword [0x10031f54], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
xor edx, edx
div esi
mov eax, dword [0x10031f08]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
push eax
lea eax, [ebp - 0x28]
push str.say
push eax
call fcn.100188b0
add esp, 0xc
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov ecx, dword [0x1002d0f8]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
mov edx, dword [ecx]
mov eax, dword [0x10031fe8]
mov dword [ebp - 4], 0
mov eax, dword [edx + eax*4]
call eax
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100194bb
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10005680
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100212f9
mov esp, ebp
pop ebp
ret
Function at 0x1001ea90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024328
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1002c270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1001ebd4
cmp byte [ebx + 0x3d], 0
je 0x1001ebd4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x1001eae9
xor al, al
jmp 0x1001ebd6
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x40]
nop
cmp esi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [ebx + 0x38]
push edi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1001eb5c
sub eax, 1
je 0x1001eb60
mov esi, dword [ebp - 0x14]
sub eax, 2
je 0x1001ebb8
xor bl, bl
jmp 0x1001ebba
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edi, dword [ebp - 0x2c]
cmovae eax, ecx
sub edi, eax
je 0x1001eb96
push dword [ebx + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov esi, dword [ebp - 0x14]
add esp, 0x10
cmp edi, eax
jne 0x1001eb58
cmp byte [ebx + 0x3d], 0
je 0x1001ebb8
test edi, edi
lea edi, [ebx + 0x40]
jne 0x1001eb20
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.1001ed00
jmp 0x1001eb19
mov bl, 1
cmp esi, 0x10
jb 0x1001ebd0
push 1
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x28]
call fcn.10005680
add esp, 0xc
mov al, bl
jmp 0x1001ebd6
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100212f9
mov esp, ebp
pop ebp
ret
Function at 0x10001e90
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x100110a8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.MicrosoftEdgeUpdate.exe
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10001f17
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x418], 0x31
call fcn.100010a0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10002d61
mov esp, ebp
pop ebp
ret

Function at 0x10001f70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x10001f9f
cmp dword [0x10013270], eax
jne 0x10001f9f
push eax
push eax
push eax
push 0x10001f30
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x10013270], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret 0xc

Function at 0x10002d61
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100110a8]
jne 0x10002d6b
repz ret
jmp fcn.10003e6a
Function at 0x10008531
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100110a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000429f
and dword [ebp - 0x14], 0
cmp dword [0x1001324c], 0
mov dword [ebp - 0x18], eax
jne 0x100085e4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000868c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000868c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1001324c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10013250], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10013254], eax
call edi
push eax
call esi
mov dword [0x1001325c], eax
test eax, eax
je 0x100085e4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10013258], eax
mov eax, dword [0x10013258]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000863d
cmp dword [0x1001325c], ecx
je 0x1000863d
push eax
call esi
push dword [0x1001325c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000863d
test ebx, ebx
je 0x1000863d
call edi
test eax, eax
je 0x10008634
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10008634
test byte [ebp - 8], 1
jne 0x1000863d
or dword [ebp + 0x10], 0x200000
jmp 0x10008670
mov eax, dword [0x10013250]
cmp eax, dword [ebp - 0x18]
je 0x10008670
push eax
call esi
test eax, eax
je 0x10008670
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10008670
mov eax, dword [0x10013254]
cmp eax, dword [ebp - 0x18]
je 0x10008670
push eax
call esi
test eax, eax
je 0x10008670
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1001324c]
call esi
test eax, eax
je 0x1000868c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000868e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002d61
leave
ret
Function at 0x4066c2
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
jne 0x406708
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4067ba
and esi, 0xffff
or esi, 0x80070000
jmp 0x4067ba
cmp dword [ebp - 4], 1
jle 0x4067a4
push dword [ebx + 4]
push 0x40200c
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x4067a4
cmp dword [ebp - 4], 4
mov dword [ebp - 8], edi
jl 0x4067a4
mov eax, dword [ebx + 8]
push 3
pop esi
push dword [ebx + 0xc]
mov dword [ebp - 0xc], eax
push 0x402018
call dword [sym.imp.MSVCR100.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x40675b
cmp dword [ebp - 4], 6
jne 0x4067a4
mov eax, dword [ebx + 0x10]
push 5
mov dword [ebp - 8], eax
pop esi
lea eax, [esi + 1]
cmp eax, dword [ebp - 4]
jne 0x4067a4
push edi
push dword [ebx + esi*4]
call fcn.00403fff
mov edi, eax
test edi, edi
jne 0x406779
mov esi, 0x80004005
jmp 0x4067a9
lea esi, [edi + 8]
push esi
push dword [edi]
call fcn.00404296
cmp dword [esi], 0
jne 0x406790
mov eax, dword [ebp - 8]
test eax, eax
jne 0x406793
mov eax, dword [ebp - 0xc]
push dword [esi]
push eax
push dword [edi + 4]
push dword [edi]
call fcn.00404f77
mov esi, eax
jmp 0x4067a9
mov esi, 0x80070057
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test edi, edi
je 0x4067ba
push edi
call fcn.0040407f
xor eax, eax
test esi, esi
sets al
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x406887
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40202c]
jne 0x406cb9
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x4092e0], eax
mov dword [0x4092dc], ecx
mov dword [0x4092d8], edx
mov dword [0x4092d4], ebx
mov dword [0x4092d0], esi
mov dword [0x4092cc], edi
mov word [0x4092f8], ss
mov word [0x4092ec], cs
mov word [0x4092c8], ds
mov word [0x4092c4], es
mov word [0x4092c0], fs
mov word [0x4092bc], gs
pushfd
pop dword [0x4092f0]
mov eax, dword [ebp]
mov dword [0x4092e4], eax
mov eax, dword [ebp + 4]
mov dword [0x4092e8], eax
lea eax, [ebp + 8]
mov dword [0x4092f4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x409230], 0x10001
mov eax, dword [0x4092e8]
mov dword [0x4091e4], eax
mov dword [0x4091d8], 0xc0000409
mov dword [0x4091dc], 1
mov eax, dword [0x40202c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x40918c]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x409228], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x402038
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x409228], 0
jne 0x406da5
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422004]
jne 0x40100a
repz ret
jmp fcn.0040172e

Function at 0x407eb0
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.00402b36
and dword [ebp - 4], 0
cmp dword [0x423d14], 0
mov ebx, eax
jne 0x407f61
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408012
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408012
push eax
call fcn.00402ac4
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423d14], eax
call esi
push eax
call fcn.00402ac4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423d18], eax
call esi
push eax
call fcn.00402ac4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423d1c], eax
call esi
push eax
call fcn.00402ac4
pop ecx
mov dword [0x423d24], eax
test eax, eax
je 0x407f61
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402ac4
pop ecx
mov dword [0x423d20], eax
mov eax, dword [0x423d20]
cmp eax, ebx
je 0x407fb9
cmp dword [0x423d24], ebx
je 0x407fb9
push eax
call fcn.00402b3f
push dword [0x423d24]
mov esi, eax
call fcn.00402b3f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407fb9
test edi, edi
je 0x407fb9
call esi
test eax, eax
je 0x407fb0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407fb0
test byte [ebp - 0xc], 1
jne 0x407fb9
or dword [ebp + 0x10], 0x200000
jmp 0x407ff2
mov eax, dword [0x423d18]
cmp eax, ebx
je 0x407ff2
push eax
call fcn.00402b3f
pop ecx
test eax, eax
je 0x407ff2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407ff2
mov eax, dword [0x423d1c]
cmp eax, ebx
je 0x407ff2
push eax
call fcn.00402b3f
pop ecx
test eax, eax
je 0x407ff2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423d14]
call fcn.00402b3f
pop ecx
test eax, eax
je 0x408012
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408014
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41e4f0
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x422004]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [0x422f10]
push ebx
mov ebx, dword [0x8097f4]
push edi
mov edi, dword [0x80963c]
call fcn.0041e400
cmp dword [0x8097f4], 0x2f
jne 0x41e52b
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call fcn.0041e440
cmp dword [0x8097f4], 0x568
pop edi
pop ebx
jne 0x41e562
push 0
push 0
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea ecx, [esp + 0x404]
push ecx
push str.gigifelavupunefolowefazogagu_tizihipu_kuwihuwujofupihasifosanehi
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401000
add esp, 0x804
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x361930cb
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
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
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0xb1663af
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x7c7614cc
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
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
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x4304d8
mov ecx, 0x99b72f9
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219