joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408a10
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x431f58
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x43e524]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
cmp byte [0x44076c], 0
jne 0x408a4f
mov byte [0x44076c], 1
call fcn.00408940
mov byte [0x44076d], al
cmp byte [0x44076d], 0
je 0x408add
mov eax, dword [esp + 0x58]
push eax
mov edi, 0x436af0
lea esi, [esp + 0x2c]
call fcn.00403650
mov ecx, dword [esp + 0x58]
push ecx
push eax
lea edi, [esp + 0x18]
mov dword [esp + 0x58], 0
call fcn.00403700
mov esi, 0x10
add esp, 0xc
cmp dword [eax + 0x18], esi
jb 0x408a98
mov eax, dword [eax + 4]
jmp 0x408a9b
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x24], esi
jb 0x408ab5
mov edx, dword [esp + 0x10]
push edx
call fcn.0041dbb6
add esp, 4
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
cmp dword [esp + 0x40], esi
jb 0x408add
mov eax, dword [esp + 0x2c]
push eax
call fcn.0041dbb6
add esp, 4
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x44
ret

Function at 0x409070
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x74
mov eax, dword [0x43e524]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
push ebx
push ebp
mov ebp, dword [esp + 0x84]
xor ebx, ebx
cmp eax, ebx
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
jle 0x4090d2
push eax
push edx
lea ecx, [eax*8]
xor edx, edx
lea esi, [esp + 0x18]
call fcn.00408430
add esp, 8
xor eax, eax
lea edi, [esp + 0x6c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], bl
mov dword [esp + 0x6d], eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov word [esp + 0x79], ax
mov byte [esp + 0x7b], al
call fcn.004084f0
mov eax, edi
push eax
mov ebx, ebp
call fcn.00409120
mov ecx, dword [esp + 0x80]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.0041d9bb
add esp, 0x74
ret
Function at 0x4097a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x432450
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x43e524]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x43e524]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
lea eax, [esp + 0xc]
mov dword [esp + 0x54], ebx
push eax
mov dword [esp + 0x10], ebx
call fcn.0041fb07
mov ecx, dword [esp + 0x10]
mov eax, ecx
add esp, 4
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x409800
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.00401520
lea ecx, [esp + 0xc]
or ebx, 0xffffffff
push ecx
lea eax, [esp + 0x30]
mov dword [esp + 0x10], ebx
call fcn.00409360
mov edx, dword [esp + 0x10]
add esp, 4
push edx
xor ecx, ecx
lea esi, [esp + 0x14]
lea edx, [esp + 0x30]
call fcn.0040a0b0
push ebx
push 0
push eax
mov ecx, edi
mov byte [esp + 0x60], 1
call fcn.004013f0
mov esi, 0x10
cmp dword [esp + 0x28], esi
jb 0x409868
mov eax, dword [esp + 0x14]
push eax
call fcn.0041dbb6
add esp, 4
cmp dword [esp + 0x44], esi
jb 0x40987b
mov ecx, dword [esp + 0x30]
push ecx
call fcn.0041dbb6
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0041d9bb
add esp, 0x4c
ret
Function at 0x40a310
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x431ea0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43e524]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
push 0x12
xor ebp, ebp
push str.HKEY_LOCAL_MACHINE
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], ebp
mov byte [esp + 0x30], 0
call fcn.00401520
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x24]
mov dword [esp + 0x48], ebp
call fcn.00406960
test al, al
sete bl
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x40a38c
mov eax, dword [esp + 0x28]
push eax
call fcn.0041dbb6
add esp, 4
test bl, bl
jne 0x40a4b2
mov edi, 0x104
push edi
mov dword [esp + 0x18], ebp
call fcn.0041d733
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
je 0x40a4b2
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebp
mov dword [esp + 0x54], 1
call fcn.004030f0
push eax
push 0x80000002
call ebx
test eax, eax
jne 0x40a4a1
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [esp + 0x60]
push ebp
push ebp
mov dword [esp + 0x2c], edi
call fcn.004030f0
mov edx, dword [esp + 0x28]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebp
je 0x40a46c
cmp esi, 0xea
jne 0x40a4a1
mov eax, dword [esp + 0x1c]
cmp edi, eax
jae 0x40a4a1
cmp eax, ebp
jbe 0x40a4a1
mov edi, eax
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40a455
push eax
call fcn.0041dfbd
add esp, 4
mov dword [esp + 0x14], ebp
push edi
call fcn.0041d733
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
jne 0x40a3c0
jmp 0x40a4b2
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x60]
call fcn.004030c0
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40a48b
push eax
call fcn.0041dfbd
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x40a4b2
push eax
call fcn.0041dfbd
add esp, 4
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x40a4f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x40
push ebx
push esi
push edi
push 0x38
mov edi, eax
lea eax, [esp + 0x18]
push 0
push eax
mov esi, ecx
mov ebx, edx
call fcn.00420d30
add esp, 0xc
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x40
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [esp + 0x18], eax
mov eax, 0x10
cmp dword [esi + 0x18], eax
jb 0x40a53a
mov ecx, dword [esi + 4]
mov dword [esp + 0x20], ecx
jmp 0x40a541
add esi, 4
mov dword [esp + 0x20], esi
cmp dword [edi + 0x18], eax
jb 0x40a54f
mov edx, dword [edi + 4]
mov dword [esp + 0x24], edx
jmp 0x40a556
add edi, 4
mov dword [esp + 0x24], edi
cmp dword [ebx + 0x18], eax
jb 0x40a564
mov eax, dword [ebx + 4]
mov dword [esp + 0x28], eax
jmp 0x40a56b
add ebx, 4
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
setne al
test al, al
je 0x40a5f2
mov eax, dword [esp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x64
push eax
call esi
cmp eax, 0x102
jne 0x40a5c4
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40a5b0
push 0xa
call edi
mov ecx, dword [esp + 0x48]
push 0x64
push ecx
call esi
cmp eax, 0x102
je 0x40a5b0
mov eax, dword [esp + 0x48]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [esp + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0xc], 0
jne 0x40a5f2
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret

Function at 0x40a770
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
mov dword [eax + 0x30], edx
mov dword [eax + 0x4c], edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x2c], 0x20
mov dword [eax + 0x54], 1
mov dword [eax + 0x48], 4
mov dword [eax + 0x58], edx
lea esi, [eax + 0x70]
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x40a797
pop esi
ret

