joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e1ec
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x40
call fcn.00403690
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x10
call fcn.00403690
mov dword [ebp - 0x50], 0x67452301
mov dword [ebp - 0x4c], 0xefcdab89
mov dword [ebp - 0x48], 0x98badcfe
mov dword [ebp - 0x44], 0x10325476
mov eax, ebx
shr eax, 0x1d
add dword [ebp - 0x5c], eax
mov eax, ebx
shl eax, 3
add dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x60]
jbe 0x42e25d
inc dword [ebp - 0x5c]
mov dword [ebp - 0x64], esi
test ebx, ebx
jbe 0x42e2b1
mov esi, 0x40
sub esi, dword [ebp - 0x54]
cmp esi, ebx
ja 0x42e297
mov ecx, esi
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, dword [ebp - 0x64]
call fcn.00402edc
mov edi, 0x40
sub edi, dword [ebp - 0x54]
sub ebx, edi
add dword [ebp - 0x64], edi
push ebp
call fcn.0042d930
pop ecx
jmp 0x42e2ad
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, dword [ebp - 0x64]
mov ecx, ebx
call fcn.00402edc
add dword [ebp - 0x54], ebx
xor ebx, ebx
test ebx, ebx
ja 0x42e264
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x40], 0x80
cmp dword [ebp - 0x54], 0x38
jb 0x42e2c6
push ebp
call fcn.0042d930
pop ecx
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x60]
mov dword [eax], edx
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x5c]
mov dword [eax], edx
push ebp
call fcn.0042d930
pop ecx
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov ecx, 0x10
call fcn.00402edc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e2f4
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov esi, eax
mov eax, dword [esi]
call fcn.0042d8fc
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.0042d8fc
mov esi, eax
xor eax, eax
mov ecx, dword [0x4ac164]
mov edx, dword [0x4ac168]
mov dword [esp + 4], edx
mov edx, dword [0x4ac16c]
mov dword [esp + 8], edx
mov edx, dword [0x4ac170]
mov dword [esp + 0xc], edx
mov edx, 0x20
add eax, 0x9e3779b9
mov edi, esi
shl edi, 4
mov ebp, esi
xor ebp, ecx
add edi, ebp
mov ebp, esi
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 4]
add ebx, edi
mov edi, ebx
shl edi, 4
mov ebp, dword [esp + 8]
xor ebp, ebx
add edi, ebp
mov ebp, ebx
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 0xc]
add esi, edi
dec edx
jne 0x42e340
mov eax, ebx
call fcn.0042d8fc
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.0042d8fc
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42e3a4
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov esi, eax
mov eax, dword [esi]
call fcn.0042d8fc
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.0042d8fc
mov esi, eax
mov eax, 0xc6ef3720
mov ecx, dword [0x4ac164]
mov edx, dword [0x4ac168]
mov dword [esp + 4], edx
mov edx, dword [0x4ac16c]
mov dword [esp + 8], edx
mov edx, dword [0x4ac170]
mov dword [esp + 0xc], edx
mov edx, 0x20
mov edi, ebx
shl edi, 4
mov ebp, dword [esp + 8]
xor ebp, ebx
add edi, ebp
mov ebp, ebx
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 0xc]
sub esi, edi
mov edi, esi
shl edi, 4
mov ebp, esi
xor ebp, ecx
add edi, ebp
mov ebp, esi
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 4]
sub ebx, edi
sub eax, 0x9e3779b9
dec edx
jne 0x42e3f3
mov eax, ebx
call fcn.0042d8fc
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.0042d8fc
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x42e660
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov esi, dword [eax]
mov edi, dword [ecx]
mov eax, ebx
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
lea ecx, [0x4a882c]
xor eax, eax
xor ebx, ebx
xor edx, edx
cmp dword [ebp - 4], 0
je 0x42e6c7
lodsw ax, word [esi]
mov bl, al
shr bl, 2
mov dl, byte [ebx + ecx]
mov bh, ah
and bh, 0xf
rol ax, 4
and ax, 0x3f
mov dh, byte [eax + ecx]
mov ax, dx
stosw word es:[edi], ax
lodsb al, byte [esi]
mov bl, al
shr bx, 6
mov dl, byte [ebx + ecx]
and al, 0x3f
xor ah, ah
mov dh, byte [eax + ecx]
mov ax, dx
stosw word es:[edi], ax
dec dword [ebp - 4]
jne 0x42e68d
cmp dword [ebp - 8], 0
je 0x42e717
xor eax, eax
xor ebx, ebx
xor edx, edx
lodsb al, byte [esi]
shl ax, 6
mov bl, ah
mov dl, byte [ebx + ecx]
dec dword [ebp - 8]
je 0x42e702
shl ax, 2
and ah, 3
lodsb al, byte [esi]
shl ax, 4
mov bl, ah
mov dh, byte [ebx + ecx]
shl edx, 0x10
shr al, 2
mov bl, al
mov dl, byte [ebx + ecx]
mov dh, 0x3d
jmp 0x42e711
shr al, 2
mov bl, al
mov dh, byte [ebx + ecx]
shl edx, 0x10
mov dh, 0x3d
mov dl, 0x3d
mov eax, edx
ror eax, 0x10
stosd dword es:[edi], eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x42e9c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x42e9cf
xor eax, eax
pop esi
pop ebx
ret
cmp byte [0x4a88ec], 0
jne 0x42e9dd
call fcn.0042e964
or eax, 0xffffffff
xor edx, edx
mov dl, byte [ebx]
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x4ac17c]
shr eax, 8
xor edx, eax
mov eax, edx
inc ebx
dec esi
test esi, esi
jne 0x42e9e0
xor eax, 0xffffffff
pop esi
pop ebx
ret

