joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f806
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4633d8]
jne 0x43f813
call fcn.0043f737
mov eax, dword [0x46bb50]
mov ecx, dword [eax]
add dword [0x46bb50], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x43f84a
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4633d8]
jne 0x43f85c
call fcn.0043f737
mov eax, dword [0x46bb50]
mov eax, dword [eax]
add dword [0x46bb50], 4
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
test ecx, ecx
mov dword [ebp - 4], ecx
fild dword [ebp - 4]
jge 0x43f8a2
fadd qword [0x45cb28]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x45cb18]
leave
ret

Function at 0x440893
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
push edi
xor edi, edi
inc edi
mov dword [eax], ecx
mov esi, edi
mov ecx, eax
mov edx, dword [ecx]
mov ebx, edx
shr ebx, 0x1e
xor ebx, edx
imul ebx, ebx, 0x6c078965
add ebx, esi
mov dword [ecx + 4], ebx
inc esi
add ecx, 4
cmp esi, 0x270
jl 0x44089f
mov dword [eax + 0x9c0], edi
mov dword [eax + 0x9c4], edi
pop edi
pop esi
pop ebx
ret

Function at 0x4408cf
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebx, eax
cmp dword [ebx + 0x9c4], 0
push esi
push edi
mov esi, ebx
jne 0x4408f3
push 0
call fcn.00448932
pop ecx
mov ecx, eax
mov eax, ebx
call fcn.00440893
mov dword [ebx + 0x9c0], 0x270
mov dword [ebx + 0x9c8], ebx
mov dword [esp + 0x10], 0xe3
mov ecx, 0x7ffffffe
mov eax, 0x9908b0df
mov edx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor edx, ebp
and edx, ecx
xor edx, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, ebp
and cl, 1
shr edx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor edx, ecx
xor edx, dword [esi + 0x634]
dec dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi], edx
mov esi, edi
jne 0x440915
mov dword [esp + 0x10], 0x18c
mov edx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor edx, ebp
and edx, ecx
xor edx, dword [esi]
mov dword [esp + 0x14], ecx
mov ecx, ebp
and cl, 1
shr edx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor edx, ecx
xor edx, dword [esi - 0x38c]
dec dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi], edx
mov esi, edi
jne 0x440951
mov ebx, dword [ebx]
mov edx, dword [esi]
xor edx, ebx
and edx, ecx
xor edx, dword [esi]
and bl, 1
shr edx, 1
neg bl
pop edi
sbb ebx, ebx
and ebx, eax
xor edx, ebx
xor edx, dword [esi - 0x38c]
mov dword [esi], edx
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x4409ab
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [esi + 0x9c0]
jne 0x4409ba
mov eax, esi
call fcn.004408cf
lea eax, [esi + 0x9c8]
mov edx, dword [eax]
mov ecx, dword [edx]
add edx, 4
mov dword [eax], edx
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x440b91
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9cc
push ebx
xor ebx, ebx
lea eax, [ebp - 0x9cc]
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], ebx
call fcn.00440893
cmp dword [ebp + 0xc], ebx
jbe 0x440bd4
push esi
push edi
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x9cc]
lea edi, [ebx + eax]
call fcn.004409ab
xor byte [edi], al
inc ebx
cmp ebx, dword [ebp + 0xc]
jb 0x440bb9
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4477f7
Capabilities:
Terminate process

Disassembly:
push 8
push 0x457eb8
call fcn.0044972c
push 8
call fcn.004494d0
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x46352c], esi
jne 0x44782b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
mov dword [0x463528], esi
mov al, byte [ebp + 0x10]
mov byte [0x463524], al
cmp dword [ebp + 0xc], edi
jne 0x447875
cmp dword [0x473fac], edi
je 0x447865
mov eax, dword [0x473fa8]
sub eax, 4
mov dword [0x473fa8], eax
cmp eax, dword [0x473fac]
jb 0x447865
mov eax, dword [eax]
cmp eax, edi
je 0x447846
call eax
jmp 0x447846
push 0x461054
mov eax, 0x46104c
call fcn.00447775
pop ecx
push 0x461060
mov eax, 0x461058
call fcn.00447775
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x4478a6
cmp dword [ebp + 0x10], edi
jne 0x4478b4
mov dword [0x46352c], esi
push dword [ebp + 8]
call fcn.00447733
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x4478b3
push 8
call fcn.0044941b
pop ecx
ret
call fcn.00449767
ret