Function at 0x40e720
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x40e730
pop edi
pop ebx
ret
Function at 0x40e760
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x40e770
pop esi
pop ebp
pop ebx
ret

Function at 0x40e8d0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
lea edx, [eax + 1]
test edi, edi
je 0x40e912
push ebx
push ebp
mov ebx, dword [esp + 0x14]
movzx ebx, word [ebx + edx*2]
mov ecx, esi
and ecx, 1
mov ebp, ecx
neg ebp
sar ebp, 4
and ebp, 0x7f
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x18]
add eax, dword [ebp + ebx*4]
add edx, edx
shr esi, 1
or edx, ecx
sub edi, 1
jne 0x40e8e1
pop ebp
pop ebx
pop edi
pop esi
ret
Function at 0x40ea60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
movzx eax, word [ebx]
mov ecx, eax
shr ecx, 4
mov edx, dword [esi + ecx*4]
movzx ecx, word [ebx + 2]
mov dword [esp], edx
mov edx, ecx
xor eax, 0x7f0
xor ecx, 0x7f0
shr edx, 4
mov edx, dword [esi + edx*4]
shr eax, 4
mov eax, dword [esi + eax*4]
shr ecx, 4
mov ecx, dword [esi + ecx*4]
add edx, eax
add ecx, eax
push ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
xor edx, edx
push edi
cmp edx, dword [esp + 0x1c]
jae 0x40ebd3
mov eax, edx
or eax, 8
xor edi, edi
cmp eax, 1
je 0x40eaea
lea ebx, [ebx]
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 4]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x40eac0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x20]
add edi, eax
mov dword [ecx + edx*4], edi
inc edx
cmp edx, 8
jb 0x40eaa4
cmp edx, 0x10
jae 0x40eb6d
lea eax, [edx - 8]
mov dword [esp + 8], eax
lea esp, [esp]
cmp edx, dword [esp + 0x1c]
jae 0x40ebd3
or eax, 8
xor edi, edi
cmp eax, 1
je 0x40eb51
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 0x104]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x40eb24
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 8]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [esp + 8], eax
cmp edx, 0x10
jb 0x40eb10
cmp edx, dword [esp + 0x1c]
jae 0x40ebd3
lea eax, [edx - 0x10]
mov dword [esp + 8], eax
lea ebx, [ebx]
or eax, 0x100
xor edi, edi
cmp eax, 1
je 0x40ebb6
lea esp, [esp]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebx + ecx*2 + 0x204]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x40eb90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 8]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [esp + 8], eax
cmp edx, dword [esp + 0x1c]
jb 0x40eb80
pop edi
pop ebp
add esp, 0xc
ret
Function at 0x4106c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
lea eax, [edi + 0x32550]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jmp 0x4106e0
xor edx, edx
lea ecx, [edx + 1]
mov dword [esp + 0xc], 4
lea ecx, [ecx]
movzx ebx, word [edi + ecx*2 + 0x32bf4]
mov eax, esi
and eax, 1
mov ebp, eax
neg ebp
sar ebp, 4
shr ebx, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [edi + ebx*4 + 0x30ea0]
add ecx, ecx
shr esi, 1
or ecx, eax
sub dword [esp + 0xc], 1
jne 0x4106f0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
inc esi
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
cmp esi, 0x10
jb 0x4106e0
pop esi
pop ebp
mov dword [edi + 0x32590], 0
pop ebx
add esp, 0xc
ret

