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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
xor eax, eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, ecx
mov ecx, ebx
add ecx, edx
adc eax, dword [ebp + 0xc]
cmp dword [esi + 0x16c], eax
jg 0x662058e8
jl 0x662058db
cmp dword [esi + 0x168], ecx
jae 0x662058e8
pop esi
mov eax, 0xc000007b
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [esi + 0x160]
test eax, eax
je 0x6620590b
push ebx
add eax, edx
push eax
push dword [ebp + 0x10]
call fcn.6620d6b0
add esp, 0xc
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp dword [esi + 0x170], 0
jne 0x66205921
pop esi
mov eax, 0xc0000008
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp byte [esi + 0x18c], 0
push edi
mov dword [ebp + 0x14], 0
je 0x66205964
mov edi, dword [ebp + 0x18]
test edi, edi
jne 0x66205950
push edi
push edi
push edi
push 0x100002
lea eax, [ebp + 0x14]
push eax
call dword [sym.imp.ntdll.dll_NtCreateEvent]
mov edi, dword [ebp + 0x14]
jmp 0x66205957
push edi
call dword [sym.imp.ntdll.dll_NtClearEvent]
test eax, eax
jns 0x66205966
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor edi, edi
push 0
lea eax, [ebp + 8]
mov dword [ebp - 8], 0
push eax
push ebx
push dword [ebp + 0x10]
lea eax, [ebp - 8]
mov dword [ebp - 4], 0
push eax
push 0
push 0
push edi
push dword [esi + 0x170]
call dword [sym.imp.ntdll.dll_NtReadFile]
mov esi, eax
cmp esi, 0x103
jne 0x662059ba
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov esi, eax
test esi, esi
je 0x662059b7
js 0x662059c9
mov esi, 0xc0000001
jmp 0x662059c9
mov esi, dword [ebp - 8]
test esi, esi
js 0x662059c9
cmp dword [ebp - 4], ebx
mov eax, 0xc000007b
cmovne esi, eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x662059d7
push eax
call dword [sym.imp.ntdll.dll_NtClose]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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 0x40a89b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x418bc0]
jne 0x40a8a5
repz ret
jmp fcn.00413c68

Function at 0x4132dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x418bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040715a
and dword [ebp - 0x14], 0
cmp dword [0x4403c0], 0
mov dword [ebp - 0x18], eax
jne 0x41338f
push 0x403354
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x413437
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403348
push ebx
call edi
test eax, eax
je 0x413437
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403338
push ebx
mov dword [0x4403c0], eax
call edi
push eax
call esi
push 0x403324
push ebx
mov dword [0x4403c4], eax
call edi
push eax
call esi
push 0x403308
push ebx
mov dword [0x4403c8], eax
call edi
push eax
call esi
mov dword [0x4403d0], eax
test eax, eax
je 0x41338f
push 0x4032f0
push ebx
call edi
push eax
call esi
mov dword [0x4403cc], eax
mov eax, dword [0x4403cc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4133e8
cmp dword [0x4403d0], ecx
je 0x4133e8
push eax
call esi
push dword [0x4403d0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4133e8
test ebx, ebx
je 0x4133e8
call edi
test eax, eax
je 0x4133df
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4133df
test byte [ebp - 8], 1
jne 0x4133e8
or dword [ebp + 0x10], 0x200000
jmp 0x41341b
mov eax, dword [0x4403c4]
cmp eax, dword [ebp - 0x18]
je 0x41341b
push eax
call esi
test eax, eax
je 0x41341b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41341b
mov eax, dword [0x4403c8]
cmp eax, dword [ebp - 0x18]
je 0x41341b
push eax
call esi
test eax, eax
je 0x41341b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4403c0]
call esi
test eax, eax
je 0x413437
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x413439
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a89b
leave
ret
Function at 0x4151f0
Capabilities:
Access the windows event log
Delete directory
Delete file
Get common file path
Manipulate console buffer

Disassembly:
mov eax, 0x1804
call fcn.00413ad0
cmp dword [0x7efe9c], 0x37
jne 0x4152a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea ecx, [esp + 0x808]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea edx, [esp]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EraseTape]
push 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push 0
lea eax, [esp + 0x1008]
push eax
push 0x403480
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
mov ecx, dword [0x7f02b0]
mov eax, dword [0x7ef980]
mov dl, byte [ecx + esi + 0x38d6]
mov byte [eax + esi], dl
add esp, 0x1804
ret

