joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002c5ec
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002c647
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002c628
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1002c645
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10017f3a
mov dword [eax], 3
jmp 0x1002c61d
jmp 0x1002c667
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1002c667
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov esp, ebp
pop ebp
ret

Function at 0x1002f16d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002f1b3
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x1002f1d1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x1002f1d1
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esp, ebp
pop ebp
ret
Function at 0x1002fba8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002fbcc
xor eax, eax
jmp 0x1002fd36
lea eax, [ebp + 8]
push eax
push 1
push 0x3718
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1002f16d
add esp, 0x14
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002fbf9
xor eax, eax
jmp 0x1002fd36
push 0x515f
lea eax, [ebp - 8]
push eax
push 0x7d06
lea eax, [ebp - 0xc]
push eax
push 1
push 0x1b09
call fcn.1002f1d5
add esp, 0x18
cmp dword [ebp - 0xc], 0
jne 0x1002fc27
xor eax, eax
jmp 0x1002fd36
push 0x7967
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 0x2ac0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.1002f8fd
add esp, 0x20
push 1
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x6f68
push 0x1d18
call fcn.1002f9bf
add esp, 0x18
push 0x1681
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
call fcn.1002fa65
add esp, 0x14
cmp dword [ebp - 0x14], 0
je 0x1002fcb6
lea eax, [ebp - 0x14]
push eax
push 0x39c0
lea eax, [ebp - 4]
push eax
push 0x3a89
push 0xcbd
push 0x2848
push 1
call fcn.1002fac6
add esp, 0x1c
push dword [ebp - 4]
call fcn.1002e7c5
pop ecx
test eax, eax
jne 0x1002fcc7
xor eax, eax
jmp 0x1002fd36
push dword [ebp - 4]
push 0
call fcn.100294db
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002fd1e
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002fcf2
xor eax, eax
jmp 0x1002fd36
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002fd0b
xor eax, eax
jmp 0x1002fd36
push 0x2865
lea eax, [ebp - 4]
push eax
push 1
call fcn.1002fb66
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002fd2f
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002fd33
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10043610
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10043625
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x10043637
push 0x225b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
pop ebp
ret
Function at 0x10043cae
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10043ce0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x10043cdb
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x10043e54
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x4c]
mov dword [eax], 1
push 0
mov ecx, dword [ebp - 4]
call fcn.10017f3a
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017f3a
cmp dword [eax], 1
jle 0x10043d53
mov dword [ebp - 0x14], 1
jmp 0x10043d57
and dword [ebp - 0x14], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.10017f3a
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017f3a
mov esi, eax
push 0
mov ecx, dword [ebp - 4]
call fcn.10017f3a
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017f3a
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
cmp dword [esi], ecx
je 0x10043d99
mov eax, 0x18c9a01c
test eax, eax
jne 0x10043d99
and dword [ebp - 0x18], 0
jmp 0x10043da0
mov dword [ebp - 0x18], 1
push 0
mov ecx, dword [ebp - 4]
call fcn.10017f3a
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017f3a
mov ecx, dword [ebp - 0x18]
dec ecx
mov edx, 0xcd409884
sub edx, ecx
cmp dword [eax], edx
je 0x10043dcc
mov dword [ebp - 0xc], 1
jmp 0x10043dd0
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [ebp - 0xc], 0xd022
jge 0x10043dea
mov dword [ebp - 0x1c], 1
jmp 0x10043dee
and dword [ebp - 0x1c], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.10017f3a
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017f3a
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax]
jne 0x10043e12
mov dword [ebp - 0x20], 1
jmp 0x10043e16
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jle 0x10043e2e
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x10043e2e
and dword [ebp - 0x24], 0
jmp 0x10043e35
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jle 0x10043e48
mov dword [ebp - 0x28], 1
jmp 0x10043e4c
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10044712
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10044740
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1004473e
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1004476d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x1007a842
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008538c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1006a9fa
mov dword [ebp - 0x14], eax
cmp dword [0x10671bc0], esi
jne 0x1007a935
push 0x800
push esi
push 0x100091bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1007a8c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1007aa15
push esi
push esi
push 0x100091bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1007aa15
push 0x100091d4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1007aa15
push eax
call ebx
push 0x100091e0
push edi
mov dword [0x10671bc0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100091f0
push edi
mov dword [0x10671bc4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10009204
push edi
mov dword [0x10671bc8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10671bd0], eax
test eax, eax
je 0x1007a932
push 0x10009220
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10671bcc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1007a95a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1007a94d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1007a96f
push 4
pop eax
jmp 0x1007aa17
cmp dword [ebp - 0x14], esi
je 0x1007a96f
push dword [0x10671bc0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1007a954
mov eax, dword [0x10671bcc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1007a9cd
cmp dword [0x10671bd0], edi
je 0x1007a9cd
push eax
call ebx
push dword [0x10671bd0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1007a9cd
test eax, eax
je 0x1007a9cd
call ecx
test eax, eax
je 0x1007a9c2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1007a9c2
test byte [ebp - 8], 1
jne 0x1007a9cd
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1007a9fd
mov eax, dword [0x10671bc4]
cmp eax, edi
je 0x1007a9fa
push eax
call ebx
test eax, eax
je 0x1007a9fa
call eax
mov esi, eax
test esi, esi
je 0x1007a9fa
mov eax, dword [0x10671bc8]
cmp eax, edi
je 0x1007a9fa
push eax
call ebx
test eax, eax
je 0x1007a9fa
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10671bc0]
call ebx
test eax, eax
je 0x1007aa15
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1007aa17
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100667c5
mov esp, ebp
pop ebp
ret
Function at 0x6110a7
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
push edi
push esi
and dword [ebp - 0x28], 0
push ebx
push ebp
mov dword [ebp - 0x18], 0xffffffff
lea edx, [ebp - 0x18]
push edx
push edx
push edx
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_FtpCommandA]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub edi, eax
add edi, 0x2f8c
mov dword [ebp - 0x18], edi
sub esi, esi
mov dword [ebp - 4], esi
push esi
popfd
mov ecx, section..rdata
neg ecx
sub esi, ecx
add esi, dword [ebp - 0x18]
mov dword [ebp - 0xc], esi
mov ebx, ebp
mov ecx, 0x1a8
neg ecx
add ebx, ecx
mov dword [ebp - 0x10], ebx
xor ecx, ecx
xor ecx, section..data
mov dword [ebp - 0x28], ecx
mov ebx, dword [ebp - 0x10]
sub ebx, 0xfffffff0
mov dword [ebp - 0x1c], ebx
sub dword [ebp - 4], 0x30
not dword [ebp - 4]
add dword [ebp - 4], 1
push dword [ebp - 0x28]
push dword [ebp - 4]
push dword [ebp - 0xc]
lea esi, [ebp - 0x1a8]
push esi
call section..text
mov edi, dword [ebp - 0x10]
mov edi, dword [edi + 4]
mov edx, dword [ebp - 0x10]
add edi, dword [edx]
mov dword [ebp - 0x24], edi
mov edi, 0x40
push edi
and dword [ebp - 0x18], 0
push 0x3000
push dword [ebp - 0x24]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 0x400000
and dword [ebp - 0x1ac], 0
jmp 0x611190
mov edi, dword [ebp - 0x1ac]
inc edi
mov dword [ebp - 0x1ac], edi
mov ecx, dword [ebp - 0x1c]
add ecx, 8
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1ac]
mov eax, dword [esi + 8]
cmp edx, eax
jae 0x6111cc
push dword [ebp - 0x28]
mov ebx, dword [ebp - 0x1c]
push dword [ebx + 4]
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add esi, dword [edi]
push esi
mov ebx, dword [ebp - 8]
add ebx, dword [ebp - 0x18]
push ebx
call section..text
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
add edi, dword [ecx + 4]
mov dword [ebp - 0x18], edi
jmp 0x61117a
mov edx, dword [ebp - 0x20]
push edx
mov esi, dword [ebp - 8]
mov edi, 0x1370
add esi, edi
mov dword [ebp - 0x14], esi
mov edx, dword [ebp - 0x19c]
push edx
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
add edi, dword [ecx + 4]
push edi
mov edi, dword [ebp - 0x14]
push edi
push 0x1180
push dword [ebp - 0x14]
ret 4
Function at 0x184a268
Capabilities:
Decompress data using aplib

Disassembly:
call 0x184a3b8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x184a28e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x184a27a
add dl, dl
jne 0x184a299
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x184a2ec
xor eax, eax
add dl, dl
jne 0x184a2a6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x184a38d
add dl, dl
jne 0x184a2b5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x184a2c0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x184a2cb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x184a2d6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x184a2e2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x184a285
mov eax, 1
add dl, dl
jne 0x184a2fa
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x184a305
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x184a2f1
sub eax, ebx
mov ebx, 1
jne 0x184a338
mov ecx, 1
add dl, dl
jne 0x184a31e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x184a329
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x184a315
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x184a285
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x184a34f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x184a35a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x184a346
cmp eax, 0x7d00
jae 0x184a37d
cmp eax, 0x500
jb 0x184a378
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x184a285
cmp eax, 0x7f
ja 0x184a380
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x184a285
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x184a3ae
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x184a285
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x1021d1fc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102381c0]
jne 0x1021d206
repz ret
jmp fcn.1021d4ad

Function at 0x1021d892
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [0x10238194], 0x20c0
mov dword [ebp - 0x10], eax
call fcn.1021e195
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1021d8d8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x10238198], 0x21ab
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x10238194], 0x10d
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
sete bl
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x2d], bl
xor eax, eax
mov cl, byte [ebp - 0x2d]
test cl, 1
mov dword [ebp - 0x34], eax
jne 0x1021da21
jmp 0x1021d951
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
jmp 0x1021d973
mov al, byte [ebp - 0x4d]
test al, 1
jne 0x1021d9f4
jmp 0x1021d9ca
mov eax, dword [ebp - 0x24]
add eax, 0x24
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x54], ecx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x54]
add ecx, dword [edx]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jmp 0x1021d928
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x59], bh
mov byte [ebp - 0x4d], cl
je 0x1021d944
mov al, byte [ebp - 0x59]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x58]
add edx, 1
mov ah, byte [ebp - 0x4d]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x1021d973
jmp 0x1021d944
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], eax
jb 0x1021d928
jmp 0x1021da21
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10238194], 0x293e
mov dword [0x10238198], 0x430
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1021da2c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1022181b]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x10238194], 0x1094
mov dword [0x10238198], 0xffffee59
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1021edd4
mov dword [0x10238198], 0x295
mov dword [0x10238194], 0x18f0
call fcn.1021f14b
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1021efb5
xor ecx, ecx
mov dword [0x10238194], 0xcc7
mov dword [0x10238198], 0xfffffa51
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x1021db75
mov dword [0x10238198], 0x1df7
mov eax, dword [ebp - 0x3c]
mov dword [0x10238194], 0xfffffc2a
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1021ee83
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x58], ecx
mov dword [0x10238198], 0xdf3
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x48], ecx
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1021db75
mov eax, dword [ebp - 0x44]
add eax, 0x2061
mov ecx, dword [0x10238194]
add ecx, 0xffffdcf1
mov dword [0x10238194], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x1021db7f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10238194], 0x2124
mov dword [0x1023819c], 0
mov dword [0x102381a0], 0
mov dword [0x102381ac], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x1021dbe6
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1023819c], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102381a0], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102381a4], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x10238194]
add edx, 0x44e
mov dword [0x10238194], edx
mov cl, byte [0x102381a4]
mov edx, dword [0x102381a0]
mov byte [edi + edx], cl
mov edx, dword [0x1023819c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x102381a0]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x102381ac], ebx
mov dword [0x10238194], 0x103c
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov ch, byte [edx + ebx]
mov byte [0x102381b1], ch
mov byte [0x102381b2], cl
mov dword [0x10238194], 0x1a50
xor ch, cl
mov byte [0x102381b0], ch
mov dword [0x10238198], 0x16d1
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov edx, dword [0x10238194]
add edx, 0xfffffe7e
mov dword [0x10238194], edx
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x38], ebx
je 0x1021dbde
mov eax, dword [0x1023819c]
mov ecx, dword [0x102381a0]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x1021dbe6