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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [0x108c93d8]
push esi
push 0x1013eb5c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x10110fd4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, 0xc
jb 0x10110fd4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x10110fd4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x10110fc9
mov edx, dword [edi + 4]
push esi
push ebx
cmp edx, dword [edi + 8]
jne 0x10110f8a
mov eax, dword [edi]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
lea edx, [ecx*4 + 0xc]
cmp eax, edx
jb 0x10110fd3
xor ebx, ebx
test ecx, ecx
je 0x10110fc9
mov eax, dword [ebp + 8]
mov esi, dword [edi + ebx*4 + 0xc]
push eax
call fcn.10110cd0
inc ebx
add esp, 4
cmp ebx, dword [edi]
jb 0x10110f64
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi]
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
lea edx, [ecx*8 + 0xc]
cmp eax, edx
jb 0x10110fd3
xor ebx, ebx
test ecx, ecx
je 0x10110fc9
lea esp, [esp]
mov eax, dword [edi + ebx*8 + 0x10]
add eax, dword [ebp + 8]
mov esi, dword [edi + ebx*8 + 0xc]
push eax
call fcn.10110cd0
inc ebx
add esp, 4
cmp ebx, dword [edi]
jb 0x10110fb0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10110fe0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x1014a018]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call sub.MSVCR100.dll_memset
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push edx
lea eax, [ebp - 0x104]
push 0x100
push eax
call dword [sym.imp.MSVCR100.dll_vsprintf_s]
add esp, 0x1c
push 0x10
push str.Error
lea ecx, [ebp - 0x104]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10111130
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1014a018]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov edi, eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push edi
push 0
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x104]
push edx
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push esi
call dword [sym.imp.USER32.dll_ToAsciiEx]
pop edi
cmp eax, 1
jne 0x10111198
mov ax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012db16
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.1012db16
mov esp, ebp
pop ebp
ret
Function at 0x10112290
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp dword [0x10a771dc], 0xffffffff
mov edx, eax
je 0x10112304
mov eax, 0xf0
mov ecx, 0x118c4e50
call fcn.100bb9d0
test al, al
je 0x10112304
cmp dword [ebp + 8], 0x201
jne 0x101122d1
mov byte [0x118c9d08], 1
mov al, 1
pop esi
pop ebp
ret 4
mov eax, edx
sub eax, dword [0x118c9e54]
cmp eax, 0x64
jb 0x10112304
sub edx, dword [0x118c9ea8]
cmp edx, 0x64
jb 0x10112304
inc dword [0x107b76c4]
mov byte [0x118c9e58], 0
call esi
mov dword [0x118c9e54], eax
mov al, 1
pop esi
pop ebp
ret 4
xor al, al
pop esi
pop ebp
ret 4

