joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b5c0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x464024]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40b645
lea eax, [ebp - 0x10]
push eax
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0
push dword [ebp - 0x18]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40b645
push eax
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
je 0x40b645
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ae8f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0041ae8f
mov esp, ebp
pop ebp
ret

Function at 0x40b660
Capabilities:
Create process on windows
Set current directory
Terminate process

Disassembly:
cmp byte [0x46a5d7], 0
push esi
mov esi, ecx
je 0x40b6a5
push 0x449958
push 0x1a
call fcn.00409750
add esp, 8
push eax
push 0x46a838
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
push 0x1024
push 0x46b2b0
push 0x46a838
push 0
call dword [sym.imp.USER32.dll_MessageBoxExW]
cmp eax, 6
je 0x40b6ff
cmp byte [0x46a5d3], 0
je 0x40b6f0
push 0x46c368
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [0x46c59c]
push dword [eax]
push 0x46c368
push str._s_s
push 0x46a838
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 5
push 0
push 0
push 0x46a838
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
ret
call fcn.0040b5c0
push 1
call fcn.0041f47e
int3
Function at 0x40f070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 4]
push esi
push eax
push 0
push 0
push 0x40ee90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp byte [0x468e78], 0
mov esi, eax
jne 0x40f122
push ebx
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
nop dword [eax + eax]
push 1
push 0xa
push esi
call edi
cmp eax, 0x102
jne 0x40f119
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
je 0x40f110
movzx eax, byte [0x46b4db]
mov ecx, 1
cmp dword [ebp - 0x1c], 0x12
cmove eax, ecx
mov byte [0x46b4db], al
lea eax, [ebp - 0x20]
push eax
push dword [0x46c798]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x40f110
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x468e78], 0
je 0x40f0b0
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 4]
push esi
push eax
push 0
push 0
push 0x40f130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp byte [0x468e78], 0
mov esi, eax
jne 0x410112
push ebx
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
push 1
push 0xa
push esi
call edi
cmp eax, 0x102
jne 0x410110
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
je 0x410107
movzx eax, byte [0x46b4db]
mov ecx, 1
cmp dword [ebp - 0x1c], 0x12
cmove eax, ecx
mov byte [0x46b4db], al
lea eax, [ebp - 0x20]
push eax
push dword [0x46c798]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x410107
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x468e78], 0
je 0x4100a7
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x410bb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov byte [0x468e78], 0
lea eax, [ebp - 4]
push esi
push eax
push 0
push 0
push 0x410120
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp byte [0x468e78], 0
mov esi, eax
jne 0x410c5b
push ebx
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
nop
push 1
push 0xa
push esi
call edi
cmp eax, 0x102
jne 0x410c59
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
test eax, eax
je 0x410c50
movzx eax, byte [0x46b4db]
mov ecx, 1
cmp dword [ebp - 0x1c], 0x12
cmove eax, ecx
mov byte [0x46b4db], al
lea eax, [ebp - 0x20]
push eax
push dword [0x46c798]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x410c50
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x468e78], 0
je 0x410bf0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x410c60
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x464024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x410e8e
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0041c7e0
add esp, 0xc
lea eax, [ebp - 0x210]
push esi
push 0x104
push eax
call fcn.00427913
add esp, 0xc
lea eax, [ebp - 0x210]
push str..
push 0x104
push eax
call fcn.00427977
add esp, 0xc
lea eax, [ebp - 0x460]
push 0x250
push 0
push eax
call fcn.0041c7e0
add esp, 0xc
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x410e8e
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
mov ecx, 0x45d98c
lea eax, [ebp - 0x434]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410d36
test dx, dx
je 0x410d32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410d36
add eax, 4
add ecx, 4
test dx, dx
jne 0x410d10
xor eax, eax
jmp 0x410d3b
sbb eax, eax
or eax, 1
test eax, eax
je 0x410e46
mov eax, 0x45e55c
lea ecx, [ebp - 0x434]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x410d76
test dx, dx
je 0x410d72
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x410d76
add ecx, 4
add eax, 4
test dx, dx
jne 0x410d50
xor eax, eax
jmp 0x410d7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x410e46
test byte [ebp - 0x460], 0x10
lea eax, [ebp - 0x210]
push esi
push 0x104
push eax
je 0x410de2
call fcn.00427913
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x449928
push 0x104
push eax
call fcn.00427977
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00427977
add esp, 0xc
lea ecx, [ebp - 0x210]
call fcn.00410c60
jmp 0x410e46
call fcn.00427913
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x449928
push 0x104
push eax
call fcn.00427977
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00427977
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x410e46
push 5
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [0x46a5d7], 1
lea eax, [ebp - 0x460]
push eax
push edi
call ebx
test eax, eax
jne 0x410d00
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x410e7b
push 5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [0x46a5d7], 1
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ae8f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ae8f
mov esp, ebp
pop ebp
ret
Function at 0x410eb0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x464024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.0041c7e0
lea ecx, [ebp - 0x210]
add esp, 0xc
sub ecx, esi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x410ee4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], eax
xorps xmm0, xmm0
mov eax, 0x414
movlpd qword [ebp - 0x21e], xmm0
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x230]
push eax
mov dword [ebp - 0x216], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
cmp dword [ebp - 0x21e], 0
pop esi
je 0x410f66
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ae8f
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x410f76
cmp eax, 2
je 0x410f76
cmp eax, 0x402
jne 0x410f56
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.0041ae8f
mov esp, ebp
pop ebp
ret
Function at 0x412400
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x527f
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
call dword [sym.imp.USER32.dll_GetFocus]
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x412442
push 0x527f
push edi
call esi
push eax
call ebx
test eax, eax
je 0x412442
mov ecx, edi
pop edi
pop esi
pop ebx
jmp fcn.0040b710
push 0x5284
push edi
call esi
mov esi, eax
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x41247c
push 0x5284
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
test eax, eax
je 0x41247c
cmp dword [0x46bd20], 0
jne 0x41247c
mov ecx, edi
pop edi
pop esi
pop ebx
jmp fcn.0040a310
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
mov ecx, dword [0x46b2ac]
cmp eax, ecx
jne 0x4125aa
push ecx
call ebx
test eax, eax
je 0x4125aa
cmp dword [0x46bd20], 1
jne 0x4125aa
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0
push dword [0x46b4dc]
call ebx
push 3
push 0
push 0
push 0
push 0
push 0
push dword [0x46a81c]
call ebx
push 3
push 0
push 0
push 0
push 0
push 0
push dword [0x46c364]
call ebx
push 3
push 0
push 0
push 0
push 0
push 0
push dword [0x46a5ec]
call ebx
push 3
push 0
push 0
push 0
push 0
push 0
push dword [0x46a5b8]
call ebx
push 3
push 0
push 0
push 0
push 0
push 0
push dword [0x46b094]
call ebx
mov esi, dword [0x4689e4]
sub esi, 1
js 0x41254d
push 3
push 0
push 0
push 0
push 0
push 0
push dword [esi*4 + 0x46a5f4]
call ebx
sub esi, 1
jns 0x412533
push 3
push 0
push 0
push 0
push 0
push 0
push dword [0x46a5bc]
call ebx
xor ecx, ecx
call fcn.00409f90
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x46c140]
call esi
push 1
push dword [0x46a5bc]
call esi
push 1
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push 0
push 5
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [0x46a5ec]
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
ret
call esi
mov ecx, dword [0x46a81c]
cmp eax, ecx
jne 0x4125ca
push ecx
call ebx
test eax, eax
je 0x4125ca
push 6
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
ret
call esi
mov ecx, dword [0x46b4dc]
cmp eax, ecx
jne 0x4125a6
push ecx
call ebx
test eax, eax
je 0x4125a6
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 1
call fcn.0041f47e
int3
Function at 0x41fadd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0041f7f5
hlt