Function at 0x4152c0
Capabilities:
Decrypt data using tea

Disassembly:
sub esp, 0x838
mov ecx, dword [0x437a90]
mov edx, dword [esp + 0x83c]
mov eax, dword [edx]
push ebx
push ebp
mov ebp, dword [0x437a94]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x437a98]
push esi
mov esi, dword [edx + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x437a9c]
push edi
mov dword [esp + 0x1c], eax
mov edi, 0xc6ef3720
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], 0x20
jmp 0x415310
mov ecx, eax
shl ecx, 4
add ecx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
lea ecx, [edi + eax]
shr eax, 5
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
xor eax, ecx
xor eax, dword [esp + 0x14]
mov dword [0x7ef984], 0
sub esi, eax
mov dword [esp + 0x18], eax
mov eax, esi
shl eax, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
add dword [esp + 0x14], eax
mov ecx, esi
shr ecx, 5
add ecx, ebp
cmp dword [0x7efe9c], 0x979
lea ebx, [edi + esi]
mov dword [0x7ef988], 0xff6b3619
mov dword [0x7ef98c], 0xffffffff
mov dword [esp + 0x18], ecx
jne 0x4153d0
xor edx, edx
lea ecx, [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x44]
push ecx
push edx
mov dword [esp + 0x34], edx
call dword [sym.imp.KERNEL32.dll_ScrollConsoleScreenBufferA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
push 0
lea edx, [esp + 0x4c]
push edx
push 0
push 0x403430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [esp + 0x84c]
xor dword [esp + 0x14], ebx
mov eax, dword [esp + 0x18]
xor dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
sub dword [esp + 0x1c], eax
cmp dword [0x7efe9c], 0x93
je 0x4153f6
add edi, 0x61c88647
dec dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
jne 0x415310
pop edi
mov dword [edx + 4], esi
pop esi
pop ebp
mov dword [edx], eax
pop ebx
add esp, 0x838
ret 4
Function at 0x4011c6
Capabilities:
Access peb ldr_data
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
call fcn.0040114f
call section..text
movzx eax, al
cmp eax, 1
jne 0x4011e9
push 5
pop eax
jmp 0x4013b8
and dword [ebp - 0x40], 0
and dword [ebp - 0xc], 0
and dword [ebp - 0x30], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x44], 0
and dword [ebp - 8], 0
and dword [ebp - 0x18], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0x330
pushal
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ebx, eax
add ebx, 0xc
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x30]
mov ecx, 0x18
xor esi, esi
xor ebx, ebx
add bl, byte [edi + ecx - 1]
add esi, ebx
loop 0x401234
cmp esi, dword [ebp - 0x2c]
je 0x401249
mov eax, dword [eax]
cmp eax, ebx
jne 0x40122a
mov eax, dword [eax + 0x18]
mov dword [ebp - 8], eax
nop
popal
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x426cec
push dword [0x426cc8]
push 0x426ccc
push dword [0x426cec]
push 0x426cf0
call fcn.0040102b
add esp, 0x14
push 0x426cf0
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
push 0x426d0c
push dword [0x426cc8]
push 0x426ccc
push dword [0x426d0c]
push 0x426d10
call fcn.0040102b
add esp, 0x14
push 0x426d10
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
push 0x426d2c
push dword [0x426cc8]
push 0x426ccc
push dword [0x426d2c]
push 0x426d30
call fcn.0040102b
add esp, 0x14
push 0x426d30
push dword [ebp - 8]
call dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [0x404028]
mov dword [ebp - 0x10], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0
call dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 0x404030
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10]
push eax
push dword [section..data]
push 0x404004
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 4], eax
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push 0x20
push dword [0x404028]
push dword [ebp - 4]
call dword [ebp - 0x24]
push 0x4046f4
push dword [0x40402c]
push 0x4046d0
push dword [0x4046f4]
push 0x4046f8
call fcn.0040102b
add esp, 0x14
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
mov dword [0x426d7c], eax
and dword [ebp - 0x28], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
push dword [ebp - 0x28]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call dword [0x426d7c]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x67b95caf
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x442844cd
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4310c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401007
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebx
push esi
xor esi, esi
cmp dword [0x828144], 0xee
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jne 0x401057
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_SwitchToFiber]
lea eax, [ebp - 4]
push eax
push esi
push str.Hiweb_lelokewu_legoj_fanonixahahomo
push esi
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
mov eax, dword [0x43b128]
mov dword [ebp - 0x18], eax
mov eax, dword [0x43b12c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
call fcn.00401000
mov eax, dword [0x43b130]
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov eax, dword [0x43b134]
add ebx, 0x7c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x20
mov dword [ebp - 4], 2
add dword [ebp - 4], 3
mov eax, dword [ebp - 8]
mov edx, dword [0x828144]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0x24]
cmp edx, 0xfa9
jne 0x4010bd
mov dword [0x828140], 0xedeb2e40
cmp edx, 0x3eb
jne 0x4010cb
mov dword [0x43c56c], esi
lea ecx, [ebx + eax]
xor edi, ecx
mov ecx, dword [ebp - 4]
shr eax, cl
mov dword [0x82813c], 0x9150ce2e
add eax, dword [ebp - 0x14]
xor eax, edi
mov edi, eax
cmp edx, 0x27
jne 0x401117
lea eax, [ebp - 0x28]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push esi
push esi
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
mov edx, dword [0x828144]
sub dword [ebp - 0xc], edi
cmp edx, 0xc
jne 0x401125
call dword [sym.imp.KERNEL32.dll_GetLastError]
and eax, 0x5dc052bb
mov eax, dword [ebp - 0xc]
mov ecx, eax
mov edx, eax
shr ecx, 5
add ecx, dword [ebp - 0x20]
shl edx, 4
add edx, dword [ebp - 0x18]
add eax, ebx
xor ecx, edx
xor ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [0x43c568], esi
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 8], eax
add ebx, 0x61c88647
dec dword [ebp - 0x10]
jne 0x40108f
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4

Function at 0x4011e1
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0x40
push 0x1000
push dword [0x828144]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x827c30], eax
ret
Function at 0x4011fc
Capabilities:
Get hostname
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x950
push esi
xor esi, esi
cmp dword [0x828144], 0x20a
push edi
jne 0x4012be
push esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x30
lea eax, [ebp - 0x38]
push esi
push eax
mov dword [ebp - 0x3c], esi
call fcn.004046a0
add esp, 0xc
push esi
lea eax, [ebp - 0x3c]
push eax
push str.zinesugadofuruwibowedivohocenivalakese
call dword [sym.imp.KERNEL32.dll_SetDefaultCommConfigA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push str.kuzokafunozupepog
push str.getucixesutigotanokoduno
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
push esi
push esi
push esi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
push esi
call fcn.004014c7
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.00401430
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.004018b0
fstp st(0)
add esp, 8
xor edi, edi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
cmp edi, 0xbcd043
jge 0x4012da
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
cmp edi, 0x90ce655
jg 0x4012eb
inc edi
cmp edi, 0x7048dce2
jl 0x4012c0
call fcn.004011cd
push 0x43c0e0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push dword [0x828144]
mov dword [0x827c34], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x827c30], eax
call fcn.004011e1
mov eax, dword [0x43b204]
xor edi, edi
mov dword [0x829534], eax
cmp dword [0x828144], esi
jbe 0x401360
cmp dword [0x828144], 0x44
mov eax, dword [0x829534]
mov al, byte [eax + edi + 0xb2d3b]
mov ecx, dword [0x827c30]
mov byte [ecx + edi], al
jne 0x401357
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
inc edi
cmp edi, dword [0x828144]
jb 0x40132b
xor edi, edi
mov eax, dword [0x828144]
add eax, edi
cmp eax, 0x5e
jne 0x401391
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReplaceFileA]
push esi
lea eax, [ebp - 0x950]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapSize]
inc edi
cmp edi, 0x40c893
jl 0x401362
call fcn.00401176
cmp esi, 0xc06
jne 0x4013ac
call fcn.004011b3
inc esi
cmp esi, 0x246b35
jl 0x40139f
mov eax, dword [0x827c30]
mov dword [0x828138], eax
call eax
pop edi
pop esi
leave
ret
Function at 0x4013c5
Capabilities:
Get geographical location
Terminate thread

Disassembly:
push ecx
cmp dword [0x828144], 0xc
jne 0x40140a
push esi
push dword [esp + 4]
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push esi
call fcn.00401444
push esi
call fcn.00401714
push esi
push esi
call fcn.004016d7
push esi
push esi
call fcn.00401836
add esp, 0x18
call fcn.00401857
pop esi
mov eax, dword [0x43b3a4]
add eax, 0xb2d3b
mov dword [0x828144], eax
call fcn.004011fc
xor eax, eax
pop ecx
ret 0x10

Function at 0x40492c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43a9e0]
jne 0x404936
repz ret
jmp fcn.004075bb

Function at 0x40626a
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.00403ed9
and dword [ebp - 4], 0
cmp dword [0x43bcd4], 0
mov ebx, eax
jne 0x40631b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4063cc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4063cc
push eax
call fcn.00403e67
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43bcd4], eax
call esi
push eax
call fcn.00403e67
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43bcd8], eax
call esi
push eax
call fcn.00403e67
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43bcdc], eax
call esi
push eax
call fcn.00403e67
pop ecx
mov dword [0x43bce4], eax
test eax, eax
je 0x40631b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403e67
pop ecx
mov dword [0x43bce0], eax
mov eax, dword [0x43bce0]
cmp eax, ebx
je 0x406373
cmp dword [0x43bce4], ebx
je 0x406373
push eax
call fcn.00403ee2
push dword [0x43bce4]
mov esi, eax
call fcn.00403ee2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406373
test edi, edi
je 0x406373
call esi
test eax, eax
je 0x40636a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40636a
test byte [ebp - 0xc], 1
jne 0x406373
or dword [ebp + 0x10], 0x200000
jmp 0x4063ac
mov eax, dword [0x43bcd8]
cmp eax, ebx
je 0x4063ac
push eax
call fcn.00403ee2
pop ecx
test eax, eax
je 0x4063ac
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4063ac
mov eax, dword [0x43bcdc]
cmp eax, ebx
je 0x4063ac
push eax
call fcn.00403ee2
pop ecx
test eax, eax
je 0x4063ac
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43bcd4]
call fcn.00403ee2
pop ecx
test eax, eax
je 0x4063cc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4063ce
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x1001e34
Capabilities:
Parse pe header

Disassembly:
push 0x60
push 0x10011e0
call fcn.01002c88
mov edi, 0x94
mov eax, edi
call fcn.01002df0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x10010a8]
mov ecx, dword [esi + 0x10]
mov dword [0x10062b8], ecx
mov eax, dword [esi + 4]
mov dword [0x10062c4], eax
mov edx, dword [esi + 8]
mov dword [0x10062c8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x10062bc], esi
cmp ecx, 2
je 0x1001e94
or esi, 0x8000
mov dword [0x10062bc], esi
shl eax, 8
add eax, edx
mov dword [0x10062c0], eax
cmp word [0x1000000], 0x5a4d
jne 0x1001ed0
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x1001ed0
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x1001ee9
cmp ecx, 0x20b
je 0x1001ed6
and dword [ebp - 0x1c], 0
jmp 0x1001efd
cmp dword [eax + 0x84], 0xe
jbe 0x1001ed0
xor ecx, ecx
cmp dword [eax + 0xf8], ecx
jmp 0x1001ef7
cmp dword [eax + 0x74], 0xe
jbe 0x1001ed0
xor ecx, ecx
cmp dword [eax + 0xe8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
push 0
call fcn.01002c2a
pop ecx
test eax, eax
jne 0x1001f2a
cmp dword [0x10062a8], 1
jne 0x1001f17
call fcn.01002406
push 0x1c
call fcn.01002219
push 0xff
call fcn.01002078
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.01002a5a
test eax, eax
jge 0x1001f3f
push 0x1b
call fcn.01001e05
pop ecx
call dword [0x10010ac]
mov dword [0x1006854], eax
call fcn.0100292d
mov dword [0x10062a0], eax
call fcn.01002884
test eax, eax
jge 0x1001f65
push 8
call fcn.01001e05
pop ecx
call fcn.0100262a
test eax, eax
jge 0x1001f76
push 9
call fcn.01001e05
pop ecx
call fcn.010020d2
mov dword [ebp - 0x28], eax
test eax, eax
je 0x1001f89
push eax
call fcn.01001e05
pop ecx
and dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [fcn.010010b0]
call fcn.010025bc
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x1001fab
movzx eax, word [ebp - 0x40]
jmp 0x1001fae
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push 0
push 0x1000000
call fcn.01001c3d
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x1c], 0
jne 0x1001fcf
push esi
call fcn.010021b2
call fcn.010021ea
jmp 0x1002001
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x7c]
call fcn.01002cc3
ret
Function at 0x401497
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x47b390]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
invalid