Function at 0x10112310
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
cmp dword [0x10a771e0], 0xffffffff
mov edx, eax
je 0x10112388
mov eax, 0xf1
mov ecx, 0x118c4e50
call fcn.100bb9d0
test al, al
je 0x10112388
cmp dword [ebp + 8], 0x201
jne 0x10112352
mov eax, 1
mov byte [0x118c9eac], al
pop esi
pop ebp
ret 4
mov eax, edx
sub eax, dword [0x118c9ea8]
cmp eax, 0x64
jb 0x10112388
sub edx, dword [0x118c9e54]
cmp edx, 0x64
jb 0x10112388
mov byte [0x118c9eac], 0
call esi
mov dword [0x118c9ea8], eax
mov eax, 1
sub dword [0x107b76c4], eax
pop esi
pop ebp
ret 4
xor al, al
pop esi
pop ebp
ret 4
Function at 0x10114880
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
mov eax, 0x160
mov ecx, 0x118c4e50
call fcn.100bb9d0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
test al, al
je 0x101148da
call edi
sub eax, dword [0x118cc314]
cmp esi, 0x201
jne 0x10114974
cmp byte [0x118cc318], bl
jne 0x101148c6
mov byte [0x118cc318], 1
cmp eax, 0x1388
jb 0x101148da
mov byte [0x118cc318], bl
call edi
mov dword [0x118cc314], eax
cmp byte [0x118cbc89], bl
je 0x10114b22
mov eax, 0x156
mov ecx, 0x118c4e50
call fcn.100bb9d0
test al, al
je 0x10114938
cmp byte [0x118cbfd2], bl
je 0x10114938
call edi
sub eax, dword [0x118cbfcc]
cmp esi, 0x201
jne 0x10114a5f
cmp byte [0x118cbfd0], bl
jne 0x10114924
mov byte [0x118cbfd0], 1
cmp eax, 0x1388
jb 0x10114938
mov byte [0x118cbfd0], bl
call edi
mov dword [0x118cbfcc], eax
push ebx
push esi
mov eax, 0x151
mov edi, 0x118c4e50
call fcn.100c3070
test al, al
je 0x10114aad
mov dword [0xe8cb3c], ebx
mov byte [0x118cbc89], bl
mov dword [0xe8cb3c], ebx
pop edi
mov byte [0x118cbcb9], bl
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x202
jne 0x101148c6
cmp byte [0x118cc318], 1
jne 0x101148c6
mov byte [0x118cc318], bl
call fcn.100bc350
test al, al
jne 0x10114b22
push 0x48
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10114b22
push 1
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10114b22
push 0x39
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10114b22
push 0x41
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10114b22
push 0x22
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10114b22
push 0x10
mov eax, 0x861110
call eax
mov edx, 0x85ec20
mov ecx, eax
call edx
test al, al
jne 0x10114b22
lea eax, [ebp - 8]
mov ecx, 4
push eax
mov dword [ebp - 8], 0x3fd04c1
call fcn.10100800
add esp, 4
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0x202
jne 0x10114924
cmp byte [0x118cbfd0], 1
jne 0x10114924
mov dl, byte [0x11920ac0]
lea eax, [ebp - 8]
mov dword [ebp - 7], ebx
mov ecx, 5
push eax
mov byte [0x118cbfd0], bl
mov dword [ebp - 8], 0xdfd05c1
mov byte [ebp - 4], dl
call fcn.10100800
add esp, 4
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov eax, 0x153
mov edi, 0x118c4e50
call fcn.100c3070
test al, al
je 0x10114ad3
pop edi
mov dword [0x11920ac0], ebx
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov eax, 0x154
mov edi, 0x118c4e50
call fcn.100c3070
test al, al
je 0x10114af8
mov eax, 1
pop edi
mov dword [0x11920ac0], eax
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov eax, 0x155
mov edi, 0x118c4e50
call fcn.100c3070
test al, al
je 0x10114b22
pop edi
mov dword [0x11920ac0], 2
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10115050
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x118cae14]
cmp eax, 0x3e8
jb 0x1011509d
mov eax, pe_nt_image_headers32
mov ecx, 0x118c4e50
call fcn.100bb9d0
test al, al
je 0x1011509d
cmp dword [ebp + 8], 0x201
jne 0x1011508f
mov byte [0x118cae18], 1
pop esi
pop ebp
ret
mov byte [0x118cae18], 0
call esi
mov dword [0x118cae14], eax
pop esi
pop ebp
ret
Function at 0x1011ef70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, ebx
jae 0x1011efa2
jmp 0x1011ef90
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, edi
cmp eax, ebx
jb 0x1011ef90
pop edi
xor al, al
pop esi
pop ebp
ret
Function at 0x1011efb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012fdc6
mov eax, dword fs:[0]
push eax
sub esp, 0x654
mov eax, dword [0x1014a018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dx, word [0x1013edd4]
mov dword [ebp - 0x65c], eax
lea eax, [ebp - 0x620]
mov esi, ecx
mov ecx, dword [0x1013edd0]
push eax
push 0x3ff
mov dword [ebp - 0x660], esi
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x14], dx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1011f1d8
lea ebx, [ebp - 0x620]
xor edi, edi
jmp 0x1011f030
mov cx, word [ebx]
push 0x104
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x18]
push eax
mov word [ebp - 0x18], cx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x1011f0e6
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x628], 7
mov dword [ebp - 0x62c], edi
mov word [ebp - 0x63c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1011f073
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x63c]
call fcn.1006ffa0
lea eax, [ebp - 0x220]
mov dword [ebp - 4], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1011f0a0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x63c]
push eax
call fcn.1011f960
mov esi, eax
cmp esi, 0xffffffff
jne 0x1011f105
mov dword [ebp - 4], eax
cmp dword [ebp - 0x628], 8
jb 0x1011f0e6
mov ecx, dword [ebp - 0x63c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dx, word [ebx]
add ebx, 2
test dx, dx
jne 0x1011f0e6
cmp word [ebx], di
je 0x1011f1d8
mov esi, dword [ebp - 0x660]
jmp 0x1011f030
xor eax, eax
mov word [ebp - 0x658], ax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1011f127
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x658]
call fcn.1006ffa0
mov eax, ebx
mov byte [ebp - 4], 1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1011f151
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x648]
push ebx
inc eax
push esi
lea ecx, [ebp - 0x63c]
call fcn.1011f7d0
mov esi, 8
cmp dword [ebp - 0x644], esi
jb 0x1011f192
mov ecx, dword [ebp - 0x658]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x63c]
cmp dword [ebp - 0x628], esi
jae 0x1011f1a6
lea eax, [ebp - 0x63c]
mov edx, dword [ebp - 0x65c]
push eax
push 0x104
push edx
call dword [sym.imp.MSVCR100.dll_wcscpy_s]
add esp, 0xc
cmp dword [ebp - 0x628], esi
jb 0x1011f1d4
mov eax, dword [ebp - 0x63c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, 1
jmp 0x1011f1da
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1012db16
mov esp, ebp
pop ebp
ret
Function at 0x1011f340
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push edi
push eax
push 1
push ecx
push 0x1014d3b8
call fcn.1011f4d0
add esp, 4
push eax
push 0
mov ecx, 0x108c17c8
call fcn.10127bf0
mov eax, dword [0x108bc51c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x14
test eax, eax
je 0x1011f3a6
push 0
push 0
push 0x10
push eax
call ebx
mov edx, dword [0x10a76a48]
mov eax, dword [str.SPLASH]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
push edx
push eax
mov dword [0x108bc51c], 0
call edi
jmp 0x1011f3ac
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, dword [0x108bc644]
test eax, eax
je 0x1011f3d8
push 0
push 0
push 0x10
push eax
call ebx
mov ecx, dword [0x10a76a48]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x108bc644], 0
call edi
mov eax, dword [0x108bc76c]
test eax, eax
je 0x1011f403
push 0
push 0
push 0x10
push eax
call ebx
mov eax, dword [0x10a76a48]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x108bc76c], 0
call edi
mov eax, dword [ebp + 8]
sub eax, 0
je 0x1011f42b
dec eax
je 0x1011f41e
dec eax
jne 0x1011f438
mov edi, dword [0x10a77200]
mov eax, 0x2b39c0
jmp 0x1011f43e
mov edi, dword [0x10a771fc]
mov eax, 0x227ee6
jmp 0x1011f43e
mov edi, dword [0x10a771f8]
mov eax, 0xf1f0ec
jmp 0x1011f43e
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
mov ecx, esi
call fcn.10122e10
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push esi
push 0x1011f2a0
push 0
push 0
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [esi + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x1011f4c5
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp + 8], 0
je 0x1011f4c5
mov eax, dword [esi + 4]
test eax, eax
je 0x1011f4c0
push 0
push 0
push 0x10
push eax
call ebx
mov ecx, dword [0x10a76a48]
mov edx, dword [esi + 0x1c]
push ecx
push edx
mov dword [esi + 4], 0
call dword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.1011ef10
pop edi
pop ebx
pop ecx
pop ebp
ret