Function at 0x41fb88
Capabilities:
Contain obfuscated stackstrings

Disassembly:
rol esi, cl
inc ebp
stc
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0041f805
push eax
push esi
push dword [ebp + 8]
call fcn.0041f7ba
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0041f805
push eax
push esi
invalid
invalid

Function at 0x41fc83
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
Function at 0x41fea8
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x41fd9a
cmp dword [eax + 0xc], ebx
je 0x41fe3d
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.0041f7f5
insd dword es:[edi], dx
adc bh, byte [ebx]
fdivr dword [ecx]
pop ebp
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x41fe2b
add byte [ebx], bh
ret
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x41fe06
and eax, 0xffff
push eax
jmp 0x41fe0a
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041f7ba
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x41ffe4
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x41fdeb
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x41fd8c
call fcn.0041f7f5
loope 0x41fdef
in al, 0xc5
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x41fea9
add eax, esi
cmp dword [eax], ebx
je 0x41fea9
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x41fea4
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x41fe8e
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x41fe96
cmp edx, ebx
jne 0x41ffe4
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x41fe65
add eax, dword [eax + 4]
jmp 0x41fe52
invalid
mov dword [ebp + 0xc], ebx
jmp 0x41feb4
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41fecc
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x41feea
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x41ff48
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41ff2f
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41ff38
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x41ff42
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x41ff24
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41feae
mov dword [ebp + 8], esi
xor edi, edi

