joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ca78
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea esi, [ebp - 0x111]
xor eax, eax
push ebp
push 0x48cc54
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
push 5
call sub.user32.dll_GetDesktopWindow
push eax
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
je 0x48cc39
mov eax, esi
mov edx, 0x105
call fcn.004079a8
push 0x104
push esi
push ebx
call sub.user32.dll_GetClassNameA
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00409a70
mov eax, esi
mov edx, 0x105
call fcn.004079a8
push 0x104
push esi
push ebx
call sub.user32.dll_GetWindowTextA
lea edx, [ebp - 8]
mov eax, esi
call fcn.00409a70
mov eax, dword [ebp - 8]
mov edx, 0x48cc70
call fcn.00404b6c
jne 0x48cc27
push ebx
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48cc27
mov edi, ebx
push 5
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
je 0x48cc39
mov eax, esi
mov edx, 0x105
call fcn.004079a8
push 0x104
push esi
push ebx
call sub.user32.dll_GetClassNameA
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00409a70
mov eax, dword [ebp - 0xc]
mov edx, 0x48cc8c
call fcn.00404b6c
jne 0x48cc13
push 5
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
je 0x48cc39
mov eax, esi
mov edx, 0x105
call fcn.004079a8
push 0x104
push esi
push ebx
call sub.user32.dll_GetClassNameA
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00409a70
mov eax, dword [ebp - 0xc]
mov edx, 0x48cca8
call fcn.00404b6c
jne 0x48cbff
push 5
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
je 0x48cbff
mov eax, esi
mov edx, 0x105
call fcn.004079a8
push 0x104
push esi
push ebx
call sub.user32.dll_GetClassNameA
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00409a70
mov eax, dword [ebp - 0xc]
mov edx, 0x48ccc4
call fcn.00404b6c
jne 0x48cbf1
mov dword [ebp - 4], edi
jmp 0x48cbff
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jne 0x48cbbb
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jne 0x48cb7c
jmp 0x48cc39
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jne 0x48cb35
jmp 0x48cc39
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jne 0x48cabc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cc5b
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404784
ret
Function at 0x492cc8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
test dl, dl
je 0x492cdb
add esp, 0xfffffff0
call fcn.00403c68
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x492d54
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00403900
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [esi + 0x14], 0
lea edx, [ebp - 4]
mov eax, esi
call fcn.00492f04
mov edx, dword [ebp - 4]
lea eax, [esi + 8]
call fcn.004047b4
mov ecx, dword [esi + 8]
lea eax, [esi + 0xc]
mov edx, 0x492d80
call fcn.00404a6c
mov ecx, esi
mov dl, 1
mov eax, dword [0x492b60]
call fcn.0049330c
mov dword [esi + 0x30], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492d5b
lea eax, [ebp - 4]
call fcn.00404760
ret

