joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4135d6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00413278

Function at 0x4135e1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00413407

Function at 0x4139db
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407a70
mov eax, dword [0x428040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041246d
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x413a1d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x413b79
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041d110
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x482170]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00414bab
mov ecx, dword [esi*4 + 0x482170]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x413b72
cmp eax, dword [edi + ecx + 0x24]
jne 0x413b72
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x413b72
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00414bab
add esp, 0x14
test edx, edx
jl 0x413b72
jg 0x413ae8
test eax, eax
jb 0x413b72
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x413b72
jl 0x413b02
cmp dword [ebp - 0x1008], eax
ja 0x413b72
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x413b20
test ebx, ebx
je 0x413b59
cmp ecx, edi
jae 0x413b59
mov al, byte [ecx]
cmp al, 0xd
jne 0x413b3a
lea eax, [edi - 1]
cmp ecx, eax
jae 0x413b46
cmp byte [ecx + 1], 0xa
jne 0x413b46
inc ecx
jmp 0x413b46
movzx eax, al
movsx eax, byte [eax + 0x4282f8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x413b20
cmp edx, ebx
jne 0x413b20
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x413b77
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406cb1
leave
ret
Function at 0x414049
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x482170]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x414089
cmp byte [ebx], 0xa
jne 0x414089
or byte [eax + edi + 0x28], 4
jmp 0x41408e
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41418c
mov al, byte [edx]
cmp al, 0x1a
je 0x41416e
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x4140bd
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x4140e2
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4140ec
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41409f
jmp 0x41418c
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x414169
cmp dword [ebp - 0xc], 0
je 0x414169
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x482170]
test byte [eax + edi + 0x28], 0x48
je 0x414143
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41412e
mov byte [esi], dl
jmp 0x41413f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x482170]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41418c
cmp byte [ebp - 1], 0xa
jne 0x414152
cmp esi, ebx
jne 0x414152
mov byte [esi], 0xa
jmp 0x41418b
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00414bc9
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41418c
mov byte [esi], 0xd
jmp 0x41418b
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x482170]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x414188
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41418c
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x414195
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x482170]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4141d8
cmp word [esi], dx
jne 0x4141d8
or byte [edi + eax + 0x28], 4
jmp 0x4141dd
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x414330
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x414310
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41421f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x414255
cmp eax, edx
jae 0x414261
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4141f7
jmp 0x414330
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41430c
cmp dword [ebp - 0x14], 0
je 0x41430c
mov eax, dword [ebx*4 + 0x482170]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4142e4
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4142ad
mov word [esi], cx
jmp 0x4142e0
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x482170]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x482170]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x482170]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x414330
pop ebx
cmp word [ebp - 4], bx
jne 0x4142f5
cmp esi, dword [ebp + 0xc]
jne 0x4142f5
mov word [esi], bx
jmp 0x41432d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00414bc9
add esp, 0x10
cmp word [ebp - 4], bx
je 0x414330
push 0xd
jmp 0x414329
mov ecx, dword [ebx*4 + 0x482170]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x414327
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x414330
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x403820
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42786e
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xb8
mov eax, dword [0x42e0b4]
xor eax, ebp
mov dword [ebp - 0x34], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0040a040
mov byte [ebp - 4], 1
push 0x42acdc
lea ecx, [ebp - 0x50]
call fcn.004018a0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xc0]
mov dword [eax + 0xb8], fcn.00402c40
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0040a070
mov edx, dword [ebp - 0xc0]
mov ecx, dword [edx + 0xb8]
mov dword [eax], ecx
push 2
lea edx, [ebp - 0xb4]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040a070
mov ecx, dword [eax]
call ecx
add esp, 8
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x70]
call fcn.004018e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb4]
call fcn.00401920
lea ecx, [ebp - 0x70]
call fcn.00409fd0
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 6
mov dword [ebp - 0xb8], 0x2a
push 0x42b9cc
lea ecx, [ebp - 0xb8]
push ecx
call fcn.0040fa31
mov byte [ebp - 0x84], 0x30
mov byte [ebp - 0x83], 0x42
mov byte [ebp - 0x82], 0x56
mov byte [ebp - 0x7c], 0x34
mov byte [ebp - 0x7b], 0x48
mov byte [ebp - 0x7a], 0x45
mov byte [ebp - 0x80], 0x50
mov byte [ebp - 0x7f], 0x51
mov byte [ebp - 0x94], 0x59
mov byte [ebp - 0x93], 0x58
mov byte [ebp - 0x92], 0x37
mov byte [ebp - 0x78], 0x55
mov byte [ebp - 0x77], 0x54
mov byte [ebp - 0x76], 0x41
mov byte [ebp - 0x8c], 0x39
mov byte [ebp - 0x8b], 0x58
mov byte [ebp - 0x8a], 0x34
mov byte [ebp - 0x89], 0x4a
mov byte [ebp - 0x88], 0x38
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 0x90]
push eax
lea ecx, [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0xc0]
call fcn.00406730
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 5
mov eax, 0x4039e1
ret
Function at 0x403ae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42780d
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x284
mov eax, dword [0x42e0b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x264], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
jmp 0x403b3c
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x19
jge 0x403b4d
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
jmp 0x403b33
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1a0], edx
push 0x42b9cc
lea eax, [ebp - 0x1a0]
push eax
call fcn.0040fa31
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x3c]
call fcn.0040a040
mov byte [ebp - 4], 3
push 0x42acec
lea ecx, [ebp - 0x58]
call fcn.004018a0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0xb8], fcn.00402c40
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x3c]
call fcn.0040a070
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx + 0xb8]
mov dword [eax], edx
lea ecx, [ebp - 0x78]
call fcn.00401870
mov byte [ebp - 4], 5
mov byte [ebp - 4], 6
mov dword [ebp - 0x1a4], 0x2a
push 0x42b9cc
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040fa31
push 3
lea ecx, [ebp - 0x1c0]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x3c]
call fcn.0040a070
mov eax, dword [eax]
call eax
add esp, 8
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
mov dword [ebp - 0x26c], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x26c]
push edx
lea ecx, [ebp - 0xb8]
call fcn.004018e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c0]
call fcn.00401920
lea ecx, [ebp - 0xb8]
call fcn.00409fd0
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x88], 0x36
mov byte [ebp - 0x87], 0x50
mov byte [ebp - 0x86], 0x51
mov byte [ebp - 0x85], 0x54
mov byte [ebp - 0x91], 0x33
mov byte [ebp - 0xb9], 0x54
mov byte [ebp - 0x90], 0x57
mov byte [ebp - 0x8f], 0x33
mov byte [ebp - 0x8e], 0x37
mov byte [ebp - 0x8d], 0x45
mov byte [ebp - 0x8c], 0x49
mov byte [ebp - 0x8b], 0x44
mov byte [ebp - 0x8a], 0x57
mov byte [ebp - 0x89], 0x39
mov byte [ebp - 0x9c], 0x4e
mov byte [ebp - 0x9b], 0x50
mov byte [ebp - 0x9a], 0x39
mov byte [ebp - 0x84], 0x45
mov byte [ebp - 0x83], 0x5f
mov byte [ebp - 0x82], 0x4c
mov byte [ebp - 0x81], 0x48
mov byte [ebp - 0x80], 0x4d
mov eax, dword [ebp - 0x264]
mov ecx, dword [eax + 0x90]
push ecx
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x98]
push ecx
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0xb9]
push eax
lea ecx, [ebp - 0x91]
push ecx
lea edx, [ebp - 0x88]
push edx
mov ecx, dword [ebp - 0x264]
call fcn.00406730
mov ecx, dword [ebp - 0x264]
mov dword [ecx + 0xa0], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb8]
call fcn.00401920
mov dword [ebp - 4], 5
mov eax, 0x403d4f
ret
Function at 0x409a60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427943
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xbc
mov eax, dword [0x42e0b4]
xor eax, ebp
mov dword [ebp - 0x34], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xc4], ecx
lea ecx, [ebp - 0x30]
call fcn.0040a040
mov dword [ebp - 4], 0
push 0x42ad6c
lea ecx, [ebp - 0x50]
call fcn.004018a0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0xb8], fcn.00402c40
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0040a070
mov edx, dword [ebp - 0xc4]
mov ecx, dword [edx + 0xb8]
mov dword [eax], ecx
push 0x17
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040a070
mov ecx, dword [eax]
call ecx
add esp, 8
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xcc]
push eax
lea ecx, [ebp - 0x70]
call fcn.004018e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xbc]
call fcn.00401920
lea ecx, [ebp - 0x70]
call fcn.00409fd0
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0xc0], 0x2a
push 0x42b9cc
lea ecx, [ebp - 0xc0]
push ecx
call fcn.0040fa31
mov byte [ebp - 0xa0], 0x4f
mov byte [ebp - 0x9f], 0x4f
mov byte [ebp - 0x8c], 0x54
mov byte [ebp - 0x8b], 0x47
mov byte [ebp - 0x8a], 0x4f
mov byte [ebp - 0x80], 0x4c
mov byte [ebp - 0x7f], 0x32
mov byte [ebp - 0x7e], 0x4f
mov byte [ebp - 0x7d], 0x43
mov byte [ebp - 0x7c], 0x4e
mov byte [ebp - 0x7b], 0x55
mov byte [ebp - 0x78], 0x50
mov byte [ebp - 0x77], 0x30
mov byte [ebp - 0x76], 0x53
mov byte [ebp - 0x75], 0x31
mov byte [ebp - 0x74], 0x54
mov byte [ebp - 0x73], 0x32
mov byte [ebp - 0x72], 0x34
mov byte [ebp - 0x88], 0x33
mov byte [ebp - 0x87], 0x4f
mov byte [ebp - 0x86], 0x4b
mov byte [ebp - 0x85], 0x54
mov byte [ebp - 0x84], 0x4b
mov byte [ebp - 0x83], 0x33
mov byte [ebp - 0x82], 0x30
mov byte [ebp - 0x81], 0x30
mov byte [ebp - 0x9c], 0x5a
mov byte [ebp - 0x9b], 0x38
mov byte [ebp - 0x9a], 0x57
mov byte [ebp - 0x99], 0x51
mov byte [ebp - 0x98], 0x5f
mov byte [ebp - 0x97], 0x35
mov byte [ebp - 0x96], 0x56
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x90]
push eax
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x54]
push eax
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0xc4]
call fcn.00406730
mov dword [ebp - 0x90], eax
push 0x400
mov edx, dword [ebp + 0x18]
push edx
push 0
call dword [ebp - 0x90]
mov dword [ebp - 4], 4
mov eax, 0x409c87
ret