Function at 0x1011f4d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0x100
push 0
push 0x119213a8
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp + 8]
add esp, 0xc
xor eax, eax
sub ecx, 0x119213a8
mov dl, byte [ecx + eax + 0x119213a8]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x119213a8], dl
inc eax
cmp eax, 0x100
jl 0x1011f4f2
mov eax, 0x119213a8
pop ebp
ret
Function at 0x1011f5d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1014a018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.1011f520
mov esi, eax
lea eax, [ebp - 0x50]
push eax
push 0xf003f
push 0
push 0x108bc956
mov ecx, 9
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
push connect
mov dword [ebp - 0x54], 0x24
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1011f65b
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x4c]
push edx
push eax
push eax
mov eax, dword [ebp - 0x50]
push str.WindowID
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x28]
test eax, eax
je 0x1011f66e
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
push ecx
push edx
push 1
push 0
push str.WindowID
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x28]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012db16
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x4c]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1011f691
test al, al
je 0x1011f68d
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1011f691
add ecx, 2
add edx, 2
test al, al
jne 0x1011f671
xor eax, eax
jmp 0x1011f696
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1011f651
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
lea eax, [ebp - 0x4c]
pop esi
call fcn.1012db16
mov esp, ebp
pop ebp
ret

Function at 0x1011f6b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1014a018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.1011f520
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
push 0xf003f
push 0
push 0x108bc956
mov ecx, 9
lea edi, [ebp - 0x28]
push connect
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1011f714
mov edx, dword [ebp - 0x2c]
push 0x24
lea ecx, [ebp - 0x28]
push ecx
push 1
push eax
push str.WindowID
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1012db16
mov esp, ebp
pop ebp
ret
Function at 0x1011f730
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1014a018]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1011f767
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012db16
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x1011f757
mov edx, dword [ebp - 0x20]
push 0
push 0
xor eax, eax
push 0x10
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
push ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x18]
push 0
push edx
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.1012db16
mov esp, ebp
pop ebp
ret
Function at 0x101200d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012efe8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1014a018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x108c1b20]
cmp eax, 0x927c0
jb 0x10120113
call esi
mov dword [0x108c1b20], eax
xor esi, esi
cmp dword [0x107b76dc], esi
je 0x10120185
push esi
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
mov edx, dword [0x107b76e0]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.1011feb0
mov edi, dword [ebp - 0x20]
test al, al
je 0x1012016d
cmp edi, dword [ebp - 0x1c]
je 0x1012016d
lea ecx, [ebp - 0x20]
push ecx
call fcn.101201a0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp edi, esi
je 0x10120185
push edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x101215c0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov ecx, 0x15
call fcn.10122b60
mov edi, eax
push edi
push 1
push 2
push 0x1014d3b8
call fcn.1011f4d0
add esp, 4
push eax
push 0
mov ecx, 0x108c17c8
call fcn.10127bf0
mov eax, dword [0x108bc51c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_UnregisterClassA]
add esp, 0x14
test eax, eax
je 0x10121628
push 0
push 0
push 0x10
push eax
call esi
mov eax, dword [0x10a76a48]
mov ecx, dword [str.SPLASH]
push eax
push ecx
mov dword [0x108bc51c], 0
call ebx
mov eax, dword [0x108bc644]
test eax, eax
je 0x10121653
push 0
push 0
push 0x10
push eax
call esi
mov edx, dword [0x10a76a48]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x108bc644], 0
call ebx
mov eax, dword [0x108bc76c]
test eax, eax
je 0x1012167f
push 0
push 0
push 0x10
push eax
call esi
mov ecx, dword [0x10a76a48]
mov edx, dword [str.SPLASH]
push ecx
push edx
mov dword [0x108bc76c], 0
call ebx
mov eax, edi
mov edi, dword [0x10a77200]
push 0x2b39c0
mov ecx, 0x108bc768
call fcn.10122e10
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0x108bc768
push 0x1011f2a0
push 0
push 0
mov dword [0x108bc770], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [0x108bc770]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [0x108bc770]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x108bc76c]
test eax, eax
je 0x10121712
push 0
push 0
push 0x10
push eax
call esi
mov edx, dword [0x10a76a48]
mov eax, dword [str.SPLASH]
push edx
push eax
mov dword [0x108bc76c], 0
call ebx
call fcn.1011ef10
int3

