joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421225
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 0x421267
call fcn.00428179
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x421267
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x42125e
xor eax, eax
jmp 0x42126f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00421275
pop edi
pop esi
pop ebx
ret 4

Function at 0x42679c
Capabilities:
Create http request

Disassembly:
mov eax, 0x42c9d0
call fcn.0040f054
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4267d4
call fcn.00428179
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x4267f9
push eax
push dword [esi + 4]
call fcn.004273dc
jmp 0x426805
push esi
push eax
mov ecx, 0x4428d8
call fcn.00426816
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x426ac7
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x42ca2f
call fcn.0040f054
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0042445f
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x43b8e0]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.004220d0
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.004220d0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x4565f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x45c4cc]
cmp dword [eax + 0x28], 0
jne 0x456608
xor eax, eax
jmp 0x456737
mov ecx, dword [0x45c43c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x45c430], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x45c42c], eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x10], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x45c430]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x45c42c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x45c4b8]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0x45a680
push 0x45a6d0
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x45c428], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00456530
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x4565c0
mov edx, dword [0x45c4cc]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x45c434], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x456737
cmp dword [ebp - 0x38], 0x12
jne 0x45672b
mov dword [0x45c444], 0
call fcn.00456740
xor eax, eax
jmp 0x456737
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4566fc
mov esp, ebp
pop ebp
ret 4

Function at 0x457b00
Capabilities:
Read .ini file
Read and send data from client to server
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x45869c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x45a168
sub eax, eax
test esi, esi
je 0x458774
sub eax, 1
test ecx, ecx
je 0x458772
test esi, 3
je 0x4586da
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x4586bf
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x458759
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x4586e4
mov ecx, edx
test ecx, ecx
je 0x458772
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x45875f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x45877c
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.004587ff
jae 0x45878a
xor ecx, ecx
call fcn.004587ff
jae 0x4587b9
xor eax, eax
call fcn.004587ff
jae 0x4587c9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.004587ff
adc al, al
jae 0x4587ab
jne 0x4587f5
stosb byte es:[edi], al
jmp 0x45878d
call fcn.0045880b
sub ecx, ebx
jne 0x4587d2
call fcn.00458809
jmp 0x4587f1
lodsb al, byte [esi]
shr eax, 1
je 0x45881b
adc ecx, ecx
jmp 0x4587ee
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00458809
cmp eax, 0x7d00
jae 0x4587ee
cmp ah, 5
jae 0x4587ef
cmp eax, 0x7f
ja 0x4587f0
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x45878d
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x45914c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45c000]
jne 0x459156
repz ret
jmp fcn.004593fd
Function at 0x1ef22eac
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x1ef22ee8
movzx eax, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x1ef22f08
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.1ef24b48
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x1ef23140
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.1ef248d8
test esi, esi
jne 0x1ef23176
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.1ef249c8
jmp 0x1ef23194
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.1ef23044
mov edi, eax
test esi, esi
je 0x1ef23194
cmp dword [ebx], 0
je 0x1ef23194
dec esi
jmp 0x1ef2317d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x1ef238cc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x1ef85020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x1ef23964
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x1ef23944
xor eax, eax
push ebp
push 0x1ef2393d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x1ef23980
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1ef23944
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x1ef85020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x1ef85020], ax
mov esp, ebp
pop ebp
ret

Function at 0x1ef24758
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x1ef87048], 0
je 0x1ef247b9
cmp word [0x1ef8721c], 0xd7b2
jne 0x1ef24781
cmp dword [0x1ef87224], 0
jbe 0x1ef24781
mov eax, 0x1ef87218
call dword [0x1ef87234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x1ef247e0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x1ef8502c], 0
jne 0x1ef247d5
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x1ef25cf4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x1ef25f24
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x1ef25d77
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x1ef25f24
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x1ef25d77
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x1ef25f40
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x1ef25e00
xor eax, eax
push ebp
push 0x1ef25df9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.1ef25b30
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x1ef25dde
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x1ef25f60
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x1ef25dde
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1ef25e00
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x1ef25f1a
cmp byte [ebp - 0xd], 0
jne 0x1ef25e47
cmp byte [ebp - 0x12], 0
je 0x1ef25f1a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x1ef25e60
dec ebx
cmp byte [ebx], 0x2e
je 0x1ef25e6f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x1ef25e5f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x1ef25f1a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x1ef25eac
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x1ef25f1a
cmp byte [ebp - 0xd], 0
je 0x1ef25f1a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x1ef25f1a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1ef283d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x1ef28460
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x1ef28460
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x1ef28413
test edx, 3
jne 0x1ef28402
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x1ef2840d
jmp 0x1ef28413
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x1ef28413
cmp dword [ecx - 8], 1
je 0x1ef2841d
mov edx, ebx
or edx, 3
call fcn.1ef25024
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x1ef2842f
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.1ef248d8

