joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006db0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
and dword [ebx], 0
push esi
mov esi, eax
and esi, 0x8000000f
push edi
mov edi, dword [ecx + 0x7c]
mov dword [ebp - 4], 0x80004005
jns 0x1006ddb
dec esi
or esi, 0xfffffff0
inc esi
push dword [ebp + 0xc]
cdq
and edx, 0xf
add eax, edx
sar eax, 4
inc eax
push eax
push edi
call fcn.01006653
test eax, eax
je 0x1006e51
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x1006e51
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1006e48
xor edx, edx
movzx ecx, word [eax]
xor edi, edi
inc eax
inc eax
cmp di, cx
je 0x1006e25
movzx ecx, cx
cmp edx, esi
je 0x1006e2d
lea eax, [eax + ecx*2]
inc edx
cmp edx, 0x10
jl 0x1006e0f
jmp 0x1006e48
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebx], eax
neg eax
sbb eax, eax
and eax, 0x7ff8fff2
add eax, 0x8007000e
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10074ab
Capabilities:
Get keyboard layout

Disassembly:
mov edi, edi
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [esi + 0x3c], eax
lea eax, [esi + 8]
push eax
push 0x10018b4
push 0x1001b28
mov ecx, esi
call fcn.01006bdb
mov edi, eax
test edi, edi
jl 0x1007555
lea eax, [esi + 0xc]
push eax
push 0x10018a4
push 0x1001b08
mov ecx, esi
call fcn.01006bdb
mov edi, eax
test edi, edi
jl 0x1007555
lea eax, [esi + 0x18]
push eax
push 0x1001864
push 0x1001abc
mov ecx, esi
call fcn.01006bdb
mov edi, eax
test edi, edi
jl 0x1007555
lea eax, [esi + 0x10]
push eax
mov ecx, esi
call fcn.01006d08
mov edi, eax
test edi, edi
jl 0x1007555
cmp dword [esi + 0x70], 0
push ebx
je 0x100754d
lea ebx, [esi + 0x14]
push ebx
push 0x100187c
push 0x1001b4c
mov ecx, esi
call fcn.01006bdb
mov edi, eax
test edi, edi
jl 0x1007554
push dword [ebx]
mov ecx, dword [esi + 0x70]
push dword [esi + 0x3c]
call fcn.0100b4b8
mov ecx, esi
call fcn.0100738f
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x1008759
Capabilities:
Persist via run registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10261a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push esi
push esi
push 3
push esi
push esi
push 0x1001c00
mov edi, ecx
push 0x80000001
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
call fcn.01007b45
test eax, eax
jne 0x10087f3
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jbe 0x10087e8
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [ebp - 0x20c]
cmp eax, ecx
je 0x10087e8
push 1
push eax
push eax
lea ecx, [ebp - 0x218]
call fcn.01007b9a
lea ecx, [ebp - 0x218]
call fcn.01007b27
push esi
push esi
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x218]
call fcn.01007b27
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100c84f
leave
ret
Function at 0x1009e33
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
call fcn.0100b643
test al, al
je 0x1009ead
lea eax, [ebp - 8]
push eax
push 0xc
mov ecx, esi
call fcn.01009b33
cmp dword [ebp - 8], 0
mov edi, dword [sym.imp.USER32.dll_CheckDlgButton]
setne bl
xor eax, eax
test bl, bl
setne al
push eax
push 0x13a3
push dword [esi]
call edi
movzx eax, bl
push eax
mov ebx, 0x13a4
push ebx
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 8]
push eax
push 0xd
mov ecx, esi
call fcn.01009b33
xor eax, eax
cmp dword [ebp - 8], eax
setne al
push eax
push ebx
push dword [esi]
call edi
jmp 0x1009fb4
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x13a5
lea eax, [ebx + 2]
push eax
push dword [esi]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0x13a3
mov dword [ebp - 0xc], 0x13a4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0x13a1
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], 2
call edi
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push ebx
push dword [esi]
call edi
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [ebp - 0x20]
sub ebx, dword [ebp - 0x40]
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
push dword [ebp + eax*4 - 0x14]
push dword [esi]
call edi
push 0
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jb 0x1009f0e
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
push dword [ebp + eax*4 - 0x34]
push dword [esi]
call edi
lea ecx, [ebp - 0x24]
push ecx
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
lea eax, [ebp - 0x24]
push eax
push dword [esi]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x20]
push 5
xor eax, eax
push eax
push eax
sub ecx, ebx
push ecx
push dword [ebp - 0x24]
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jb 0x1009f3d
lea eax, [ebp - 0x24]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push 6
sub eax, ebx
push eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100b3b9
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 8], 0x80004005
xor edi, edi
push 2
push dword [esi]
call sub.MSSWCH.dll_Ordinal_13
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x100b3f2
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x3c
jl 0x100b3d1
cmp dword [esi + 4], ebx
je 0x100b4ab
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 0x403
push dword [esi]
mov dword [ebp - 0x14], 8
call dword [sym.imp.USER32.dll_ChangeWindowMessageFilterEx]
push ebx
push dword [esi]
call sub.MSSWCH.dll_Ordinal_1
mov eax, dword [0x1026aac]
push ebx
mov dword [ebp - 0x3c], 0xb
mov dword [ebp - 0x38], 0x100b301
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x1002044
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x100b4ab
push ebx
push ebx
push 1
push ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x100b4ab
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 4]
push eax
push 0x100b0ba
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x100b4ab
push 0xbb8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100bfe9
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c4
and dword [ebp - 4], 0
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0xa2
call esi
mov edi, 0x8000
xor ebx, ebx
mov ecx, edi
inc ebx
test cx, ax
je 0x100c01a
mov dword [ebp - 4], ebx
push 0xa3
call esi
push 2
test di, ax
pop edi
je 0x100c02c
or dword [ebp - 4], edi
push 0xa4
call esi
mov ecx, 0x8000
test cx, ax
je 0x100c041
or dword [ebp - 4], 4
push 0xa5
call esi
mov ecx, 0x8000
test cx, ax
je 0x100c056
or dword [ebp - 4], 8
push 0xa0
call esi
mov ecx, 0x8000
test cx, ax
je 0x100c06b
or dword [ebp - 4], 0x10
push 0xa1
call esi
mov ecx, 0x8000
test cx, ax
je 0x100c080
or dword [ebp - 4], 0x20
and dword [ebp - 0x1c4], 0
push 0x1bc
lea eax, [ebp - 0x1c0]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
xor eax, eax
test byte [ebp - 4], bl
je 0x100c0be
mov eax, 0xa2
mov word [ebp - 0x1c0], ax
mov dword [ebp - 0x1c4], ebx
mov dword [ebp - 0x1bc], edi
mov eax, ebx
test byte [ebp - 4], 2
push 3
pop esi
je 0x100c0e2
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
mov edx, 0xa3
mov dword [ecx], ebx
mov word [ecx + 4], dx
mov dword [ecx + 8], esi
inc eax
test byte [ebp - 4], 4
je 0x100c103
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
mov edx, 0xa4
mov dword [ecx], ebx
mov word [ecx + 4], dx
mov dword [ecx + 8], edi
inc eax
test byte [ebp - 4], 8
je 0x100c124
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
mov edx, 0xa5
mov dword [ecx], ebx
mov word [ecx + 4], dx
mov dword [ecx + 8], esi
inc eax
test byte [ebp - 4], 0x10
je 0x100c145
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
mov edx, 0xa0
mov dword [ecx], ebx
mov word [ecx + 4], dx
mov dword [ecx + 8], edi
inc eax
test byte [ebp - 4], 0x20
je 0x100c166
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
mov edx, 0xa1
mov dword [ecx], ebx
mov word [ecx + 4], dx
mov dword [ecx + 8], edi
inc eax
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
and dword [ecx + 8], 0
mov dword [ecx], ebx
push 0x5b
pop edx
mov word [ecx + 4], dx
inc eax
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
and dword [ecx + 8], 0
mov dword [ecx], ebx
push 0x55
pop edx
mov word [ecx + 4], dx
inc eax
mov ecx, eax
imul ecx, ecx, 0x1c
lea ecx, [ebp + ecx - 0x1c4]
mov word [ecx + 4], dx
mov dword [ecx], ebx
mov dword [ecx + 8], edi
inc eax
mov ecx, eax
imul ecx, ecx, 0x1c
push 0x5b
lea ecx, [ebp + ecx - 0x1c4]
pop edx
mov dword [ecx], ebx
mov word [ecx + 4], dx
mov dword [ecx + 8], edi
push 0x1c
lea ecx, [ebp - 0x1c4]
push ecx
inc eax
push eax
call dword [sym.imp.USER32.dll_SendInput]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100c834
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x10202c0
call fcn.0100cac4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x10276f8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x100c5ef
cmp eax, esi
jne 0x100c5e2
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x100c5f2
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100c5c9
xor esi, esi
inc esi
mov eax, dword [0x10276f4]
cmp eax, esi
jne 0x100c605
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100c634
mov eax, dword [0x10276f4]
test eax, eax
jne 0x100c62e
mov dword [0x10276f4], esi
push 0x100154c
push 0x1001540
call fcn.0100c52b
pop ecx
pop ecx
test eax, eax
je 0x100c634
jmp 0x100c758
mov dword [0x1026cfc], esi
mov eax, dword [0x10276f4]
cmp eax, esi
jne 0x100c658
push 0x100153c
push 0x1001504
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10276f4], 2
cmp dword [ebp - 0x20], ebx
jne 0x100c665
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10276fc], ebx
je 0x100c686
push 0x10276fc
call fcn.0100ca39
pop ecx
test eax, eax
je 0x100c686
push ebx
push 2
push ebx
call dword [0x10276fc]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x100c758
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x100c6f0
cmp cx, bx
je 0x100c6ab
cmp dword [ebp - 0x1c], ebx
jne 0x100c6f0
movzx ecx, word [eax]
cmp cx, bx
je 0x100c6c0
cmp cx, 0x20
ja 0x100c6c0
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x100c6ab
test byte [ebp - 0x40], 1
je 0x100c6cc
movzx ecx, word [ebp - 0x3c]
jmp 0x100c6cf
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x1026cf8], eax
cmp dword [0x1026cec], ebx
jne 0x100c735
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x100c701
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x100c695
cmp dword [0x1026cfc], ebx
jne 0x100c743
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1026cf8]
jmp 0x100c764
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0100cb09
ret
call fcn.0100ccb7
jmp 0x100c58c
Function at 0x100eb39
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x10261a8]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 0xc]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceExW]
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push eax
push 6
push edi
mov dword [ebp - 0x174], edi
call esi
xor ebx, ebx
mov dword [ebp - 0x160], eax
cmp eax, ebx
jne 0x100ed1a
push ebx
push 0x55
lea eax, [ebp - 0xb0]
push eax
movzx eax, word [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LCIDToLocaleName]
test eax, eax
je 0x100ebf3
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x6d
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x100ebf3
push 0x55
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_ResolveLocaleName]
push ebx
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_LocaleNameToLCID]
cmp eax, ebx
je 0x100ebf3
push eax
movzx eax, word [ebp + 0xc]
push eax
push 6
push edi
call esi
mov dword [ebp - 0x160], eax
cmp eax, ebx
jne 0x100ed1a
mov edi, dword [sym.imp.KERNEL32.dll_GetUserPreferredUILanguages]
lea eax, [ebp - 0x164]
push eax
push ebx
lea eax, [ebp - 0x168]
push eax
push 4
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
call edi
test eax, eax
je 0x100ed04
mov eax, dword [ebp - 0x164]
cmp eax, ebx
jbe 0x100ed04
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
pop ecx
mov dword [ebp - 0x16c], eax
cmp eax, ebx
je 0x100ed04
lea ecx, [ebp - 0x164]
push ecx
push eax
lea eax, [ebp - 0x168]
push eax
push 4
call edi
mov edi, dword [ebp - 0x16c]
mov dword [ebp - 0x170], ebx
cmp dword [ebp - 0x168], ebx
jbe 0x100ecf0
push 0x10
push ebx
push edi
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
movzx eax, ax
push eax
movzx eax, word [ebp + 0xc]
push eax
push 6
push dword [ebp - 0x174]
call esi
mov dword [ebp - 0x160], eax
cmp eax, ebx
jne 0x100ecf0
lea eax, [ebp - 0x178]
push eax
push dword [ebp - 0x164]
mov dword [ebp - 0x178], ebx
push edi
call fcn.01005e0c
test eax, eax
jl 0x100ecf0
mov eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x16c]
lea edi, [edi + eax*2 + 2]
mov eax, dword [ebp - 0x164]
lea eax, [ecx + eax*2]
cmp edi, eax
jae 0x100ecf0
inc dword [ebp - 0x170]
mov eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x168]
jb 0x100ec78
push dword [ebp - 0x16c]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
pop ecx
cmp dword [ebp - 0x160], ebx
jne 0x100ed1a
movzx eax, word [ebp + 0xc]
push ebx
push eax
push 6
push dword [ebp - 0x174]
call esi
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x160]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100c84f
leave
ret 0xc
Function at 0x1019551
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp byte [ecx + 0x86], 0
je 0x1019655
cmp byte [0x1027338], 0
jne 0x1019655
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x1019654
cmp dword [ebp + 0x10], 0
je 0x101958c
cmp dword [ebp + 0x10], 1
jne 0x1019654
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
lea edi, [ecx + 0x80]
call ebx
mov ecx, eax
sub ecx, dword [edi]
mov eax, 0x438
cmp ecx, eax
jae 0x10195ad
call ebx
sub eax, dword [edi]
mov bl, 0xc8
cmp eax, 0x50
jbe 0x10195d1
push 0x3e8
mov ecx, 0x438
sub ecx, eax
push ecx
push 0xaf
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, eax
add bl, 0x19
test dword [esi + 0x14], 0x1f0000
mov edi, dword [esi + 0x10]
jne 0x1019619
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x80]
push dword [0x10274fc]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x28]
test al, al
jne 0x1019619
mov edi, dword [edi + 0x28]
test edi, edi
je 0x1019652
mov edi, dword [edi + 0x28]
test edi, edi
je 0x1019652
movzx edi, word [edi + 0x58]
push 0x1003af4
call sub.DUI70.dll_StrToID
cmp ax, di
jne 0x1019652
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 4]
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov byte [ebp + 0x10], 0
mov byte [ebp + 0x11], 0
mov byte [ebp + 0x12], bl
mov byte [ebp + 0x13], 1
push dword [ebp + 0x10]
push ecx
push eax
push 0
push 0
push dword [esi + 0x18]
push ecx
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_GdiAlphaBlend]
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x101e18f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
movzx eax, byte [esi + 9]
push edi
push eax
movzx eax, byte [esi + 8]
push eax
movzx eax, byte [esi + 7]
push eax
mov ebx, 0xff
push ebx
call fcn.01014416
movzx ecx, byte [esi + 0xb]
movzx edx, byte [esi + 0xa]
mov edi, eax
movzx eax, byte [esi + 0xc]
push eax
push ecx
push edx
push ebx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov byte [ebp - 0xc], 0xc0
mov byte [ebp - 8], 0xc0
mov byte [ebp - 4], 0xc0
call fcn.01014416
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x101e221
movzx eax, byte [esi + 6]
push eax
movzx eax, byte [esi + 5]
push eax
movzx eax, byte [esi + 4]
push eax
push ebx
call fcn.01014416
cmp dword [ebp - 0x10], eax
je 0x101e221
mov al, byte [esi + 0xa]
mov byte [ebp - 0xc], al
mov al, byte [esi + 0xb]
mov byte [ebp - 8], al
mov al, byte [esi + 0xc]
mov byte [ebp - 4], al
push dword [ebp - 4]
mov dword [esi + 0x2c], edi
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call fcn.01014416
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x44], eax
movzx eax, byte [esi + 6]
push eax
movzx eax, byte [esi + 5]
push eax
movzx eax, byte [esi + 4]
push eax
push ebx
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
call fcn.01014416
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
pop edi
mov dword [esi + 0x4c], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
pop esi
pop ebx
leave
ret

