joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10083bd5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008e370]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1007437a
mov dword [ebp - 0x14], eax
cmp dword [0x1267b01c], esi
jne 0x10083cc8
push 0x800
push esi
push 0x1000aa1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10083c55
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10083da8
push esi
push esi
push 0x1000aa1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10083da8
push 0x1000aa34
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10083da8
push eax
call ebx
push 0x1000aa40
push edi
mov dword [0x1267b01c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000aa50
push edi
mov dword [0x1267b020], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000aa64
push edi
mov dword [0x1267b024], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1267b02c], eax
test eax, eax
je 0x10083cc5
push 0x1000aa80
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1267b028], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10083ced
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10083ce0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10083d02
push 4
pop eax
jmp 0x10083daa
cmp dword [ebp - 0x14], esi
je 0x10083d02
push dword [0x1267b01c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10083ce7
mov eax, dword [0x1267b028]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10083d60
cmp dword [0x1267b02c], edi
je 0x10083d60
push eax
call ebx
push dword [0x1267b02c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10083d60
test eax, eax
je 0x10083d60
call ecx
test eax, eax
je 0x10083d55
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10083d55
test byte [ebp - 8], 1
jne 0x10083d60
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10083d90
mov eax, dword [0x1267b020]
cmp eax, edi
je 0x10083d8d
push eax
call ebx
test eax, eax
je 0x10083d8d
call eax
mov esi, eax
test esi, esi
je 0x10083d8d
mov eax, dword [0x1267b024]
cmp eax, edi
je 0x10083d8d
push eax
call ebx
test eax, eax
je 0x10083d8d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1267b01c]
call ebx
test eax, eax
je 0x10083da8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10083daa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006e28a
mov esp, ebp
pop ebp
ret
Function at 0xe71e80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6a1000]
push edi
or ebp, 0xffffffff
jmp 0xe71ea2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xe71ea9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xe71e98
mov eax, 1
add ebx, ebx
jne 0xe71ebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xe71eb0
jne 0xe71ecc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe71eb0
xor ecx, ecx
sub eax, 3
jb 0xe71ee0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xe71f52
mov ebp, eax
add ebx, ebx
jne 0xe71eeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0xe71ef8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0xe71f1c
inc ecx
add ebx, ebx
jne 0xe71f08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xe71efd
jne 0xe71f19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xe71efd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xe71f3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xe71f2d
jmp 0xe71e9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xe71f3c
add edi, ecx
jmp 0xe71e9e
pop esi
mov edi, esi
mov ecx, 0xb48c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xe71f5a
cmp byte [edi], 0x28
jne 0xe71f5a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xe71f5f
lea edi, [esi + 0xa6d000]
mov eax, dword [edi]
or eax, eax
je 0xe71fd7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa886c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa88830]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xe71f8c
mov ecx, edi
jns 0xe71fbb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa88838]
or eax, eax
je 0xe71fd1
mov dword [ebx], eax
add ebx, 4
jmp 0xe71fa9
call dword [esi + 0xa88834]
mov ebp, dword [esi + 0xa8883c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x257]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xe7200b
sub esp, 0xffffff80
jmp 0x57c268
Function at 0x402e1c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404570
test esi, esi
jne 0x402e53
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404660
jmp 0x402e74
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402cb8
mov dword [esp], eax
test esi, esi
je 0x402e74
cmp dword [ebx], 0
je 0x402e74
dec esi
jmp 0x402e5b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403130
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x489008], 0x8088405
inc edx
mov dword [ebx + 0x489008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4035ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x489024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403684
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403664
xor eax, eax
push ebp
push 0x40365d
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 0x4036a0
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 0x403664
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x489024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x489024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404368
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48c048], 0
je 0x4043c9
cmp word [0x48c21c], 0xd7b2
jne 0x404391
cmp dword [0x48c224], 0
jbe 0x404391
mov eax, 0x48c218
call dword [0x48c234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x489070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4043f0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x489034], 0
jne 0x4043e5
push 0
push 0x489068
push 0x489070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404524
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.00402a58
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48c049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4044ec
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4062c8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40632e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004047e0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040314c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406318
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406335
lea eax, [ebp - 0x10]
call fcn.00404570
ret