Function at 0x437070
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x104
call fcn.00405014
add esp, 0x104
pop ebx
ret
Function at 0x437dcc
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00405014
add esp, 0x104
pop ebx
ret

Function at 0x437e00
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x437f78
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [edi], eax
add esi, 4
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x10]
mov eax, 8
call fcn.004097a8
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x14]
mov eax, 8
call fcn.004097a8
push dword [ebp - 0x14]
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405140
mov eax, dword [ebp - 0xc]
call fcn.00405280
push eax
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
test ebx, ebx
je 0x437f5d
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
je 0x437eb5
cmp esi, 4
jne 0x437eb5
push ebx
call sub.kernel32.dll_CloseHandle_1
xor ebx, ebx
jmp 0x437f5d
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x437f3f
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.kernel32.dll_MapViewOfFile
mov dword [edi], eax
mov eax, dword [edi]
mov esi, dword [eax]
mov eax, dword [edi]
push eax
call sub.kernel32.dll_UnmapViewOfFile
push ebx
call sub.kernel32.dll_CloseHandle_1
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x1c]
mov eax, 8
call fcn.004097a8
push dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x20]
mov eax, 8
call fcn.004097a8
push dword [ebp - 0x20]
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405140
mov eax, dword [ebp - 0x18]
call fcn.00405280
push eax
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov ebx, eax
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.kernel32.dll_MapViewOfFile
mov dword [edi], eax
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437f7f
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404dc8
ret
Function at 0x4395c4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4396ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x4ac724], bl
mov eax, 0x4ac728
mov edx, esi
call fcn.00404df8
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
xor edx, edx
mov dl, bl
mov eax, dword [0x4366d4]
call fcn.00416358
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
call fcn.00402c9c
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x24]
mov eax, 8
call fcn.004097a8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea edx, [ebp - 0x1c]
mov ecx, 2
mov eax, 0x4396c4
call fcn.0040ab84
mov eax, dword [ebp - 4]
call fcn.00405280
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp dword [0x4acb6c], 0
je 0x43968b
add bl, 0xfb
sub bl, 4
jae 0x43968b
push 0x242010
push 0x4396f8
mov eax, esi
call fcn.00405280
push eax
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4396b5
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404dc8
lea eax, [ebp - 4]
call fcn.00404da4
ret

Function at 0x4398c4
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x43988c
call sub.user32.dll_EnumWindows
mov eax, dword [esp + 4]
pop ecx
pop edx
ret

Function at 0x439960
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00405080
mov ebx, eax
inc ebx
call sub.kernel32.dll_GetCurrentProcessId
call fcn.004398c4
push eax
call sub.user32.dll_OpenClipboard
xor eax, eax
push ebp
push 0x439a38
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x439a1e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x439a00
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00405280
mov edx, dword [ebp - 8]
mov ecx, ebx
call fcn.00402edc
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 4]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439a07
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
Function at 0x439a48
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
add esp, 0xffffffac
test al, al
je 0x439a94
push esp
call sub.kernel32.dll_GetStartupInfoA_1
lea eax, [esp + 0x44]
xor ecx, ecx
mov edx, 0x10
call fcn.00403690
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 4]
push eax
mov eax, dword [0x4ac714]
call fcn.00405280
push eax
push 0
push 0x220
push 0
push 0
push 0
call sub.kernel32.dll_GetCommandLineA_1
push eax
push 0
call sub.kernel32.dll_CreateProcessA
push 1
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
add esp, 0x54
ret

Function at 0x439c3c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov edx, dword [0x4a9d80]
mov dl, byte [edx]
mov byte [ebp - 1], dl
mov ecx, eax
mov dl, 1
mov eax, dword [0x436788]
call fcn.00439aa8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x439d0c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.00439b20
test al, al
je 0x439cf6
cmp word [ebp - 4], 0x5a4d
jne 0x439cf6
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.0041b768
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.00439b20
test al, al
je 0x439cf6
cmp dword [ebp - 8], 0
je 0x439cf6
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.0041b768
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.00439b20
test al, al
je 0x439cf6
cmp dword [ebp - 0xc], 0x4550
jne 0x439cf6
lea edx, [ebp - 0x24]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.00439b20
test al, al
je 0x439cf6
test byte [ebp - 0x11], 0x20
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439d13
mov eax, dword [ebp - 0x10]
call fcn.00403e0c
ret
Function at 0x439d1c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x439eb3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x436788]
call fcn.00439aa8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x439e96
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.00439b20
test al, al
je 0x439e80
cmp word [ebp - 4], 0x5a4d
jne 0x439e80
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.0041b768
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.00439b20
test al, al
je 0x439e80
cmp dword [ebp - 8], 0
je 0x439e80
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.0041b768
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.00439b20
test al, al
je 0x439e80
cmp dword [ebp - 0xc], 0x4550
jne 0x439e80
lea edx, [ebp - 0x28]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.00439b20
test al, al
je 0x439e7c
test byte [ebp - 0x15], 0x20
je 0x439e7c
push 2
push 0
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.00436e58
mov eax, dword [ebp - 0x2c]
call fcn.00405280
push eax
call sub.kernel32.dll_LoadLibraryExA_1
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x439e75
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push 0x439ec4
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x439e5a
push 0xa
push 0x439ed0
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x439e5a
mov byte [ebp - 1], 2
jmp 0x439e5e
mov byte [ebp - 1], 3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439e80
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x439e9d
mov eax, dword [ebp - 0x10]
call fcn.00403e0c
ret
Function at 0x439fa0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x439fa9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43a1c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404da4
mov eax, esi
call fcn.00404da4
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, ebx
call fcn.00405280
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x43a1a8
mov eax, dword [ebp - 4]
call fcn.00402bdc
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x43a1a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
mov eax, ebx
call fcn.00405280
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x43a188
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x43a1d4
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43a0d2
push 0x43a1f8
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov edx, 4
call fcn.00409780
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.00409780
push dword [ebp - 0x24]
push 0x43a214
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00405140
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00405280
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43a0d2
cmp dword [ebp - 0xc], 1
jbe 0x43a0d2
mov eax, dword [ebp - 0x18]
call fcn.0040a478
mov ecx, eax
mov eax, edi
mov edx, dword [ebp - 0x18]
call fcn.00404e94
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x43a228
mov eax, dword [ebp - 0x14]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x43a188
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.00408034
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov di, word [eax + 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
call fcn.00408034
mov word [ebp - 0xe], ax
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 0xc]
mov word [ebp - 0x10], ax
lea edx, [ebp - 0x28]
movzx eax, bx
call fcn.0040966c
push dword [ebp - 0x28]
push 0x43a234
lea edx, [ebp - 0x2c]
movzx eax, di
call fcn.0040966c
push dword [ebp - 0x2c]
push 0x43a234
lea edx, [ebp - 0x30]
movzx eax, word [ebp - 0xe]
call fcn.0040966c
push dword [ebp - 0x30]
push 0x43a234
lea edx, [ebp - 0x34]
movzx eax, word [ebp - 0x10]
call fcn.0040966c
push dword [ebp - 0x34]
mov eax, esi
mov edx, 7
call fcn.00405140
mov eax, dword [esi]
mov edx, 0x43a240
call fcn.004051cc
jne 0x43a188
mov eax, esi
call fcn.00404da4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a1a8
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.00402c0c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a1ca
lea eax, [ebp - 0x34]
mov edx, 7
call fcn.00404dc8
ret
Function at 0x43a62c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
mov eax, pe_nt_image_headers32
push eax
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405014
add esp, 0x100
pop ebx
ret