Function at 0x40e54b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e0b4]
jne 0x40e555
repz ret
jmp fcn.0040ff8c
Function at 0x4233ed
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.00410845
and dword [ebp - 4], 0
cmp dword [0x42f7e8], 0
mov ebx, eax
jne 0x42349e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42354f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42354f
push eax
call fcn.004107d3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42f7e8], eax
call esi
push eax
call fcn.004107d3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42f7ec], eax
call esi
push eax
call fcn.004107d3
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42f7f0], eax
call esi
push eax
call fcn.004107d3
pop ecx
mov dword [0x42f7f8], eax
test eax, eax
je 0x42349e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004107d3
pop ecx
mov dword [0x42f7f4], eax
mov eax, dword [0x42f7f4]
cmp eax, ebx
je 0x4234f6
cmp dword [0x42f7f8], ebx
je 0x4234f6
push eax
call fcn.0041084e
push dword [0x42f7f8]
mov esi, eax
call fcn.0041084e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4234f6
test edi, edi
je 0x4234f6
call esi
test eax, eax
je 0x4234ed
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4234ed
test byte [ebp - 0xc], 1
jne 0x4234f6
or dword [ebp + 0x10], 0x200000
jmp 0x42352f
mov eax, dword [0x42f7ec]
cmp eax, ebx
je 0x42352f
push eax
call fcn.0041084e
pop ecx
test eax, eax
je 0x42352f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42352f
mov eax, dword [0x42f7f0]
cmp eax, ebx
je 0x42352f
push eax
call fcn.0041084e
pop ecx
test eax, eax
je 0x42352f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42f7e8]
call fcn.0041084e
pop ecx
test eax, eax
je 0x42354f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x423551
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x2df61ace
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, str.nc
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x272e33d3
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x404350
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor eax, eax
cmp dword [esp + 0x20], 0
je 0x404430
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x404430
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x40439a
mov ecx, 0x1505
xor edi, edi
nop
movzx edx, byte [ebx + edi]
test edx, edx
je 0x4043a1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x404380
jmp 0x4043a3
mov esi, 0x1505
jmp 0x4043a3
mov esi, ecx
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x20]
lea edi, [ebx - 1]
mov edx, ebx
sub edx, 1
mov dword [esp + 8], edx
jb 0x404430
and edi, esi
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4043d4
inc edi
dec ebx
je 0x40442e
mov eax, edi
and eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ebp, dword [edx + eax*4]
cmp ebp, 0xffffffff
je 0x40442e
mov eax, dword [ecx + 8]
cmp dword [eax + ebp*4], esi
jne 0x4043d0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + ebp*4]
mov dword [esp], eax
push eax
call fcn.0040caa0
mov ecx, dword [esp + 0x24]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x4043d0
push dword [esp + 0x28]
push dword [esp + 4]
push dword [esp + 0x2c]
call fcn.0040cac0
mov ecx, dword [esp + 0x2c]
add esp, 0xc
test eax, eax
jne 0x4043d0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + ebp*4]
jmp 0x404430
xor eax, eax
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x404440
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x404541
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404541
push ebx
call fcn.0040caa0
add esp, 4
test eax, eax
je 0x40449a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x4044a1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x404480
jmp 0x4044a3
mov esi, 0x1505
jmp 0x4044a3
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x404541
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4044d4
inc ebp
dec ebx
je 0x40453f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40453f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4044d0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040caa0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4044d0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cac0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4044d0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40453f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x404541
mov edi, dword [eax + 8]
jmp 0x404541
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret