joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4190c8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x419215
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
je 0x4190f0
cmp dword [ebx + 4], 0
jne 0x419215
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x419116
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
je 0x419116
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
push eax
call sub.kernel32.dll_UnmapViewOfFile
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x20], edx
push 0
push 0x100000
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ebx + 8]
sbb edx, dword [ebx + 0xc]
push edx
push eax
call fcn.0041748c
mov esi, eax
mov dword [ebx + 4], esi
test esi, esi
je 0x419215
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
jne 0x4191c5
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x41916b
push 4
push 0x1000
push 0x100000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor ecx, ecx
xor edx, edx
call fcn.004174cc
test al, al
je 0x4191bb
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x4191bb
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 4]
jne 0x4191bb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], eax
jmp 0x4191e3
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x20], edx
jmp 0x4191e3
push dword [ebx + 0xc]
push dword [ebx + 8]
mov ecx, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 4
call fcn.00417520
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov dword [ebx], eax
cmp dword [ebx + 0xc], 0
jne 0x419215
cmp dword [ebx + 8], 0
jne 0x419215
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
cdq
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
add dword [ebx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
sub dword [ebx + 4], eax
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x41b594
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, eax
dec ecx
test ecx, ecx
jl 0x41b5bb
inc ecx
mov eax, edx
mov edx, esi
xor dl, byte [eax]
and edx, 0xff
mov edx, dword [edx*4 + 0x52e948]
shr esi, 8
xor edx, esi
mov esi, edx
inc eax
dec ecx
jne 0x41b59f
mov eax, esi
pop esi
ret
Function at 0x41bffc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor esi, esi
mov edi, 0x12
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x1048]
lea eax, [esi + 1]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
xor ebx, ebx
mov bl, byte [eax + edx]
shl ebx, 0x10
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
shl eax, 0x18
add ebx, eax
lea eax, [esi + 2]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
shl eax, 8
add ebx, eax
lea eax, [esi + 3]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
add ebx, eax
xor dword [ecx], ebx
lea eax, [esi + 4]
xor edx, edx
div dword [ebp - 8]
mov esi, edx
add ecx, 4
dec edi
jne 0x41c01b
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor edi, edi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x1048]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.0041bc3c
pop ecx
mov eax, edi
add eax, eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + eax*4 - 0x1048], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4 - 0x1044], ecx
inc edi
cmp edi, 9
jne 0x41c07d
mov edi, 4
mov eax, dword [ebp + 8]
lea ebx, [eax - 0x1000]
xor esi, esi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x1048]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.0041bc3c
pop ecx
mov eax, esi
add eax, eax
mov edx, dword [ebp - 0xc]
mov dword [ebx + eax*4], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + eax*4 + 4], edx
inc esi
cmp esi, 0x80
jne 0x41c0cc
add ebx, 0x400
dec edi
jne 0x41c0ca
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41c114
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffff9c
push ebx
push esi
push edi
mov byte [ebp - 0x104d], cl
mov dword [ebp - 0x104c], edx
mov edi, eax
mov ebx, dword [ebp + 0x14]
lea esi, [ebp - 0x105c]
push esi
push edi
mov esi, 0x52ed4c
lea edi, [ebp - 0x1048]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
mov esi, 0x52ed94
lea edi, [ebp - 0x1000]
mov ecx, 0x400
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push ebp
mov eax, ebx
call fcn.00404a58
push eax
mov eax, ebx
call fcn.00404c58
pop edx
call fcn.0041bffc
pop ecx
mov ebx, edi
cmp byte [ebp - 0x104d], 0
je 0x41c1a1
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x1054], eax
mov dword [ebp - 0x1058], 1
jmp 0x41c1b7
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1054], eax
mov dword [ebp - 0x1058], 0xffffffff
mov eax, dword [ebp - 0x104c]
shr eax, 3
dec eax
test eax, eax
jl 0x41c2d6
inc eax
mov dword [ebp - 0x1064], eax
cmp dword [ebp + 0x10], 0
jne 0x41c1da
cmp dword [ebp + 0xc], 0
je 0x41c256
mov dword [esi], 7
lea eax, [ebp + 0xc]
add eax, dword [esi]
mov dl, byte [eax]
inc edx
and dl, 0xff
mov byte [eax], dl
lea eax, [ebp + 0xc]
add eax, dword [esi]
cmp byte [eax], 0
jne 0x41c200
dec dword [esi]
cmp dword [esi], 0xffffffff
jne 0x41c1e2
lea eax, [ebp + 0xc]
mov eax, dword [eax]
call fcn.0041bc10
mov dword [esi], eax
lea eax, [ebp + 0xc]
add eax, 4
mov eax, dword [eax]
call fcn.0041bc10
mov dword [ebp - 0x1060], eax
push ebp
mov eax, dword [ebp - 0x1058]
push eax
lea edx, [ebp - 0x1060]
mov eax, esi
mov ecx, dword [ebp - 0x1054]
call fcn.0041bc3c
pop ecx
mov eax, dword [esi]
call fcn.0041bc10
xor dword [ebx], eax
mov eax, dword [ebp - 0x1060]
call fcn.0041bc10
lea edx, [ebx + 4]
xor dword [edx], eax
jmp 0x41c2c7
cmp byte [ebp + 8], 0
jne 0x41c2ae
mov edi, ebx
mov eax, dword [edi]
call fcn.0041bc10
mov dword [esi], eax
lea eax, [ebx + 4]
mov eax, dword [eax]
call fcn.0041bc10
mov dword [ebp - 0x1060], eax
push ebp
mov eax, dword [ebp - 0x1058]
push eax
lea edx, [ebp - 0x1060]
mov eax, esi
mov ecx, dword [ebp - 0x1054]
call fcn.0041bc3c
pop ecx
mov eax, dword [esi]
call fcn.0041bc10
mov dword [edi], eax
mov eax, dword [ebp - 0x1060]
call fcn.0041bc10
lea edx, [ebx + 4]
mov dword [edx], eax
jmp 0x41c2c7
push ebp
mov eax, dword [ebp - 0x1058]
push eax
mov edx, ebx
lea eax, [ebx + 4]
mov ecx, dword [ebp - 0x1054]
call fcn.0041bc3c
pop ecx
add ebx, 8
dec dword [ebp - 0x1064]
jne 0x41c1d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41c3e4
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
test edi, edi
jle 0x41c506
lea eax, [edi + 2]
mov ecx, 3
cdq
idiv ecx
mov edx, eax
shl edx, 2
mov eax, esi
call fcn.00404de8
mov ecx, dword [esi]
mov eax, edi
mov esi, 3
cdq
idiv esi
mov esi, eax
test esi, esi
jle 0x41c47d
xor eax, eax
mov al, byte [ebx]
shl eax, 0x10
xor edx, edx
mov dl, byte [ebx + 1]
shl edx, 8
add eax, edx
xor edx, edx
mov dl, byte [ebx + 2]
add eax, edx
mov edx, eax
shr edx, 0x12
and edx, 0x3f
mov dl, byte [edx + 0x52fd94]
mov byte [ecx], dl
mov edx, eax
shr edx, 0xc
and edx, 0x3f
mov dl, byte [edx + 0x52fd94]
mov byte [ecx + 1], dl
mov edx, eax
shr edx, 6
and edx, 0x3f
mov dl, byte [edx + 0x52fd94]
mov byte [ecx + 2], dl
and eax, 0x3f
mov al, byte [eax + 0x52fd94]
mov byte [ecx + 3], al
add ecx, 4
add ebx, 3
dec esi
jne 0x41c41e
mov eax, edi
mov esi, 3
cdq
idiv esi
dec edx
je 0x41c48f
dec edx
je 0x41c4bf
jmp 0x41c50d
xor eax, eax
mov al, byte [ebx]
shl eax, 0x10
mov edx, eax
shr edx, 0x12
and edx, 0x3f
mov dl, byte [edx + 0x52fd94]
mov byte [ecx], dl
shr eax, 0xc
and eax, 0x3f
mov al, byte [eax + 0x52fd94]
mov byte [ecx + 1], al
mov byte [ecx + 2], 0x3d
mov byte [ecx + 3], 0x3d
jmp 0x41c50d
xor eax, eax
mov al, byte [ebx]
shl eax, 0x10
xor edx, edx
mov dl, byte [ebx + 1]
shl edx, 8
add eax, edx
mov edx, eax
shr edx, 0x12
and edx, 0x3f
mov dl, byte [edx + 0x52fd94]
mov byte [ecx], dl
mov edx, eax
shr edx, 0xc
and edx, 0x3f
mov dl, byte [edx + 0x52fd94]
mov byte [ecx + 1], dl
shr eax, 6
and eax, 0x3f
mov al, byte [eax + 0x52fd94]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0x3d
jmp 0x41c50d
mov eax, esi
call fcn.00404788
pop edi
pop esi
pop ebx
ret
Function at 0x41d2f8
Capabilities:
Check if file exists
Get file attributes
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41d463
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x41d33c
mov eax, ebx
call fcn.004050f8
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
jne 0x41d36d
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
je 0x41d448
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00404a20
mov eax, dword [ebp - 0x10]
call fcn.00404c58
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x41d448
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x41d39d
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
mov eax, ebx
call fcn.004050f8
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
jmp 0x41d3ca
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00404a20
mov eax, dword [ebp - 0x14]
call fcn.00404c58
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x41d448
xor eax, eax
push ebp
push 0x41d441
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetFileSize_1
mov edx, eax
mov eax, esi
call fcn.00404de8
cmp dword [esi], 0
je 0x41d421
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esi]
call fcn.00404a58
push eax
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_ReadFile_1
test eax, eax
je 0x41d421
mov eax, dword [esi]
call fcn.00404a58
cmp eax, dword [ebp - 0xc]
je 0x41d425
xor eax, eax
jmp 0x41d427
mov al, 1
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d448
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d46a
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004047ac
ret
Function at 0x41f690
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor eax, eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x41f8b1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x52fdd8], 0
jne 0x41f838
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x41f750
push 0x104
lea eax, [ebp - 0x212]
push eax
mov eax, dword [0x534668]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 4]
lea edx, [ebp - 0x212]
mov ecx, 0x105
call fcn.004050cc
push 1
mov ebx, dword [0x533280]
mov ebx, dword [ebx]
mov ecx, 0x7fffffff
mov edx, dword [ebp - 4]
mov eax, 0x41f8c4
call ebx
mov edx, eax
inc edx
lea eax, [ebp - 4]
mov ecx, 0x7fffffff
call fcn.004052f0
lea eax, [ebp - 0x218]
mov ecx, 0x41f8cc
mov edx, dword [ebp - 4]
call fcn.00405174
mov eax, dword [ebp - 0x218]
call fcn.004050f8
push eax
call sub.kernel32.dll_LoadLibraryW
mov ebx, eax
jmp 0x41f7c4
push 0x104
lea eax, [ebp - 0x212]
push eax
mov eax, dword [0x534668]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 8]
lea edx, [ebp - 0x212]
call fcn.00404990
push 1
mov ebx, dword [0x53358c]
mov ebx, dword [ebx]
mov ecx, 0x7fffffff
mov edx, dword [ebp - 8]
mov eax, 0x41f8ec
call ebx
mov edx, eax
inc edx
lea eax, [ebp - 8]
mov ecx, 0x7fffffff
call fcn.00404cfc
lea eax, [ebp - 0x21c]
mov ecx, 0x41f8f8
mov edx, dword [ebp - 8]
call fcn.00404aa4
mov eax, dword [ebp - 0x21c]
call fcn.00404c58
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x41f838
push 0x41f904
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52fdd4], eax
push 0x41f914
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52fdd8], eax
push 0x41f920
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52fddc], eax
push 0x41f934
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52fde0], eax
push 0x41f948
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52fde4], eax
push 0x41f95c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52fde8], eax
push 0x41f96c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x52fdec], eax
cmp dword [0x52fdd4], 0
je 0x41f877
cmp dword [0x52fdd8], 0
je 0x41f877
cmp dword [0x52fddc], 0
je 0x41f877
cmp dword [0x52fde0], 0
je 0x41f877
cmp dword [0x52fde4], 0
je 0x41f877
cmp dword [0x52fde8], 0
je 0x41f877
cmp dword [0x52fdec], 0
jne 0x41f87b
xor ebx, ebx
jmp 0x41f87d
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f8b8
lea eax, [ebp - 0x21c]
call fcn.00404788
lea eax, [ebp - 0x218]
call fcn.00404f44
lea eax, [ebp - 8]
call fcn.00404788
lea eax, [ebp - 4]
call fcn.00404f44
ret
Function at 0x428810
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov esi, eax
lea eax, [ebp - 0x14]
mov edx, 0x14
call fcn.00408314
mov dword [ebp - 0x14], 0x14
push 0x428918
push 0x428928
call sub.kernel32.dll_GetModuleHandleA_2
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
test ebx, ebx
je 0x428853
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x4288a9
lea eax, [ebp - 8]
push eax
call sub.user32.dll_GetCursorPos
test eax, eax
je 0x4288a9
push dword [ebp - 4]
push dword [ebp - 8]
call sub.user32.dll_WindowFromPoint
test eax, eax
je 0x42887b
push 0
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov ebx, eax
jmp 0x42887d
xor ebx, ebx
test ebx, ebx
je 0x42888f
push 0xffffffffffffffff
push ebx
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetCursor
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x4288a9
push 0
push ebx
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_AttachThreadInput
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x428912
test byte [ebp - 0x10], 1
je 0x428912
lea eax, [ebp - 0x28]
push eax
push ebx
call sub.user32.dll_GetIconInfo
test eax, eax
je 0x4288ea
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4288d1
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4288de
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 4], eax
push 3
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub edx, dword [eax - 8]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
sub edx, dword [eax - 4]
push edx
push esi
call sub.user32.dll_DrawIconEx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429b7c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov byte [esp + 4], cl
mov dword [esp], edx
mov edi, eax
mov ecx, edi
mov al, byte [esp]
mov byte [esp + 5], al
mov edx, edi
shr edx, 8
mov eax, dword [esp]
shr eax, 8
mov byte [esp + 6], al
mov eax, edi
shr eax, 0x10
mov ebx, dword [esp]
shr ebx, 0x10
mov byte [esp + 7], bl
xor esi, esi
cmp byte [esp + 4], 0
je 0x429c12
xor ebx, ebx
mov bl, cl
movzx ebp, byte [esp + 5]
add ebx, ebp
cmp ebx, 0xff
jbe 0x429bd4
inc esi
mov cl, 0xff
jmp 0x429bd8
add cl, byte [esp + 5]
xor ebx, ebx
mov bl, dl
movzx ebp, byte [esp + 6]
add ebx, ebp
cmp ebx, 0xff
jbe 0x429bf0
inc esi
mov dl, 0xff
jmp 0x429bf4
add dl, byte [esp + 6]
xor ebx, ebx
mov bl, al
movzx ebp, byte [esp + 7]
add ebx, ebp
cmp ebx, 0xff
jbe 0x429c0c
inc esi
mov al, 0xff
jmp 0x429c3f
add al, byte [esp + 7]
jmp 0x429c3f
cmp cl, byte [esp + 5]
jae 0x429c1d
inc esi
xor ecx, ecx
jmp 0x429c21
sub cl, byte [esp + 5]
cmp dl, byte [esp + 6]
jae 0x429c2c
inc esi
xor edx, edx
jmp 0x429c30
sub dl, byte [esp + 6]
cmp al, byte [esp + 7]
jae 0x429c3b
inc esi
xor eax, eax
jmp 0x429c3f
sub al, byte [esp + 7]
dec esi
jle 0x429c55
mov cl, byte [esp + 4]
xor cl, 1
mov edx, dword [esp]
mov eax, edi
call fcn.00429b7c
jmp 0x429c6e
and eax, 0xff
shl eax, 0x10
and edx, 0xff
shl edx, 8
add eax, edx
xor edx, edx
mov dl, cl
add eax, edx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42adc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42aec1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, 0x10
call fcn.00408314
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x30]
sub eax, 0x2e
mov dword [esi + 8], eax
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x42ae3e
push 0x410
push esi
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0042afcc
mov eax, dword [ebp - 4]
call fcn.00405108
push eax
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0042afcc
mov eax, dword [ebp - 8]
call fcn.004050f8
push eax
push edi
call sub.user32.dll_DrawTextW
jmp 0x42ae86
push 0x410
push esi
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0042afcc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00404a20
mov eax, dword [ebp - 0xc]
call fcn.00404a58
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.0042afcc
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.00404a20
mov eax, dword [ebp - 0x14]
call fcn.00404c58
push eax
push edi
call sub.user32.dll_DrawTextA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42aec8
lea eax, [ebp - 0x18]
call fcn.00404f44
lea eax, [ebp - 0x14]
call fcn.00404788
lea eax, [ebp - 0x10]
call fcn.00404f44
lea eax, [ebp - 0xc]
call fcn.00404788
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404f5c
ret

Function at 0x42b344
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42b418
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x14], 0
je 0x42b3f8
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x42b3b1
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x14]
push eax
call sub.user32.dll_SendMessageW
mov edx, eax
inc edx
lea eax, [ebx + 0x50]
call fcn.0040546c
mov eax, dword [ebx + 0x50]
push eax
mov eax, dword [ebx + 0x50]
call fcn.00405108
push eax
push 0xd
mov eax, dword [ebx + 0x14]
push eax
call sub.user32.dll_SendMessageW
mov edx, eax
lea eax, [ebx + 0x50]
call fcn.0040546c
jmp 0x42b3f8
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x14]
push eax
call sub.user32.dll_SendMessageA
mov edx, eax
inc edx
lea eax, [ebp - 4]
call fcn.00404de8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a58
push eax
push 0xd
mov eax, dword [ebx + 0x14]
push eax
call sub.user32.dll_SendMessageA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00404de8
lea eax, [ebx + 0x50]
mov edx, dword [ebp - 4]
call fcn.004050e8
mov eax, esi
mov edx, dword [ebx + 0x50]
call fcn.00404f80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b41f
lea eax, [ebp - 4]
call fcn.00404788
ret
Function at 0x430428
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x218], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43069e
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x430570
lea eax, [ebp - 0x20a]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
test eax, eax
jbe 0x4304ae
mov eax, ebx
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.004050cc
jmp 0x4304b5
mov eax, ebx
call fcn.00404f44
mov eax, dword [ebx]
xor edx, edx
call fcn.00405220
jne 0x4304ce
mov ecx, ebx
xor edx, edx
mov eax, 0x1a
call fcn.004323b0
mov eax, dword [ebx]
xor edx, edx
call fcn.00405220
je 0x43065a
push 0
lea eax, [ebp - 0x20a]
push eax
call sub.kernel32.dll_CreateDirectoryW
mov eax, dword [ebx]
call fcn.00405108
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x430508
mov eax, ebx
mov edx, 0x4306b0
call fcn.00405114
push dword [ebx]
lea edx, [ebp - 0x218]
xor eax, eax
call fcn.00430190
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x214]
call fcn.0040c0dc
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
call fcn.00430240
push dword [ebp - 0x210]
push 0x4306b8
mov eax, ebx
mov edx, 3
call fcn.004051d8
push 0
mov eax, dword [ebx]
call fcn.004050f8
push eax
call sub.kernel32.dll_CreateDirectoryW
mov eax, ebx
mov edx, 0x4306b0
call fcn.00405114
jmp 0x43065a
lea eax, [ebp - 0x20a]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
jbe 0x430653
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x20a]
mov edx, esi
call fcn.00404990
mov edx, dword [ebp - 0x21c]
mov eax, ebx
call fcn.004050e8
mov eax, dword [ebx]
xor edx, edx
call fcn.00405220
je 0x43065a
push 0
push esi
call sub.kernel32.dll_CreateDirectoryA
mov eax, dword [ebx]
call fcn.00405108
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x4305dd
mov eax, ebx
mov edx, 0x4306b0
call fcn.00405114
push dword [ebx]
lea edx, [ebp - 0x228]
xor eax, eax
call fcn.00430190
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x224]
call fcn.0040c0dc
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x220]
call fcn.00430240
push dword [ebp - 0x220]
push 0x4306b8
mov eax, ebx
mov edx, 3
call fcn.004051d8
push 0
lea eax, [ebp - 0x22c]
mov edx, dword [ebx]
call fcn.00404a20
mov eax, dword [ebp - 0x22c]
call fcn.00404c58
push eax
call sub.kernel32.dll_CreateDirectoryA
mov eax, ebx
mov edx, 0x4306b0
call fcn.00405114
jmp 0x43065a
mov eax, ebx
call fcn.00404f44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4306a5
lea eax, [ebp - 0x22c]
call fcn.00404788
lea eax, [ebp - 0x228]
mov edx, 3
call fcn.00404f5c
lea eax, [ebp - 0x21c]
call fcn.00404788
lea eax, [ebp - 0x218]
mov edx, 3
call fcn.00404f5c
ret