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

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x440b81
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004039b4
jmp 0x440b8b
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403920
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x441abc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x441af4
mov eax, esi
call fcn.00429350
test al, al
je 0x441af4
mov eax, dword [ebx + 0x74]
call fcn.00429054
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x441af4
push 0
mov eax, dword [ebx + 0x74]
call fcn.00429054
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x444f98
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403d10
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x444ff0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x44eeb8]
mov dl, 1
mov eax, dword [0x444b50]
call fcn.00408f94
call fcn.0040339c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00444c58
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x448170
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push edi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, 0
mov edi, dword [0x45090c]
shl edi, 2
xor edx, dword [esi + 0x44f884]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x44f90c]
mov bl, dl
add ecx, dword [ebx*4 + 0x44fd0c]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x45010c]
mov bl, dl
add ecx, dword [ebx*4 + 0x45050c]
xor eax, ecx
xchg edx, eax
add esi, 4
cmp esi, edi
jne 0x44818d
xchg edx, eax
xor eax, dword [esi + 0x44f884]
xor edx, dword [esi + 0x44f888]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x4481e4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, dword [0x45090c]
inc esi
shl esi, 2
xor edx, dword [esi + 0x44f884]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x44f90c]
mov bl, dl
add ecx, dword [ebx*4 + 0x44fd0c]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x45010c]
mov bl, dl
add ecx, dword [ebx*4 + 0x45050c]
xor eax, ecx
xchg edx, eax
sub esi, 4
cmp esi, 4
jne 0x4481fc
xchg edx, eax
xor eax, dword [0x44f888]
xor edx, dword [0x44f884]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop esi
pop ecx
pop ebx
ret
Function at 0x44857c
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
push edi
mov dword [0x45090c], 0x10
mov esi, 0x44da78
mov edi, 0x44f884
mov ecx, 0x422
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret
Function at 0x405040
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405059
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405094
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x405090
lea ebx, [ebx]
cmp esi, eax
jae 0x405094
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x405080
cmp esi, eax
jb 0x40509a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x412ca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56cf08
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push edi
mov eax, dword [0x5b16b0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
call edi
push eax
call fcn.00485ca0
push eax
lea ecx, [esp + 0x30]
call fcn.0048286a
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
mov edx, dword [esi + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call edi
push eax
call fcn.00485ca0
mov ecx, eax
call fcn.0048251d
cmp dword [esi + 0x130], 0
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
jne 0x412dc1
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x12c]
call fcn.004827d7
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
lea edi, [esi + 0x13c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00482a9e
test edi, edi
je 0x412d7b
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x130]
push edi
push eax
call fcn.00482b23
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x144], eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esi + 0x130]
push ecx
push 0
push 0
push eax
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x10]
sub ecx, dword [esp + 0xc]
lea edx, [esi + 0x12c]
test edx, edx
je 0x412dde
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
push 0
push 0
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.004828be
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x44
ret 4
Function at 0x418820
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x56ced8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
mov eax, dword [0x5b16b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push esi
lea ecx, [esp + 0x18]
call fcn.0048286a
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.004820a9
mov ecx, dword [esi + 0x54]
mov ebx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x140]
call edx
push eax
lea ecx, [esp + 0x18]
call fcn.00482b76
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [edi], ecx
mov dword [edi + 4], edx
test byte [esi + 0x64], 4
je 0x4188a8
add dword [edi], 0xe
push ebx
lea ecx, [esp + 0x18]
call fcn.004820da
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0xffffffff
call fcn.004828be
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x2c
ret 8

Function at 0x41ad10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x56d4c3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebp
push esi
push edi
mov eax, dword [0x5b16b0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.00482309
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea ebp, [esi + 0x10]
mov dword [esi], vtable.CMemDC.0
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov byte [esp + 0x24], 1
xor eax, eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
cmp dword [ebx + 0xc], ecx
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x41addb
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call edx
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.004827d7
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
mov ecx, dword [edi + 8]
sub ecx, dword [edi]
push eax
mov eax, dword [ebx + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.00482a9e
test ebp, ebp
je 0x41adb9
mov ebp, dword [ebp + 4]
mov ecx, dword [esi + 4]
push ebp
push ecx
call fcn.00482b23
mov edx, dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [edi]
push edx
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0048241d
jmp 0x41aded
mov edx, dword [ebx + 0xc]
mov dword [esi + 0xc], edx
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 8]
mov dword [esi + 8], ecx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x18
ret 4
Function at 0x4244f0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
jne 0x424545
mov eax, dword [esi + 0x38]
test eax, eax
je 0x42450e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x38], 0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov dword [esi + 0x68], ecx
mov ecx, 1
mov dword [esi + 0x64], eax
mov eax, esi
mov byte [esi + 0x2c], cl
mov dword [esi + 0x34], ecx
call fcn.004245c0
push 0
push 0
push esi
push 0x424380
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x38], eax
pop esi
ret 8
Function at 0x4326d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56cd18
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5b16b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
push 0x378
lea esi, [edi + 8]
push 0
mov dword [esp + 0x1c], 0
push esi
mov dword [edi], vtable.CVideoDecoder.0
call fcn.004a1c90
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, 0xd
mov dword [edi + 0xf8], ecx
mov dword [edi + 0xf4], 0
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], edx
mov eax, dword [0x5d02d8]
add esp, 0xc
test eax, eax
je 0x432755
cmp dword [eax + 0x1c], 0
je 0x43274e
cmp dword [eax + 8], ecx
je 0x432757
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x432743
xor eax, eax
push eax
call fcn.00433f60
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 0xc

Function at 0x4327c0
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0x2048
push 0
push esi
mov dword [esp + 0xc], 0
call fcn.004a1c90
mov eax, dword [esp + 0x14]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
mov dword [esi], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x432807
xor eax, eax
pop ecx
ret
push 0
lea ecx, [esp + 4]
push ecx
push 0x2030
lea edx, [esi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp], 0x2030
jne 0x432803
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop ecx
ret

Function at 0x432840
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 8], 0
lea ebx, [esi + 0x2038]
mov ecx, dword [esi]
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
push ebx
push ecx
call ebp
cmp dword [esp + 8], 0xe
jb 0x4328cc
mov eax, dword [esi + 0x203a]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push eax
push edi
push ecx
call ebp
mov edx, dword [esp + 8]
cmp edx, dword [esi + 0x203a]
jb 0x4328cc
test byte [ebx], 7
jbe 0x4328be
movzx eax, byte [edi + 0xf]
movzx ecx, byte [edi + 0x10]
mov dl, byte [edi + 0x11]
not al
not cl
mov byte [edi + 0xf], al
movzx eax, byte [edi + 0x12]
mov byte [edi + 0x10], cl
movzx ecx, byte [edi + 0x13]
not dl
not al
not cl
mov byte [edi + 0x11], dl
mov byte [edi + 0x12], al
mov byte [edi + 0x13], cl
test byte [ebx], 0x18
jne 0x432857
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x4328e0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [esi]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
lea ebx, [esi + 0x2038]
push ebx
push ecx
mov dword [esp + 0x1c], 0
call ebp
cmp dword [esp + 8], 0xe
jae 0x432913
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x203a]
mov ecx, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push eax
push edi
push ecx
call ebp
mov edx, dword [esp + 8]
cmp edx, dword [esi + 0x203a]
jb 0x43290d
mov bl, byte [ebx]
test bl, 0x18
jne 0x43296b
test bl, 7
jbe 0x43296b
movzx eax, byte [edi + 0xf]
movzx ecx, byte [edi + 0x10]
mov dl, byte [edi + 0x11]
not al
not cl
mov byte [edi + 0xf], al
movzx eax, byte [edi + 0x12]
mov byte [edi + 0x10], cl
movzx ecx, byte [edi + 0x13]
not dl
not al
not cl
mov byte [edi + 0x11], dl
mov byte [edi + 0x12], al
mov byte [edi + 0x13], cl
pop ebp
mov eax, 1
pop ebx
pop ecx
ret

