joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409458
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x416a68]
je 0x409473
inc edi
cmp edi, 0x17
jb 0x409464
cmp edi, 0x17
jae 0x4095f3
push ebp
push 3
call fcn.0040d7ed
cmp eax, 1
pop ecx
je 0x4095bf
push 3
call fcn.0040d7ed
test eax, eax
pop ecx
jne 0x4094a7
cmp dword [0x416140], 1
je 0x4095bf
cmp ebx, 0xfc
je 0x4095f2
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4181d8
push ebp
call fcn.00408690
add esp, 0xc
test eax, eax
je 0x4094dd
push esi
push esi
push esi
push esi
push esi
call fcn.00404cd3
add esp, 0x14
push 0x104
mov esi, 0x4181f1
push esi
push 0
mov byte [0x4182f5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x409521
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00408690
add esp, 0xc
test eax, eax
je 0x409521
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00404cd3
add esp, 0x14
push esi
call fcn.004058a0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x409566
push esi
call fcn.004058a0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4184ec
push 0x412e3c
sub ecx, eax
push ecx
push eax
call fcn.0040b7d6
add esp, 0x14
test eax, eax
je 0x409566
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00404cd3
add esp, 0x14
jmp 0x409568
xor esi, esi
push 0x412e38
push ebx
push ebp
call fcn.0040b711
add esp, 0xc
test eax, eax
je 0x409588
push esi
push esi
push esi
push esi
push esi
call fcn.00404cd3
add esp, 0x14
push dword [edi*8 + 0x416a6c]
push ebx
push ebp
call fcn.0040b711
add esp, 0xc
test eax, eax
je 0x4095aa
push esi
push esi
push esi
push esi
push esi
call fcn.00404cd3
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0040d630
add esp, 0xc
jmp 0x4095f2
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4095f2
cmp ebp, 0xffffffff
je 0x4095f2
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x416a6c]
push dword [esi]
call fcn.004058a0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x40d630
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00406431
xor ebx, ebx
cmp dword [0x418674], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40d706
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40d7e6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x413fec
push edi
call esi
cmp eax, ebx
je 0x40d7e6
push eax
call fcn.004063c3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x418674], eax
call esi
push eax
call fcn.004063c3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x418678], eax
call esi
push eax
call fcn.004063c3
mov dword [0x41867c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040841d
test eax, eax
pop ecx
pop ecx
je 0x40d6d4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00404cd3
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40d706
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004063c3
cmp eax, ebx
pop ecx
mov dword [0x418684], eax
je 0x40d706
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004063c3
pop ecx
mov dword [0x418680], eax
mov eax, dword [0x418680]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x40d78b
cmp dword [0x418684], ecx
je 0x40d78b
push eax
call fcn.0040643a
push dword [0x418684]
mov esi, eax
call fcn.0040643a
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x40d78b
cmp edi, ebx
je 0x40d78b
call esi
cmp eax, ebx
je 0x40d758
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d758
test byte [ebp - 0x18], 1
jne 0x40d78b
lea eax, [ebp - 0x10]
push eax
call fcn.00408454
test eax, eax
pop ecx
je 0x40d773
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00404cd3
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x40d782
or dword [ebp + 0x10], 0x200000
jmp 0x40d7c6
or dword [ebp + 0x10], 0x40000
jmp 0x40d7c6
mov eax, dword [0x418678]
cmp eax, dword [ebp - 8]
je 0x40d7c6
push eax
call fcn.0040643a
cmp eax, ebx
pop ecx
je 0x40d7c6
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40d7c6
mov eax, dword [0x41867c]
cmp eax, dword [ebp - 8]
je 0x40d7c6
push eax
call fcn.0040643a
cmp eax, ebx
pop ecx
je 0x40d7c6
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x418674]
call fcn.0040643a
cmp eax, ebx
pop ecx
je 0x40d7e6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d7e8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100066d0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ba7e9
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x100e70dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x15
push 0x100d7a5c
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], 0
call fcn.10035960
mov dword [ebp - 4], 0
mov ebx, 1
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x10], ebx
jb 0x10006725
mov eax, dword [eax]
mov ecx, eax
call fcn.10006c60
test eax, eax
je 0x100067a2
push 0x15
push 0x100d7a5c
lea ecx, [ebp - 0x28]
call fcn.10035960
mov esi, eax
mov ebx, 3
cmp dword [esi + 0x14], 8
jb 0x1000674e
mov esi, dword [esi]
push 0xf003f
push 0
push 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x100067a2
push 0xf01ff
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x1000678e
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 0x10], 0
je 0x100067a2
mov esi, 1
jmp 0x100067a4
xor esi, esi
test bl, 2
je 0x100067d2
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100067be
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10004440
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x100067e7
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.10004440
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006b80
Capabilities:
Modify service
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100e70dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xf003f
push 0
push 0
mov edi, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x10006bb9
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf25
mov esp, ebp
pop ebp
ret
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x10006c44
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x10006c11
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x420
jne 0x10006c11
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
jmp 0x10006c4b
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
test eax, eax
je 0x10006c3c
cmp dword [ebp - 0x1c], 2
jne 0x10006c3c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push edi
call ebx
test eax, eax
jne 0x10006c23
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.1007bf25
mov esp, ebp
pop ebp
ret

Function at 0x10006c60
Capabilities:
Modify service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100e70dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0xf003f
push 0
push 0
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
jne 0x10006c9c
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf25
mov esp, ebp
pop ebp
ret
push 0xf01ff
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x10006d1c
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
push eax
push esi
call edi
test eax, eax
je 0x10006d14
cmp dword [ebp - 0x1c], 1
je 0x10006d14
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x10006d14
cmp dword [ebp - 0x1c], 3
jne 0x10006d14
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 0xa
call ebx
lea eax, [ebp - 0x20]
push eax
push esi
call edi
cmp dword [ebp - 0x1c], 3
je 0x10006d00
mov ebx, dword [ebp - 0x24]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.1007bf25
mov esp, ebp
pop ebp
ret
Function at 0x10007040
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100dff30
push 0x10096ea0
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x100e70dc]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x22c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x240], eax
xor ebx, ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x228], ebx
xor esi, esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 4], ebx
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [ebp - 0x23c], edi
test edi, edi
je 0x100071c9
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x240]
push esi
push 2
push 0x10
push 0xf01ff
push dword [ebp - 0x244]
push dword [ebp - 0x22c]
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
mov dword [ebp - 0x230], esi
test esi, esi
jne 0x1000713c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
jne 0x1000713c
push 0xf01ff
push dword [ebp - 0x22c]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x230], esi
test esi, esi
je 0x100071c9
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
push dword [ebp - 0x22c]
push str.SYSTEMCurrentControlSetServices_s
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x228]
push eax
lea edx, [ebp - 0x224]
call fcn.10039a90
add esp, 0x10
mov edx, dword [ebp - 0x234]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x234], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007180
sub ecx, dword [ebp - 0x234]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push ecx
mov edx, str.Description
mov ecx, dword [ebp - 0x228]
call fcn.10039c10
add esp, 0x10
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.10007205
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1007bf25
mov esp, ebp
pop ebp
ret
Function at 0x100083a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100baa80
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x100e70dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
test ecx, ecx
je 0x100083fc
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10004300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.10004380
jmp 0x100084ae
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x34
call fcn.1000a920
lea eax, [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.1000aca0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x54], eax
mov edx, dword [ebp - 0x18]
add edx, 0x58
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp - 0x18]
call fcn.10009280
mov byte [ebp - 0x19], al
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10008467
mov ecx, dword [ebp - 0x18]
call fcn.10008910
movzx ecx, al
test ecx, ecx
jne 0x10008465
mov ecx, dword [ebp - 0x18]
call fcn.10008d30
jmp 0x1000846f
mov ecx, dword [ebp - 0x18]
call fcn.10008d30
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 0x1000a100
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebp - 0x18]
mov byte [eax], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10004300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.10004380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007bf25
mov esp, ebp
pop ebp
ret 0x24

Function at 0x10009510
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x100e70dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x59
mov byte [ebp - 0x16], 0x4d
mov byte [ebp - 0x15], 0x66
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x25
mov byte [ebp - 0x12], 0x41
mov byte [ebp - 0x11], 0x75
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xf], 0x33
mov byte [ebp - 0xe], 0x48
mov byte [ebp - 0xd], 0x55
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x26
mov byte [ebp - 0xa], 0x39
mov byte [ebp - 9], 0x35
mov byte [ebp - 8], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
lea eax, [ebp - 0x18]
push eax
call fcn.10003a10
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.100161a0
add esp, 0x24
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100032d0
mov edx, dword [ebp - 0x34]
or edx, 1
mov dword [ebp - 0x34], edx
lea ecx, [ebp - 0x30]
call fcn.10003b80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bf25
mov esp, ebp
pop ebp
ret
Function at 0x10009fa0
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bade0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100e70dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10003350
movzx eax, al
test eax, eax
je 0x10009ff9
mov byte [ebp - 0xf], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10004380
mov al, byte [ebp - 0xf]
jmp 0x1000a0ed
mov dword [ebp - 0x14], 3
mov byte [ebp - 0xe], 1
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x18], 0
jle 0x1000a047
push 0
push 1
push str.https:__www.baidu.com
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
jne 0x1000a03f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000a008
mov byte [ebp - 0xd], 1
jmp 0x1000a047
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1000a0d5
push 0
push str.https:__
lea ecx, [ebp + 8]
call fcn.1000ac30
cmp eax, dword [0x100da4c8]
jne 0x1000a0ba
push 0
push 0x100d7bd0
lea ecx, [ebp + 8]
call fcn.1000ac30
cmp eax, dword [0x100da4c8]
jne 0x1000a0ba
lea ecx, [ebp + 8]
push ecx
mov edx, str.http:__
lea ecx, [ebp - 0x3c]
call fcn.10002830
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp + 8]
call fcn.10003300
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.10004380
push 0
push 1
lea ecx, [ebp + 8]
call fcn.10004010
push eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
jne 0x1000a0d5
mov byte [ebp - 0xe], 0
mov cl, byte [ebp - 0xe]
mov byte [ebp - 0x10], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10004380
mov al, byte [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1001edb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc588
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x100e70dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x38], 0
je 0x1001edf0
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1001edfc
mov al, 1
jmp 0x1001ef9f
mov dword [ebp - 0x48], 8
call fcn.100148e0
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x40], eax
call fcn.100148e0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.10014860
add esp, 8
movzx eax, al
test eax, eax
je 0x1001ee3f
xor al, al
jmp 0x1001ef9f
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.100164c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x28]
call fcn.10001fb0
mov ecx, eax
call fcn.100021a0
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.10003170
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.10001fb0
mov ecx, eax
call fcn.100021a0
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x38]
call fcn.1001f380
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x1001eeba
cmp dword [ebp - 0x3c], 1
je 0x1001eec1
cmp dword [ebp - 0x3c], 3
je 0x1001ef5b
jmp 0x1001ef73
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x3d], 0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10001fb0
mov ecx, eax
call fcn.100021a0
mov edx, dword [ebp - 0x2c]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x1001ef24
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.10001fb0
mov ecx, eax
call fcn.100021a0
push eax
call fcn.100a1653
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x1001ef24
mov byte [ebp - 0x31], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003b80
mov al, byte [ebp - 0x31]
jmp 0x1001ef9f
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x1001ef47
mov byte [ebp - 0x32], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003b80
mov al, byte [ebp - 0x32]
jmp 0x1001ef9f
cmp dword [ebp - 0x38], 0
jne 0x1001ef59
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.1000f080
jmp 0x1001ef8b
mov byte [ebp - 0x33], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003b80
mov al, byte [ebp - 0x33]
jmp 0x1001ef9f
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10003b80
mov al, byte [ebp - 0x34]
jmp 0x1001ef9f
jmp 0x1001ee52
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007bf25
mov esp, ebp
pop ebp
ret
Function at 0x10021100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x200]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x208]
mov byte [ebp - 1], cl
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
jmp 0x10021148
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0x10]
cmp dword [ebp - 8], eax
jae 0x100211cf
movzx ecx, byte [ebp - 8]
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + ecx]
movzx ecx, byte [ebp - 1]
add ecx, eax
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 8]
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + edx]
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 1]
movzx eax, byte [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0xc]
mov dl, byte [esi + edx]
mov byte [ecx + eax], dl
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 2]
mov byte [ecx + eax], dl
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + edx]
movzx eax, byte [ebp - 1]
mov esi, dword [ebp - 0xc]
movzx eax, byte [esi + eax]
add edx, eax
movzx edx, dl
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + edx]
xor ecx, edx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov byte [eax], cl
jmp 0x1002113f
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x200], edx
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 1]
mov byte [eax + 0x208], cl
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100211f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x204]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
add edx, 0x100
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x209]
mov byte [ebp - 1], cl
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
jmp 0x1002123e
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0x10]
cmp dword [ebp - 8], eax
jae 0x100212c5
movzx ecx, byte [ebp - 8]
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + ecx]
movzx ecx, byte [ebp - 1]
add ecx, eax
mov byte [ebp - 1], cl
movzx edx, byte [ebp - 8]
mov eax, dword [ebp - 0xc]
mov cl, byte [eax + edx]
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 1]
movzx eax, byte [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0xc]
mov dl, byte [esi + edx]
mov byte [ecx + eax], dl
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 2]
mov byte [ecx + eax], dl
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + edx]
movzx eax, byte [ebp - 1]
mov esi, dword [ebp - 0xc]
movzx eax, byte [esi + eax]
add edx, eax
movzx edx, dl
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + edx]
xor ecx, edx
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 8]
mov byte [eax], cl
jmp 0x10021235
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x204], edx
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 1]
mov byte [eax + 0x209], cl
pop esi
mov esp, ebp
pop ebp
ret