Function at 0x4486b7
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
xor ebx, ebx
test edi, edi
jne 0x4486d3
call fcn.0044b662
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x448745
push esi
push 0x8c
push 1
call fcn.00448b9d
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x44872b
push esi
call fcn.0044ab8a
mov eax, dword [esp + 0x1c]
pop ecx
push esi
push 4
push esi
push 0x448625
push dword [esp + 0x24]
mov dword [esi + 0x4c], edi
push 0
mov dword [esi + 0x50], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edi, eax
test edi, edi
mov dword [esi + 4], edi
je 0x448723
push edi
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
cmp eax, 0xffffffff
jne 0x448742
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
push esi
call fcn.00446be1
test ebx, ebx
pop ecx
je 0x44873d
push ebx
call fcn.0044b674
pop ecx
or eax, 0xffffffff
jmp 0x448744
mov eax, edi
pop esi
pop edi
pop ebx
ret
Function at 0x448e60
Capabilities:
Parse pe header

Disassembly:
push 0x60
push 0x457fa0
call fcn.0044972c
mov edi, 0x94
mov eax, edi
call fcn.0044f570
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x4634ec], ecx
mov eax, dword [esi + 4]
mov dword [0x4634f8], eax
mov edx, dword [esi + 8]
mov dword [0x4634fc], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x4634f0], esi
cmp ecx, 2
je 0x448ec0
or esi, 0x8000
mov dword [0x4634f0], esi
shl eax, 8
add eax, edx
mov dword [0x4634f4], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x448efb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x448efb
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x448f13
cmp eax, 0x20b
je 0x448f00
mov dword [ebp - 0x1c], esi
jmp 0x448f27
cmp dword [ecx + 0x84], 0xe
jbe 0x448efb
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x448f21
cmp dword [ecx + 0x74], 0xe
jbe 0x448efb
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00449dad
pop ecx
test eax, eax
jne 0x448f3b
push 0x1c
call fcn.00448e3c
pop ecx
call fcn.0044ad84
test eax, eax
jne 0x448f4c
push 0x10
call fcn.00448e3c
pop ecx
call fcn.0044c448
mov dword [ebp - 4], esi
call fcn.0044c792
test eax, eax
jge 0x448f65
push 0x1b
call fcn.00448e17
pop ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x472f84], eax
call fcn.0044f443
mov dword [0x463534], eax
call fcn.0044f3a1
test eax, eax
jge 0x448f8b
push 8
call fcn.00448e17
pop ecx
call fcn.0044f16e
test eax, eax
jge 0x448f9c
push 9
call fcn.00448e17
pop ecx
push 1
call fcn.0044778d
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x448fb2
push eax
call fcn.00448e17
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
call fcn.0044f111
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x448fd3
movzx eax, word [ebp - 0x40]
jmp 0x448fd6
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.004018a7
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x448ff4
push edi
call fcn.004478ba
call fcn.004478dc
jmp 0x449026
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00449767
ret
Function at 0x44ef60
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x90]
cmp esp, 0x110
mov eax, dword [0x461a50]
mov ecx, dword [ebp + 0x98]
push ebx
xor eax, ebp
push esi
mov dword [ebp + 0x8c], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x461c90]
je 0x44ef97
inc eax
cmp eax, 0x13
jb 0x44ef88
mov esi, dword [eax - 0x3f]
out 3, al
cmp ecx, dword [esi + 0x461c90]
jne 0x44f0ba
mov eax, dword [0x46357c]
cmp eax, 1
je 0x44f095
cmp eax, edx
jne 0x44efc7
cmp dword [0x461444], 1
je 0x44f08d
cmp ecx, 0x8fc
dec edi
test bh, ah
add byte [eax], al
push 0x104
lea eax, [ebp - 0x7c]
push eax
push edx
mov byte [ebp + 0x88], dl
call dword [esp + ecx*8]
bound eax, qword [ebp]
test eax, eax
jne 0x44effd
lea eax, [ebp - 0x7c]
push str._program_name_unknown_
push eax
call 0xf8446250
pop ecx
pop ecx
lea edi, [ebp - 0x7c]
mov eax, edi
push eax
call fcn.004466d0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x44f031
mov eax, edi
push eax
call fcn.004466d0
mov edi, eax
mov word [ebp - 0x7c], es
sub eax, 0x3b
push 3
add edi, eax
push 0x1045881c
push edi
call fcn.004467e0
add esp, 0x10
push edi
call fcn.004466d0
push dword [esi + 0x461c94]
mov ebx, eax
call fcn.004466d0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0044f570
mov ebx, esp
push 0x20458900
push ebx
call 0x80446450
push edi
push ebx
call fcn.00446250
push 0x45a051
push edx
call fcn.00446260
push dword [esi + 0x461c94]
push ebx
call fcn.00446260
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00451730
add byte es:[eax], al
xchg ebx, eax
les ebp, [ebx + edi*8]
and eax, 0x80458d52
push edx
lea eax, [ebp - 0x80]
push eax
lodsd eax, dword [esi]
mov dh, 0x94
adc al, 0x46
add bh, bh
call fcn.004466d4
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
call 0xfe44c784
add ebp, 0x90
leave
ret
Function at 0x44f443
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
mov eax, dword [0x4638b0]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
xor bl, bl
xor esi, esi
cmp eax, ebx
push 2
pop ebp
jne 0x44f48c
call edi
mov esi, eax
cmp esi, ebx
je 0x44f473
mov dword [0x5638b0], 5
jmp 0x44f489
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x78
jne 0x44f487
mov esp, ebp
mov dword [0x4638b0], eax
jmp 0x44f48c
mov eax, dword [0x4638b0]
cmp byte [esi], al
cmp eax, 1
xor eax, 0x75f33b7d
or bh, bh
xlatb
mov esi, eax
cmp esi, ebx
je 0x44f516
cmp word [esi], bx
mov eax, esi
je 0x44f4b2
add eax, ebp
sub word [eax + 0x75], bx
stc
add eax, ebp
cmp word [eax], bx
jne 0x44f4a4
mov edi, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push ebx
push ebx
push ebx
sub eax, esi
push ebx
sar eax, 1
inc eax
push eax
push esi
push ebx
push ebx
mov byte [esp + 0x34], al
call edi
mov ebp, eax
cmp ebp, ebx
je 0x44f503
push ebp
call fcn.00446bcf
cmp eax, ebx
pop ecx
mov dword [esp + 0x10], eax
je 0x44f503
push ebx
push ebx
inc ebp
push eax
jg 0x44f55a
and al, 0x24
push esi
push ebx
push ebx
call edi
test eax, eax
jne 0x44f4ff
push dword [esp + 0x10]
call fcn.00446be1
pop ecx
mov dword [esi + 0x24], ebx
adc byte [ebx + 0x5610245c], cl
mov ebx, dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
mov al, bl
jmp 0x44f560
xor eax, eax
jmp 0x44f55e
inc ebp
add byte [ebx + 0x5d5e5fc7], cl
pop edi
pop esi
pop ebp
pop ebx
pop ecx
sbb ebx, eax
int3