Function at 0x410750
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x210
push ebx
push ebp
push edi
mov edi, 4
lea ebp, [esi + 0x30ea0]
movzx ebx, byte [esi + edi + 0x306a0]
mov ecx, ebx
mov edx, ebx
and edx, 1
shr ecx, 1
or edx, 2
dec ecx
shl edx, cl
mov eax, edi
push ebp
sub eax, edx
sub edx, ebx
lea edx, [esi + edx*2 + 0x32b0e]
push edx
call fcn.0040e8d0
mov dword [esp + edi*4 + 0x24], eax
inc edi
add esp, 8
cmp edi, 0x80
jb 0x410764
lea ebp, [esp + 0x1c]
sub ebp, esi
lea eax, [esi + 0x32910]
lea ecx, [esi + 0x31d58]
sub ebp, 0x31d50
lea edi, [esi + 0x31950]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 4
jmp 0x4107d7
mov ecx, dword [esp + 0xc]
xor ebx, ebx
cmp dword [esi + 0x32594], ebx
jbe 0x41082f
mov eax, ebx
or eax, 0x40
xor edx, edx
cmp eax, 1
je 0x410823
lea ecx, [ecx]
mov ebp, dword [esp + 0x10]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebp + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edx, dword [esi + ebp*4 + 0x30ea0]
mov eax, ecx
cmp eax, 1
jne 0x4107f0
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [edi + ebx*4], edx
inc ebx
cmp ebx, dword [esi + 0x32594]
jb 0x4107e1
mov eax, 0xe
cmp dword [esi + 0x32594], eax
jbe 0x410856
lea esp, [esp]
mov edx, eax
shr edx, 1
sub edx, 5
shl edx, 4
add dword [edi + eax*4], edx
inc eax
cmp eax, dword [esi + 0x32594]
jb 0x410840
mov eax, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi + 4]
mov dword [ecx - 4], edx
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov edx, dword [edi + 0xc]
mov dword [ecx + 4], edx
mov eax, 4
add ecx, 8
jmp 0x410880
movzx edx, byte [esi + eax + 0x306a0]
mov edx, dword [edi + edx*4]
add edx, dword [ecx + ebp]
inc eax
mov dword [ecx], edx
add ecx, 4
cmp eax, 0x80
jb 0x410880
sub dword [esp + 0x10], 0xffffff80
add dword [esp + 0xc], 0x200
sub ebp, 0x200
add edi, 0x100
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], ebp
jne 0x4107d3
pop edi
pop ebp
mov dword [esi + 0x3bcf8], 0
pop ebx
add esp, 0x210
ret