Function at 0x430127
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042ff9d
Function at 0x402240
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404144], eax
mov ecx, ebp
add ecx, 8
mov dword [0x4040e2], ecx
mov dword [0x404148], 0x30
mov dword [0x40414c], 2
mov dword [0x404154], 0
mov dword [0x404158], 0
mov dword [0x404150], 0x4025d0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x40415c], eax
mov dword [0x404168], 0xf
mov dword [0x404170], 0x40386b
mov dword [0x4040da], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x404160], eax
mov dword [0x404174], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x404164], eax
push 0x404148
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040da]
push 0
push 0
push 0x24e
push 0x320
push 0xd8
push 0xa0
push 0x40000
push str.myform
push 0x40386b
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x40413c], eax
xor eax, eax
jmp 0x40232b
push eax
jmp loc.00408a7d
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x40db80
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4143d8], 0
jne 0x40dc01
cmp dword [0x4143f8], 0
jne 0x40dbb0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4143f8], eax
test eax, eax
jne 0x40dbb0
push str.GetEnvironmentStrings_failed
call fcn.0040cbf0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4143f8]
jmp 0x40dbc4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dbbc
lea edi, [ebp + 1]
push edi
call fcn.00405c3c
pop ecx
mov ebx, eax
mov dword [0x4143dc], ebx
test ebx, ebx
jne 0x40dbee
xor eax, eax
jmp 0x40dcc4
push edi
mov edx, dword [0x4143f8]
push edx
push ebx
call fcn.004069b8
add esp, 0xc
jmp 0x40dc21
xor esi, esi
mov ebx, dword [0x4143d8]
jmp 0x40dc1b
push eax
call fcn.00406b08
pop ecx
test eax, eax
jne 0x40dc17
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc0b
lea ebx, [esi + 4]
push 4
mov dword [0x4143e0], ebx
inc ebx
push ebx
call fcn.00405a3c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40dc44
xor eax, eax
jmp 0x40dcc4
cmp dword [0x4143d8], 0
jne 0x40dc75
xor esi, esi
mov ebx, dword [0x4143dc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40dc66
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dc5c
jmp 0x40dca6
xor esi, esi
mov ebx, dword [0x4143d8]
mov eax, dword [esp]
mov edi, eax
jmp 0x40dca0
push eax
call fcn.00406b08
pop ecx
test eax, eax
je 0x40dc95
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40dc99
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc84
mov eax, dword [0x4143d8]
test eax, eax
je 0x40dcb6
push eax
call fcn.00405c4c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4143d8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408c00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x407e18], 0x1d9232
je 0x408d60
jmp 0x408c1c
xor ebx, 0xfa25ed61
xor edx, 0xfb9bde2a
xor edx, 0xfa599e2c
mov ebx, 0xfe935905
mov ebx, 0xf7b9a947
call fcn.00408c93
mov ebx, 0xfc113b91
mov ebx, 0xf80f43f0
mov edx, 0xfbd25e81
xor edx, 0xfef1835a
cmp eax, 0x18334ada
jne 0x402273
jmp 0x408cc3
mov edx, 0xfb014e29
mov dword [0x407e18], 0x1d9232
mov ebx, 0xfebd7897
jmp 0x408cdc
call fcn.00408d2e
jmp 0x408d60
invalid
mov edx, 0xfb729060
pushal
nop
jb 0x408d5b
xor dword [edi + 0x47], esi
jns 0x408d0e
and dword [eax + 0x71], ebx
mov dh, 0x26
adc esi, dword [edi]
pushfd
push 0x1c
push ecx
xchg edi, eax
push 0x56
pushal
stosb byte es:[edi], al
pop esp
push 0xffffffffffffffbf
cmp byte [0x132fa27d], bl
aaa
mov cs, word [edx + 0x56]
pushal
stosb byte es:[edi], al
pop esp
push 0xffffffffffffffbf
cmp byte [0x332fa27d], bl
dec eax
test al, 0x25
push esp
push 0xffffffffffffffbb
daa
adc edx, dword [ebp - 0x45]
and al, 0x52
jg 0x408d5c
cmp byte [ebx], dh
xchg ecx, eax
scasd eax, dword es:[edi]
mov dh, 0xf4
sbb eax, 0x187363fa
fimul dword [edx + 0x33]
sbb byte [ebx + 0x27], dl
retf
Function at 0x408ffc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41003c]
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.0040583e
and dword [ebp - 0x14], 0
cmp dword [0x411ca8], 0
mov dword [ebp - 0x18], eax
jne 0x4090af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x409157
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x409157
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x411ca8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x411cac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x411cb0], eax
call edi
push eax
call esi
mov dword [0x411cb8], eax
test eax, eax
je 0x4090af
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x411cb4], eax
mov eax, dword [0x411cb4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x409108
cmp dword [0x411cb8], ecx
je 0x409108
push eax
call esi
push dword [0x411cb8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x409108
test ebx, ebx
je 0x409108
call edi
test eax, eax
je 0x4090ff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4090ff
test byte [ebp - 8], 1
jne 0x409108
or dword [ebp + 0x10], 0x200000
jmp 0x40913b
mov eax, dword [0x411cac]
cmp eax, dword [ebp - 0x18]
je 0x40913b
push eax
call esi
test eax, eax
je 0x40913b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40913b
mov eax, dword [0x411cb0]
cmp eax, dword [ebp - 0x18]
je 0x40913b
push eax
call esi
test eax, eax
je 0x40913b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x411ca8]
call esi
test eax, eax
je 0x409157
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x409159
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402b34
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219