joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402a70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 0xc], 0
xor edx, edx
mov dword [ebp - 0x1c], 0x4107d1fa
mov dword [ebp - 0x18], 0x57eb407c
mov dword [ebp - 0x14], 0x7920762d
mov dword [ebp - 0x10], 0xe90b8a4e
mov dword [ebp - 8], 0x578b
imul eax, dword [ebp - 8], 0x2b
push ebx
push esi
push 0x58
mov ebx, ecx
mov dword [ebp - 8], eax
or dword [ebp - 8], 0x152b34de
add dword [ebp - 8], 0xffff8579
xor dword [ebp - 8], 0xef4aa6be
add dword [ebp - 8], 0xae9a
mov eax, dword [ebp - 8]
pop ecx
div ecx
push 0x7d
mov dword [ebp - 8], eax
xor edx, edx
add dword [ebp - 8], 0x2b2c
or dword [ebp - 8], 0x69b947d6
xor dword [ebp - 8], 0x6bf9dfd7
mov dword [ebp - 4], 0x6bcf
or dword [ebp - 4], 0x8a880d78
imul eax, dword [ebp - 4], 0x6d
pop ecx
push 0x22
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
div ecx
xor edx, edx
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0x2044913
mov dword [ebp - 4], 0xf17b
mov eax, dword [ebp - 4]
div esi
mov dword [ebp - 4], eax
imul eax, dword [ebp - 4], 0x39
mov dword [ebp - 4], eax
add dword [ebp - 4], 0xffff2060
or dword [ebp - 4], 0xaec94335
add dword [ebp - 4], 0x2969
shr dword [ebp - 4], 3
imul eax, dword [ebp - 4], 0x41
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0x8c2a4945
cmp byte [ebx], 0
je 0x402bf3
push edi
mov edi, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 4], 0x6bcf
or dword [ebp - 4], 0x8a880d78
imul eax, dword [ebp - 4], 0x6d
push 0x22
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
div ecx
xor edx, edx
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0x2044913
mov cl, byte [ebp - 4]
mov esi, dword [ebp - 8]
mov dword [ebp - 4], 0xf17b
mov eax, dword [ebp - 4]
shl esi, cl
pop ecx
div ecx
push 0x7d
mov dword [ebp - 4], eax
imul eax, dword [ebp - 4], 0x39
mov dword [ebp - 4], eax
add dword [ebp - 4], 0xffff2060
or dword [ebp - 4], 0xaec94335
add dword [ebp - 4], 0x2969
shr dword [ebp - 4], 3
imul eax, dword [ebp - 4], 0x41
mov dword [ebp - 4], eax
xor dword [ebp - 4], 0x8c2a4945
mov cl, byte [ebp - 4]
mov edx, dword [ebp - 8]
movsx eax, byte [ebx]
mov dword [ebp - 8], eax
add dword [ebp - 8], esi
shl edx, cl
add dword [ebp - 8], edx
sub dword [ebp - 8], edi
inc ebx
pop ecx
cmp byte [ebx], 0
jne 0x402b5b
pop edi
mov eax, dword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402da8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
push esi
push edi
xor esi, esi
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
mov edi, dword [eax + ebx + 0x78]
add edi, ebx
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
add eax, ebx
mov dword [ebp - 0x14], eax
add ecx, ebx
mov eax, dword [edi + 0x24]
add eax, ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], eax
mov eax, esi
cmp dword [edi + 0x18], esi
jbe 0x402e34
mov ecx, dword [ecx + eax*4]
add ecx, ebx
call fcn.00402a70
xor eax, 0x190162fd
cmp eax, dword [ebp - 8]
mov eax, dword [ebp - 4]
je 0x402e0b
mov ecx, dword [ebp - 0xc]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [edi + 0x18]
jb 0x402de6
jmp 0x402e34
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
movzx eax, word [ecx + eax*2]
mov esi, dword [esi + eax*4]
add esi, ebx
cmp esi, edi
jb 0x402e34
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx + 0x7c]
add eax, edi
cmp esi, eax
jae 0x402e34
mov ecx, esi
call fcn.00402e74
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402e3d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push esi
push edi
mov edi, dword [eax + 0xc]
mov ebx, ecx
add edi, 0xc
mov esi, dword [edi]
jmp 0x402e65
mov ecx, dword [esi + 0x30]
call fcn.00402bfc
xor eax, 0x26103db8
cmp eax, ebx
je 0x402e6f
mov esi, dword [esi]
cmp esi, edi
jne 0x402e52
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x18]
jmp 0x402e6b

Function at 0x403014
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
push edi
mov dword [ebp - 4], eax
call fcn.00403108
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x403103
push esi
push 0x40
push 0x3000
push dword [edi + 0x50]
mov edx, 0x20d0c4b7
mov ecx, 0xa96edbca
push 0
push 0x19
call fcn.00402f00
pop ecx
call eax
mov esi, eax
test esi, esi
je 0x403100
movzx ecx, word [edi + 0x14]
lea eax, [edi + 0x18]
mov edx, dword [ebp - 4]
add eax, ecx
movzx ecx, word [edi + 6]
push ebx
push dword [edi + 0x54]
imul ebx, ecx, 0x28
mov ecx, esi
mov dword [ebp - 8], eax
add ebx, eax
call fcn.00402f92
pop ecx
mov ecx, dword [ebp - 8]
cmp ecx, ebx
jae 0x4030c9
sub ebx, ecx
mov edi, dword [ebp - 4]
lea eax, [ecx + 0x10]
xor edx, edx
mov dword [ebp - 0xc], eax
push 0x28
lea eax, [ebx - 1]
mov ebx, dword [ebp - 0xc]
pop ecx
div ecx
inc eax
mov dword [ebp - 8], eax
mov ecx, dword [ebx]
cmp dword [ebx - 8], ecx
mov edx, dword [ebx + 4]
cmovb ecx, dword [ebx - 8]
add edx, edi
push ecx
mov ecx, dword [ebx - 4]
add ecx, esi
call fcn.00402f92
dec dword [ebp - 8]
lea ebx, [ebx + 0x28]
pop ecx
jne 0x4030a4
mov edi, dword [ebp - 0x10]
mov edx, edi
mov ecx, esi
call fcn.004031eb
mov edx, edi
mov ecx, esi
call fcn.00403136
pop ebx
test eax, eax
jne 0x403100
push 0x8000
push eax
push esi
push 0x12d
mov edx, 0xe3f3bdaa
mov ecx, 0xa96edbca
call fcn.00402f00
pop ecx
call eax
xor esi, esi
mov eax, esi
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x403108
Capabilities:
Parse pe header

Disassembly:
cmp edx, 0x40
jae 0x403110
xor eax, eax
ret
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x40310d
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40310d
mov edx, 0x10b
xor ecx, ecx
cmp word [eax + 0x18], dx
cmovne eax, ecx
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 0x401300
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push str.TeenyWiny
push str.Balaklava
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401338
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0xbc], eax
push str.Times_New
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [ebp + 8]
push eax
call fcn.00401600
add esp, 4
push str.Roman
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov dword [ebp - 0x3c], 0xe
mov dword [ebp - 0x4c], 0xa
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call section..text
add esp, 8
test eax, eax
jne 0x40139c
xor eax, eax
jmp 0x4013d5
push 0
push 0
push 0
lea ecx, [ebp - 0xb8]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4013cf
lea edx, [ebp - 0xb8]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40139c
mov eax, dword [ebp - 0xb0]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406e0b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4110d0]
jne 0x406e15
repz ret
jmp fcn.00409f3c

Function at 0x409361
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 + 0x411298]
je 0x40937c
inc edi
cmp edi, 0x17
jb 0x40936d
cmp edi, 0x17
jae 0x4094fc
push ebp
push 3
call fcn.0040c78c
cmp eax, 1
pop ecx
je 0x4094c8
push 3
call fcn.0040c78c
test eax, eax
pop ecx
jne 0x4093b0
cmp dword [0x4110c8], 1
je 0x4094c8
cmp ebx, 0xfc
je 0x4094fb
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x412cb0
push ebp
call fcn.00408338
add esp, 0xc
test eax, eax
je 0x4093e6
push esi
push esi
push esi
push esi
push esi
call fcn.004061fd
add esp, 0x14
push 0x104
mov esi, 0x412cc9
push esi
push 0
mov byte [0x412dcd], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x40942a
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00408338
add esp, 0xc
test eax, eax
je 0x40942a
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004061fd
add esp, 0x14
push esi
call fcn.00406d80
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40946f
push esi
call fcn.00406d80
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x412fc4
push 0x40e83c
sub ecx, eax
push ecx
push eax
call fcn.0040c6d9
add esp, 0x14
test eax, eax
je 0x40946f
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004061fd
add esp, 0x14
jmp 0x409471
xor esi, esi
push 0x40e838
push ebx
push ebp
call fcn.0040c668
add esp, 0xc
test eax, eax
je 0x409491
push esi
push esi
push esi
push esi
push esi
call fcn.004061fd
add esp, 0x14
push dword [edi*8 + 0x41129c]
push ebx
push ebp
call fcn.0040c668
add esp, 0xc
test eax, eax
je 0x4094b3
push esi
push esi
push esi
push esi
push esi
call fcn.004061fd
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0040c4ab
add esp, 0xc
jmp 0x4094fb
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4094fb
cmp ebp, 0xffffffff
je 0x4094fb
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x41129c]
push dword [esi]
call fcn.00406d80
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 0x40c4ab
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00406fe4
xor ebx, ebx
cmp dword [0x4135fc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40c581
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40c661
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40c661
push eax
call fcn.00406f76
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4135fc], eax
call esi
push eax
call fcn.00406f76
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x413600], eax
call esi
push eax
call fcn.00406f76
mov dword [0x413604], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00408eb0
test eax, eax
pop ecx
pop ecx
je 0x40c54f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004061fd
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40c581
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00406f76
cmp eax, ebx
pop ecx
mov dword [0x41360c], eax
je 0x40c581
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406f76
pop ecx
mov dword [0x413608], eax
mov eax, dword [0x413608]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x40c606
cmp dword [0x41360c], ecx
je 0x40c606
push eax
call fcn.00406fed
push dword [0x41360c]
mov esi, eax
call fcn.00406fed
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x40c606
cmp edi, ebx
je 0x40c606
call esi
cmp eax, ebx
je 0x40c5d3
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c5d3
test byte [ebp - 0x18], 1
jne 0x40c606
lea eax, [ebp - 0x10]
push eax
call fcn.00408ee7
test eax, eax
pop ecx
je 0x40c5ee
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004061fd
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x40c5fd
or dword [ebp + 0x10], 0x200000
jmp 0x40c641
or dword [ebp + 0x10], 0x40000
jmp 0x40c641
mov eax, dword [0x413600]
cmp eax, dword [ebp - 8]
je 0x40c641
push eax
call fcn.00406fed
cmp eax, ebx
pop ecx
je 0x40c641
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40c641
mov eax, dword [0x413604]
cmp eax, dword [ebp - 8]
je 0x40c641
push eax
call fcn.00406fed
cmp eax, ebx
pop ecx
je 0x40c641
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4135fc]
call fcn.00406fed
cmp eax, ebx
pop ecx
je 0x40c661
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c663
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404dc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x41acb3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x421194]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.00404920
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x4226a0
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x41c2f0
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.00403fb0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x404e50
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x41acd8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x421194]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x404e90
push esi
push esi
push esi
push 2
call fcn.00406290
xor al, al
jmp 0x40500c
call fcn.004041f0
push 2
or eax, 0xffffffff
push 0
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.0040b02c
push esi
call fcn.0040af34
push 0
push 0
push esi
mov edi, eax
call fcn.0040b02c
add esp, 0x1c
test edi, edi
jne 0x404ed4
push edi
push edi
push edi
push 0xd
mov ecx, ebx
call fcn.00406290
xor al, al
jmp 0x40500c
mov dword [esp + 0x14], 0x4226a0
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.00403f10
lea eax, [edi + 1]
push eax
call fcn.004093af
push esi
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call fcn.0040ad7a
add esp, 0x14
cmp eax, 1
je 0x404f4a
push ebp
call fcn.004079d8
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebx
call fcn.00406290
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
cmp eax, 0x4226a0
je 0x404f43
push eax
call fcn.004079d8
add esp, 4
xor al, al
jmp 0x40500c
mov byte [edi + ebp], 0
cmp byte [ebp], 0
mov eax, ebp
mov esi, ebp
je 0x404fb4
mov cl, byte [esi]
cmp cl, 0xa
jne 0x404f74
mov ecx, esi
sub ecx, eax
inc ecx
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004040a0
inc esi
mov eax, esi
jmp 0x404faf
cmp cl, 0xd
jne 0x404fae
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x404f8c
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004040a0
push 1
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xa
call fcn.004040a0
cmp byte [esi + 1], 0xa
jne 0x404f6f
add esi, 2
mov eax, esi
jmp 0x404faf
inc esi
cmp byte [esi], 0
jne 0x404f58
sub esi, eax
je 0x404fc3
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.004040a0
push ebp
call fcn.004079d8
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add esp, 4
push ecx
push 0
add edx, 8
push edx
mov ecx, ebx
call eax
cmp byte [ebx + 0x2c], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
jne 0x404f33
cmp eax, 0x4226a0
je 0x40500a
push eax
call fcn.004079d8
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x4079e3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x421194]
jne 0x4079ed
repz ret
jmp fcn.0040b813
Function at 0x414e89
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.0040beaf
and dword [ebp - 4], 0
cmp dword [0x42308c], 0
mov ebx, eax
jne 0x414f3a
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414feb
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x41dd48
push edi
call esi
test eax, eax
je 0x414feb
push eax
call fcn.0040be3d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42308c], eax
call esi
push eax
call fcn.0040be3d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423090], eax
call esi
push eax
call fcn.0040be3d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423094], eax
call esi
push eax
call fcn.0040be3d
pop ecx
mov dword [0x42309c], eax
test eax, eax
je 0x414f3a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040be3d
pop ecx
mov dword [0x423098], eax
mov eax, dword [0x423098]
cmp eax, ebx
je 0x414f92
cmp dword [0x42309c], ebx
je 0x414f92
push eax
call fcn.0040beb8
push dword [0x42309c]
mov esi, eax
call fcn.0040beb8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x414f92
test edi, edi
je 0x414f92
call esi
test eax, eax
je 0x414f89
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x414f89
test byte [ebp - 0xc], 1
jne 0x414f92
or dword [ebp + 0x10], 0x200000
jmp 0x414fcb
mov eax, dword [0x423090]
cmp eax, ebx
je 0x414fcb
push eax
call fcn.0040beb8
pop ecx
test eax, eax
je 0x414fcb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x414fcb
mov eax, dword [0x423094]
cmp eax, ebx
je 0x414fcb
push eax
call fcn.0040beb8
pop ecx
test eax, eax
je 0x414fcb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42308c]
call fcn.0040beb8
pop ecx
test eax, eax
je 0x414feb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414fed
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4170b5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov cl, 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00416e38
dec ecx
lds edx, [0xa8458db6]
push eax
call fcn.00416e48
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00416dfd
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x417126
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
Function at 0x417370
Capabilities:
Encrypt data using rc4 prga
Inspect section memory permissions