Function at 0x411b00
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push ecx
push edx
push 0
push 0
call fcn.0041fe8d
mov ecx, dword [esp + 0x20]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x411b23
xor eax, eax
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x411b32
mov eax, 1
pop ecx
ret
Function at 0x4184e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov ebx, eax
lea eax, [esp + 0x50]
push 0
push eax
call fcn.00418700
lea ecx, [esp + 0x58]
push 0
push ecx
mov dword [esp + 0x38], eax
call fcn.00418700
lea edx, [esp + 0x60]
push 0
push edx
mov edi, eax
call fcn.00418700
mov ebp, eax
lea eax, [esp + 0x68]
push 0
push eax
call fcn.00418700
lea ecx, [esp + 0x70]
push 0
push ecx
mov dword [esp + 0x4c], eax
call fcn.00418700
mov esi, dword [esp + 0x78]
mov dword [esp + 0x58], esi
add esi, edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x60], esi
add esi, ebp
mov edi, esi
mov dword [esp + 0x5c], esi
add esi, dword [esp + 0x4c]
mov edx, ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x78], esi
add esi, eax
add esp, 0x28
sub edx, esi
mov dword [esp + 0x10], edi
js 0x4186ed
mov eax, dword [esp + 0x44]
push ebx
mov ebx, dword [esp + 0x4c]
push esi
push ebx
push eax
call fcn.004187c0
add esp, 0x10
test eax, eax
je 0x4186ed
xor ebp, ebp
cmp dword [esp + 0x28], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
jle 0x418695
lea ebx, [ebx]
mov ecx, dword [esp + 0x14]
sub ecx, edi
cmp ecx, 1
jl 0x4186ed
mov ebx, dword [esp + 0x34]
lea edx, [esp + 0x38]
push 0
push edx
call fcn.00418700
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x44], eax
add eax, ebp
mov dword [esp + 0x20], eax
lea eax, [esp + 0x38]
push 0
push eax
call fcn.00418700
movzx edi, byte [edi]
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x20]
push 1
push ecx
mov dword [esp + 0x34], eax
shr edi, 7
call fcn.00418700
add esp, 0x18
test edi, edi
je 0x4185fc
neg eax
cmp dword [esp + 0x3c], 0
mov edx, dword [esp + 0x20]
lea ebx, [eax + edx]
jl 0x4186ed
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
add eax, edi
sub edx, ecx
cmp eax, edx
mov dword [esp + 0x3c], eax
jg 0x4186ed
cmp edi, ebp
jle 0x41865d
mov eax, dword [esp + 0x50]
mov edx, esi
sub edi, ebp
sub edx, eax
cmp edx, edi
jl 0x4186ed
push edi
push eax
add ebp, ecx
push ebp
call fcn.00422ef0
mov ecx, dword [esp + 0x50]
add esp, 0xc
add dword [esp + 0x50], edi
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
add edi, ecx
add eax, ebx
push edi
call fcn.00418750
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x40]
mov edi, dword [esp + 0x14]
inc eax
add esp, 4
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
jl 0x4185a0
mov ebx, dword [esp + 0x48]
sub ebx, dword [esp + 0x44]
cmp ebp, ebx
jge 0x4186c0
mov eax, dword [esp + 0x50]
mov ecx, esi
sub ebx, ebp
sub ecx, eax
cmp ecx, ebx
jl 0x4186ed
mov edx, dword [esp + 0x44]
push ebx
push eax
add ebp, edx
push ebp
call fcn.00422ef0
add esp, 0xc
add dword [esp + 0x50], ebx
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x30], eax
jne 0x4186ed
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x38], ecx
jne 0x4186ed
cmp edi, dword [esp + 0x14]
jne 0x4186ed
cmp dword [esp + 0x50], esi
jne 0x4186ed
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret
Function at 0x41bff0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 8]
call edx
test al, al
jne 0x41c000
pop esi
ret
mov esi, dword [esi + 4]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
ja 0x41c026
call fcn.0041de6c
mov esi, dword [esi + 0xc]
add esi, 0x38
cmp dword [esi + 0x18], 0x10
jb 0x41c037
mov esi, dword [esi + 4]
jmp 0x41c03a
add esi, 4
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov al, 1
pop esi
ret

Function at 0x41d9bb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e524]
jne 0x41d9c5
repz ret
jmp fcn.00423fd2

Function at 0x42d0c2
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.00424379
and dword [ebp - 4], 0
cmp dword [0x440680], 0
mov ebx, eax
jne 0x42d173
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42d224
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x436588
push edi
call esi
test eax, eax
je 0x42d224
push eax
call fcn.00424307
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x440680], eax
call esi
push eax
call fcn.00424307
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x440684], eax
call esi
push eax
call fcn.00424307
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x440688], eax
call esi
push eax
call fcn.00424307
pop ecx
mov dword [0x440690], eax
test eax, eax
je 0x42d173
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00424307
pop ecx
mov dword [0x44068c], eax
mov eax, dword [0x44068c]
cmp eax, ebx
je 0x42d1cb
cmp dword [0x440690], ebx
je 0x42d1cb
push eax
call fcn.00424382
push dword [0x440690]
mov esi, eax
call fcn.00424382
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42d1cb
test edi, edi
je 0x42d1cb
call esi
test eax, eax
je 0x42d1c2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42d1c2
test byte [ebp - 0xc], 1
jne 0x42d1cb
or dword [ebp + 0x10], 0x200000
jmp 0x42d204
mov eax, dword [0x440684]
cmp eax, ebx
je 0x42d204
push eax
call fcn.00424382
pop ecx
test eax, eax
je 0x42d204
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42d204
mov eax, dword [0x440688]
cmp eax, ebx
je 0x42d204
push eax
call fcn.00424382
pop ecx
test eax, eax
je 0x42d204
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x440680]
call fcn.00424382
pop ecx
test eax, eax
je 0x42d224
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42d226
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
jmp 0x431219