Function at 0x10122030
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x1014a018]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x198]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10122069
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012db16
mov esp, ebp
pop ebp
ret
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x107b76ec], eax
cmp eax, 0xffffffff
je 0x10122059
call dword [sym.imp.WS2_32.dll_WSACreateEvent]
mov dword [0x107b76f0], eax
test eax, eax
je 0x10122059
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov dword [0x108b76fc], 0x10120580
mov al, 1
call fcn.1012db16
mov esp, ebp
pop ebp
ret
Function at 0x101220b0
Capabilities:
Connect socket
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1014a018]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x107b76ec], 0xffffffff
push esi
mov esi, ecx
jne 0x101220fc
push 0x1014bcb8
call fcn.1011f4d0
add esp, 4
push eax
push 0
mov ecx, 0x108c17c8
call fcn.10127bf0
add esp, 8
xor al, al
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1012db16
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
mov eax, 2
push ecx
mov word [ebp - 0x18], ax
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov word [ebp - 0x16], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x10122144
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10122144
movsx edx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push edx
push ecx
lea edx, [ebp - 0x14]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov ecx, dword [0x107b76ec]
push 0x10
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0xffffffff
jne 0x101221a8
call esi
cmp eax, 0x2733
je 0x101221a8
call esi
push eax
push 0x1014bdb8
call fcn.1011f4d0
add esp, 4
push eax
push 0
mov ecx, 0x108c17c8
call fcn.10127bf0
add esp, 0xc
mov esi, 0x107b76e8
call fcn.10122240
xor al, al
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1012db16
mov esp, ebp
pop ebp
ret 4
mov edx, dword [0x107b76f0]
mov eax, dword [0x107b76ec]
push 0x23
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x101221cc
call esi
push eax
push 0x1014beb8
jmp 0x10122173
push 0x80000
push 0
push 0x107b76f4
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x80000
push 0
push 0x108376f8
mov dword [0x108376f4], 0
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x11920e04
push 0
push 0x107b76e8
push 0x10122770
push 0
push 0
mov dword [0x108b76f8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [0x108b771c], eax
mov al, 1
xor ecx, ebp
mov byte [0x108b7720], al
pop esi
call fcn.1012db16
mov esp, ebp
pop ebp
ret 4

Function at 0x10122240
Capabilities:
Terminate thread

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x100034], ebx
je 0x10122276
mov dword [0x11920e04], 0xffffffff
mov eax, dword [esi + 0x100034]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x100034]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x100034], ebx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x1012228c
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x1012229d
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], ebx
mov byte [esi + 0x100038], bl
pop ebx
ret