Function at 0x101ebbb
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x10261a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0101eafc
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x101ec2e
cmp dword [ebp - 0x94], 5
jb 0x101ec4f
jmp 0x101ec4b
cmp dword [ebp - 0x88], 1
jne 0x101ec4f
cmp dword [ebp - 0x94], 4
ja 0x101ec4b
jne 0x101ec4f
cmp dword [ebp - 0x90], 0
jbe 0x101ec4f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x10041ec
call fcn.01017e01
test eax, eax
jge 0x101ec70
mov byte [0x1026ae8], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0100c84f
leave
ret
Function at 0x405609
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
rdtsc
mov dword [ebp - 4], eax
cmp dword [fcn.00404805], 0
jne 0x405614
mov dword [fcn.00404805], eax
rdtsc
xor eax, edx
xor edx, edx
mov ebx, 5
div ebx
add edx, 3
mov ecx, edx
loop 0x405634
mov eax, dword [ebp - 4]
cmp dword [fcn.00404805], eax
jne 0x40560f
mov esp, ebp
pop ebp
ret

Function at 0x41780e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x416a26], 0x3ed5a8
je 0x41796d
jmp 0x41782a
xor ebx, 0xf7998c9c
mov edx, 0xfe04e9f6
xor edx, 0xfe2f76dd
mov ebx, 0xff392694
call fcn.00417869
mov edx, 0xfe918e6e
mov edx, 0xfdb36a42
mov edx, 0xfb769a39
mov ebx, 0xfc79b454
cmp eax, 0x8401642e
jne 0x402498
jmp 0x417907
call fcn.0041793d
jmp 0x41796d
mov edx, 0xfb3bbe3e
mov dword [0x416a26], 0x3ed5a8
mov edx, 0xfdd855af
jmp 0x4178cc
lds ebx, [ecx + 0x75]
in eax, 0x5d
punpckhdq mm5, mm5
inc edx
or byte [ecx], ah
stosd dword es:[edi], eax
push 0x63cd2e44
inc esp
cld
pop esi
or byte [esi - 0xa], ch
dec ebx
push ss
das
loope 0x4179e0
add dword [ecx], esp
stosd dword es:[edi], eax
jp 0x4179f3
cld
pop esi
or byte [esi - 0xa], ch
dec ebx
push ss
das
loope 0x4179f0
add dword [ecx], eax
aam 0x5c
or esp, dword [esi - 0xa]
dec edi
or dword [ecx], esp
leave
dec edi
or ah, byte [eax - 0x1d]
dec ebx
push ss
add dword [0x81c6985b], ecx
mov ecx, dword [edi + 0x41]
test byte [esi], ch
add dword fs:[edi + 0x4b0df909], eax
nop
mov cl, 0xde
add dword fs:[esi + ebp + 0x4281bf04], eax
and eax, 0x9b4ad201
add edx, edx
dec edx
wait
xor al, 0x84
add eax, esp
cmpsd dword [esi], dword es:[edi]
inc ecx
add dword [esi + ebp - 0x2d0e759c], eax
push cs
add esp, ebp
in al, dx
inc ecx
cmovo eax, dword [ecx + edx*8 + 0x6c11bf71]
imul esp, dword fs:[ebx + 0x2d], 0x3b7b0164
jnp 0x417a2d
mov dl, byte [ebp + 0x10e2ec6]
in al, dx
mov eax, dword [0xd184400f]
jno 0x4179bf
xchg ebp, eax
invalid
adc dword [esp - 0x16], ebp
cmpsb byte [esi], byte es:[edi]
jmp 0x6ef11e6b
out 0xc5, eax
mov al, byte [0xff909a5]
dec ebx
nop
cmp cl, 0xde
je 0x4179cb
inc esi
sub dh, byte [esp + eax*4 + 0x2e]
mov word [edi + 0x65], fs
rcr byte [ebx + 0xe0881c6], 1
inc eax
test byte [ebp - 0x36], bh
add al, byte [ecx + 0x26813055]
cmovo eax, dword [edi + ebx + 0x6fef1661]
xor byte fs:[ecx - 0x7bbff1bf], al
invalid

Function at 0x423cc2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
pushal
cmp dword [0x422edb], 0xf7d77d
je 0x423e11
jmp 0x423cdf
xor edx, 0xfe8b8684
mov ebx, 0xf9b2e8ae
mov edx, 0xc9cfb7
call fcn.00423da3
mov edx, 0xfe11dfd0
xor edx, 0xf866bafe
xor edx, 0xfa3262af
cmp eax, 0x1d48de52
jne 0x402498
jmp 0x423d6a
call fcn.00423d4b
jmp 0x423e11
mov edx, 0xf8fcfa64
mov dword [0x422edb], 0xf7d77d
mov ebx, 0xf84b2089
jmp 0x423d1c
xchg ebp, eax
wait
mov ah, 0x1d
push edx
fimul word [eax - 0xa]
invalid