Function at 0x43a65c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x810], ebx
mov dword [ebp - 0x80c], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00405270
xor eax, eax
push ebp
push 0x43a758
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, ebx
call fcn.00404df8
lea edx, [ebp - 0x80c]
mov eax, dword [ebp - 4]
call fcn.00409ef0
cmp dword [ebp - 0x80c], 0
jne 0x43a6e0
lea eax, [ebp - 0x810]
call fcn.0043a62c
push dword [ebp - 0x810]
push 0x43a770
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00405140
lea eax, [ebp - 4]
xor ecx, ecx
xor edx, edx
call fcn.004233a0
test al, al
je 0x43a732
mov eax, dword [ebp - 4]
call fcn.00405280
push eax
push 0x800
lea eax, [ebp - 0x808]
push eax
mov eax, ebx
call fcn.00405280
push eax
mov eax, dword [ebp - 8]
call fcn.00405280
push eax
mov eax, edi
call fcn.00405280
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x808]
mov eax, esi
call fcn.00404e94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a75f
lea eax, [ebp - 0x810]
mov edx, 2
call fcn.00404dc8
lea eax, [ebp - 4]
call fcn.00404da4
ret
Function at 0x43b974
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x43baf3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
lea edx, [ebp - 5]
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f6
jb 0x43b9d3
cmp byte [ebp - 5], 0x80
jb 0x43b9d3
and byte [ebp - 5], 0x7f
mov byte [ebp - 6], 1
xor edx, edx
mov dl, byte [ebp - 5]
mov eax, ebx
call fcn.0040318c
xor ecx, ecx
mov cl, byte [ebp - 5]
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f4
jb 0x43bac6
cmp byte [esi + 0x37], 0
je 0x43ba36
mov eax, dword [0x4ac8fc]
mov edx, dword [esi + 0x33]
call fcn.004051cc
je 0x43ba25
mov eax, dword [esi + 0x33]
call fcn.0042e454
mov eax, 0x4ac8fc
mov edx, dword [esi + 0x33]
call fcn.00404df8
xor ecx, ecx
mov cl, byte [ebx]
lea edx, [ebx + 1]
lea eax, [ebx + 1]
call fcn.0042e4f4
jmp 0x43ba6f
cmp byte [ebx], 0
je 0x43ba6f
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00405008
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0042e85c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x43bb0c
call fcn.004050cc
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, 0xff
call fcn.0040505c
cmp byte [ebp - 6], 0
je 0x43bad8
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00405008
push dword [ebp - 0x1c]
push 0x43bb18
lea ecx, [ebp - 0x120]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0043b974
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x20]
call fcn.00405008
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405140
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, 0xff
call fcn.0040505c
jmp 0x43bad8
xor edx, edx
mov dl, byte [ebx]
test edx, edx
jle 0x43bad8
lea eax, [ebx + 1]
xor byte [eax], 0x62
inc eax
dec edx
jne 0x43bad1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43bafa
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404dc8
ret

Function at 0x43faa4
Capabilities:
Hide graphical window

Disassembly:
push ebx
call sub.kernel32.dll_GetCurrentProcessId
call fcn.004398c4
mov ebx, eax
test ebx, ebx
je 0x43fafd
push ebx
call sub.user32.dll_IsIconic
test eax, eax
je 0x43fae6
push 0
push 0xf120
push 0x112
push ebx
call sub.user32.dll_PostMessageA
call fcn.0043fa44
push 5
push ebx
call sub.user32.dll_ShowWindow
push ebx
call sub.user32.dll_SetForegroundWindow
jmp 0x43fafd
push ebx
call sub.user32.dll_GetLastActivePopup
mov ebx, eax
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
je 0x43fafd
push ebx
call sub.user32.dll_SetForegroundWindow
pop ebx
ret
Function at 0x445a80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
cmp byte [0x4a8a60], 0
jne 0x445acd
xor esi, esi
mov edx, 0x4acbb4
mov eax, esi
mov ebx, 8
test al, 1
je 0x445ab3
shr eax, 1
xor eax, 0xedb88320
jmp 0x445ab5
shr eax, 1
dec ebx
jne 0x445aa6
mov dword [edx], eax
inc esi
add edx, 4
cmp esi, 0x100
jne 0x445a9f
mov byte [0x4a8a60], 1
mov eax, dword [esp + 4]
dec eax
test eax, eax
jl 0x445afa
inc eax
xor esi, esi
mov edx, dword [esp]
movzx edx, byte [edx + esi]
xor edx, edi
and edx, 0xff
mov edx, dword [edx*4 + 0x4acbb4]
shr edi, 8
xor edx, edi
mov edi, edx
inc esi
dec eax
jne 0x445ad9
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x446be4
Capabilities:
Query environment variable

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, eax
push 0x800
lea eax, [esp + 4]
push eax
mov eax, dword [ebx]
call fcn.00405280
push eax
call sub.kernel32.dll_ExpandEnvironmentStringsA
mov edx, esp
mov ecx, ebx
xchg ecx, eax
call fcn.00404e94
add esp, 0x800
pop ebx
ret