Function at 0x432d50
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0x3048
push 0
push esi
mov dword [esp + 0xc], 0
call fcn.004a1c90
mov eax, dword [esp + 0x14]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
mov dword [esi], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x432d97
xor eax, eax
pop ecx
ret
push 0
lea ecx, [esp + 4]
push ecx
push 0x3030
lea edx, [esi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp], 0x3030
jne 0x432d93
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop ecx
ret

Function at 0x432dd0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov dword [esp + 8], 0
lea esi, [edi + 0x3038]
mov ecx, dword [edi]
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
push esi
push ecx
call ebp
cmp dword [esp + 8], 0xe
jne 0x432e27
mov eax, dword [esi]
mov ecx, dword [edi]
push 0
lea edx, [esp + 0xc]
push edx
push eax
push ebx
push ecx
call ebp
mov edx, dword [esp + 8]
cmp edx, dword [esi]
jne 0x432e27
test byte [edi + 0x3040], 0x18
jne 0x432de7
pop esi
mov eax, 1
pop ebp
pop ecx
ret
pop esi
xor eax, eax
pop ebp
pop ecx
ret

Function at 0x432e30
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [edi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
push 0
lea eax, [esp + 0xc]
push eax
push 0xe
lea esi, [edi + 0x3038]
push esi
push ecx
mov dword [esp + 0x1c], 0
call ebx
cmp dword [esp + 8], 0xe
je 0x432e63
pop esi
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
push 0
lea edx, [esp + 0xc]
push edx
mov edx, dword [edi]
push eax
push ecx
push edx
call ebx
mov ecx, dword [esp + 8]
xor eax, eax
cmp ecx, dword [esi]
pop esi
sete al
pop ebx
pop ecx
ret
Function at 0x445f50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
imul eax, edx
push ebx
push ebp
push esi
mov ebp, 0x59b320
push edi
xor edi, edi
add eax, ecx
mov ebx, ebp
xor esi, esi
test ecx, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], edi
je 0x445fa6
cmp eax, 1
jl 0x445fa6
mov ebp, dword [esp + 0x24]
mov ebx, eax
imul ebx, ebx, 0x124
add ebp, ebx
mov ebx, dword [ebp - 0x124]
cmp ebx, 3
je 0x445f9a
cmp ebx, 4
jne 0x445fa0
lea esi, [ebp - 0xbc]
mov ebx, dword [esp + 0x14]
mov ebp, ebx
cmp eax, edx
jl 0x445fd0
mov ebp, dword [esp + 0x24]
mov ebx, eax
sub ebx, edx
imul ebx, ebx, 0x124
add ebp, ebx
mov ebx, dword [ebp]
cmp ebx, 3
je 0x445fc7
cmp ebx, 4
jne 0x445fca
lea edi, [ebp + 0x68]
mov ebx, dword [esp + 0x14]
mov ebp, ebx
test ecx, ecx
je 0x446003
lea ecx, [edx + 1]
cmp eax, ecx
jl 0x446003
mov ecx, eax
sub ecx, edx
mov edx, dword [esp + 0x24]
imul ecx, ecx, 0x124
add edx, ecx
mov ecx, dword [edx - 0x124]
cmp ecx, 3
je 0x445ffb
cmp ecx, 4
jne 0x446003
add edx, 0xffffff44
jmp 0x446007
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
imul eax, eax, 0x124
lea eax, [eax + ecx + 0x68]
mov ecx, dword [esp + 0x28]
cmp ecx, 5
ja case.default.0x446022
jmp dword [ecx*4 + 0x446138]
test esi, esi
je 0x446030
lea ebx, [esi + 0x1e]
test edi, edi
je 0x446037
lea ebp, [edi + 0x3c]
test edx, edx
je case.default.0x446022
add edx, 0x5a
jmp 0x4460a5
test edi, edi
mov ebx, eax
je case.default.0x446022
lea ebp, [edi + 0x5a]
add edi, 0x3c
mov dword [esp + 0x10], edi
jmp case.default.0x446022
test esi, esi
je 0x446060
lea ebx, [esi + 0x5a]
add esi, 0x1e
mov dword [esp + 0x10], esi
mov ebp, eax
jmp case.default.0x446022
lea ebx, [eax + 0x3c]
lea ebp, [eax + 0x1e]
mov dword [esp + 0x10], eax
jmp case.default.0x446022
test esi, esi
je 0x446077
lea ebx, [esi + 0x78]
test edi, edi
je 0x44607e
lea ebp, [edi + 0x78]
test edx, edx
je case.default.0x446022
add edx, 0x78
jmp 0x4460a5
test esi, esi
je 0x446091
lea ebx, [esi + 0x96]
test edi, edi
je 0x44609b
lea ebp, [edi + 0x96]
test edx, edx
je case.default.0x446022
add edx, 0x96
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
movsx ecx, word [edx]
movzx ebp, word [ebp]
movzx ebx, word [ebx]
movsx edi, bp
mov eax, ecx
sub eax, edi
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x24], eax
movsx esi, bx
mov eax, esi
sub eax, ecx
mov ecx, dword [esp + 0x24]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
mov ecx, dword [esp + 0x2c]
jge 0x446100
test bp, bp
jle 0x4460fc
mov eax, ecx
sar eax, 1
add eax, edi
cdq
idiv ecx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov word [ecx], ax
add esp, 0x10
ret
mov eax, edi
jmp 0x44611f
test bx, bx
jle 0x44611d
mov eax, ecx
sar eax, 1
add eax, esi
cdq
idiv ecx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov word [ecx], ax
add esp, 0x10
ret
mov eax, esi
mov edx, ecx
sar edx, 1
sub eax, edx
cdq
idiv ecx
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov word [ecx], ax
add esp, 0x10
ret
Function at 0x4612c0
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp eax, 0x20
push esi
jg 0x461373
mov esi, 1
mov ecx, eax
shl esi, cl
cmp edx, esi
jae 0x461373
mov ecx, 0x20
sub ecx, eax
xor esi, esi
shl edx, cl
mov ecx, esi
shl ecx, 0x18
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov eax, ecx
sar eax, 0x1f
add ecx, ecx
and eax, edx
xor eax, ecx
mov ecx, eax
sar ecx, 0x1f
and ecx, edx
add eax, eax
xor ecx, eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 4]
bswap eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 4]
mov dword [edi + esi*4], ecx
add esi, 1
cmp esi, 0x100
jl 0x4612e7
mov dword [edi + 0x400], 1
xor eax, eax
pop esi
pop ecx
ret
or eax, 0xffffffff
pop esi
pop ecx
ret