Function at 0x492dd0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x492e8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi + 0x30]
call fcn.00493300
mov ebx, eax
lea eax, [ebx + 0x18]
mov edx, dword [ebp - 4]
call fcn.004047b4
lea eax, [ebx + 0x10]
mov edx, dword [ebp + 8]
call fcn.004047b4
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x1c], eax
mov eax, edi
call fcn.00404a20
test eax, eax
jle 0x492e30
lea eax, [ebx + 0x14]
mov edx, edi
call fcn.004047b4
jmp 0x492e61
mov eax, dword [ebx + 0x10]
call fcn.00404a20
test eax, eax
jle 0x492e54
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x10]
call fcn.00469a78
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x14]
call fcn.004047b4
jmp 0x492e61
lea eax, [ebx + 0x14]
mov edx, 0x492ea4
call fcn.004047b4
mov eax, ebx
call fcn.00493580
cdq
add eax, dword [esi + 0x28]
adc edx, dword [esi + 0x2c]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492e92
lea eax, [ebp - 8]
call fcn.00404760
ret
Function at 0x4936b4
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4936c6
add esp, 0xfffffff0
call fcn.00403c68
mov ebx, ecx
mov byte [ebp - 1], dl
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.00403900
xor ecx, ecx
mov dl, 1
mov eax, dword [0x48d828]
call fcn.0048dc68
mov dword [esi + 4], eax
call fcn.004698d8
and eax, 1
test eax, eax
jne 0x493708
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x48]
add eax, 0x38
mov edx, 0x493798
call fcn.004047b4
jmp 0x49371b
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x48]
add eax, 0x38
mov edx, 0x493798
call fcn.004047b4
mov eax, dword [esi + 4]
xor edx, edx
call fcn.0048e824
test bl, bl
je 0x49373c
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x48]
add eax, 8
mov edx, 0x4937fc
call fcn.004047b4
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x48]
add eax, 0x14
mov edx, 0x493814
call fcn.004047b4
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x48]
add eax, 4
mov edx, 0x493838
call fcn.004047b4
mov dl, 1
mov eax, dword [0x417364]
call fcn.00403900
mov dword [esi + 8], eax
mov eax, esi
cmp byte [ebp - 1], 0
je 0x493788
call fcn.00403cc0
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x49e24c
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x4e661c]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x49e288
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x49e2a0
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x49e299
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403218
xor edx, edx
mov eax, 0x4e681c
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x49e30a
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x49e2be
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x49e548
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x49e561
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x49e55a
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x49e573
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x49e56c
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0049e13c
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x49e58d
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.0049e24c
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x49e612
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x49e62f
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0049e1cc
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x49e658
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49e670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x49e689
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x49e682
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x49e69d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0049e034
test bl, bl
jne 0x49e770
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4ecef8
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x49e6d4
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x49e6e8
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0049e548
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x49e71a
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x49e6c9
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x49e73d
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x49e74e
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x49e762
jmp 0x49e82b
cmp bl, 1
jne 0x49e82b
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4ecf52
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x49e790
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x49e7a4
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0049e548
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x49e7d6
sub ebx, 6
inc dword [ebp - 8]
jne 0x49e785
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x49e7fd
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x49e80e
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x49e822
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0049e0b8
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x4a28f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a291e
mov eax, ebx
call fcn.004a33a4
cmp dword [ebx + 0x40], 0
je 0x4a2917
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a298f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a2981
cmp dword [ebx + 8], 0
je 0x4a2940
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4a2952
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a2981
cmp dword [ebx + 8], 0
je 0x4a2933
cmp eax, 3
je 0x4a2965
dec eax
jne 0x4a2933
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4a2933
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a2933
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a29ad
cmp dword [ebx + 0x14], 0xcc
je 0x4a29ad
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004a29b8
pop ebx
ret

Function at 0x4b455c
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 0x4b45ad
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4b4594
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4b4584
jmp 0x4b45ad
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 0x4b4595
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c9b18
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4ecf8c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4c9b3a
shr eax, 1
xor eax, 0xedb88320
jmp 0x4c9b3c
shr eax, 1
dec edx
jne 0x4c9b28
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4c9b21
mov byte [0x4ed38c], 1
pop esi
pop ebx
ret

