joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403740
Capabilities:
Create pipe
Read file on windows
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
push 4
lea ebx, [esi + 0x809c]
lea eax, [esi + 0x20]
mov dword [ebp - 8], ebx
mov esi, ebx
mov dword [ebp - 0xc], eax
mov edi, eax
pop ebx
push 0
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0xc8
mov dword [esi], eax
mov dword [edi - 4], eax
mov eax, 0x1000
push eax
push eax
push 4
push 6
push 0x40000003
push str..pipekuaiwanp2p
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea ecx, [edi - 0x14]
mov dword [edi], eax
push ecx
push eax
call fcn.0040369c
xor ecx, ecx
mov dword [edi + 0x200c], eax
test eax, eax
lea esi, [esi + 4]
lea edi, [edi + 0x2024]
sete cl
mov dword [edi - 0x1c], ecx
dec ebx
jne 0x403764
push 0xffffffffffffffff
push ebx
mov ebx, dword [ebp - 8]
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov esi, dword [ebp - 0x10]
jmp 0x403840
imul edi, eax, 0x2024
cmp dword [edi + esi + 0x202c], 0
je 0x40389c
push 0
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0xc]
add eax, edi
push eax
push dword [edi + esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [edi + esi + 0x2028]
sub ecx, 0
je 0x403891
dec ecx
je 0x40387a
dec ecx
jne 0x40389c
test eax, eax
je 0x403829
mov eax, dword [ebp - 4]
cmp eax, dword [edi + esi + 0x2024]
je 0x403891
push dword [ebp - 8]
mov ecx, esi
call fcn.0040365a
push 0xffffffffffffffff
push 0
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [esi + 0x80ac], 0
mov dword [ebp - 8], eax
je 0x4037d5
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
push 4
pop esi
push dword [eax]
call edi
push dword [ebx]
call edi
mov eax, dword [ebp - 0xc]
lea ebx, [ebx + 4]
add eax, 0x2024
mov dword [ebp - 0xc], eax
dec esi
jne 0x403858
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x403829
cmp dword [ebp - 4], 0
je 0x403829
mov dword [edi + esi + 0x2028], 2
jmp 0x40389c
mov dword [edi + esi + 0x2028], 1
mov eax, dword [edi + esi + 0x2028]
dec eax
je 0x4038f2
dec eax
jne 0x403833
mov edx, dword [esi]
lea eax, [esi + 0xc]
add eax, edi
mov ecx, esi
push eax
call dword [edx]
push 0
lea eax, [ebp - 4]
push eax
push dword [edi + esi + 0x2024]
lea eax, [esi + 0x24]
add eax, edi
push eax
push dword [edi + esi + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x403932
mov ecx, dword [ebp - 4]
cmp ecx, dword [edi + esi + 0x2024]
jne 0x403932
mov dword [edi + esi + 0x2028], 1
jmp 0x403925
push 0
lea eax, [ebp - 4]
push eax
push 0x1000
lea eax, [esi + 0x24]
add eax, edi
push eax
push dword [edi + esi + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x403932
cmp dword [ebp - 4], 0
je 0x403932
mov dword [edi + esi + 0x2028], 2
and dword [edi + esi + 0x202c], 0
jmp 0x403833
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x10], 0
jne 0x403829
cmp eax, 0x3e5
jne 0x403829
mov dword [edi + esi + 0x202c], 1
jmp 0x403833
Function at 0x403988
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x41c050]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [0x41e33c], eax
jne 0x403b71
push esi
push 0x206
mov word [ebp - 0x20c], ax
xor esi, esi
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.00405210
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.00403de4
pop ecx
pop ecx
test eax, eax
je 0x403b6e
push edi
xor ecx, ecx
lea edi, [ebp - 0x20c]
mov word [eax + 2], cx
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x403a03
push 5
pop ecx
mov esi, str.P2PDLL.DLL
lea eax, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x41e33c], eax
pop edi
test eax, eax
je 0x403b6e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.QvodNet_Init
push eax
call esi
push str.QvodNet_CreateHttpTask
push dword [0x41e33c]
mov dword [0x41e334], eax
call esi
push str.QvodNet_CreateP2PTask
push dword [0x41e33c]
mov dword [0x41e328], eax
call esi
push str.QvodNet_QueryTask
push dword [0x41e33c]
mov dword [0x41e32c], eax
call esi
push str.QvodNet_StartTask
push dword [0x41e33c]
mov dword [0x41e320], eax
call esi
push str.QvodNet_PauseTask
push dword [0x41e33c]
mov dword [0x41e318], eax
call esi
push str.QvodNet_RemoveTask
push dword [0x41e33c]
mov dword [0x41e310], eax
call esi
push str.QvodNet_RequestCacheServer
push dword [0x41e33c]
mov dword [0x41e30c], eax
call esi
push str.QvodNet_SetGlobalDownSpeed
push dword [0x41e33c]
mov dword [0x41e314], eax
call esi
push str.QvodNet_SetGlobalUpSpeed
push dword [0x41e33c]
mov dword [0x41e308], eax
call esi
push str.QvodNet_SetTaskDownSpeed
push dword [0x41e33c]
mov dword [0x41e304], eax
call esi
push str.QvodNet_ShareFile
push dword [0x41e33c]
mov dword [0x41e2fc], eax
call esi
push str.QvodNet_Clear
push dword [0x41e33c]
mov dword [0x41e300], eax
call esi
push str.QvodNet_GetGlobalUpSpeed
push dword [0x41e33c]
mov dword [0x41e330], eax
call esi
push str.QvodNet_CancelRepair
push dword [0x41e33c]
mov dword [0x41e2f8], eax
call esi
push str.QvodNet_RepairFile
push dword [0x41e33c]
mov dword [0x41e338], eax
call esi
push str.QvodNet_QueryRepairFile
push dword [0x41e33c]
mov dword [0x41e324], eax
call esi
mov dword [0x41e31c], eax
xor eax, eax
inc eax
jmp 0x403b70
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00403dd5
mov esp, ebp
pop ebp
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x416c4f0f
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x49014397
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x405f2e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42bdb4], 0
push esi
jne 0x405f65
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f3f
mov dword [ecx*4 + 0x42bdb0], eax
inc ecx
cmp ecx, 0x100
jl 0x405f3a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f96
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42bdb0]
xor eax, esi
inc ecx
dec edx
jne 0x405f78
pop edi
not eax
pop esi
ret 0xc

