joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d9f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44da23
push esi
call fcn.00450b00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44da1c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44daa9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44da92
mov eax, dword [esi + 8]
test eax, eax
je 0x44da47
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44da8e
cmp eax, 2
je 0x44da92
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44da3a
cmp eax, 3
je 0x44da6d
cmp eax, 1
jne 0x44da3a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44da3a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44da3a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044dad0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44dab8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044dad0
add esp, 4
pop esi
ret

Function at 0x459c50
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x459cf3
test eax, eax
jbe 0x459cf3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x459cf3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x459c9e
xor esi, esi
jmp 0x459ca4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x459ccf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0045bbf0
add esi, eax
push esi
mov ebx, esi
call fcn.0045bbf0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x459cb0
pop ebp
test edi, edi
pop edi
jne 0x459cf3
test ebx, ebx
je 0x459cf3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00466dd0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x459e35
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x459f4d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x459f4d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004779e0
mov esi, eax
test esi, esi
je 0x459f4d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x459f4d
mov ecx, esi
call fcn.00459da0
cmp edi, eax
jge 0x459f4d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x459ed3
mov dword [esp + 0x34], 1
jmp 0x459f2e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x459f4d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00459340
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x461640
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x46168c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x46168c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x461676
push eax
call ebp
test ax, ax
jl 0x461684
inc esi
add edi, 4
cmp esi, 6
jb 0x461668
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00461340
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x463f50
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x463fb0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x463fb0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x463fb0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x463fb0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x463fc0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop ecx
ret
Function at 0x478384
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4783bc
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047643b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00476413
jmp 0x4783c8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x479a72
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x479ab4
call fcn.0047f6fc
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, edi
je 0x479ab4
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, edi
jne 0x479aab
xor eax, eax
jmp 0x479abc
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00479ac2
pop edi
pop esi
pop ebx
ret 4

Function at 0x47fc2c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47fc5a
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x47fc78
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047fb92
jmp 0x47fc78
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47fc78
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047fb92
test edi, edi
mov eax, edi
jne 0x47fc62
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001150
Capabilities:
Check if file exists
Get common file path
Get file attributes
Set current directory

Disassembly:
sub esp, 0x58
mov eax, dword [0x10015064]
xor eax, esp
mov dword [esp + 0x54], eax
push ebp
push esi
mov esi, dword [esp + 0x64]
push edi
push 0x48
lea eax, [esp + 0x14]
push 0
push eax
call fcn.10005070
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
add esp, 0xc
mov dword [0x100182b4], ecx
push 5
lea ecx, [esp + 0x5c]
push ecx
mov dword [0x100182b0], edx
mov dword [0x100182b8], eax
mov dword [esp + 0x14], 0x4c
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], 0x10016cc0
mov dword [esp + 0x30], 0x100168c0
mov dword [esp + 0x34], 0x400
mov dword [esp + 0x48], 0x82000
call fcn.10004dfc
push 0x400
push 0x100168c0
call fcn.10004dfc
push 0x400
push 0x10016cc0
call fcn.10004dfc
push str.save
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov esi, eax
neg esi
sbb esi, esi
push 0x100168c0
add esi, 1
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
je 0x1000123a
test al, 0x10
je 0x1000123a
push 0x100168c0
push 0x100164c0
call edi
mov dword [esp + 0x38], 0x100164c0
mov byte [0x100168c0], 0
cmp byte [0x10016cc0], 0
jne 0x1000124f
push str.All_Files.
push 0x10016cc0
call edi
cmp byte [0x10016cc0], 0
mov eax, 0x10016cc0
je 0x10001278
mov edi, dword [sym.imp.USER32.dll_CharNextA]
cmp byte [eax], 0x7c
jne 0x10001270
mov byte [eax], 0
add eax, 1
jmp 0x10001273
push eax
call edi
cmp byte [eax], 0
jne 0x10001263
push 0x100160c0
push 0x400
mov byte [eax + 1], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test esi, esi
mov edi, dword [sym.imp.comdlg32.dll_GetOpenFileNameA]
mov ebp, dword [sym.imp.comdlg32.dll_GetSaveFileNameA]
je 0x100012a5
lea eax, [esp + 0xc]
push eax
call ebp
jmp 0x100012ac
lea ecx, [esp + 0xc]
push ecx
call edi
test eax, eax
je 0x100012b7
push 0x100168c0
jmp 0x100012e8
call dword [sym.imp.comdlg32.dll_CommDlgExtendedError]
cmp eax, 0x3002
jne 0x100012e3
test esi, esi
mov byte [0x100168c0], 0
je 0x100012d8
lea edx, [esp + 0xc]
push edx
call ebp
jmp 0x100012df
lea eax, [esp + 0xc]
push eax
call edi
test eax, eax
jne 0x100012b0
push 0x100112f6
call fcn.10004e4b
push 0x100160c0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10005059
add esp, 0x58
ret
Function at 0x10001680
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x404
mov eax, dword [0x10015064]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [esp + 0x40c], 0
push esi
mov esi, dword [esp + 0x414]
push edi
mov edi, dword [esp + 0x410]
je 0x100016f1
test esi, esi
je 0x100016f1
cmp dword [esi], 5
jne 0x100016f1
mov ecx, dword [esi + 0x14]
push 0x400
lea eax, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
push edi
call fcn.100015e0
mov ecx, dword [esi + 0x18]
add esp, 8
push 0x14
lea edx, [esi + 0x1c]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.10005059
add esp, 0x404
ret

