joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401040
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523135
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x56ee10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 8
mov dword [ebp - 0x10], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.00403063
xor edi, edi
push edi
call fcn.00403b35
push 0xc
call fcn.00401f09
add esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], edi
cmp eax, edi
je 0x4010b0
mov ecx, eax
call fcn.004042e4
mov edi, eax
push str.Local_AppWizard_Generated_Applications
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.00404473
push 0
push 0x66
lea ecx, [ebp - 0xd4]
call fcn.00409e99
mov dword [ebp - 4], 1
mov dword [ebp - 0xd4], 0x54f784
call fcn.0040a8ad
call fcn.0040a8ad
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 2
mov dword [esi + 0x20], ecx
call fcn.0040541a
test edi, edi
je 0x401123
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 1
mov ecx, edi
call eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 4
call fcn.00407f6f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], vtable.CBrush.0
call fcn.00401680
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 0xffffffff
call fcn.00404c6c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401a70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401a8b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401ac2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x401abe
jmp 0x401ab0
cmp esi, eax
jae 0x401ac2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401ab0
cmp esi, eax
jb 0x401ac9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40376a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4037b2
call fcn.0040a8ad
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4037b2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4037f5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4037de
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4037de
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x4037f2
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x405619
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0040a8ad
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x405652
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00405256
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x4056b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4056d4
cmp dword [edi + 0x74], 0
jne 0x4056d4
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0040a8ad
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00405671
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x410b37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x410b7e
call fcn.0040a8ad
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x410b7e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x410b9a
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00410637
mov esi, eax
test edi, edi
je 0x410b98
test ebx, ebx
je 0x410b98
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x411370
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x51b4a6
call fcn.00501705
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x411395
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4113e7
call fcn.00406592
push eax
lea ecx, [ebp - 0x10]
call fcn.00401340
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0050276b
push eax
call fcn.004019e0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004013f0
mov eax, esi
call fcn.005017dd
ret 8
Function at 0x45961f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004dbe39
call fcn.0040a2de
cmp dword [eax + 0x14], 0
jne 0x45963c
mov ecx, esi
pop esi
jmp fcn.00459124
pop esi
ret

Function at 0x45cc25
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004b7667
call fcn.0040a2de
cmp dword [eax + 0x14], 0
jne 0x45cc42
mov ecx, esi
pop esi
jmp fcn.0045c5f8
pop esi
ret

Function at 0x46971c
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004693c0
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x469766
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040eb30
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040490a
jmp 0x469771
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041201d
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x469777
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00410c43
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4697b4
call fcn.004693c0
mov dword [esi + 0xc], 1
jmp 0x4697b9
call fcn.004693c0
cmp dword [esi], 0
je 0x469802
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4697da
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040eb30
jmp 0x4697ec
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401550
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040490a
jmp 0x469826
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x469826
push dword [esi]
push dword [ebp + 8]
call fcn.0041201d
pop esi
pop ebp
ret 0xc
Function at 0x46d294
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x46d2ae
call fcn.0040a8ad
mov esi, dword [eax + 0xc]
push dword [0x573d58]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x46d2cc
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x46d2c4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x46d2f9
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x46d2c6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0046d1c2
mov esi, eax
jmp 0x46d2eb

Function at 0x4e77d7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e77ef
mov edi, dword [esi + 0xc]
jmp 0x4e782f
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4e7808
call fcn.00406c49
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e781d
call fcn.00406c49
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e782f
call fcn.00406c49
call fcn.0040a8ad
cmp dword [eax + 0x3c], 0
je 0x4e7844
push edi
mov ecx, ebx
call fcn.004e6609
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e76f1
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e7862
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e786e
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x500c39
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56ee10]
jne 0x500c43
repz ret
jmp fcn.005077d3
Function at 0x511fd8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x56ee10]
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.005071fb
and dword [ebp - 0x14], 0
cmp dword [0x57671c], 0
mov dword [ebp - 0x18], eax
jne 0x51208b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x512133
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x54db68
push ebx
call edi
test eax, eax
je 0x512133
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x54db58
push ebx
mov dword [0x57671c], eax
call edi
push eax
call esi
push 0x54db44
push ebx
mov dword [0x576720], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x576724], eax
call edi
push eax
call esi
mov dword [0x57672c], eax
test eax, eax
je 0x51208b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x576728], eax
mov eax, dword [0x576728]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5120e4
cmp dword [0x57672c], ecx
je 0x5120e4
push eax
call esi
push dword [0x57672c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5120e4
test ebx, ebx
je 0x5120e4
call edi
test eax, eax
je 0x5120db
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5120db
test byte [ebp - 8], 1
jne 0x5120e4
or dword [ebp + 0x10], 0x200000
jmp 0x512117
mov eax, dword [0x576720]
cmp eax, dword [ebp - 0x18]
je 0x512117
push eax
call esi
test eax, eax
je 0x512117
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x512117
mov eax, dword [0x576724]
cmp eax, dword [ebp - 0x18]
je 0x512117
push eax
call esi
test eax, eax
je 0x512117
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x57671c]
call esi
test eax, eax
je 0x512133
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x512135
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00500c39
leave
ret
Function at 0x4010f8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
cmp edi, 0xffffffff
je 0x40113a
push esi
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
push dword [ebp + 8]
push edi
call esi
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4010d8
push edi
call esi
pop esi
pop edi
leave
ret 4