Function at 0x408cec
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404a30
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408d05
test al, 0x10
jne 0x408d09
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x409030
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x409284
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004045c4
cmp dword [0x4890c8], 1
jne 0x40907b
cmp dword [0x4890cc], 4
jle 0x4090ba
mov dword [ebp - 0x18], 0x400
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x424]
push eax
push 1
mov eax, dword [ebp - 4]
call fcn.00404a30
push eax
call sub.mpr.dll_WNetGetUniversalNameA
test eax, eax
jne 0x409266
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x424]
mov edx, dword [edx]
call fcn.00404768
jmp 0x409266
mov eax, dword [ebp - 4]
mov al, byte [eax]
call fcn.00402ea8
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0x41
jb 0x409266
cmp byte [ebp - 0x19], 0x5a
ja 0x409266
mov eax, dword [ebp - 4]
call fcn.00404830
cmp eax, 3
jl 0x409266
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x3a
jne 0x409266
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x5c
jne 0x409266
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 1
push 1
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x409266
xor eax, eax
push ebp
push 0x40925f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0x640
mov eax, dword [ebp - 0xc]
call fcn.00402a58
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x409241
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.mpr.dll_WNetEnumResourceA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xea
jne 0x40918e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00402aa8
jmp 0x40914d
cmp dword [ebp - 0x10], 0
je 0x4091a3
call fcn.00403fac
call fcn.00403fac
jmp 0x409266
mov esi, dword [ebp - 0x14]
dec esi
test esi, esi
jl 0x40914d
inc esi
xor edi, edi
mov eax, edi
shl eax, 2
mov edx, dword [ebp - 0x24]
lea ebx, [edx + eax*8]
cmp dword [ebx + 0x10], 0
je 0x40921f
mov eax, dword [ebx + 0x10]
mov al, byte [eax]
call fcn.00402ea8
cmp al, byte [ebp - 0x19]
jne 0x40921f
lea eax, [ebp - 0x428]
push eax
mov eax, dword [ebp - 4]
call fcn.00404830
mov ecx, eax
sub ecx, 2
mov edx, 3
mov eax, dword [ebp - 4]
call fcn.00404a90
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, dword [ebx + 0x14]
call fcn.00404768
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 8]
pop ecx
call fcn.0040487c
call fcn.00403fac
call fcn.00403fac
jmp 0x409266
inc edi
dec esi
jne 0x4091ae
jmp 0x40914d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40928b
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.00404594
ret
Function at 0x40be58
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40be91
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404660
jmp 0x40be9a
mov eax, ebx
mov edx, esi
call fcn.004045c4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bea4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40bec5
mov al, byte [esp]
jmp 0x40bec7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c55c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c3c4
mov eax, dword [0x48af0c]
cmp byte [eax], 0
je 0x40c5d8
mov eax, dword [0x48ab4c]
call fcn.00402f60
call fcn.00402be4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409424
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c620
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c60e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48aab8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48c664]
call fcn.00405734
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40ce7c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40cf52
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404608
lea eax, [ebp - 8]
call fcn.00404a80
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a30
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cf3c
mov eax, ebx
call fcn.00402a58
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cf35
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a30
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cf1f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cf64
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cf1f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf3c
mov eax, dword [ebp - 0x10]
call fcn.00402a88
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf59
lea eax, [ebp - 8]
call fcn.00404570
ret

Function at 0x40d4a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d504
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004047e0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408960
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d50b
lea eax, [ebp - 0xc]
call fcn.00404570
ret

Function at 0x41bda4
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x41bdf1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0041bbb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41be09
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x41be10
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041bbb8
dec esi
jne 0x41be32
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41d594
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48c888
cmp dword [edi], 0
jne 0x41d610
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48c884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48948c
mov ecx, 2
call fcn.00402c78
mov edx, 0x41d56c
lea eax, [esi + 5]
call fcn.0041d58c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041d58c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41d5e5
mov dword [0x48c884], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41e834
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41e83a
ret

Function at 0x420cf4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x420d45
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x420d2c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x420d1c
jmp 0x420d45
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x420d2d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42aaa8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403110
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x48b108]
cmp byte [edx + 0xc], 0
je 0x42ab0c
mov edx, dword [0x48b0f0]
cmp dword [edx], 2
jne 0x42ab0c
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x42ab10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x42abc8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0042aaa8
test al, al
je 0x42abaa
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404660
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x42abaa
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404a30
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404a30
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404768
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x42ab63
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42abcf
lea eax, [ebp - 0x2c]
call fcn.00404570
lea eax, [ebp - 0xc]
call fcn.00404570
ret

Function at 0x42ad1c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404a30
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42ad74
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x48b114]
mov dl, 1
mov eax, dword [0x42a55c]
call fcn.0040c71c
call fcn.00403f00
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042a664
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4360e0
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x43602c
call sub.user32.dll_EnumWindows
ret