joyce8/EMBER2024-capa huggingface dataset:
Function at 0x716c50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x716dfd
sub esp, 0x68
lea eax, [0x7a0780]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
lea ecx, [0x843610]
mov dword [esp], ecx
call fcn.00594e80
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
lea edi, [esp + 0x38]
xor eax, eax
call fcn.0044c964
lea eax, [0x775760]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
call fcn.0040b820
jmp 0x716cf6
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebp, dword [esp + 0x28]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.00595c10
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.0040baa0
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x716cc0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00595cd0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x716d2d
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x68
ret
lea eax, [0x7d46aa]
mov dword [esp], eax
mov dword [esp + 4], 4
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
lea eax, [0x8435f0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
call fcn.005d3140
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x28]
mov ebp, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp], 0
lea ebx, [0x7e0e09]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x1e
call fcn.0043bcb0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp], ecx
lea ecx, [0x7d709e]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.005d00e0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x80], eax
add esp, 0x68
ret
call fcn.0044b110
jmp fcn.00716c50
Function at 0x71da20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x71dbcd
sub esp, 0x68
lea eax, [0x7a0780]
mov dword [esp], eax
call fcn.00409cb0
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
lea ecx, [0x843610]
mov dword [esp], ecx
call fcn.00594e80
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
lea edi, [esp + 0x38]
xor eax, eax
call fcn.0044c964
lea eax, [0x775760]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
call fcn.0040b820
jmp 0x71dac6
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebp, dword [esp + 0x28]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
call fcn.00595c10
lea eax, [esp + 0x38]
mov dword [esp], eax
call fcn.0040baa0
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x71da90
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00595cd0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x71dafd
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x68
ret
lea eax, [0x7d46aa]
mov dword [esp], eax
mov dword [esp + 4], 4
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
lea eax, [0x8435f0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
call fcn.005d3140
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x28]
mov ebp, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp], 0
lea ebx, [0x7e0e09]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x1e
call fcn.0043bcb0
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp], ecx
lea ecx, [0x7d709e]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0xc
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.005d00e0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x80], eax
add esp, 0x68
ret
call fcn.0044b110
jmp fcn.0071da20
Function at 0xee2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00ee21a8
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 0xee207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xee206a
add dl, dl
jne 0xee2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xee20dc
xor eax, eax
add dl, dl
jne 0xee2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xee217d
add dl, dl
jne 0xee20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xee20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xee20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xee20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xee20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xee2075
mov eax, 1
add dl, dl
jne 0xee20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xee20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xee20e1
sub eax, ebx
mov ebx, 1
jne 0xee2128
mov ecx, 1
add dl, dl
jne 0xee210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xee2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xee2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xee2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xee213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xee214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xee2136
cmp eax, 0x7d00
jae 0xee216d
cmp eax, 0x500
jb 0xee2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xee2075
cmp eax, 0x7f
ja 0xee2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xee2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xee219e
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 0xee2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402d00
Capabilities:
Check mutex on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov dword [0x41a424], esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push str.Redragon_K654GWB_RGB
call edi
movups xmm0, xmmword [0x41608c]
push 0x41a468
push 1
movups xmmword [0x41a468], xmm0
push 0
movups xmm0, xmmword [0x41609c]
movups xmmword [0x41a478], xmm0
movq xmm0, qword [0x4160ac]
movq qword [0x41a488], xmm0
movups xmm0, xmmword [0x416074]
movups xmmword [0x41a490], xmm0
movq xmm0, qword [0x416084]
movq qword [0x41a4a0], xmm0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x402d9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x402efc
movups xmm0, xmmword [0x416074]
push str.4695579F_999A_41d4_9FAF_EFFCE93EBE19
movups xmm3, xmmword [0x41608c]
movups xmm2, xmmword [0x41609c]
movq xmm1, qword [0x4160ac]
movups xmmword [0x41a890], xmm0
movq xmm0, qword [0x416084]
movq qword [0x41a8a0], xmm0
movups xmm0, xmmword [0x41605c]
movups xmmword [0x41a868], xmm3
movups xmmword [0x41a690], xmm0
movq xmm0, qword [0x41606c]
movups xmmword [0x41a878], xmm2
movq qword [0x41a888], xmm1
movups xmmword [0x41a668], xmm3
movups xmmword [0x41a678], xmm2
movq qword [0x41a688], xmm1
movq qword [0x41a6a0], xmm0
call edi
mov ecx, esi
mov dword [0x41aa6c], eax
call fcn.00402f10
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x41a868
push 0x41a668
push 0
mov dword [0x41aa68], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x402efc
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push 0
push eax
call esi
test eax, eax
je 0x402ee1
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop word [eax + eax]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x402ed0
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x402eb0
pop ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004043bd
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004043bd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x429e67
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x429e76
pop dword [ebp - 0x4c]
mov eax, 0x15568d6c
sub eax, 0x1513eef6
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x4e52d
push 0
mov eax, 0xa9675129
add eax, 0x56dd7193
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0xe66c3171
sub ecx, 0xe66befef
xor edx, edx
add edx, eax
mov esi, 0x7007dd6c
add esi, 0x90434294
add esi, dword [ebp - 0x4c]
mov ebx, 0xb9287f28
sub ebx, 0x6e27eaaa
add dword [ebp - 0xc], 0x269cddaa
mov edi, dword [esi]
xor dword [ebp - 0x44], edx
sub edi, ebx
mov dword [ebp - 0x1c], 0xd4e9ad6a
mov dword [edx], edi
add edx, 0x17c9f994
add edx, 0xe8360670
add esi, 0x1d5f0dab
sub esi, 0x1d5f0da7
loop 0x429ed7
add eax, 0xae2d5af9
add eax, 0x51d39de2
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x4405d6
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46d5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x440619
push str.SystemFunction040
push dword [0x46d5d8]
call edi
push str.SystemFunction041
push dword [0x46d5d8]
mov dword [0x46d5e0], eax
call edi
mov dword [0x46d5e4], eax
jmp 0x44061e
mov eax, dword [0x46d5e4]
cmp dword [0x46d5e0], 0
je 0x44062f
test eax, eax
jne 0x4406d6
push 0x46d5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4406e0
push str.CryptProtectMemory
push dword [0x46d5dc]
call edi
cmp dword [0x46d5e0], 0
mov dword [0x46d5e8], eax
jne 0x440694
test eax, eax
jne 0x440694
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x44067e
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440685
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work21_s_srclibsdutilcryputil.cpp
call fcn.004038fa
jmp 0x4406e0
push str.CryptUnprotectMemory
push dword [0x46d5dc]
call edi
cmp dword [0x46d5e4], 0
mov dword [0x46d5ec], eax
jne 0x4406d6
test eax, eax
jne 0x4406d6
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4406ca
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4406d1
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x440688
mov dword [0x46d5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x403203
pop dword [ebp - 0x1c]
mov eax, 0xe434ec46
sub eax, 0xe3f4ba43
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x7b427f80
sub dword [ebp - 0x2c], 0x2cf03a35
mov dword [ebp - 0x28], 0xba030587
add dword [ebp - 0x28], 0x783046be
mov dword [ebp - 0x24], 0xd2375a9
add dword [ebp - 0x24], 0x3f28ce85
mov dword [ebp - 0x20], 0x3b519400
add dword [ebp - 0x20], 0xc4ae6c00
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x6f08e95a
sub eax, 0x6ec868ce
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xcf8a0080
add dword [ebp - 0x2c], 0xa4e868d6
mov dword [ebp - 0x28], 0xd52f23d6
sub dword [ebp - 0x28], 0x93c2c261
mov dword [ebp - 0x24], 0x50ae8626
sub dword [ebp - 0x24], 0xed3f19ba
mov dword [ebp - 0x20], 0x1cfd5e10
sub dword [ebp - 0x20], 0x1cfd5e10
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x529e016d
add eax, 0xada27f67
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3607d
push 0
call eax
mov ecx, 0xd7b8ecf8
sub ecx, 0xd7b8a739
xor ebx, ebx
add ebx, eax
mov esi, 0x796b4d15
sub esi, 0x792a3d15
add esi, dword [ebp - 0x1c]
mov edx, 0xd80cd0fa
sub edx, 0xe47395a
xor dword [ebp - 0xc], 0xc7d0204e
mov edi, dword [esi]
sub dword [ebp - 0x10], edx
sub edi, edx
mov dword [ebp - 0x10], 0xbee856a4
mov dword [ebx], edi
mov dword [ebp - 0x14], 0x9a648038
add ebx, 0xad21696e
add ebx, 0x52de9696
add esi, 0x97ee327
add esi, 0xf6811cdd
loop 0x403327
add eax, 0x33debea7
add eax, 0xcc224b28
mov ebx, eax
add eax, 0x90e1f7a8
sub eax, 0x90e1f7a3
mov ecx, 0x9d6225d3
sub ecx, 0x9d2225d3
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x4027b0
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4027be
call dword [0x4c101c]
or eax, eax
je 0x4027bf
ret
mov al, 1
jmp fcn.0040283c

Function at 0x4027c8
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4027d6
call dword [0x4c1020]
or eax, eax
jne 0x4027d7
ret
mov al, 2
jmp fcn.0040283c

Function at 0x4027e0
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x402818
test edx, edx
je 0x402802
push eax
mov eax, ecx
call dword [0x4c1024]
pop ecx
or eax, eax
je 0x402811
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.0040283c
mov dword [eax], edx
mov eax, ecx
call dword [0x4c1020]
or eax, eax
jne 0x4027fb
ret
mov al, 1
jmp fcn.0040283c
test edx, edx
je 0x40282c
push eax
mov eax, edx
call dword [0x4c101c]
pop ecx
or eax, eax
je 0x402811
mov dword [ecx], eax
ret

Function at 0x40283c
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x4c4004]
test ecx, ecx
je 0x40284c
pop edx
call ecx
dec eax
mov al, byte [eax + 0x402865]
jns 0x402860
call fcn.00406c34
mov eax, dword [eax + 4]
jmp fcn.00403c58

Function at 0x4029c4
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 0x4029f3
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.00403d48
jmp 0x402a11
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.0040294c
mov edi, eax
test ebx, ebx
je 0x402a11
cmp dword [esi], 0
je 0x402a11
dec ebx
jmp 0x4029fa
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402ee8
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 0x402f80
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402f60
xor eax, eax
push ebp
push 0x402f59
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 0x402f9c
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 0x402f60
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 0x403200
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40321a
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x40321a
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x403206
mov al, 0xa
jmp fcn.0040283c
ret

Function at 0x40324c
Capabilities:
Terminate process

Disassembly:
cmp dword [0x4c401c], 0
je 0x402aeb
call dword [0x4c401c]
mov eax, 0xd2
jmp fcn.00403c58
push eax
push ecx
mov eax, dword [eax]
call fcn.0040321c
pop ecx
pop eax
je 0x40325b
jmp ebx
pop ecx
jmp 0x402adc
Function at 0x403264
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, edx
mov eax, dword [eax]
call fcn.0040321c
mov eax, ebx
pop ebx
jne 0x403279
pop ecx
jmp 0x402adc
ret

Function at 0x403b34
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4c44a4
mov esi, 0x4c4038
mov edi, 0x4c403c
cmp byte [ebx + 0x24], 0
jne 0x403b63
cmp dword [edi], 0
je 0x403b63
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x403b52
cmp dword [0x4c4040], 0
je 0x403baa
call fcn.00403ab0
cmp byte [0x4c4048], 0
je 0x403b90
mov edx, 0x4c102c
mov eax, 0x4c421c
call fcn.004064d0
call fcn.00406453
jmp 0x403ba3
push 0
push 0x4c104c
push 0x4c102c
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x4c4040], eax
cmp byte [ebx + 0x24], 2
jne 0x403bba
cmp dword [esi], 0
jne 0x403bba
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.00403984
cmp byte [ebx + 0x24], 1
jbe 0x403bca
cmp dword [esi], 0
je 0x403be7
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x403be7
call fcn.00405ea8
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x403be7
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.0040395c
cmp byte [ebx + 0x24], 1
jne 0x403bf5
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x403c00
call fcn.00403b00
cmp dword [ebx], 0
jne 0x403c0d
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x403baa

Function at 0x4042c8
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.0040428c
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.0040428c
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x404274
ret

Function at 0x404370
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.0040283c
test ecx, ecx
je fcn.0040428c
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404274
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x404438
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x404477
cmp al, 0xb
je 0x404477
cmp al, 0xc
je 0x404481
cmp al, 0xd
je 0x404494
cmp al, 0xe
je 0x4044b2
cmp al, 0xf
je 0x404477
cmp al, 0x11
je 0x404477
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.0040283c
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x404477
jmp 0x4044c6
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x404481
jmp 0x4044c6
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.00404438
dec edi
jg 0x404497
pop ebp
jmp 0x4044c6
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.0040440c
dec edi
jg 0x4044b5
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4044cc
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00404438

Function at 0x404504
Capabilities:
Terminate process

Disassembly:
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x40454b
cmp al, 0xb
je 0x404565
cmp al, 0xc
je 0x40457c
cmp al, 0xd
je 0x40458b
cmp al, 0xe
je 0x4045a9
cmp al, 0xf
je 0x4045bf
cmp al, 0x11
je 0x4045ce
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.0040283c
cmp ecx, 1
mov eax, ebx
jg 0x40455c
call fcn.00403c64
jmp 0x4045dd
mov edx, ecx
call fcn.00403c88
jmp 0x4045dd
cmp ecx, 1
mov eax, ebx
jg 0x404573
call fcn.0040428c
jmp 0x4045dd
mov edx, ecx
call fcn.004042a4
jmp 0x4045dd
mov eax, ebx
add ebx, 0x10
call fcn.00405254
dec edi
jg 0x40457c
jmp 0x4045dd
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.00404504
dec edi
jg 0x40458e
pop ebp
jmp 0x4045dd
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004044d8
dec edi
jg 0x4045ac
pop ebp
jmp 0x4045dd
mov eax, ebx
add ebx, 4
call fcn.00405f70
dec edi
jg 0x4045bf
jmp 0x4045dd
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00405b04
dec edi
jg 0x4045ce
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x4045e4
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00404504

Function at 0x4045f0
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x40461c
mov edx, eax
add eax, esi
add edx, ebx
call fcn.0040290c
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x40465b
cmp cl, 0xb
je 0x40466c
cmp cl, 0xc
je 0x40467d
cmp cl, 0xd
je 0x40468e
cmp cl, 0xe
je 0x4046ae
cmp cl, 0xf
je 0x4046c7
cmp cl, 0x11
je 0x4046d8
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.0040283c
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403cb8
mov eax, 4
jmp 0x4046e9
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004042c8
mov eax, 4
jmp 0x4046e9
lea edx, [esi + eax]
add eax, ebx
call fcn.004049b4
mov eax, 0x10
jmp 0x4046e9
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.0040470c
pop eax
jmp 0x4046e9
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.004045f0
pop eax
jmp 0x4046e9
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405f88
mov eax, 4
jmp 0x4046e9
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405b40
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x40460a
pop ecx
sub ecx, eax
jle 0x404705
lea edx, [ebx + eax]
add eax, esi
call fcn.0040290c
pop ebp
pop edi
pop esi
pop ebx
ret