joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4313d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x4313fb
cmp dword [edi + 0x80], 0
jne 0x4313fb
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.0043c2c2
push 5
push ebx
mov esi, dword [eax + 0xc]
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 ecx, edi
push eax
call fcn.00431628
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4341dd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x43421c
call fcn.0043c2c2
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43421c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x434224
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.00430351
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4348cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x43495b
cmp dword [esi + 0x20], 0
je 0x43495b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43495b
cmp dword [ebp + 8], 0
je 0x43495b
xor edi, edi
mov ebx, edi
call fcn.0043c2c2
push 0x46b880
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x43493f
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x43495b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.00443ab5
mov edi, eax
add esp, 0xc
test edi, edi
je 0x434957
mov ecx, esi
call fcn.004346a9
mov eax, edi
jmp 0x43495d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43b321
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x43b374
push esi
push dword [ebp + 8]
call fcn.0043b50a
mov edi, eax
test edi, edi
je 0x43b36f
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x43b36f
mov eax, dword [ebp - 8]
jmp 0x43b386
mov eax, dword [ebp + 0x10]
jmp 0x43b386
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc
Function at 0x43c409
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0043c462
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x43c451
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0043113a
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0043115d
jmp 0x43c45c
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00442449
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x45a247
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4713d4
push 0x4713cc
push str.FlsAlloc
push 0x1e
call fcn.0045a0c8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45a27b
push dword [ebp + 8]
mov ecx, esi
call dword [0x46a694]
call esi
jmp 0x45a281
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x45a2c5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4713e4
push 0x4713dc
push str.FlsGetValue
push 0x20
call fcn.0045a0c8
mov esi, eax
add esp, 0x10
test esi, esi
je 0x45a2fc
push dword [ebp + 8]
mov ecx, esi
call dword [0x46a694]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x45cae2
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x486540]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x45cb2d
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0045cc81
test al, al
jne 0x45cb27
sub edx, 2
cmp edx, edi
jne 0x45cb0d
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x45cb4f
lea eax, [edi + 2]
cmp edx, eax
je 0x45cb4f
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0045ca2e
add esp, 0x10
jmp 0x45cc49
push esi
lea ecx, [ebp - 0x255]
call fcn.0045cc81
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x45cb92
push dword [ebp - 0x25c]
jmp 0x45cb3f
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x45cbcf
cmp word [ebp - 0x226], 0
je 0x45cbf0
cmp word [ebp - 0x226], ax
jne 0x45cbcf
cmp word [ebp - 0x224], 0
je 0x45cbf0
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0045ca2e
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x45cc3c
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x45cba9
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x45cc24
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x45cc49
push 0x45c85e
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004624c0
add esp, 0x10
jmp 0x45cc19
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044b35e
leave
ret

Function at 0x45d687
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x45d698
pop esi
ret
push ebx
push edi
push esi
call fcn.0045d650
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00458d75
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x45d6c0
push ebx
push esi
push edi
call fcn.0044cf60
add esp, 0xc
push 0
call fcn.00458d3b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x45da84
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045d6d5
Function at 0x461aa5
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 + 0x48a5a0]
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 0x461ae5
cmp byte [ebx], 0xa
jne 0x461ae5
or byte [eax + edi + 0x28], 4
jmp 0x461aea
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x461be8
mov al, byte [edx]
cmp al, 0x1a
je 0x461bca
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x461b19
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x461b3e
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x461b48
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 0x461afb
jmp 0x461be8
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 0x461bc5
cmp dword [ebp - 0xc], 0
je 0x461bc5
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x48a5a0]
test byte [eax + edi + 0x28], 0x48
je 0x461b9f
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x461b8a
mov byte [esi], dl
jmp 0x461b9b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x48a5a0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x461be8
cmp byte [ebp - 1], 0xa
jne 0x461bae
cmp esi, ebx
jne 0x461bae
mov byte [esi], 0xa
jmp 0x461be7
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00461a15
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x461be8
mov byte [esi], 0xd
jmp 0x461be7
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x48a5a0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x461be4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x461be8
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x461bf1
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 + 0x48a5a0]
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 0x461c34
cmp word [esi], dx
jne 0x461c34
or byte [edi + eax + 0x28], 4
jmp 0x461c39
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 0x461d8c
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 0x461d6c
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x461c7b
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x461cb1
cmp eax, edx
jae 0x461cbd
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 0x461c53
jmp 0x461d8c
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 0x461d68
cmp dword [ebp - 0x14], 0
je 0x461d68
mov eax, dword [ebx*4 + 0x48a5a0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x461d40
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x461d09
mov word [esi], cx
jmp 0x461d3c
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x48a5a0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x48a5a0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x48a5a0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x461d8c
pop ebx
cmp word [ebp - 4], bx
jne 0x461d51
cmp esi, dword [ebp + 0xc]
jne 0x461d51
mov word [esi], bx
jmp 0x461d89
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00461a15
add esp, 0x10
cmp word [ebp - 4], bx
je 0x461d8c
push 0xd
jmp 0x461d85
mov ecx, dword [ebx*4 + 0x48a5a0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x461d83
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x461d8c
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 0x4633e5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00463361
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x46355d
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x46355d
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x46350c
jg 0x46343e
test eax, eax
je 0x463502
push 1
push 0x1000
call fcn.00459f38
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x463464
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x4634f9
push 0x8000
push ebx
call fcn.00457e92
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x463490
jg 0x46348b
cmp ecx, 0x1000
jb 0x463490
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0045b612
add esp, 0x10
cmp eax, 0xffffffff
je 0x4634d5
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x46348b
jl 0x4634bc
test ecx, ecx
jne 0x46347d
push dword [ebp - 0xc]
push ebx
call fcn.00457e92
push esi
call fcn.00458d3b
add esp, 0xc
xor edi, edi
jmp 0x46356e
cmp byte [edi + 0x24], 0
je 0x4634ec
cmp dword [edi + 0x20], 5
jne 0x4634ec
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4634f7
mov edi, dword [edi + 0x18]
jmp 0x4634f9
xor edi, edi
push esi
call fcn.00458d3b
pop ecx
jmp 0x46356e
test ecx, ecx
jg 0x4634ce
jl 0x46350c
test eax, eax
jae 0x4634ce
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00461a15
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x46352f
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4634ce
jmp 0x463566
push ebx
call fcn.0045de59
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4634ce
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x46356e
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x46356b
mov edi, dword [edi + 0x18]
jmp 0x46356e
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00461a15
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001001
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp + 0x84], eax
mov eax, dword [ebp + 0x90]
push ebx
push esi
push edi
mov dword [ebp - 0x80], eax
xor edi, edi
xor eax, eax
mov byte [ebp + eax - 0x7c], al
inc eax
cmp eax, 0x100
jl 0x1000102c
xor esi, esi
mov eax, esi
cdq
idiv dword [ebp + 0x94]
mov eax, dword [ebp - 0x80]
lea ecx, [ebp + esi - 0x7c]
movzx eax, byte [edx + eax]
movzx edx, byte [ecx]
add eax, edi
add edx, eax
mov edi, edx
and edi, 0x800000ff
jns 0x10001067
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [ecx]
lea eax, [ebp + edi - 0x7c]
mov bl, byte [eax]
inc esi
cmp esi, 0x100
mov byte [ecx], bl
mov byte [eax], dl
jl 0x1000103a
xor esi, esi
xor edi, edi
mov dword [ebp - 0x80], esi
inc edi
and edi, 0x800000ff
jns 0x10001094
dec edi
or edi, 0xffffff00
inc edi
lea eax, [ebp + edi - 0x7c]
movzx ecx, byte [eax]
add ecx, dword [ebp - 0x80]
and ecx, 0x800000ff
jns 0x100010ae
dec ecx
or ecx, 0xffffff00
inc ecx
mov dl, byte [eax]
mov dword [ebp - 0x80], ecx
lea ecx, [ebp + ecx - 0x7c]
mov bl, byte [ecx]
mov byte [eax], bl
mov byte [ecx], dl
movzx eax, byte [eax]
movzx ecx, dl
add ecx, eax
and ecx, 0x800000ff
jns 0x100010d5
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [ebp + ecx - 0x7c]
xor byte [esi + 0x1000ac60], al
inc esi
cmp esi, 0x1530
jl 0x10001083
mov ecx, dword [ebp + 0x84]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000122d
add ebp, 0x88
leave
ret

Function at 0x10001100
Capabilities:
Accept command line arguments

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, 0x10009280
push esi
push eax
call fcn.10001360
pop ecx
pop ecx
test eax, eax
je 0x10001173
mov ecx, esi
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x1000111e
sub ecx, esi
add eax, ecx
mov cl, byte [eax]
cmp cl, 0x20
je 0x10001135
cmp cl, 9
jne 0x10001138
inc eax
jmp 0x10001129
push ebx
push edi
mov ebx, eax
jmp 0x10001148
cmp cl, 9
je 0x1000114f
test cl, cl
je 0x1000114f
inc eax
mov cl, byte [eax]
cmp cl, 0x20
jne 0x1000113e
sub eax, ebx
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.1000128b
push esi
mov edi, eax
push ebx
push edi
call fcn.100013f0
add esp, 0x10
mov byte [edi + esi], 0
mov eax, edi
pop edi
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x10001177
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x10009280
push eax
call fcn.10001360
pop ecx
pop ecx
test eax, eax
je 0x10001212
call fcn.10001100
test eax, eax
je 0x10001210
push ebx
push esi
mov ecx, eax
push edi
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x100011a4
sub ecx, esi
push ecx
push eax
call fcn.10001001
pop ecx
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x100011cc
xor esi, esi
jmp 0x100011de
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100011c8
mov esi, dword [ecx + 0x28]
add esi, eax
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 4
mov edi, 0x1530
push edi
push esi
call ebx
push edi
push 0x1000ac60
push esi
call fcn.10005c90
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push edi
push esi
call ebx
pop edi
pop esi
pop ebx
leave
ret
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1000122d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x10001237
repz ret
jmp fcn.10001762
Function at 0x10004a76
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.10002e40
and dword [ebp - 4], 0
cmp dword [0x1000cadc], 0
mov ebx, eax
jne 0x10004b27
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10004bd8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10004bd8
push eax
call fcn.10002dce
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000cadc], eax
call esi
push eax
call fcn.10002dce
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000cae0], eax
call esi
push eax
call fcn.10002dce
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1000cae4], eax
call esi
push eax
call fcn.10002dce
pop ecx
mov dword [0x1000caec], eax
test eax, eax
je 0x10004b27
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10002dce
pop ecx
mov dword [0x1000cae8], eax
mov eax, dword [0x1000cae8]
cmp eax, ebx
je 0x10004b7f
cmp dword [0x1000caec], ebx
je 0x10004b7f
push eax
call fcn.10002e49
push dword [0x1000caec]
mov esi, eax
call fcn.10002e49
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10004b7f
test edi, edi
je 0x10004b7f
call esi
test eax, eax
je 0x10004b76
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10004b76
test byte [ebp - 0xc], 1
jne 0x10004b7f
or dword [ebp + 0x10], 0x200000
jmp 0x10004bb8
mov eax, dword [0x1000cae0]
cmp eax, ebx
je 0x10004bb8
push eax
call fcn.10002e49
pop ecx
test eax, eax
je 0x10004bb8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10004bb8
mov eax, dword [0x1000cae4]
cmp eax, ebx
je 0x10004bb8
push eax
call fcn.10002e49
pop ecx
test eax, eax
je 0x10004bb8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000cadc]
call fcn.10002e49
pop ecx
test eax, eax
je 0x10004bd8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10004bda
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x10
push ebx
push esi
push edi
push edx
pop edi
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
push ecx
pop esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
or ebx, ebx
je 0x4016d4
push esi
pop edi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
push edi
pop edx
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
push esi
pop ebx
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
or ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
push eax
pop esi
mov edx, esi
push ebx
pop ecx
call section..text
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3fff6bf7
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x192d683e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219