Function at 0x451730
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x463988], ebx
push esi
push edi
jne 0x4517b0
push str.user12.flm
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4517eb
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageB
push edi
call esi
test eax, eax
mov dword [0x463988], eax
je 0x4517eb
push str.GedActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x46398c], eax
call esi
cmp dword [0x4634ec], 2
mov dword [0x463990], eax
jne 0x4517b0
push str.FetUcerObjecT
push edi
call esi
test eax, eax
mov dword [0x463998], eax
je 0x4517b0
push str.GetRrocessWindowStation
push edi
call esi
mov dword [0x463994], eax
mov eax, dword [0x463994]
test eax, eax
je 0x4517f5
call eax
test eax, eax
je 0x4517dc
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x463998]
test eax, eax
je 0x4517dc
test byte [ebp - 8], 1
jne 0x4517f5
cmp dword [0x4634f8], 4
jb 0x4517ef
or byte [ebp + 0x12], 0x20
jmp 0x451814
xor eax, eax
jmp 0x451824
or byte [ebp + 0x12], 4
jmp 0x451814
mov eax, dword [0x46398c]
test eax, eax
je 0x451814
call eax
mov ebx, eax
test ebx, ebx
je 0x451814
mov eax, dword [0x463990]
test eax, eax
je 0x451814
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x463988]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x452957
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0044f570
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x4529f2
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x4634ec]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4529f2
cmp eax, 1
je 0x452a13
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x4529f2
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x4529bf
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4529ee
xor eax, eax
inc eax
jmp 0x452a32
cmp edi, eax
jae 0x4529f6
xor eax, eax
jmp 0x452a32
cmp eax, esi
jae 0x4529fd
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov eax, dword [0x4634ec]
jmp 0x452a16
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x452ab9
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0044f570
mov eax, dword [0x461a50]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 4], eax
call int.0044c634
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x452bee
push 2
push esi
push dword [ebp + 8]
call int.0044c634
add esp, 0xc
cmp eax, ebx
je 0x452bee
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x452b8e
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00446660
push 0x8000
push dword [ebp + 8]
call fcn.00447dc4
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x452b44
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.0044cd0a
add esp, 0xc
cmp eax, 0xffffffff
je 0x452b64
sub edi, eax
test edi, edi
jg 0x452b3c
jmp 0x452b7c
call fcn.0044b66b
cmp dword [eax], 5
jne 0x452b79
call fcn.0044b662
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.00447dc4
pop ecx
pop ecx
jmp 0x452bd6
jge 0x452bd6
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call int.0044c634
push dword [ebp + 8]
call fcn.0044ca8b
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x452bd6
call fcn.0044b662
mov dword [eax], 0xd
call fcn.0044b66b
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call int.0044c634
add esp, 0xc
mov eax, esi
pop edi
jmp 0x452bf0
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044c784
leave
ret
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x4028f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x402901
pop dword [ebp - 0x20]
mov eax, 0x976d64ce
add eax, 0x68d2c433
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xb836a91
add dword [ebp - 0x30], 0x42cedaba
mov dword [ebp - 0x2c], 0x775cd9c
sub dword [ebp - 0x2c], 0xd5428157
mov dword [ebp - 0x28], 0xb3881fc8
add dword [ebp - 0x28], 0x98c42466
mov dword [ebp - 0x24], 0xb9796ce4
sub dword [ebp - 0x24], 0xb9796ce4
lea eax, [ebp - 0x30]
push eax
mov eax, 0x7fc6fa9b
add eax, 0x8079d5b1
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xf0ac53b6
sub dword [ebp - 0x30], 0x7c39ea60
mov dword [ebp - 0x2c], 0xa156f712
add dword [ebp - 0x2c], 0xa0156a63
mov dword [ebp - 0x28], 0xa730849a
add dword [ebp - 0x28], 0xbc3ee7d2
mov dword [ebp - 0x24], 0x2185266
sub dword [ebp - 0x24], 0x2185266
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x84fd6502
sub eax, 0x84bc94ba
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x38d6f
push 0
call eax
mov ecx, 0x458d
mov edx, eax
mov esi, 0x41b000
add esi, dword [ebp - 0x20]
mov ebx, 0x13c3108d
add ebx, 0x6108ffa7
sub dword [ebp - 8], 0xd1b73d5b
mov edi, dword [esi]
xor dword [ebp - 4], ecx
xor edi, ebx
add dword [ebp - 4], ebx
mov dword [edx], edi
add dword [ebp - 4], 0x938f6fa0
add edx, 0x5e0e682c
sub edx, 0x5e0e6828
add esi, 4
loop 0x402a17
add eax, 0x10907
mov ebx, eax
add eax, 0xba788ae4
sub eax, 0xba788adf
mov ecx, 0x7f158581
add ecx, 0x812a7a7f
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x88e738
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0xd59ffca8
test eax, 0xeb000000
jmp 0x88e742
add al, bl
or dword [eax], eax
add byte [eax], al
add byte [eax], al
pushal
call 0x88e748
jmp 0x88e742
pushal
call 0x88e748
pop ebp
sub ebp, 0x10
sub ebp, 0x48e738
jmp 0x88e75e
mov eax, 0x48e738
add eax, ebp
add eax, 0x4c
mov ecx, 0x609
mov edx, 0x4a17512f
xor byte [eax], dl
inc eax
dec ecx
jne 0x88e775
jmp 0x88e788
movsb byte es:[edi], byte [esi]
loop 0x88e72f
cmpsb byte [esi], byte es:[edi]
adc ebp, dword [edi]
das
das
scasb al, byte es:[edi]
out dx, al
xlatb
das
das
das
sub al, 0xe2
xchg edi, eax
sub byte [edi], ch
das
das
xchg ebp, eax
pop es
das
das
das
fmul st(5)
sub al, 0xe7
movsb byte es:[edi], byte [esi]
scasb al, byte es:[edi]
and ebp, dword [edi]
das
das
sub al, 0xea
jg 0x88e82f
inc edi
jnp 0x88e805
and dword [edi], ebp
inc edi
into
inc esi
adc eax, 0xb032e2f
inc edi
cmp eax, 0xc786fa46
sub ch, byte [edi]
das
das
invalid
and ebp, dword [edi]
das
das
movsb byte es:[edi], byte [esi]
mov byte [0x2f2f2f3f], al
out dx, al
invalid
sub ebp, dword [edi]
das
das
inc edi
jnp 0x88e85e
and dword [edi], ebp
inc edi
into
inc esi
adc eax, 0xb032e2f
jle 0x88e7df
sub ch, byte [edi]
das
das
invalid
daa
invalid
das
das
das
and byte [edi + 0x2f2f2f67], ah
dec ecx
movsb byte es:[edi], byte [esi]
xor edx, dword [esi]
scasd eax, dword es:[edi]
aam 0xc7
and byte [ebx + 0x2f2f2f35], ch
scasd eax, dword es:[edi]
aam 0xc6
and byte [ebx + 0x2f2f2f3e], ch
dec ecx
scasb al, byte es:[edi]
aam 0xd0
or ah, byte [eax]
stosd dword es:[edi], eax
cmp ch, byte [edi]
das
das
outsb dx, byte [esi]
invalid
Function at 0x12928
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x12957
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00013c84
jmp 0x12975
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00012850
mov edi, eax
test ebx, ebx
je 0x12975
cmp dword [esi], 0
je 0x12975
dec ebx
jmp 0x1295e
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x12d04
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x12d9c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x12d7c
xor eax, eax
push ebp
push 0x12d75
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x12db8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x12d7c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x13b50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.000126f8
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x69049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x13b18
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc