joyce8/EMBER2024-capa huggingface dataset:
Function at 0x521b70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, esp
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x521c3e
mov esi, eax
mov eax, dword [esp]
lea ecx, [eax + 1]
cmp ecx, 0x40000000
lea eax, [eax*4 + 4]
mov ecx, 0xffffffff
cmovb ecx, eax
push ecx
call sub.libc.dll_operator_new___unsigned_int_
add esp, 4
mov ebx, eax
cmp dword [esp], 0
je 0x521c45
xor edi, edi
mov dword [esp + 4], esi
nop
mov eax, dword [esi + edi*4]
mov dword [esp + 8], eax
sub esp, 0x20
movaps xmm0, xmmword [0x565b00]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call eax
mov ebp, eax
push eax
call sub.libc.dll_operator_new___unsigned_int_
add esp, 4
mov esi, ebx
mov ebx, eax
push 0
push 0
push ebp
push eax
push 0xffffffffffffffff
push dword [esp + 0x1c]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [esi + edi*4], ebx
mov ebx, esi
mov esi, dword [esp + 4]
inc edi
cmp edi, dword [esp]
jne 0x521bd0
jmp 0x521c47
mov edi, 0xffffffff
jmp 0x521c8f
xor edi, edi
mov dword [ebx + edi*4], 0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
push dword [esp + 4]
call fcn.0050f500
add esp, 8
mov edi, eax
cmp dword [esp], 0
je 0x521c86
xor esi, esi
nop dword [eax]
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x521c86
push eax
call sub.libc.dll_operator_delete___void_
add esp, 4
inc esi
cmp esi, dword [esp]
jne 0x521c70
push ebx
call sub.libc.dll_operator_delete___void_
add esp, 4
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x521d70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x521d81
jmp dword [eax*4 + 0x565b10]
cmp dword [0x585f54], 0
je 0x521e83
push 0x585f58
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x585f70]
test edi, edi
je 0x521e78
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x521dcb
mov edi, dword [edi + 8]
test edi, edi
je 0x521e78
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x521dc0
test esi, esi
je 0x521dc0
mov ecx, dword [edi + 4]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x521dc0
cmp dword [0x585f54], 0
jne 0x521e00
push 0x585f58
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x585f54], 1
jmp case.default.0x521d81
call fcn.005210a0
jmp case.default.0x521d81
cmp dword [0x585f54], 0
je case.default.0x521d81
push 0x585f58
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x585f70]
test edi, edi
je 0x521ed3
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x521e57
mov edi, dword [edi + 8]
test edi, edi
je 0x521ed3
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x521e50
test esi, esi
je 0x521e50
mov ecx, dword [edi + 4]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x521e50
push 0x585f58
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x585f54]
cmp eax, 1
jne case.default.0x521d81
mov eax, dword [0x585f70]
test eax, eax
je 0x521eb2
nop word cs:[eax + eax]
mov esi, dword [eax + 8]
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov eax, esi
test esi, esi
jne 0x521ea0
mov dword [0x585f70], 0
mov dword [0x585f54], 0
push 0x585f58
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp case.default.0x521d81
push 0x585f58
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x522000
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x523004]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x522066
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x522066
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x522066
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x522066
mov edx, dword [esp + 0xc]
sub edx, dword [0x523004]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x522056
add esi, 0x28
dec ecx
je 0x522066
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x522050
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x522050
mov eax, esi
pop esi
pop edi
ret
Function at 0x5fa9aa
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x5fa9e9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5fa9e9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5fa9e9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x5fa9e9
cmp dword [ecx + 0x74], 0xe
jbe 0x5fa9e9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x601ca8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x601d45
push ebx
push esi
call fcn.00601c71
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00601c05
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x601cf2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x601d44
push edi
push eax
call fcn.0060060b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x601d12
call fcn.00600659
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x601d43
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00601c05
add esp, 0x20
test eax, eax
jne 0x601d31
push edi
call fcn.00600659
jmp 0x601d39
push ebx
call fcn.00600659
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x602f54
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x637220
push 0x637218
push str.FlsAlloc
push 0x1f
call fcn.00602e13
mov esi, eax
add esp, 0x10
test esi, esi
je 0x602f88
push dword [ebp + 8]
mov ecx, esi
call dword [0x60913c]
call esi
jmp 0x602f8e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x602fd4
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x637230
push 0x637228
push str.FlsGetValue
push 0x21
call fcn.00602e13
mov esi, eax
add esp, 0x10
test esi, esi
je 0x60300b
push dword [ebp + 8]
mov ecx, esi
call dword [0x60913c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x603013
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x637238
push 0x637230
push str.FlsSetValue
push 0x22
call fcn.00602e13
mov esi, eax
add esp, 0x10
test esi, esi
je 0x60304d
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x60913c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x608410
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x60843d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x60843d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x459980
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x28000]
push edi
jmp 0x45999a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4599a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x459990
mov eax, 1
add ebx, ebx
jne 0x4599b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4599c4
jne 0x4599e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4599e3
dec eax
add ebx, ebx
jne 0x4599d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4599a8
add ebx, ebx
jne 0x4599df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x459a35
xor ecx, ecx
sub eax, 3
jb 0x4599fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x459a6a
sar eax, 1
mov ebp, eax
jmp 0x459a06
add ebx, ebx
jne 0x459a06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4599d4
inc ecx
add ebx, ebx
jne 0x459a14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4599d4
add ebx, ebx
jne 0x459a21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x459a16
jne 0x459a32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x459a16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x459a54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x459a46
jmp 0x459996
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x459a54
add edi, ecx
jmp 0x459996
pop esi
lea edi, [esi + 0x55000]
mov ecx, 2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x459a76
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x459a7b
lea edi, [esi + 0x56000]
mov eax, dword [edi]
or eax, eax
je 0x459aec
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5a6f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5a758]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x459aa1
mov ecx, edi
jns 0x459ad0
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5a760]
or eax, eax
je 0x459ae6
mov dword [ebx], eax
add ebx, 4
jmp 0x459abe
call dword [esi + 0x5a75c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x459b1d
cmp al, 0xef
ja 0x459b10
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x459af2
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x459aff
mov ebp, dword [esi + 0x5a764]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x459b51
sub esp, 0xffffff80
jmp 0x403ee6
Function at 0x10001df4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x10001e03
pop dword [ebp - 0x28]
mov eax, 0x10001e03
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x62da7d0d
sub dword [ebp - 0x38], 0x148837c2
mov dword [ebp - 0x34], 0x7a8b5540
add dword [ebp - 0x34], 0xb7a7f705
mov dword [ebp - 0x30], 0xdbffbd2c
add dword [ebp - 0x30], 0x704c8702
mov dword [ebp - 0x2c], 0x1ba58feb
add dword [ebp - 0x2c], 0xe45a7015
lea eax, [ebp - 0x38]
push eax
mov eax, 0xed6085ea
add eax, 0x22a00a6e
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xdd70b3f5
sub dword [ebp - 0x38], 0x68fe4a9f
mov dword [ebp - 0x34], 0x985ef49f
add dword [ebp - 0x34], 0xa90d6cd6
mov dword [ebp - 0x30], 0xf5787ed5
sub dword [ebp - 0x30], 0x92091269
mov dword [ebp - 0x2c], 0xab0c184e
sub dword [ebp - 0x2c], 0xab0c184e
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x6ef763d8
sub eax, 0x5ef6d3d8
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3746d
push 0
call eax
mov ecx, 0x1ca9dc75
add ecx, 0xe3566bbb
xor edi, edi
add edi, eax
mov edx, 0x9ce60d05
add edx, 0x731adafb
add edx, dword [ebp - 0x28]
mov esi, 0x9df107f0
add esi, 0xaea06769
mov ebx, dword [edx]
sub dword [ebp - 0x10], 0x7451ff7a
add ebx, esi
add dword [ebp - 0x14], 0x3b65be97
mov dword [edi], ebx
xor dword [ebp - 0x10], ecx
add edi, 0xa2aee368
sub edi, 0xa2aee364
add edx, 0x8c75448
add edx, 0xf738abbc
loop 0x10001f22
add eax, 0xdd0ec216
sub eax, 0xdd0dae83
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x100082ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x100082b6
repz ret
jmp fcn.1000869f
Function at 0x41bd00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x424c80], ecx
inc edx
cmp edx, 0x100
jb 0x41bd02
cmp edx, 0x800
jae 0x41bdd9
lea esp, [esp]
mov eax, dword [edx*4 + 0x424880]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x424c80]
inc edx
mov dword [edx*4 + 0x424c7c], eax
cmp edx, 0x800
jb 0x41bdb0
mov eax, 0x41c5e0
mov dword [0x424c7c], eax
mov dword [0x426c80], eax
mov dword [0x424c78], 0x41c500
call fcn.0041c010
test eax, eax
jne 0x41be05
mov dword [0x426c80], 0x41c500
ret

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
jmp 0x403a1c
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405220], eax
mov dword [0x4051a8], 0x403098
mov dword [0x4051a4], 2
jmp 0x403a4c
mov dword [0x4051ac], 0
mov dword [0x4051b0], 0
mov dword [0x4051a0], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051b4], eax
mov dword [0x4051c8], 0x40426e
mov dword [0x4051c0], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051b8], eax
mov dword [0x4051cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051bc], eax
push 0x4051a0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.justam
push 0x40426e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405218], eax
push 5
push dword [0x405218]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405218]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x403b1f
push 0
push 0
push 0
push 0x4051d0
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x403b4c
push 0x4051d0
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x4051d0
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x403b1f
mov eax, dword [0x4051d8]
jmp 0x403b59
call 0x402be1
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x19c2770
Capabilities:
Encode data using xor

Disassembly:
jmp 0x19c277a
pushal
call 0x19c2780
pop ebp
sub ebp, 0x10
sub ebp, 0x9c2770
jmp 0x19c2796
mov eax, 0x9c2770
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b5
mov edx, 0x2f6d05ab
xor byte [eax], dl
inc eax
dec ecx
jne 0x19c27ad
jmp 0x19c27c0
and byte [esi + 0x20], ah
and dl, byte [edi + 0x2aababab]
push 0x53
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test al, 0x66
adc ebp, dword [esi + 0x11ababab]
sub dword [ebx + 0x495cabab], 0xffffffa8
arpl word [eax], sp
sub ah, byte [edi - 0x57545455]
outsb dx, byte [esi]
sti
iretd

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x100011c0
Capabilities:
Get file size
Query service status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
xor eax, eax
mov dword [esp + 0x38], eax
jmp 0x100011e7
mov eax, dword [esp + 0x34]
add eax, 1
cmp eax, 0x35a
mov dword [esp + 0x30], eax
je 0x1000121b
jmp 0x100011f5
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x30]
mov ecx, 0x11
mov dword [esp + 0x34], eax
xor edx, edx
div ecx
cmp edx, 5
jne 0x100011d1
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call eax
mov dword [esp + 0x28], eax
jmp 0x100011d1
mov dword [esp + 0x3c], 0xe95
mov eax, esp
lea ecx, [esp + 0x3c]
mov dword [eax + 4], ecx
mov dword [eax], 0x19d579
mov eax, dword [sym.imp.KERNEL32.dll_GetFileSize]
call eax
sub esp, 8
mov ecx, dword [esp + 0x2c]
sub ecx, 6
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
je 0x1000128a
jmp 0x1000124f
mov eax, dword [esp + 0x2c]
sub eax, 0x2c
mov dword [esp + 0x1c], eax
jne 0x100012c0
jmp 0x1000125e
mov dword [esp + 0x4c], 0xbce
mov eax, esp
lea ecx, [esp + 0x4c]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x40]
mov dword [eax], ecx
mov dword [eax + 8], 0xbce
mov eax, dword [sym.imp.USER32.dll_GetRawInputDeviceList]
call eax
sub esp, 0xc
mov dword [esp + 0x18], eax
mov eax, esp
mov dword [eax], 0xb6287f
mov eax, dword [sym.imp.KERNEL32.dll_SetCommBreak]
call eax
sub esp, 4
mov ecx, esp
lea edx, [esp + 0x50]
mov dword [ecx + 4], edx
mov dword [ecx], 0x8bdda0
mov ecx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov dword [esp + 0x14], eax
call ecx
sub esp, 8
mov dword [esp + 0x10], eax
jmp 0x100012c0
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, 0x114
mov dword [esp + 0x38], eax
jne 0x100011e7
mov esp, ebp
pop ebp
ret