Function at 0x1ef2846c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x1ef284fc
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x1ef284fc
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x1ef284af
test edx, 3
jne 0x1ef2849e
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x1ef284a9
jmp 0x1ef284af
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x1ef284af
cmp dword [ecx - 8], 1
je 0x1ef284b9
mov edx, ebx
or edx, 3
call fcn.1ef25024
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x1ef284cb
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.1ef248d8

Function at 0x1ef28e40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.1ef24d9c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x1ef28e59
test al, 0x10
je 0x1ef28e5d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x1ef28e64
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.1ef24d9c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x1ef28e7d
test al, 0x10
jne 0x1ef28e81
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x1ef2baa8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x1ef2bae1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.1ef249c8
jmp 0x1ef2baea
mov eax, ebx
mov edx, esi
call fcn.1ef2492c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1ef2baf4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x1ef2bb16
movzx eax, byte [esp]
jmp 0x1ef2bb18
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x1ef2c1a8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x1ef2c020
mov eax, dword [0x1ef86de0]
cmp byte [eax], 0
je 0x1ef2c224
mov eax, dword [0x1ef86bac]
call fcn.1ef23258
call fcn.1ef22e00
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.1ef29240
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x1ef2c26c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x1ef2c25a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x1ef86b28]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x1ef897f4]
call fcn.1ef25ad8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x1ef2cab8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x1ef2cb8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.1ef24970
lea eax, [ebp - 4]
call fcn.1ef24dec
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.1ef24d9c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x1ef2cb78
mov eax, ebx
call fcn.1ef22ca4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x1ef2cb71
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.1ef24d9c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x1ef2cb5b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1ef2cba0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x1ef2cb5b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1ef2cb78
mov eax, dword [ebp - 0x10]
call fcn.1ef22cc0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1ef2cb95
lea eax, [ebp - 4]
call fcn.1ef248d8
ret
Function at 0x1ef3bb04
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x1ef8a300
cmp dword [edi], 0
jne 0x1ef3bb80
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x1ef8a2fc]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x1ef85ad4
mov ecx, 2
call fcn.1ef22f44
mov edx, 0x1ef3badc
lea eax, [esi + 5]
call fcn.1ef3bafc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.1ef3bafc
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x1ef3bb55
mov dword [0x1ef8a2fc], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1ef3e094
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.1ef24d9c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x1ef3e0ec
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x1ef86f50]
mov dl, 1
mov eax, dword [0x1ef3dbb8]
call fcn.1ef2c368
call fcn.1ef24320
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.1ef3dcc0
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 0x1ef3ef48
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x1ef3ef4e
ret
Function at 0x1ef4d068
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x1ef4d23c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.1ef63158
mov eax, dword [esi]
cmp byte [eax + 0x258], 0
je 0x1ef4d221
call sub.kernel32.dll_GetTickCount
mov edx, dword [esi]
sub eax, dword [edx + 0x268]
mov edx, dword [esi]
cmp eax, dword [edx + 0x2c0]
jb 0x1ef4d0ce
mov eax, dword [esi]
add eax, 0x264
call fcn.1ef248d8
call sub.kernel32.dll_GetTickCount
mov edx, dword [esi]
mov dword [edx + 0x268], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
cmp al, 8
je 0x1ef4d1a8
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov edx, dword [0x1ef86f20]
movzx eax, al
bt dword [edx], eax
jae 0x1ef4d165
push 1
push 0x102
push 0x102
mov eax, dword [esi]
call fcn.1ef641dc
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x1ef4d1ec
mov eax, dword [esi]
push dword [eax + 0x264]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
movzx edx, byte [edx]
call fcn.1ef24ac0
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.1ef24ac0
push dword [ebp - 0x2c]
mov eax, dword [esi]
add eax, 0x264
mov edx, 3
call fcn.1ef24c5c
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x1ef4d1ec
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx edx, byte [edx]
call fcn.1ef24ac0
mov edx, dword [ebp - 0x30]
mov eax, dword [esi]
add eax, 0x264
call fcn.1ef24ba4
jmp 0x1ef4d1ec
mov eax, dword [esi]
mov ebx, dword [eax + 0x264]
test ebx, ebx
je 0x1ef4d195
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
add eax, 0x264
mov ecx, 1
mov edx, ebx
call fcn.1ef24e3c
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
call fcn.1ef24b98
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
call fcn.1ef2cc18
cmp al, 2
je 0x1ef4d184
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
test eax, eax
je 0x1ef4d1d9
sub eax, 4
mov eax, dword [eax]
mov edx, dword [esi]
add edx, 0x264
mov ecx, 1
xchg edx, eax
call fcn.1ef24e3c
mov eax, dword [esi]
mov eax, dword [eax + 0x264]
test eax, eax
je 0x1ef4d1fd
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x1ef4d20a
push ebp
call fcn.1ef4cf80
pop ecx
jmp 0x1ef4d221
xor edx, edx
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
mov eax, dword [esi]
mov si, 0xffeb
call fcn.1ef23cc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1ef4d243
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.1ef248fc
ret