Function at 0x40147d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
cmp edi, ebx
je 0x4014fc
cmp dword [ebp + 0xc], ebx
je 0x4014fc
movzx ecx, word [ebp + 8]
mov esi, dword [edi]
push 0xa
push ecx
push eax
mov dword [edi], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4014fc
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp esi, eax
mov dword [edi], eax
jb 0x4014fc
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4014fc
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [edi]
mov edi, dword [ebp + 0xc]
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 1
pop eax
jmp 0x4014fe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x401650
Capabilities:
Accept command line arguments
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
xor edi, edi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
cmp esi, edi
jl 0x401766
lea eax, [ebp - 8]
push eax
push 0x4010e8
push edi
push 7
push 0x401098
call dword [sym.imp.ole32.dll_CoGetClassObject]
mov esi, eax
cmp esi, edi
jl 0x401753
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push 0x4010b8
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xc]
mov esi, eax
cmp esi, edi
jne 0x40173a
lea eax, [ebp - 0xc]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call main
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push edi
push eax
push 0x401505
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, edi
je 0x40170a
call fcn.00401439
push 0x1388
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40172b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov esi, eax
or ecx, 0x80070000
push eax
neg esi
sbb esi, esi
push 0xfdf0
and esi, ecx
call fcn.0040117a
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 4], edi
pop ebx
jmp 0x401745
push esi
push 0xfdf0
call fcn.0040117a
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [ebp - 8], edi
jmp 0x40175e
push esi
push 0xfdf1
call fcn.0040117a
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x401771
push esi
push 0xfdf0
call fcn.0040117a
xor eax, eax
cmp esi, edi
setl al
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x7561925
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x3cbe7166
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4971b6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c6b10]
jne 0x4971c0
repz ret
jmp fcn.0049bc1d

Function at 0x499f00
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c6b10]
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.00494532
and dword [ebp - 0x14], 0
cmp dword [0x4c9cbc], 0
mov dword [ebp - 0x18], eax
jne 0x499fb3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x49a05b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a4030
push ebx
call edi
test eax, eax
je 0x49a05b
mov esi, dword [fcn.00490bb0]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c9cbc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c9cc0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c9cc4], eax
call edi
push eax
call esi
mov dword [0x4c9ccc], eax
test eax, eax
je 0x499fb3
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c9cc8], eax
mov eax, dword [0x4c9cc8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00490bb4]
cmp eax, ecx
je 0x49a00c
cmp dword [0x4c9ccc], ecx
je 0x49a00c
push eax
call esi
push dword [0x4c9ccc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x49a00c
test ebx, ebx
je 0x49a00c
call edi
test eax, eax
je 0x49a003
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x49a003
test byte [ebp - 8], 1
jne 0x49a00c
or dword [ebp + 0x10], 0x200000
jmp 0x49a03f
mov eax, dword [0x4c9cc0]
cmp eax, dword [ebp - 0x18]
je 0x49a03f
push eax
call esi
test eax, eax
je 0x49a03f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x49a03f
mov eax, dword [0x4c9cc4]
cmp eax, dword [ebp - 0x18]
je 0x49a03f
push eax
call esi
test eax, eax
je 0x49a03f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c9cbc]
call esi
test eax, eax
je 0x49a05b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x49a05d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004971b6
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
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
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401806
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
mov eax, ecx
mov dword [ebp - 4], eax
test bl, 3
je 0x40181b
xor eax, eax
jmp 0x401890
push esi
mov esi, dword [ebp + 8]
push edi
xor ecx, ecx
xor edi, edi
test ebx, ebx
je 0x401888
mov al, byte [edi + eax]
cmp al, 0x3d
je 0x401888
test al, al
js 0x401893
movzx eax, al
mov dl, byte [eax + 0x41b6f0]
cmp dl, 0xff
je 0x401893
mov eax, edi
and eax, 3
sub eax, 0
je 0x40187a
dec eax
je 0x40186a
dec eax
je 0x40185a
dec eax
jne 0x401880
or byte [ecx + esi], dl
inc ecx
jmp 0x401880
mov al, dl
shr al, 2
and al, 0xf
or byte [ecx + esi], al
inc ecx
shl dl, 6
jmp 0x40187d
mov al, dl
shr al, 4
and al, 3
or byte [ecx + esi], al
inc ecx
shl dl, 4
jmp 0x40187d
shl dl, 2
mov byte [ecx + esi], dl
mov eax, dword [ebp - 4]
inc edi
cmp edi, ebx
jb 0x401828
mov byte [ecx + esi], 0
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x40188e

Function at 0x401a5a
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x41e340]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 2
pop esi
push dword [ebp + 8]
mov edi, ecx
mov word [ebp - 0x14], si
call dword [sym.imp.WS2_32.dll_htons]
push dword [edi + 8]
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0
push 1
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x401aa4
xor al, al
jmp 0x401b07
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push ebx
push 1
lea ecx, [ebp - 0x15]
push ecx
push 0xffffff7f
mov ebx, 0xffff
push ebx
push eax
mov byte [ebp - 0x15], 1
call esi
push 4
lea eax, [ebp + 0xc]
push eax
push 0x1005
push ebx
push dword [edi]
call esi
push 4
lea eax, [ebp + 0xc]
push eax
push 0x1006
push ebx
push dword [edi]
call esi
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_connect]
pop ebx
test eax, eax
jne 0x401aa0
push 0x41b7b4
mov ecx, edi
call fcn.00401cb7
test al, al
setne al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004042fc
leave
ret 8