Function at 0x100303ee
Capabilities:
Encode data using xor

Disassembly:
pushfd
xchg ebx, eax
sub dl, bl
or byte [edi - 0x4cdf2cd4], ch
sub eax, 0x5bb728d3
and dword ds:[eax - 0x7447aa7], esi
fist dword [edi - 0x55]
xchg edx, eax
std
retf 0xa8a9
add byte [esp + edi], cl
pop esi
jb 0x1003040d
lea esi, [ebp - 0x5f]
popal
mov dword [eax + 0x16], ecx
jnp 0x1003040a
jb 0x10030397
wait
and al, 0xa8
xor al, byte [ecx]
aas
mov dh, 0x2a
test byte [ecx], 0x94
sbb eax, esp
std
jecxz 0x100303fb
invalid
cmp al, 0xf5
add esi, 0xffffff7c
jmp 0x1003041c
cmp dword [esi], 0
clc
jmp 0x10030434
je 0x100305ca
stc
jb 0x10030444
and dword [esi], ecx
mov byte [ebp - 0x7499096f], cl
invalid
mov edi, esi
jmp 0x1003044e
add esi, 4
jmp 0x1003045a
mov eax, dword [esi]
jmp 0x1003048c
add eax, esi
clc
jae 0x100304b7
popfd
xchg ebx, eax
retf 0x8de3
mov edx, dword [esi + 4]
jmp 0x100304dd
sub dword [eax], 0xab47d6a7
jmp 0x100304e7
add eax, 4
jmp 0x10030500
sub edx, 1
stc
jmp 0x10030524
jne 0x100304ba
jb 0x10030551
pop ds
cli
jo 0x100304dd
bswap ebx
pop esi
inc byte [esi]
popal
lds edx, [bx + si - 0x12]
invalid
add esi, 8
jmp 0x10030569
sub dword [edi], 1
jmp 0x1003059c
jne 0x10030451
jmp 0x100305b4
mov ebx, esi
stc
jb 0x100305c5
test eax, 0xbc26f1d8
dec edx
fsubr st(7), st(0)
xor al, 0xf0
add eax, 0x2be854
add byte [eax], al
call 0x100305f5
jmp 0x100305da
popal
clc
jmp 0x100305f0
jmp 0x1001aa56
Function at 0x402af0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004046e4
test esi, esi
jne 0x402b26
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004047d4
jmp 0x402b44
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402a04
mov edi, eax
test esi, esi
je 0x402b44
cmp dword [ebx], 0
je 0x402b44
dec esi
jmp 0x402b2d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x403714
Capabilities:
Query or enumerate registry value

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