Function at 0x47e1d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x47e216
call fcn.0048051c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x47e216
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x47e259
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x47e242
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x47e242
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x47e256
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x486d86
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x486dbf
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00404960
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047becf
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x488a0b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x488a4e
call fcn.0048051c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x488a4e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x488a69
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004885c2
test ebx, ebx
mov esi, eax
je 0x488a67
test edi, edi
je 0x488a67
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x48a2ad
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x48a2b6
xor eax, eax
jmp 0x48a31f
cmp dword [esp + 8], 0
jne 0x48a2c2
call fcn.0047dc2b
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0049c6fe
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x48a2fd
push dword [esi + 0x10]
call fcn.004a3521
test eax, eax
pop ecx
jne 0x48a2fd
mov esi, dword [esi + 0xc]
call fcn.004a2802
push esi
push dword [eax]
push 1
call fcn.0048a117
push dword [esi + 0x10]
call fcn.004a3550
test eax, eax
pop ecx
je 0x48a31c
push dword [esi + 0x10]
call fcn.004a3475
push eax
call fcn.00404000
pop ecx
pop ecx
jmp 0x48a2eb
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x48a328
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x48a332
call fcn.0047dc2b
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0049ccd1
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x48a35f
mov esi, dword [esi + 0xc]
call fcn.004a2802
push esi
push dword [eax]
push 1
call fcn.0048a117
pop esi
ret 8

Function at 0x48cfdc
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 0x48d00a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48d028
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048cf46
jmp 0x48d028
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48d028
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0048cf46
test edi, edi
mov eax, edi
jne 0x48d012
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x5b6cb0]
test ecx, ecx
je 0x48d0eb
jmp 0x48cfdb
ret 8

Function at 0x499441
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5b16b0]
jne 0x49944b
repz ret
jmp fcn.004a45f0