Disassembly:
mov dword [ebp + 0xc], ebx
jbe 0x4173a8
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.00416da9
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x417375
call fcn.00416e38
push cs
or byte [edx], cl
popal
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x417627
add eax, esi
mov dword [ebp - 0x44], eax

Function at 0x417450
Capabilities:
Inspect section memory permissions

Disassembly:
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x41746e
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x417449
and eax, 0xffff
push eax
jmp 0x41744d
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00416dfd
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x417627
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x41742e
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
Function at 0x417478
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x4173dd
cmp dword [eax + 0xc], ebx
je 0x417480
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.00416e38
mov ebx, eax
xor esi, dword [eax + 0x750c5d39]
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
mov eax, dword [ebp - 0x44]
jmp 0x4173cf
call fcn.00416e38
sub byte [edx], ch
loope 0x41747b
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x4174ec
add eax, esi
cmp dword [eax], ebx
je 0x4174ec
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x4174e7
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x4174d1
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4174d9
cmp edx, ebx
jne 0x417627
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x4174a8
add eax, dword [eax + 4]
jmp 0x417495
mov dword [ebp + 0xc], ebx
jmp 0x4174f7
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41750f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x41752d
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 0x41758b
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
invalid
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x417572
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41757b
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x417585
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x417567
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4174f1
mov dword [ebp + 8], esi
xor edi, edi