Function at 0x4044c4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x50304c], 0
je 0x404525
cmp word [0x503220], 0xd7b2
jne 0x4044ed
cmp dword [0x503228], 0
jbe 0x4044ed
mov eax, 0x50321c
call dword [0x503238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f7094
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 0x40454c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f7034], 0
jne 0x404541
push 0
push 0x4f708c
push 0x4f7094
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404698
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.004027bc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x50304d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404660
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4067d0
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 0x406836
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.00404954
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004032d8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x406820
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40683d
lea eax, [ebp - 0x10]
call fcn.004046e4
ret

Function at 0x40c280
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 0x40c2b9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004047d4
jmp 0x40c2c2
mov eax, ebx
mov edx, esi
call fcn.00404738
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c2cc
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 0x40c2ed
mov al, byte [esp]
jmp 0x40c2ef
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c974
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c7ec
mov eax, dword [0x502dc8]
cmp byte [eax], 0
je 0x40c9f0
mov eax, dword [0x502ac0]
call fcn.00402f14
call fcn.00402924
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.0040964c
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 0x40ca38
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ca26
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x502a40]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x503668]
call fcn.00405ce4
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 0x40d2d4
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 0x40d3aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040477c
lea eax, [ebp - 8]
call fcn.00404bf4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ba4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d394
mov eax, ebx
call fcn.004027bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d38d
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.00404ba4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d377
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d3bc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d377
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 0x40d394
mov eax, dword [ebp - 0x10]
call fcn.004027dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d3b1
lea eax, [ebp - 8]
call fcn.004046e4
ret

Function at 0x40d89c
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 0x40d900
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.00404954
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408f98
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d907
lea eax, [ebp - 0xc]
call fcn.004046e4
ret

Function at 0x424e94
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 0x424ee1
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.00424cd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x424ef9
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x424f00
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.00424cd4
dec esi
jne 0x424f22
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x426064
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x50388c
cmp dword [edi], 0
jne 0x4260e0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x503888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4f764c
mov ecx, 2
call fcn.004029c4
mov edx, 0x42603c
lea eax, [esi + 5]
call fcn.0042605c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042605c
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 0x4260b5
mov dword [0x503888], 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 0x427304
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 0x42730a
ret

Function at 0x429974
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 0x4299c5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4299ac
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42999c
jmp 0x4299c5
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 0x4299ad
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435e18
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.00403178
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 [0x502f6c]
cmp byte [edx + 0xc], 0
je 0x435e7c
mov edx, dword [0x502f60]
cmp dword [edx], 2
jne 0x435e7c
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 0x435e80
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 0x435f38
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.00435e18
test al, al
je 0x435f1a
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.004047d4
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x435f1a
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.00404ba4
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404ba4
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004048dc
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x435ed3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435f3f
lea eax, [ebp - 0x2c]
call fcn.004046e4
lea eax, [ebp - 0xc]
call fcn.004046e4
ret

Function at 0x436038
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.00404ba4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x436090
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x502f78]
mov dl, 1
mov eax, dword [0x435908]
call fcn.0040cb34
call fcn.00404060
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00435a10
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 0x441e9c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.004580dc
test al, al
je 0x441ef7
cmp bl, 7
jne 0x441ed3
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
movzx edi, byte [esp]
sub edi, 0x30
jmp 0x441ed8
mov edi, ebx
and edi, 0x7f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xd0]
test eax, eax
je 0x441ef7
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, edi
call fcn.0042e440
mov byte [esi + 0x220], bl
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x44b948
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 0x44b894
call sub.user32.dll_EnumWindows
ret

Function at 0x44ba68
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x44bae5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0044b4c8
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x44ba8d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0044b0c8
cmp dword [ebp - 4], 0
je 0x44bacf
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404ba4
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44baec
lea eax, [ebp - 4]
call fcn.004046e4
ret