joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2213
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
xor eax, eax
cmp edx, dword [eax*8 + 0x8faf38]
je 0x4b2233
inc eax
cmp eax, 0x12
jb 0x4b2224
shl eax, 3
cmp edx, dword [eax + 0x8faf38]
mov dword [ebp + 8], eax
jne 0x4b23d1
mov ecx, dword [0x955a04]
cmp ecx, 1
je 0x4b23a6
test ecx, ecx
jne 0x4b2265
cmp dword [0x8fa8bc], 1
je 0x4b23a6
cmp edx, 0xfc
je 0x4b23d1
and byte [ebp - 8], 0
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b22a0
push 5
pop ecx
mov esi, str._program_name_unknown_
lea edi, [ebp - 0x10c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x10c]
lea ebx, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b22af
sub eax, edx
inc eax
cmp eax, 0x3c
jbe 0x4b22e7
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b22c7
sub eax, edx
push 3
lea ebx, [ebp + eax - 0x147]
push 0x8d6ad8
push ebx
call fcn.004ae800
add esp, 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b22ec
sub eax, edx
mov ecx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x8faf3c]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4b2303
sub eax, esi
lea eax, [eax + ecx + 0x1c]
add eax, 3
and eax, 0xfffffffc
call fcn.004ae6e0
mov edx, esp
push 6
pop ecx
mov esi, str.Runtime_Error__n_nProgram:
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov eax, ebx
movsw word es:[edi], word [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b232f
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4b233b
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, edx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4b2354
mov eax, dword [ebp + 8]
mov esi, 0x8d6ab8
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x8faf3c]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b236f
mov edi, edx
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4b237b
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x12010
mov ecx, eax
and ecx, 3
push str.Microsoft_Visual_C_Runtime_Library
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.004b9ffd
add esp, 0xc
jmp 0x4b23d1
mov ecx, dword [eax + 0x8faf3c]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4b23b1
push 0
lea edx, [ebp - 4]
push edx
sub eax, esi
push eax
push ecx
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b5735
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 0xc], ebx
je 0x4b579d
push 0x3d
push esi
call fcn.004b01ab
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 8], eax
je 0x4b579d
cmp esi, eax
je 0x4b579d
xor ecx, ecx
cmp byte [eax + 1], cl
mov eax, dword [0x955a3c]
sete cl
cmp eax, dword [0x955a40]
mov dword [ebp - 4], ecx
jne 0x4b5783
mov edi, eax
call fcn.004b56d4
mov dword [0x955a3c], eax
cmp eax, ebx
jne 0x4b57dc
cmp dword [ebp + 0xc], ebx
je 0x4b57a5
cmp dword [0x955a44], ebx
je 0x4b57a5
call fcn.004b54c3
test eax, eax
je 0x4b57dc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
jne 0x4b58e6
push 4
call fcn.004aea16
cmp eax, ebx
pop ecx
mov dword [0x955a3c], eax
je 0x4b579d
mov dword [eax], ebx
cmp dword [0x955a44], ebx
jne 0x4b57dc
push 4
call fcn.004aea16
cmp eax, ebx
pop ecx
mov dword [0x955a44], eax
je 0x4b579d
mov dword [eax], ebx
mov edi, dword [ebp - 8]
mov ebx, dword [0x955a3c]
sub edi, esi
push esi
call fcn.004b5687
mov edi, eax
test edi, edi
pop ecx
jl 0x4b5838
cmp dword [ebx], 0
je 0x4b5838
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.004ae8fe
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x4b581d
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov esi, eax
jmp 0x4b586e
mov ecx, dword [esi + 4]
mov dword [esi], ecx
inc edi
add esi, 4
cmp dword [esi], eax
jne 0x4b5814
mov eax, edi
shl eax, 2
push eax
push ebx
call fcn.004af7d4
test eax, eax
mov esi, dword [ebp + 8]
pop ecx
pop ecx
je 0x4b586e
jmp 0x4b5869
cmp dword [ebp - 4], 0
jne 0x4b58df
test edi, edi
jge 0x4b5848
neg edi
lea eax, [edi*4 + 8]
push eax
push ebx
call fcn.004af7d4
test eax, eax
pop ecx
pop ecx
je 0x4b579d
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov dword [0x955a3c], eax
cmp dword [ebp + 0xc], 0
je 0x4b58ca
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b5879
sub eax, edx
add eax, 2
push eax
call fcn.004aea16
mov edi, eax
test edi, edi
pop ecx
je 0x4b58ca
mov ecx, esi
sub eax, esi
mov dl, byte [ecx]
mov byte [eax + ecx], dl
inc ecx
test dl, dl
jne 0x4b5896
mov ecx, dword [ebp - 8]
add eax, ecx
and byte [eax], dl
mov ecx, dword [ebp - 4]
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x4b58c3
or dword [ebp - 0xc], 0xffffffff
push edi
call fcn.004ae8fe
pop ecx
cmp dword [ebp - 4], 0
je 0x4b58d7
push esi
call fcn.004ae8fe
pop ecx
mov eax, dword [ebp - 0xc]
jmp 0x4b57a0
push esi
call fcn.004ae8fe
pop ecx
xor eax, eax
jmp 0x4b57a0
Function at 0x4b8a26
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x4b8bec
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x959a20]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x4b8bec
test cl, 0x48
je 0x4b8a8c
mov al, byte [eax + 5]
cmp al, 0xa
je 0x4b8a8c
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4b8ade
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x4b8ac6
call fcn.004afdb8
mov dword [eax], 9
call fcn.004afdc1
mov dword [eax], esi
jmp 0x4b8ad6
cmp eax, 0x6d
je 0x4b8bec
push eax
call fcn.004afdca
pop ecx
or eax, 0xffffffff
jmp 0x4b8bee
mov eax, dword [edi]
mov edx, dword [ebp - 0xc]
add dword [ebp - 8], edx
lea ecx, [eax + esi + 4]
mov al, byte [ecx]
test al, al
jns 0x4b8be7
test edx, edx
je 0x4b8b01
cmp byte [ebx], 0xa
jne 0x4b8b01
or al, 4
jmp 0x4b8b03
and al, 0xfb
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x4b8be1
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x4b8bd1
cmp al, 0xd
je 0x4b8b37
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x4b8bc3
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x4b8b51
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x4b8b4c
add dword [ebp + 0x10], 2
jmp 0x4b8ba5
mov dword [ebp + 0x10], eax
jmp 0x4b8bbf
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4b8b79
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4b8bbf
cmp dword [ebp - 0xc], 0
je 0x4b8bbf
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x4b8b9a
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x4b8ba5
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x4b8bc2
cmp ebx, dword [ebp + 0xc]
jne 0x4b8baa
cmp byte [ebp - 1], 0xa
jne 0x4b8baa
mov byte [ebx], 0xa
jmp 0x4b8bc2
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004b8c9e
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x4b8bc3
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x4b8b1b
jmp 0x4b8be1
mov eax, dword [edi]
lea esi, [eax + esi + 4]
mov al, byte [esi]
test al, 0x40
jne 0x4b8be1
or al, 2
mov byte [esi], al
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x4b8bee
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b9160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
jne 0x4b917e
xor eax, eax
jmp 0x4b92ec
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x959a20]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x4b91b1
push 2
push edi
push edi
push dword [ebp + 8]
call fcn.004bbc6e
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x4b9283
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edi
jbe 0x4b92be
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x41c]
mov dword [ebp - 8], edi
cmp ecx, dword [ebp + 0x10]
jae 0x4b920c
mov edx, dword [ebp - 0xc]
inc dword [ebp - 0xc]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x4b91fd
inc dword [ebp - 0x14]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 8]
mov byte [eax], dl
inc eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x400
jl 0x4b91e0
mov edi, eax
lea eax, [ebp - 0x41c]
sub edi, eax
push 0
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4b924c
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
cmp eax, edi
jl 0x4b9255
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, dword [ebp + 0x10]
jb 0x4b91d1
jmp 0x4b9257
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
xor edi, edi
mov eax, dword [ebp - 0x10]
cmp eax, edi
jne 0x4b92e7
cmp dword [ebp - 4], edi
je 0x4b92be
push 5
pop esi
cmp dword [ebp - 4], esi
jne 0x4b92b0
call fcn.004afdb8
mov dword [eax], 9
call fcn.004afdc1
mov dword [eax], esi
jmp 0x4b92b9
push edi
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4b92a5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], eax
jmp 0x4b9257
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x4b9257
push dword [ebp - 4]
call fcn.004afdca
pop ecx
or eax, 0xffffffff
jmp 0x4b92ea
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x4b92d3
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x4b92d3
xor eax, eax
jmp 0x4b92ea
call fcn.004afdb8
mov dword [eax], 0x1c
call fcn.004afdc1
mov dword [eax], edi
jmp 0x4b92b9
sub eax, dword [ebp - 0x14]
pop esi
pop ebx
pop edi
leave
ret
Function at 0x4b9dd5
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.004ae6e0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4b9e6a
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x955a1c]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x4b9e6a
cmp eax, 1
je 0x4b9e82
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4b9e6a
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x4b9e3f
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x4b9e66
xor eax, eax
inc eax
jmp 0x4b9e9e
cmp esi, ebx
jae 0x4b9e6e
xor eax, eax
jmp 0x4b9e9e
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x955a1c]
jmp 0x4b9e84
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4b9ffd
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x955df8], ebx
push esi
push edi
jne 0x4ba07d
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4ba0b8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x8dae34
push edi
call esi
test eax, eax
mov dword [0x955df8], eax
je 0x4ba0b8
push 0x8dae24
push edi
call esi
push 0x8dae10
push edi
mov dword [0x955dfc], eax
call esi
cmp dword [0x955a1c], 2
mov dword [0x955e00], eax
jne 0x4ba07d
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x955e08], eax
je 0x4ba07d
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x955e04], eax
mov eax, dword [0x955e04]
test eax, eax
je 0x4ba0c2
call eax
test eax, eax
je 0x4ba0a9
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x955e08]
test eax, eax
je 0x4ba0a9
test byte [ebp - 8], 1
jne 0x4ba0c2
cmp dword [0x955a28], 4
jb 0x4ba0bc
or byte [ebp + 0x12], 0x20
jmp 0x4ba0e1
xor eax, eax
jmp 0x4ba0f1
or byte [ebp + 0x12], 4
jmp 0x4ba0e1
mov eax, dword [0x955dfc]
test eax, eax
je 0x4ba0e1
call eax
mov ebx, eax
test ebx, ebx
je 0x4ba0e1
mov eax, dword [0x955e00]
test eax, eax
je 0x4ba0e1
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x955df8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4bc556
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
call fcn.004b8c9e
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x4bc69b
push 2
push esi
push dword [ebp + 8]
call fcn.004b8c9e
add esp, 0xc
cmp eax, ebx
je 0x4bc69b
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x4bc63e
mov ebx, 0x1000
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
mov dword [ebp - 4], eax
jne 0x4bc5cf
call fcn.004afdb8
mov dword [eax], 0xc
or esi, 0xffffffff
jmp 0x4bc686
push 0x8000
push dword [ebp + 8]
call fcn.004bc6a1
pop ecx
pop ecx
mov dword [ebp - 8], eax
cmp edi, ebx
mov eax, ebx
jge 0x4bc5e9
mov eax, edi
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.004b9160
add esp, 0xc
cmp eax, 0xffffffff
je 0x4bc605
sub edi, eax
test edi, edi
jg 0x4bc5e1
jmp 0x4bc61d
call fcn.004afdc1
cmp dword [eax], 5
jne 0x4bc61a
call fcn.004afdb8
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.004bc6a1
pop ecx
pop ecx
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4bc686
jge 0x4bc686
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004b8c9e
push dword [ebp + 8]
call fcn.004b1e87
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 0x4bc686
call fcn.004afdb8
mov dword [eax], 0xd
call fcn.004afdc1
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004b8c9e
add esp, 0xc
mov eax, esi
pop edi
jmp 0x4bc69d
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x4c1f00
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4c1f38
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004bffb7
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004bff8f
jmp 0x4c1f44
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4c35f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4c3638
call fcn.004c95e0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4c3638
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4c362f
xor eax, eax
jmp 0x4c3640
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004c3646
pop edi
pop esi
pop ebx
ret 4
Function at 0x403190
Capabilities:
Generate random numbers using the delphi lcg

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

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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4a6008], 0x8088405
inc edx
mov dword [ebx + 0x4a6008], edx
fld qword [ebx + 0x4a606c]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret

Function at 0x41d970
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 0x41d976
ret
Function at 0x428f84
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x429135
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004050ec
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42914c
call fcn.00404d48
mov eax, ebx
call fcn.0041b904
mov edi, eax
dec edi
test edi, edi
jl 0x42903c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041b8d8
mov edx, dword [0x42d5d8]
call fcn.00403e78
test al, al
je 0x429038
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041b8d8
lea edx, [ebp - 0x14]
call fcn.0043491c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004050ec
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404dbc
inc esi
dec edi
jne 0x428fea
mov al, byte [0x429150]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42915c
mov eax, dword [ebp - 0xc]
call fcn.0040d948
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404ad4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0043491c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42914c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0043491c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42914c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x42914c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x429168
call fcn.00409a78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42913c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404a60
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404a60
lea eax, [ebp - 0x14]
call fcn.00404a3c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404a60
ret
Function at 0x44adb8
Capabilities:
Get number of processors

Disassembly:
and byte [eax], bh
and al, 0x38
sub byte [eax], bh
sub al, 0x38
xor byte [eax], bh
xor al, 0x38
cmp byte [eax], bh
cmp al, 0x38
inc eax
cmp byte [eax + edi + 0x48], al
cmp byte [eax + edi + 0x50], cl
cmp byte [eax + edi + 0x58], dl
cmp byte [eax + edi + 8], bl
cmp cl, byte [edx + edi]
adc byte [edx], bh
adc al, 0x3a
sbb byte [edx], bh
sbb al, 0x3a
and byte [edx], bh
and al, 0x3a
sub byte [edx], bh
sub al, 0x3a
xor byte [edx], bh
xor al, 0x3a
cmp byte [edx], bh
cmp al, 0x3a
inc eax
cmp cl, byte [eax + 0x3a]
dec esp
cmp dl, byte [edx + edi + 0x58]
cmp bl, byte [edx + edi + 0x60]
cmp ah, byte [edx + edi + 0x68]
cmp ch, byte [edx + edi + 0x70]
cmp dh, byte [edx + edi + 0x78]
js 0x44ae48
jl 0x44ae4a
cmp byte [edx], 0x84
cmp cl, byte [eax - 0x6fc573c6]
cmp dl, byte [edx + edi + 0x3a9c3a98]
mov al, byte [0xa83aa43a]
cmp ch, byte [edx + edi + 0x3ab43ab0]
mov eax, 0xc03abc3a
cmp al, ah
cmp ch, al
cmp bh, al
cmp al, byte [eax]
cmp ecx, dword [eax]
cmp edx, dword [eax]
cmp ebx, dword [eax]
cmp esp, dword [eax]
cmp ebp, dword [eax]
cmp esi, dword [eax]
cmp edi, dword [eax]
cmp eax, dword [eax + 0x3b]
dec eax
cmp edx, dword [eax + 0x3b]
pop eax
cmp esp, dword [eax + 0x3b]
push 0x783b703b
cmp eax, dword [eax - 0x6fc477c5]
cmp ebx, dword [eax + 0x3c3ba03b]
cmp al, 0x28
cmp eax, 0x3e383e18
add byte [eax], al
add byte [eax + 0xa], dh
add byte [eax + eax], bh
add byte [eax], al
test al, 0x30
lodsb al, byte [esi]
xor byte [eax - 0x13cf17d0], dh
xor al, dh
xor ah, dh
xor al, bh
xor byte [eax], bh
cmp eax, 0x3d403d3c
enter 0xffffffffffffcc3f, 0x3f
sar byte [edi], 1
aam 0x3f
fdivr dword [edi]