joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d280
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x455c84
call fcn.00434704
sub esp, 0x528
push ebx
push esi
mov ebx, str.1000.bak
push edi
mov esi, 0x4696c0
push ebx
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.00448c0e
mov eax, dword [eax]
and dword [ebp - 4], 0
push 2
push 0x40000000
push eax
call fcn.0040d415
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00448a4a
cmp dword [ebp - 0x14], 0xffffffff
je 0x40d31a
mov edi, str.1000.tbl
lea eax, [ebp - 0x1c]
push edi
push esi
push eax
call fcn.00448c0e
mov eax, dword [eax]
push 3
push 0x80000000
push eax
mov dword [ebp - 4], 1
call fcn.0040d415
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], eax
call fcn.00448a4a
cmp dword [ebp - 0x10], 0xffffffff
jne 0x40d329
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea ecx, [ebp - 0x2b8]
call fcn.004019ac
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x534]
push 0x514
push eax
push dword [ebp - 0x10]
call fcn.0040cc81
add esp, 0x10
test eax, eax
je 0x40d37d
lea eax, [ebp - 0x534]
push 0x46a868
push eax
call fcn.004350e0
pop ecx
test eax, eax
pop ecx
je 0x40d329
lea eax, [ebp - 0x534]
push eax
push dword [ebp - 0x14]
call fcn.0040ceb8
pop ecx
pop ecx
jmp 0x40d329
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00448c0e
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1c]
call fcn.00448a4a
push edi
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00448c0e
mov eax, dword [eax]
push ebx
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push esi
push eax
mov dword [ebp - 4], 2
call fcn.00448c0e
push dword [ebp - 0x10]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], eax
call fcn.00448a4a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00448a4a
cmp dword [ebp - 0x10], 0
jne 0x40d31a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x40d31a
push edi
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.00448c0e
jmp 0x40d3b5
Function at 0x430b6d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edi
mov ebx, ecx
imul esi, esi, 0x514
mov ecx, dword [0x46af04]
xor eax, eax
add ecx, esi
mov dword [ebp - 0x2c], 0xd
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x2c]
push ecx
push eax
push 0x1007
mov dword [ebp - 0x20], eax
push dword [ebx + 0xb4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_SendMessageA]
and dword [ebp + 8], 0
mov eax, dword [0x46af04]
add ebx, 0x98
mov dword [ebp - 4], ebx
lea esi, [esi + eax + 0x418]
mov ebx, 0x467584
mov eax, dword [ebx]
push dword [eax + esi]
lea eax, [ebp - 0x54]
push 0x4675dc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 0x54]
inc eax
push ecx
mov ecx, dword [ebp - 4]
push eax
push edi
mov dword [ebp + 8], eax
call fcn.00442a8b
mov eax, dword [ebp + 8]
add ebx, 4
cmp ebx, 0x4675d4
mov dword [ebp + 8], eax
jl 0x430bdd
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x432b1e
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1338
call fcn.00435170
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, dword [ebx + 4]
mov edi, ecx
movzx eax, word [esi]
dec eax
dec eax
je 0x432c47
sub eax, 4
je 0x432bc0
sub eax, 0xb
jne 0x432c47
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x64
push eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x432b78
lea eax, [ebp - 0x78]
push 0x466c24
push eax
call fcn.004347f0
pop ecx
pop ecx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
lea edx, [esi + 4]
xor ecx, ecx
mov eax, 0x20202020
mov edi, edx
mov word [esi], 0x11
mov word [esi + 2], cx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
cmp byte [ebp - 0x78], cl
je 0x432bb7
cmp eax, 0xf
jge 0x432bb7
mov bl, byte [ebp + eax - 0x78]
mov byte [edx + eax], bl
inc eax
cmp byte [ebp + eax - 0x78], cl
jne 0x432ba4
mov byte [esi + 0x13], 0x16
jmp 0x432c55
mov ax, word [0x46a66c]
push eax
call dword [edi + 0x74]
mov edi, dword [edi + 0x6c]
mov esi, dword [ebx + 4]
movzx eax, ax
xor ecx, ecx
or eax, 0xb0000
cmp edi, ecx
mov dword [ebp - 0x10], eax
mov word [ebp - 0xc], cx
mov word [ebp - 0xa], cx
mov byte [ebp - 8], 0xc0
mov byte [ebp - 7], cl
mov byte [ebp - 6], cl
mov byte [ebp - 5], cl
mov byte [ebp - 4], cl
mov byte [ebp - 3], cl
mov byte [ebp - 2], cl
mov byte [ebp - 1], 0x46
mov dword [ebp - 0x14], 0x12c0
je 0x432c28
push ecx
lea eax, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x1338]
push eax
push ecx
push 4
push ecx
lea eax, [ebp - 0x10]
push ecx
push eax
push ecx
call edi
cmp eax, 1
jge 0x432c2c
xor eax, eax
jmp 0x432c58
push 0xe
push dword [ebp - 0x1338]
push esi
call fcn.00434970
mov eax, dword [ebp - 0x1334]
add esp, 0xc
mov dword [ebx], eax
jmp 0x432c55
mov ax, word [0x46a66c]
push eax
call dword [edi + 0x74]
mov word [esi + 2], ax
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x43a36b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x468ed8
cmp edx, dword [eax]
je 0x43a38d
add eax, 8
inc ecx
cmp eax, 0x468f68
jl 0x43a37e
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x468ed8]
jne 0x43a4bb
mov eax, dword [0x46d0a0]
cmp eax, 1
je 0x43a495
test eax, eax
jne 0x43a3be
cmp dword [0x468444], 1
je 0x43a495
cmp edx, 0xfc
je 0x43a4bb
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43a3f5
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004347f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00434cf0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x43a438
lea eax, [ebp - 0x1a4]
push eax
call fcn.00434cf0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x466af0
push edi
call fcn.00435400
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004347f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00434800
lea eax, [ebp - 0xa0]
push 0x45ecc0
push eax
call fcn.00434800
push dword [esi + 0x468edc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00434800
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0043cb03
add esp, 0x2c
pop edi
jmp 0x43a4bb
lea eax, [ebp + 8]
lea esi, [esi + 0x468edc]
push 0
push eax
push dword [esi]
call fcn.00434cf0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x43d112
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.0043cd25
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0043cd70
push eax
push esi
push dword [ebp + 8]
call fcn.0043cd25
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0043cd70
push eax
push esi
push dword [ebp + 8]
call fcn.0043cd25
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0043cd60
sbb ah, byte [ebx - 0x6277ed0b]
jl 0x43d1e5
invalid
invalid
Function at 0x43d5e3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0043cd70
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0043cd25
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0043cd70
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0043cd25
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.0043cd70
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0043cd25
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.0043cd60
xchg edx, eax
invalid
Function at 0x43e8e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [ecx]
jne 0x43e98c
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.0043cd70
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.0043ccd1
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x43ecd8
cmp dword [ebp - 0x6fc], 2
jne 0x43ea49
and byte [ebp - 0x79c], 0
and byte [ebp - 0x79b], 0
mov byte [ebp - 0x79a], 0x10
and byte [ebp - 0x799], 0
mov byte [ebp - 0x798], 0xb3
mov byte [ebp - 0x797], 0x8c
mov byte [ebp - 0x796], 0x80
mov byte [ebp - 0x795], 0x81
mov byte [ebp - 0x794], 0x9d
mov byte [ebp - 0x793], 0x8a
mov byte [ebp - 0x792], 0x9c
mov byte [ebp - 0x791], 0xc1
mov byte [ebp - 0x790], 0x8b
mov byte [ebp - 0x78f], 0x83
mov byte [ebp - 0x78e], 0x83
mov byte [ebp - 0x78d], 0xef
call fcn.0043cd60
invalid
cmp dword [ebp - 0x6fc], 3
jne 0x43eaea
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0xed
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0x4e
mov byte [ebp - 0x7a7], 0x55
mov byte [ebp - 0x7a6], 0x56
mov byte [ebp - 0x7a5], 0x7e
invalid
invalid
Function at 0x4416b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00435170
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x44177b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x44177b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x44172e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x441739
or bh, 8
and edi, 0x8000000
je 0x441754
mov eax, dword [0x46e83c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x44177b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441b50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x441b7b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x441b9f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x441bba
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x4442aa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4442cc
cmp dword [edi + 0x3c], 0
jne 0x4442cc
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00453c2f
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004442f9
pop edi
pop esi
pop ebx
ret 8

Function at 0x4458f5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x44592d
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.00448d97
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00448d6f
jmp 0x445939
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x44720a
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 0x44724c
call fcn.00453c2f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x44724c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x447243
xor eax, eax
jmp 0x447254
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0044725a
pop edi
pop esi
pop ebx
ret 4

Function at 0x454bc5
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x454bf3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x454c11
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00454b2b
jmp 0x454c11
mov eax, dword [esi + 0x14]
test eax, eax
je 0x454c11
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00454b2b
test edi, edi
mov eax, edi
jne 0x454bfb
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x455142
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x4551f2
mov ecx, 0x46d040
call fcn.00454cb2
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, eax
cmp word [esi + 8], 0
jne 0x4551d0
push str.COMCTL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x4551ae
mov ecx, dword [ebp + 0x10]
push 5
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, 0x3ee
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4551ae
push ebx
push edi
push eax
call fcn.004492e9
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 4], eax
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ax, word [ebx]
mov word [esi + 8], ax
push dword [esi + 4]
mov ecx, edi
call fcn.00448b43
mov si, word [esi + 8]
xor eax, eax
mov word [ebx], si
cmp si, 0xffff
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 0xc
Function at 0x10028101
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006cfee
call fcn.1006c078
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 0x14], 0x930
cmp dword [ebp - 0x14], 0x95d
push edi
mov dword [ebp - 0x10], esp
jle 0x1002815c
push 0
push 0x1811
push 0x1b27
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
xor esi, esi
xor edi, edi
mov eax, edi
mov ecx, 0x1065e0f8
xor eax, esi
cdq
push edx
push eax
call fcn.1001a275
inc edi
cmp edi, 0x22ed
jl 0x10028139
inc esi
cmp esi, 0x1806
jl 0x10028137
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x875
jge 0x10028178
mov edx, 0x1000b450
mov ecx, 0x1065e0f8
call fcn.1001edaf
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10028257
Capabilities:
Encode data using xor
Get file size