Function at 0x10002770
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
call fcn.10004fd4
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.100013c0
call fcn.10004fd4
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
push esi
mov ecx, 0x100170f8
call fcn.10003f20
mov byte [0x100175a8], 1
pop esi
add esp, 0x10
ret

Function at 0x100029e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x100170c4]
mov ecx, dword [esp + 4]
sub esp, 0x1c
push 0
push eax
push 0x40d
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x100170c4]
push 8
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x100170c4], 0
je 0x10002a7c
push ebx
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
push ebp
mov ebp, dword [sym.imp.USER32.dll_DispatchMessageA]
push esi
mov esi, dword [sym.imp.USER32.dll_IsDialogMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
nop
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call edi
mov edx, dword [0x100170c4]
lea ecx, [esp + 0x10]
push ecx
push edx
call esi
test eax, eax
jne 0x10002a6f
mov ecx, dword [0x100170c8]
lea eax, [esp + 0x10]
push eax
push ecx
call esi
test eax, eax
jne 0x10002a6f
lea edx, [esp + 0x10]
push edx
call ebx
lea eax, [esp + 0x10]
push eax
call ebp
cmp dword [0x100170c4], 0
jne 0x10002a30
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [0x100170d0]
mov edx, dword [esp + 0x20]
push ecx
push 4
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
add esp, 0x1c
ret
Function at 0x10003340
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x18
cmp byte [0x10017754], 0
jne 0x10003408
push esi
mov byte [0x10017754], 1
call fcn.10004fd4
lea ecx, [esp + 4]
push ecx
push 0x18
push eax
mov dword [0x10017748], eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 8]
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0xc]
sar eax, 2
push 0
mov dword [0x1001773c], eax
mov dword [0x10017744], edx
call fcn.10002db0
push 0x80
mov dword [0x10017740], eax
call fcn.10002db0
push 0x808080
mov dword [0x10017730], eax
call fcn.10002db0
mov esi, dword [sym.imp.USER32.dll_SetWindowLongA]
add esp, 0xc
push 0x10000
mov dword [0x10017738], eax
mov eax, dword [0x100170c8]
push 0xffffffffffffffec
push eax
call esi
mov ecx, dword [0x100170c8]
push 0x10003200
push 0xfffffffffffffffc
push ecx
call esi
mov edx, dword [0x100170c8]
push 0
push 0
push 0x409
push edx
mov dword [0x10017734], eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [0x100170c8]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
add esp, 0x18
ret

Function at 0x10003450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [0x10018250]
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
mov dword [esi + 4], eax
je 0x10003487
push eax
mov eax, dword [0x10018250]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [esi], eax
jne 0x1000348d
mov dword [esi + 4], eax
xor al, al
pop esi
ret 8
mov al, 1
pop esi
ret 8
Function at 0x10005059
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10015064]
jne 0x10005063
repz ret
jmp fcn.10005f1c

Function at 0x1000c26c
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x10015ac0]
je 0x1000c287
inc edi
cmp edi, 0x17
jb 0x1000c278
cmp edi, 0x17
jae 0x1000c407
push ebp
push 3
call fcn.1000f2c9
cmp eax, 1
pop ecx
je 0x1000c3d3
push 3
call fcn.1000f2c9
test eax, eax
pop ecx
jne 0x1000c2bb
cmp dword [0x100177b0], 1
je 0x1000c3d3
cmp ebx, 0xfc
je 0x1000c406
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x10017df0
push ebp
call fcn.10005770
add esp, 0xc
test eax, eax
je 0x1000c2f1
push esi
push esi
push esi
push esi
push esi
call fcn.10008892
add esp, 0x14
push 0x104
mov esi, 0x10017e09
push esi
push 0
mov byte [0x10017f0d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000c335
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.10005770
add esp, 0xc
test eax, eax
je 0x1000c335
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10008892
add esp, 0x14
push esi
call fcn.1000af10
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x1000c37a
push esi
call fcn.1000af10
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x10018104
push 0x10011b84
sub ecx, eax
push ecx
push eax
call fcn.1000cb06
add esp, 0x14
test eax, eax
je 0x1000c37a
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.10008892
add esp, 0x14
jmp 0x1000c37c
xor esi, esi
push 0x10011b80
push ebx
push ebp
call fcn.1000ca46
add esp, 0xc
test eax, eax
je 0x1000c39c
push esi
push esi
push esi
push esi
push esi
call fcn.10008892
add esp, 0x14
push dword [edi*8 + 0x10015ac4]
push ebx
push ebp
call fcn.1000ca46
add esp, 0xc
test eax, eax
je 0x1000c3be
push esi
push esi
push esi
push esi
push esi
call fcn.10008892
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1000f10c
add esp, 0xc
jmp 0x1000c406
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1000c406
cmp ebp, 0xffffffff
je 0x1000c406
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x10015ac4]
push dword [esi]
call fcn.1000af10
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1000f10c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1000710a
xor ebx, ebx
cmp dword [0x10018178], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1000f1e2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1000f2c2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1000f2c2
push eax
call fcn.1000709c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10018178], eax
call esi
push eax
call fcn.1000709c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001817c], eax
call esi
push eax
call fcn.1000709c
mov dword [0x10018180], eax
lea eax, [ebp - 0xc]
push eax
call fcn.100084a8
test eax, eax
pop ecx
pop ecx
je 0x1000f1b0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10008892
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1000f1e2
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1000709c
cmp eax, ebx
pop ecx
mov dword [0x10018188], eax
je 0x1000f1e2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000709c
pop ecx
mov dword [0x10018184], eax
mov eax, dword [0x10018184]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1000f267
cmp dword [0x10018188], ecx
je 0x1000f267
push eax
call fcn.10007113
push dword [0x10018188]
mov esi, eax
call fcn.10007113
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1000f267
cmp edi, ebx
je 0x1000f267
call esi
cmp eax, ebx
je 0x1000f234
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000f234
test byte [ebp - 0x18], 1
jne 0x1000f267
lea eax, [ebp - 0x10]
push eax
call fcn.100084df
test eax, eax
pop ecx
je 0x1000f24f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10008892
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1000f25e
or dword [ebp + 0x10], 0x200000
jmp 0x1000f2a2
or dword [ebp + 0x10], 0x40000
jmp 0x1000f2a2
mov eax, dword [0x1001817c]
cmp eax, dword [ebp - 8]
je 0x1000f2a2
push eax
call fcn.10007113
cmp eax, ebx
pop ecx
je 0x1000f2a2
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1000f2a2
mov eax, dword [0x10018180]
cmp eax, dword [ebp - 8]
je 0x1000f2a2
push eax
call fcn.10007113
cmp eax, ebx
pop ecx
je 0x1000f2a2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10018178]
call fcn.10007113
cmp eax, ebx
pop ecx
je 0x1000f2c2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000f2c4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000fe36
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x10015064]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.1000fdcb
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.10005070
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x1000fe85
cmp dword [ebp - 0x1c], 5
jb 0x1000fe9d
jmp 0x1000fe99
cmp dword [ebp - 0x10], 1
jne 0x1000fe9d
cmp dword [ebp - 0x1c], 4
ja 0x1000fe99
jne 0x1000fe9d
cmp dword [ebp - 0x18], 0
jbe 0x1000fe9d
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x10012d28
call fcn.1000fc9f
test eax, eax
jge 0x1000febe
mov byte [0x10017755], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10005059
add ebp, 0x78
leave
ret
Function at 0x405ef4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a34], 0
push esi
jne 0x405f2b
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f05
mov dword [ecx*4 + 0x422a30], eax
inc ecx
cmp ecx, 0x100
jl 0x405f00
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a30]
xor eax, esi
inc ecx
dec edx
jne 0x405f3e
pop edi
not eax
pop esi
ret 0xc

Function at 0x407840
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..test
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407862
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407869
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407858
mov eax, 1
add ebx, ebx
jne 0x40787b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
ja 0x407870
jne 0x40788c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407870
xor ecx, ecx
sub eax, 3
jb 0x4078a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x407912
mov ebp, eax
add ebx, ebx
jne 0x4078ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4078b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4078dc
inc ecx
add ebx, ebx
jne 0x4078c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
ja 0x4078bd
jne 0x4078d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4078bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jle 0x4078fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4078ed
jmp 0x40785e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4078fc
add edi, ecx
jmp 0x40785e
pop esi
sub edi, dword [edi - 4]
push edi
mov edi, esi
mov ecx, 0x61
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40791e
cmp byte [edi], 0
jne 0x40791e
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 0x407923
pop edi
mov eax, dword [edi]
or eax, eax
je 0x40798b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7568]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x75e0]
xchg edx, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40794b
push edx
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push edx
call dword [esi + 0x75e4]
pop edx
or eax, eax
je 0x407989
mov dword [ebx], eax
add ebx, 4
jmp 0x407968
popal
ret
lea ebx, [esi - 4]
add edi, 4
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4079bc
cmp al, 0xef
ja 0x4079af
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x407991
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40799e
popal
jmp section..code
Function at 0x405c07
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00405db7
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x405d05
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x405ca8
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x405ceb
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x405cbf
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x405cda
test al, 0x40
je 0x405cd1
mov ecx, dword [edi + 0x20]
jmp 0x405cd8
test al, 0x80
je 0x405ceb
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x405ceb
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x405c77
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret