joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416c2d
Capabilities:
Terminate thread

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov esi, ecx
call fcn.00416c08
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ebx, 0x3e3
test eax, eax
je 0x416c7a
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x416c7a
push ebx
push dword [esi]
call edi
mov ecx, dword [0x44333c]
test ecx, ecx
je 0x416c7a
push 0x408f00
push 0
push 0x3c
call fcn.00426404
mov eax, dword [esi + 4]
test eax, eax
je 0x416cb2
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x416cb2
push ebx
push dword [esi + 4]
call edi
mov ecx, dword [0x44333c]
test ecx, ecx
je 0x416cb2
push 0x408e80
push 0
push 0x3c
call fcn.00426404
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x416dcb
Capabilities:
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
mov dword [ebp - 4], 1
test eax, eax
je 0x416e36
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, eax
mov eax, dword [0x44333c]
test eax, eax
je 0x416e07
push edi
push 0x408ff8
push 0
push 0x64
push eax
call fcn.004264d9
add esp, 0x14
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x416e19
test edi, edi
jbe 0x416e35
mov ecx, dword [0x44333c]
and dword [ebp - 4], 0
test ecx, ecx
je 0x416e35
push 0x408f80
push 0
push 0x64
call fcn.00426404
pop edi
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x416e3c
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
xor esi, esi
push esi
push 1
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov eax, dword [0x44333c]
cmp edi, esi
je 0x416ee6
cmp eax, esi
je 0x416e79
push edi
push 0x4091b0
push esi
push 0x64
push eax
call fcn.004264d9
add esp, 0x14
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x416ea5
mov eax, dword [0x44333c]
xor ebx, ebx
inc ebx
cmp eax, esi
je 0x416edd
push edi
push 0x409148
push esi
push 0x64
push eax
call fcn.004264d9
add esp, 0x14
jmp 0x416edd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x44333c]
cmp ecx, esi
je 0x416edd
push eax
push edi
push 0x4090d0
push esi
push 0x3c
push ecx
call fcn.004264d9
call fcn.00426a21
ror byte [eax + 4], 1
nop
into
add byte [eax], al
ror ah, 1
dec eax
add al, 0xe0
push eax
out 1, al
and byte [ebx - 0xa8e73c], al
adc eax, sym.imp.KERNEL32.dll_CloseHandle
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x416efe
cmp eax, esi
je 0x416efe
push dword [ebp + 8]
push 0x409060
push esi
push 0x3c
push eax
call fcn.004264d9
add esp, 0x14
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4
Function at 0x4174ae
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x443340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x21c], eax
mov word [ebp - 0x214], cx
test edi, edi
je 0x4175c8
mov esi, 0x104
cmp dword [ebp + 0xc], esi
ja 0x4175c8
test eax, eax
je 0x4175c8
mov ebx, dword [ebp + 0x14]
cmp ebx, esi
ja 0x4175c8
lea ecx, [ebx + ebx]
push ecx
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x218], 0x43
mov ax, word [ebp - 0x218]
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x41757f
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x417554
sub eax, edx
sar eax, 1
mov esi, eax
push esi
lea eax, [ebp - 0x214]
push edi
push eax
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
je 0x417593
mov esi, 0x104
inc dword [ebp - 0x218]
cmp word [ebp - 0x218], 0x5a
jbe 0x41751d
mov esi, edi
jmp 0x417596
lea esi, [edi + esi*2]
cmp word [ebp - 0x218], 0x5a
ja 0x4175c8
push 3
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [ebp - 0x21c]
call fcn.004173fa
lea eax, [ebx - 3]
push eax
push esi
push ebx
push dword [ebp - 0x21c]
call fcn.00417447
xor eax, eax
inc eax
jmp 0x4175ca
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004217ea
leave
ret 0x10
Function at 0x41e95b
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
mov ecx, dword [0x44333c]
xor edi, edi
mov dword [ebp - 4], 1
cmp ecx, edi
je 0x41e985
push 0x40a070
push edi
push 0x78
call fcn.00426404
push esi
push 0x41e941
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x41e9c3
cmp dword [0x44333c], edi
je 0x41e9c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x409ff0
push edi
push 0x3c
push dword [0x44333c]
call fcn.004264d9
add esp, 0x14
mov dword [ebp - 4], edi
mov eax, dword [0x44333c]
cmp eax, edi
je 0x41e9e0
push dword [esi + 0x2c]
push 0x409f48
push edi
push 0x78
push eax
call fcn.004264d9
add esp, 0x14
cmp dword [esi + 0x30], 1
jne 0x41ea02
mov ecx, dword [0x44333c]
cmp ecx, edi
je 0x41e9fd
push 0x409e88
push edi
push 0x78
call fcn.00426404
call fcn.004158ac
mov eax, dword [0x44333c]
cmp eax, edi
je 0x41ea34
push dword [ebp - 4]
push 0x409e28
push edi
push 0x78
push eax
call fcn.004264d9
call fcn.00426a21
les ecx, [eax + 4]
jo 0x41e9d7
add byte [eax], al
inc eax
ror byte [eax + 4], 0x30
nop
call 0xc4c52a34
adc al, 0x8b
inc ebp
cld
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x41ef42
Capabilities:
Create thread
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [esi], ebx
jne 0x41f041
cmp dword [esi + 4], ebx
jne 0x41f041
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x41f041
cmp dword [esi + 0xc], ebx
je 0x41f041
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
call edi
push dword [esi + 0xc]
call edi
push dword [esi + 0x10]
call edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x41ef04
push ebx
push ebx
call edi
mov dword [esi], eax
cmp eax, ebx
jne 0x41efe0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41efbe
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
mov eax, dword [0x44333c]
cmp eax, ebx
je 0x41efe7
push dword [ebp - 4]
push 0x40a430
push ebx
push 0x3c
push eax
call fcn.004264d9
add esp, 0x14
jmp 0x41efe7
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x417714
push ebx
push ebx
call edi
mov dword [esi + 4], eax
pop edi
cmp eax, ebx
jne 0x41f035
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x41f013
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
mov eax, dword [0x44333c]
cmp eax, ebx
je 0x41f03c
push dword [ebp - 4]
push 0x40a3b8
push ebx
push 0x3c
push eax
call fcn.004264d9
add esp, 0x14
jmp 0x41f03c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp - 4]
jmp 0x41f043
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x4204a2
Capabilities:
Check for time delay via gettickcount
Get session information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
xor eax, eax
inc eax
mov word [ebp - 0x10], ax
xor eax, eax
push edi
xor edi, edi
mov word [ebp - 0xe], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
cmp eax, edi
jne 0x4204d3
mov dword [ebp - 4], 0x80004003
jmp 0x420656
mov dword [eax], edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xe
push 0xffffffffffffffff
push edi
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
jne 0x420507
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x4204ff
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
jmp 0x42063c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004203d1
cmp eax, edi
mov dword [ebp - 4], eax
jge 0x420539
mov ecx, dword [0x44333c]
cmp ecx, edi
je 0x42063c
push 0x40a9e8
push edi
push 0x64
call fcn.00426404
jmp 0x42063c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x44333c]
mov dword [ebp - 0x14], eax
cmp ecx, edi
je 0x42055c
push 0x40a990
push edi
push 0x64
call fcn.00426404
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.qwave.dll_QOSCreateHandle
test eax, eax
jne 0x42059b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x420581
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
mov eax, dword [0x44333c]
cmp eax, edi
je 0x42063b
push dword [ebp - 4]
push 0x40a928
jmp 0x420601
mov ecx, dword [0x44333c]
cmp ecx, edi
je 0x4205c9
push 0x40a8d0
push edi
push 0x64
call fcn.00426404
mov ecx, dword [0x44333c]
cmp ecx, edi
je 0x4205c9
push 0x40a870
push edi
push 0x64
call fcn.00426404
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call sub.qwave.dll_QOSStartTrackingClient
test eax, eax
jne 0x42060f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x4205ed
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
mov eax, dword [0x44333c]
cmp eax, edi
je 0x42063b
push dword [ebp - 4]
push 0x40a7f8
push edi
push 0x3c
push eax
call fcn.004264d9
add esp, 0x14
jmp 0x42063b
call esi
mov ecx, dword [0x44333c]
cmp ecx, edi
je 0x420630
sub eax, dword [ebp - 0x14]
push eax
push 0x40a778
push edi
push 0x64
push ecx
call fcn.004264d9
add esp, 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp - 8], edi
pop esi
cmp dword [ebp - 8], edi
je 0x420649
push dword [ebp - 8]
call sub.qwave.dll_QOSCloseHandle
cmp dword [ebp - 0xc], edi
je 0x420656
push dword [ebp - 0xc]
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, dword [ebp - 4]
pop edi
leave
ret 8
Function at 0x4296ea
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
rdtsc
sub esp, 0x2c
mov dword [0x4447a0], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0x80000000
cmp dword [0x443338], 0
mov dword [0x444860], eax
jne 0x42972a
mov ecx, 0x444298
call fcn.00428062
test eax, eax
jl 0x42979e
mov dword [0x443338], 1
push esi
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, 0x400000
mov eax, dword [0x40003c]
mov ecx, dword [eax + 0x400050]
add ecx, edx
mov eax, dword [ebp - 0x24]
lea esi, [eax - 0x80000000]
cmp ecx, esi
jb 0x42975a
lea eax, [ecx - 0x80000000]
mov ecx, dword [ebp - 0x20]
lea esi, [ecx - 0x80000000]
add eax, 0xffff
and eax, 0xffff0000
mov dword [0x443364], eax
cmp esi, edx
pop esi
jb 0x42977c
mov ecx, 0x80400000
mov dword [0x44470c], ecx
xor ecx, ecx
mov word [0x44470c], cx
mov ecx, dword [0x44470c]
sub ecx, eax
shr ecx, 0x10
mov dword [0x444870], ecx
xor eax, eax
test eax, eax
mov dword [ebp - 4], eax
jl 0x429898
mov eax, dword [0x431be8]
test eax, eax
je 0x429838
lea eax, [ebp - 8]
push eax
mov eax, dword [0x406ab8]
mov ecx, dword [0x431be8]
imul eax, ecx
push 0x40
push eax
push section..data
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4297f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4297eb
mov eax, 0x54f
test eax, eax
jle 0x42983a
and eax, 0xffff
or eax, 0x80070000
jmp 0x42983a
xor edx, edx
mov eax, dword [0x431be8]
test eax, eax
jbe 0x429838
mov ecx, dword [0x406ab8]
mov eax, dword [0x406ab8]
imul eax, edx
test ecx, ecx
lea eax, [eax + section..data]
je 0x429823
mov byte [eax], 0
inc eax
dec ecx
jne 0x42981c
mov eax, dword [0x431be8]
mov dword [edx*4 + 0x443368], 0xf443
inc edx
cmp edx, eax
jb 0x429804
xor eax, eax
test eax, eax
jl 0x429898
mov ecx, dword [0x444834]
test ecx, ecx
je 0x429881
mov eax, dword [0x44482c]
lea edx, [eax + 0x44485c]
add eax, dword [0x444830]
mov dword [0x444844], edx
mov dword [0x44483c], 0x44485c
lea edx, [eax + 0x44485c]
lea eax, [ecx + eax + 0x44485c]
mov dword [0x44484c], edx
mov dword [0x444854], eax
lea eax, [ebp - 4]
and dword [ebp - 4], 0
push eax
mov eax, 0xff4ba015
mov eax, dword [ebp - 4]
test eax, eax
pop ecx
jl 0x429898
xor eax, eax
leave
ret
Function at 0x42bb24
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x443340]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x650], 0
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x66c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, ecx
mov ecx, dword [esi + 8]
stosd dword es:[edi], eax
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x65c], eax
mov dword [ebp - 0x674], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x670], eax
lea eax, [ebp - 0x650]
push eax
call fcn.00430e68
mov edi, eax
test edi, edi
jl 0x42bccb
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi + 0x28]
xor edi, edi
mov dword [ebp - 0x654], edi
mov dword [ebp - 0x66c], edi
mov dword [ebp - 0x668], edi
mov dword [ebp - 0x664], edi
mov dword [ebp - 0x660], edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x654]
push eax
push 0x648
lea eax, [ebp - 0x64c]
push eax
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42bc26
call ebx
cmp eax, 0x3e5
jne 0x42bcb8
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x674]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, edi
jne 0x42bcac
push 1
lea eax, [ebp - 0x654]
push eax
lea eax, [ebp - 0x66c]
push eax
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x42bcb8
mov eax, dword [ebp - 0x654]
cmp eax, 8
jb 0x42bca5
add eax, 0xfffffff8
lea ecx, [ebp - 0x658]
push ecx
mov ecx, dword [ebp - 0x650]
push eax
mov dword [ebp - 0x658], eax
lea eax, [ebp - 0x644]
push eax
call fcn.00430f4f
mov edi, eax
test edi, edi
jl 0x42bcca
cmp dword [ebp - 0x658], 0
jne 0x42bca5
test edi, edi
jne 0x42bc9d
mov ecx, dword [esi + 8]
push dword [ebp - 0x650]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov edi, eax
test edi, edi
jl 0x42bcca
mov ecx, dword [ebp - 0x650]
call fcn.00426960
and dword [ebp - 0x650], 0
lea eax, [ebp - 0x650]
push eax
call fcn.00430e68
mov edi, eax
test edi, edi
jge 0x42bb8e
jmp 0x42bcca
mov edi, 0x8817ffff
jmp 0x42bcca
cmp eax, 1
jne 0x42bcb8
mov edi, 0x88170111
jmp 0x42bcca
call ebx
cmp eax, edi
jle 0x42bcc8
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
pop ebx
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push edi
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x650]
test ecx, ecx
je 0x42bce3
call fcn.00426960
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004217ea
leave
ret

Function at 0x42beb3
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
mov esi, ecx
push esi
push 0x42bd84
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x1c], eax
cmp eax, edi
jne 0x42beef
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x42beed
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
jmp int.00401219
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
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

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

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
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
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401f49
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x42d040]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [0x487338]
xor ebx, ebx
push edi
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x401fb9
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.004028d3
lea ecx, [esp + 0x1c]
call fcn.00401d79
cmp eax, dword [esp + 0x10]
je 0x401fd0
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00403198
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x401f89
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406ca2
mov esp, ebp
pop ebp
ret
mov edx, str.QwruxAA
call fcn.00403b38
push eax
call fcn.00403b06
mov edx, dword [esp + 0x1c]
pop ecx
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00403198
jmp 0x401fbb

Function at 0x402003
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x487338], eax
pop edi
pop esi
ret

Function at 0x407a6d
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407aac
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407aac
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407aac
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407aac
cmp dword [ecx + 0x74], 0xe
jbe 0x407aac
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41612c
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427050
push 0x427048
push str.FlsAlloc
push 0x1e
call fcn.00416015
mov esi, eax
add esp, 0x10
test esi, esi
je 0x416160
push dword [ebp + 8]
mov ecx, esi
call dword [0x42312c]
call esi
jmp 0x416166
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4161aa
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x427060
push 0x427058
push str.FlsGetValue
push 0x20
call fcn.00416015
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4161e1
push dword [ebp + 8]
mov ecx, esi
call dword [0x42312c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x416f76
Capabilities:
Read file on windows

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

Function at 0x416f81
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416da7
Function at 0x4185ec
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00407be0
mov eax, dword [0x42d040]
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.004149e5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41862e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41878a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00421a10
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 + 0x486f30]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00418a12
mov ecx, dword [esi*4 + 0x486f30]
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 0x418783
cmp eax, dword [edi + ecx + 0x24]
jne 0x418783
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 0x418783
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00418a12
add esp, 0x14
test edx, edx
jl 0x418783
jg 0x4186f9
test eax, eax
jb 0x418783
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x418783
jl 0x418713
cmp dword [ebp - 0x1008], eax
ja 0x418783
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x418731
test ebx, ebx
je 0x41876a
cmp ecx, edi
jae 0x41876a
mov al, byte [ecx]
cmp al, 0xd
jne 0x41874b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x418757
cmp byte [ecx + 1], 0xa
jne 0x418757
inc ecx
jmp 0x418757
movzx eax, al
movsx eax, byte [eax + 0x42d9b0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x418731
cmp edx, ebx
jne 0x418731
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x418788
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406ca2
leave
ret