Function at 0x4c9b58
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4ed38c], 0
jne 0x4c9b6f
call fcn.004c9b18
mov eax, edi
dec eax
test eax, eax
jl 0x4c9b98
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4ecf8c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4c9b79
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4cc1b8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4cc1e9
dec al
je 0x4cc225
dec al
je 0x4cc269
dec al
je 0x4cc2d4
jmp 0x4cc35e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4cc35e
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4cc1f9
jmp 0x4cc35e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4cc35e
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4cc235
jmp 0x4cc35e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4cc35e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4cc297
xor ebp, ebp
jmp 0x4cc2a8
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4cc2b1
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4cc279
jmp 0x4cc35e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4cc35e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4cc32c
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004c9ba0
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4cc2e8
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d9208
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, edx
mov byte [eax + 0xa5], bl
cmp byte [eax + 0xa4], 0
je 0x4d925c
mov eax, dword [0x4eb02c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4d9246
test bl, bl
je 0x4d925c
push 0
mov eax, dword [0x4eb02c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
jmp 0x4d925c
test bl, bl
jne 0x4d925c
push 9
mov eax, dword [0x4eb02c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
Function at 0x444890
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x108
mov eax, dword [0x40a5d4]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push 0
push 0x80
push 4
push 0
push 3
push 0xc0000000
push 0x40cd30
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4448fa
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x10
push 0x40cd28
push 0x40cd08
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0046db77
add esp, 0x108
ret
mov ecx, dword [0x408748]
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
xor esi, esi
test ecx, ecx
je 0x444960
xor eax, eax
movzx eax, word [eax + 0x408750]
push eax
push ecx
push esi
lea ecx, [esp + 0x1c]
push 0x40ccf0
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x24]
add esp, 0x14
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x444934
push 0
lea edx, [esp + 0x10]
push edx
sub eax, ecx
push eax
lea eax, [esp + 0x1c]
push eax
push ebx
call ebp
inc esi
lea eax, [esi + esi*2]
add eax, eax
mov ecx, dword [eax + eax + 0x408748]
add eax, eax
test ecx, ecx
jne 0x444910
mov eax, dword [0x4084d8]
push edi
xor edi, edi
test eax, eax
je 0x4449b8
lea esp, [esp]
push eax
lea ecx, [edi + esi]
push ecx
lea edx, [esp + 0x1c]
push 0x40ccd8
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x24]
add esp, 0x10
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x444990
push 0
sub eax, ecx
lea ecx, [esp + 0x14]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
push ebx
call ebp
inc edi
lea eax, [edi + edi*2]
mov eax, dword [eax*4 + 0x4084d8]
test eax, eax
jne 0x444970
lea ecx, [edi + esi - 1]
push ecx
lea edx, [esp + 0x18]
push 0x40cc98
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x14]
lea edx, [eax + 1]
pop edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4449d8
push 0
lea ecx, [esp + 0x10]
push ecx
sub eax, edx
push eax
lea edx, [esp + 0x1c]
push edx
push ebx
call ebp
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x110]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046db77
add esp, 0x108
ret

Function at 0x446900
Capabilities:
Get file size

Disassembly:
push ebx
push esi
mov esi, ecx
mov cl, byte [esp + 0x10]
push edi
mov edi, 4
mov eax, 0xc0000000
lea ebx, [edi - 2]
mov byte [esi], cl
test cl, cl
je 0x446926
mov edi, ebx
mov eax, 0x80000000
lea ebx, [edi + 2]
push 0
push 0x80
push 3
push 0
push 1
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x446974
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ecx, dword [esi + 4]
push 0
push 0
push 0
push edi
push 0
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
mov dword [esi + 8], eax
test eax, eax
jne 0x44697c
mov ecx, esi
call fcn.004468b0
pop edi
pop esi
xor al, al
pop ebx
ret 8
push 0
push 0
push 0
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [esi + 0xc], eax
test eax, eax
je 0x44696d
pop edi
pop esi
mov al, 1
pop ebx
ret 8
Function at 0x448220
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push edi
mov edi, dword [esp + 8]
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x448273
test al, 0x10
je 0x448273
mov eax, edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x448240
sub eax, edx
cmp byte [eax + edi - 1], 0x5c
je 0x448262
lea eax, [esp + 8]
push 0x40cf94
push eax
call fcn.00447ee0
add esp, 8
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x448263
mov ecx, dword [0x40cf90]
mov dword [edi], ecx
pop edi
ret

Function at 0x448c90
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x486544]
push esi
xor esi, esi
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov dword [0x486544], esi
mov dword [0x485f58], esi
mov dword [0x485d70], esi
cmp dword [esp + 0xc], esi
je 0x448cc4
push 1
call fcn.00448b80
add esp, 4
pop esi
ret
mov ecx, dword [esp + 8]
push esi
push ecx
mov dword [0x486540], esi
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
ret

Function at 0x448d70
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 1
mov ecx, 0x486ad8
call fcn.00447ce0
mov ecx, dword [esp + 4]
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
jne 0x448db1
push 0x40000
push 0x40d084
push 0x40d068
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ecx
ret
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
test eax, eax
jne 0x448dde
push 0x40000
push 0x40d084
push 0x40d048
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
pop ecx
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
pop ecx
ret