Function at 0x10003385
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1007f590]
jne 0x1000338f
repz ret
jmp fcn.1000540d
Function at 0x1000677f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000348c
and dword [ebp - 4], 0
cmp dword [0x10081368], 0
mov ebx, eax
jne 0x10006830
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100068e1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100068e1
push eax
call fcn.1000341a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10081368], eax
call esi
push eax
call fcn.1000341a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1008136c], eax
call esi
push eax
call fcn.1000341a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10081370], eax
call esi
push eax
call fcn.1000341a
pop ecx
mov dword [0x10081378], eax
test eax, eax
je 0x10006830
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000341a
pop ecx
mov dword [0x10081374], eax
mov eax, dword [0x10081374]
cmp eax, ebx
je 0x10006888
cmp dword [0x10081378], ebx
je 0x10006888
push eax
call fcn.10003495
push dword [0x10081378]
mov esi, eax
call fcn.10003495
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10006888
test edi, edi
je 0x10006888
call esi
test eax, eax
je 0x1000687f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000687f
test byte [ebp - 0xc], 1
jne 0x10006888
or dword [ebp + 0x10], 0x200000
jmp 0x100068c1
mov eax, dword [0x1008136c]
cmp eax, ebx
je 0x100068c1
push eax
call fcn.10003495
pop ecx
test eax, eax
je 0x100068c1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100068c1
mov eax, dword [0x10081370]
cmp eax, ebx
je 0x100068c1
push eax
call fcn.10003495
pop ecx
test eax, eax
je 0x100068c1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10081368]
call fcn.10003495
pop ecx
test eax, eax
je 0x100068e1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100068e3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10008600
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1007ef20], 0
mov byte [0x1007ef24], 0
mov dword [0x1007ef18], 0x1ba8
mov dword [0x1007ef14], 0xd65
mov dword [0x1007ef1c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10008659
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1007ef1c]
add eax, 1
mov dword [0x1007ef1c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10008659
mov dword [0x1007ef14], 0x1b59
mov dword [0x1007ef1c], 0
mov eax, 0x100
mov dword [0x1007ef28], 0
mov ecx, dword [0x1007ef20]
mov edx, dword [0x1007ef1c]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x20], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x1007ef28], edi
mov edx, dword [0x1007ef14]
add edx, 0xfffffb8c
mov dword [0x1007ef14], edx
mov eax, edi
cdq
mov edi, dword [ebp - 0x20]
idiv edi
mov dword [0x1007ef20], edx
mov dword [0x1007ef18], 0x180f
add esi, dword [0x1007ef1c]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x24]
mov cl, byte [eax]
mov byte [0x1007ef24], cl
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
mov cl, byte [edx + esi]
mov byte [eax], cl
mov dword [0x1007ef14], 0xec8
mov cl, byte [0x1007ef24]
mov edi, dword [0x1007ef20]
mov byte [edx + edi], cl
mov edi, dword [0x1007ef1c]
add edi, 1
mov dword [0x1007ef1c], edi
cmp edi, 0x100
jl 0x10008693
jmp 0x10008651