Disassembly:
mov eax, 0x1006d002
call fcn.1006c078
sub esp, 0x10
push ebx
push esi
mov dword [ebp - 0x1c], 0x483
cmp dword [ebp - 0x1c], 0x679
push edi
mov dword [ebp - 0x10], esp
jle 0x100282cf
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
lea ebx, [edi + esi]
mov dword [ebp - 0x14], 0x4ae
xor esi, esi
mov eax, ebx
mov ecx, 0x1065e0f8
xor eax, esi
cdq
push edx
push eax
call fcn.1001a275
inc esi
cmp esi, 0x7779
jl 0x1002828d
dec ebx
dec dword [ebp - 0x14]
jne 0x1002828b
mov esi, dword [ebp - 0x18]
inc edi
cmp edi, 0x6c9c
jl 0x10028281
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x3a6b
jl 0x1002827f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x471
jge 0x100282eb
mov edx, 0x1000b548
mov ecx, 0x1065e0f8
call fcn.1001edaf
mov ecx, dword [ebp - 0xc]
xor al, al
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100283b9
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov dword [esp + 0xc], 0x4ef2
cmp dword [esp + 0xc], 0x519f
push esi
push edi
jle 0x10028435
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x10], 0x4a06
xor edi, edi
mov ecx, edi
mov eax, ebx
shl eax, cl
lea ecx, [esp + 0x18]
cdq
push edx
push eax
call fcn.10025c54
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10028401
mov eax, dword [eax]
push eax
call fcn.10052a2c
pop ecx
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.1001ac26
inc edi
cmp edi, 0x5fda
jl 0x100283e5
add ebx, esi
dec dword [esp + 0x10]
jne 0x100283e3
inc esi
cmp esi, 0xad8
jl 0x100283d9
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
cmp dword [esp + 0x14], 0x4d06
jge 0x1002844a
push 0x1000b64c
call fcn.10052a2c
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10039cb1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.10039c8d
pop ecx
movzx eax, al
test eax, eax
je 0x10039d14
push dword [ebp + 0xc]
call fcn.10039c8d
pop ecx
movzx eax, al
test eax, eax
je 0x10039d14
push dword [ebp + 0x10]
call fcn.10039c8d
pop ecx
movzx eax, al
test eax, eax
je 0x10039d14
push dword [ebp + 0x14]
call fcn.10039c8d
pop ecx
movzx eax, al
test eax, eax
je 0x10039d14
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x1000b204
call fcn.10052a2c
add esp, 0x14
push 0
call fcn.10053af6
pop ebp
ret