joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b9f0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044bb40
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44ba10
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44b9f1
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044bb40
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44ba10
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44ba40
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44ba97
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x44baad
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0044bad0
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x44bad0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x44bb60
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44bba9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x44c020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044bbd0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044bc50
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044bc50
lea ecx, [esi + 0xc]
call fcn.00460286
lea ecx, [esi + 0x10]
call fcn.00460286
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044e480
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044e480
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044e480
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004602fb
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004602fb
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44ccc8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46ebb8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44ccd8
call fcn.0044d1f0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44cdbb
cmp byte [edi], 0
je 0x44cdbb
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44ccfd
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044b9f0
test eax, eax
jne 0x44cd1d
push 0x491460
lea ecx, [esi + 0x38]
call fcn.00460438
jmp 0x44cdbb
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044ba40
test eax, eax
jne 0x44cd4c
mov ecx, esi
call fcn.0044bb40
push edi
add esi, 0x38
push 0x49143c
push esi
call fcn.0045e297
add esp, 0xc
jmp 0x44cdbb
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044da70
test eax, eax
je 0x44cdb4
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044ce90
test eax, eax
jne 0x44cdd0
push edi
lea eax, [esi + 0x38]
push 0x491418
push eax
call fcn.0045e297
add esp, 0xc
mov ecx, esi
call fcn.0044d1f0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44ce78
mov ecx, dword [0x4916d0]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0045e297
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0044baf0
test eax, eax
jne 0x44ce3a
push 0x4913fc
lea ecx, [esi + 0x38]
call fcn.00460438
jmp 0x44ce4a
push 0xfa
mov ecx, esi
call fcn.0044da70
test eax, eax
jne 0x44ce67
mov ecx, esi
call fcn.0044d1f0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004602fb
jmp 0x44cdbb
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.004602fb
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x46269f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4626d7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00460756
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046072e
jmp 0x4626e3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x463d8d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x463dcf
call fcn.00469951
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x463dcf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x463dc6
xor eax, eax
jmp 0x463dd7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00463ddd
pop edi
pop esi
pop ebx
ret 4

Function at 0x469e81
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x469eaf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x469ecd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00469de7
jmp 0x469ecd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x469ecd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00469de7
test edi, edi
mov eax, edi
jne 0x469eb7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
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
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x4049eb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x30
mov ecx, 0x64
mov eax, 0x74
mov word [esp + 0x18], cx
mov word [esp + 0x28], cx
mov edx, 0x69
mov ecx, 0x6c
mov word [esp + 0x22], ax
mov byte [esp + 9], al
mov byte [esp + 0xe], al
mov byte [esp + 0x14], al
mov word [esp + 0x1a], dx
mov word [esp + 0x2a], cx
mov word [esp + 0x2c], cx
mov byte [esp + 5], dl
lea eax, [esp + 0x18]
push esi
mov dl, 0x72
mov cl, 0x65
push eax
mov word [esp + 0x24], 0x6e
mov word [esp + 0x26], 0x70
mov word [esp + 0x28], 0x75
mov word [esp + 0x2c], 0x38
mov word [esp + 0x2e], 0x2e
mov word [esp + 0x36], 0
mov byte [esp + 0xc], 0x44
mov byte [esp + 0xe], dl
mov byte [esp + 0xf], cl
mov byte [esp + 0x10], 0x63
mov byte [esp + 0x12], 0x49
mov byte [esp + 0x13], 0x6e
mov byte [esp + 0x14], 0x70
mov byte [esp + 0x15], 0x75
mov byte [esp + 0x17], 0x38
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1d], cl
mov byte [esp + 0x1e], 0
call dword [0x5c23e080]
lea ecx, [esp + 0x1c]
push 0x18
push ecx
mov esi, eax
call fcn.0040613b
add esp, 8
test esi, esi
jne 0x404adb
lea edx, [esp + 8]
push 0x13
push edx
call fcn.0040613b
add esp, 8
xor eax, eax
pop esi
add esp, 0x30
ret
lea eax, [esp + 8]
push eax
push esi
call dword [0x5c23e088]
lea ecx, [esp + 8]
push 0x13
push ecx
mov esi, eax
call fcn.0040613b
add esp, 8
test esi, esi
je 0x404bae
mov eax, dword [esp + 0x38]
push 0
test eax, eax
je 0x404b64
lea edx, [esp + 0x3c]
push edx
push 0x5c23e3d4
push 0x800
call fcn.0040615b
push eax
call esi
test eax, eax
jl 0x404bae
mov eax, dword [esp + 0x38]
lea edx, [esp + 4]
push 0
push edx
mov ecx, dword [eax]
push 0x5c23e3b4
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x404b49
mov eax, dword [esp + 0x38]
jmp 0x404ba4
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x38]
test eax, eax
mov esi, dword [edx]
je 0x404bc9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop esi
add esp, 0x30
ret
lea edx, [esp + 0x3c]
push edx
push 0x5c23e3c4
push 0x800
call fcn.0040615b
push eax
call esi
test eax, eax
jge 0x404b86
xor eax, eax
pop esi
add esp, 0x30
ret
mov eax, dword [esp + 0x38]
lea edx, [esp + 4]
push 0
push edx
mov ecx, dword [eax]
push 0x5c23e3b4
push eax
call dword [ecx + 0xc]
test eax, eax
jge 0x404bb5
mov eax, dword [esp + 0x38]
test eax, eax
je 0x404bae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
pop esi
add esp, 0x30
ret
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x38]
test eax, eax
mov esi, dword [edx]
je 0x404bc9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop esi
add esp, 0x30
ret
Function at 0x40f31b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c23e2f8
push 0x5c23d270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x3c], 0x44
mov byte [ebp - 0x3b], 0x69
mov al, 0x73
mov byte [ebp - 0x3a], al
mov byte [ebp - 0x39], 0x70
mov dl, 0x61
mov byte [ebp - 0x38], dl
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x63
mov byte [ebp - 0x35], 0x68
mov byte [ebp - 0x34], 0x4d
mov cl, 0x65
mov byte [ebp - 0x33], cl
mov byte [ebp - 0x32], al
mov byte [ebp - 0x31], al
mov byte [ebp - 0x30], dl
mov byte [ebp - 0x2f], 0x67
mov byte [ebp - 0x2e], cl
mov byte [ebp - 0x2d], 0x57
xor ebx, ebx
mov byte [ebp - 0x2c], bl
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x40f39f
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x3c]
push eax
push esi
call fcn.004102bb
mov edi, eax
push edi
push esi
call fcn.004100eb
add esp, 0x10
cmp eax, ebx
jne 0x40f3cc
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [eax + esi]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
xor eax, eax
mov dword [ebp - 0x40], eax
mov bl, 0xe8
cmp eax, 0x10
jae 0x40f438
cmp byte [eax + ecx], 0x6a
jne 0x40f429
cmp byte [eax + ecx + 2], 0xff
jne 0x40f429
mov dl, byte [eax + ecx + 3]
cmp dl, 0x75
jne 0x40f402
cmp byte [eax + ecx + 5], bl
jne 0x40f402
add eax, 5
jmp 0x40f417
cmp dl, 0x74
jne 0x40f429
cmp byte [eax + ecx + 4], 0x24
jne 0x40f429
cmp byte [eax + ecx + 6], bl
jne 0x40f429
add eax, 6
mov dword [ebp - 0x40], eax
mov ecx, dword [eax + ecx + 1]
add ecx, eax
lea edx, [ecx + edi + 5]
mov dword [ebp - 0x20], edx
jmp 0x40f438
inc eax
mov dword [ebp - 0x40], eax
jmp 0x40f3dc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40fc4b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x230
mov eax, 0x6c
push esi
mov word [esp + 0x20], ax
mov word [esp + 0x22], ax
mov al, 0x6e
push edi
mov byte [esp + 0xa], al
mov byte [esp + 0xd], al
lea eax, [esp + 0x14]
mov edx, 0x65
mov ecx, 0x64
push eax
mov word [esp + 0x18], 0x75
mov word [esp + 0x1a], 0x73
mov word [esp + 0x1c], dx
mov word [esp + 0x1e], 0x72
mov word [esp + 0x20], 0x33
mov word [esp + 0x22], 0x32
mov word [esp + 0x24], 0x2e
mov word [esp + 0x26], cx
mov word [esp + 0x2c], 0
mov byte [esp + 0xc], 0x53
mov byte [esp + 0xd], dl
mov byte [esp + 0xf], cl
mov byte [esp + 0x10], 0x49
mov byte [esp + 0x12], 0x70
mov byte [esp + 0x13], 0x75
mov byte [esp + 0x14], 0x74
mov byte [esp + 0x15], 0
call dword [0x5c23e080]
mov esi, eax
test esi, esi
jne 0x40fcf1
pop edi
pop esi
add esp, 0x230
ret
lea ecx, [esp + 8]
push ecx
push esi
call dword [0x5c23e088]
lea edx, [esp + 0x2c]
push 0x105
push edx
push esi
mov dword [0x5c240e40], eax
call dword [0x5c23e030]
test eax, eax
jne 0x40fd20
pop edi
pop esi
add esp, 0x230
ret
push 1
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0040ff7b
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40fd40
pop edi
pop esi
add esp, 0x230
ret
push edi
call fcn.0040f31b
add esp, 4
test eax, eax
je 0x40fd54
add eax, esi
mov dword [0x5c240e44], eax
push edi
push esi
call fcn.0040f45b
push edi
push esi
call fcn.0040f60b
push edi
push esi
call fcn.0040f7bb
push edi
push esi
call fcn.0040f8db
push edi
push esi
call fcn.0040fa9b
push edi
call fcn.0041006b
add esp, 0x2c
mov eax, 1
pop edi
pop esi
add esp, 0x230
ret

Function at 0x41007b
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
xor edx, edx
push ebx
mov ax, word [ecx + 0x14]
mov dx, word [ecx + 6]
push ebp
push esi
lea ebx, [eax + ecx + 0x18]
xor eax, eax
test edx, edx
push edi
jbe 0x4100b7
mov edi, dword [esp + 0x18]
lea ecx, [ebx + 0xc]
mov esi, dword [ecx]
cmp edi, esi
jb 0x4100af
mov ebp, dword [ecx - 4]
add ebp, esi
cmp edi, ebp
jb 0x4100be
inc eax
add ecx, 0x28
cmp eax, edx
jb 0x4100a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
lea ecx, [eax + eax*4]
mov edx, edi
mov esi, dword [ebx + ecx*8 + 0x10]
lea eax, [ebx + ecx*8]
mov ecx, dword [ebx + ecx*8 + 0xc]
sub edx, ecx
cmp edx, esi
jae 0x4100b7
mov eax, dword [eax + 0x14]
sub eax, ecx
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4100eb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c23e358
push 0x5c23d270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ecx, dword [ebp + 8]
xor eax, eax
cmp ecx, eax
je 0x41018e
mov edx, dword [ebp + 0xc]
cmp edx, eax
je 0x41018e
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
cmp word [ecx], 0x5a4d
jne 0x410187
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x410187
push edx
push eax
call fcn.0041007b
add esp, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c23e368
push 0x5c23d270
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ecx, dword [ebp + 8]
xor eax, eax
cmp ecx, eax
je 0x41029f
mov esi, dword [ebp + 0xc]
cmp esi, eax
je 0x41029f
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], eax
cmp word [ecx], 0x5a4d
jne 0x410298
mov ebx, dword [ecx + 0x3c]
add ebx, ecx
mov dword [ebp - 0x1c], ebx
cmp dword [ebx], 0x4550
jne 0x410298
xor ecx, ecx
mov cx, word [ebx + 0x14]
lea edx, [ecx + ebx + 0x18]
mov dword [ebp - 0x20], edx
xor edi, edi
mov dword [ebp - 0x28], edi
xor ecx, ecx
mov cx, word [ebx + 6]
cmp edi, ecx
jae 0x41025c
lea edx, [edi + edi*4]
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx + edx*8]
mov edx, dword [ecx + 0x14]
cmp esi, edx
jb 0x410259
mov ebx, dword [ecx + 0x10]
add ebx, edx
cmp esi, ebx
jae 0x410256
mov ebx, esi
sub ebx, edx
cmp ebx, dword [ecx + 8]
jae 0x410256
mov eax, dword [ecx + 0xc]
sub eax, edx
add eax, esi
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
inc edi
jmp 0x41021d
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4107ab
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov al, 0x6c
mov dl, 0x64
mov byte [esp + 3], al
mov byte [esp + 4], al
mov byte [esp + 7], al
mov byte [esp + 8], al
mov byte [esp + 0x1b], al
mov byte [esp + 2], dl
mov byte [esp + 6], dl
lea eax, [esp]
push esi
mov cl, 0x74
mov dl, 0x72
push eax
mov byte [esp + 8], 0x6e
mov byte [esp + 9], cl
mov byte [esp + 0xd], 0x2e
mov byte [esp + 0x11], 0
mov byte [esp + 0x14], 0x5a
mov byte [esp + 0x15], 0x77
mov byte [esp + 0x16], 0x50
mov byte [esp + 0x17], dl
mov byte [esp + 0x18], 0x6f
mov byte [esp + 0x19], cl
mov byte [esp + 0x1a], 0x65
mov byte [esp + 0x1b], 0x63
mov byte [esp + 0x1c], cl
mov byte [esp + 0x1d], 0x56
mov byte [esp + 0x1e], 0x69
mov byte [esp + 0x1f], dl
mov byte [esp + 0x20], cl
mov byte [esp + 0x21], 0x75
mov byte [esp + 0x22], 0x61
mov byte [esp + 0x24], 0x4d
mov byte [esp + 0x25], 0x65
mov byte [esp + 0x26], 0x6d
mov byte [esp + 0x27], 0x6f
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], 0x79
mov byte [esp + 0x2a], 0
call dword [0x5c23e078]
lea ecx, [esp + 4]
push 0xa
push ecx
mov esi, eax
call fcn.004108ab
add esp, 8
test esi, esi
jne 0x410875
xor eax, eax
pop esi
add esp, 0x24
ret
lea edx, [esp + 0x10]
push edx
push esi
call dword [0x5c23e088]
mov dword [0x5c240e60], eax
lea eax, [esp + 0x10]
push 0x17
push eax
call fcn.004108ab
mov ecx, dword [0x5c240e60]
add esp, 8
xor eax, eax
test ecx, ecx
setne al
pop esi
add esp, 0x24
ret
Function at 0x409bed
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
call fcn.00409b5d
mov dword [0x453e20], eax
call fcn.0040a366
xor ebx, ebx
mov dword [0x453e4c], eax
cmp dword [0x444bac], ebx
je 0x409c23
cmp dword [0x449bac], ebx
je 0x409c23
call fcn.0040a52c
cmp byte [0x453e58], bl
lea eax, [ebp - 0x108]
je 0x409c3e
push 0x453e58
push eax
call fcn.00416b00
jmp 0x409c72
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x108]
push eax
call fcn.004164f0
cmp byte [ebp + eax - 0x109], 0x5c
pop ecx
je 0x409c74
lea eax, [ebp - 0x108]
push 0x444b60
push eax
call fcn.00416b10
pop ecx
pop ecx
mov esi, 0x436610
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00416b10
cmp dword [0x453e20], ebx
pop ecx
pop ecx
je 0x409d19
cmp dword [0x453e4c], ebx
lea eax, [ebp - 0x108]
je 0x409cbf
push str.W64.SYS
push eax
call fcn.00416b10
mov esi, 0x453e40
push str.UCOREW64
push esi
call fcn.00416b00
jmp 0x409cda
push str.SYS.SYS
push eax
call fcn.00416b10
mov esi, 0x453e40
push str.UCORESYS
push esi
call fcn.00416b10
add esp, 0x10
push esi
call fcn.0040a1b0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x108]
push eax
push esi
call fcn.0040a1e8
add esp, 0x10
test eax, eax
je 0x409d15
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
jne 0x409d69
push ebx
push 0x45369c
push str.DRIVER_LOADING_FAILED
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x409d71
lea eax, [ebp - 0x20c]
push str.._
push eax
call fcn.00416b00
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00416b10
lea eax, [ebp - 0x20c]
push str.VXD.VXD
push eax
call fcn.00416b10
add esp, 0x18
lea eax, [ebp - 0x20c]
push ebx
push 0x4000000
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x409d69
jmp 0x409d15
mov dword [0x453e50], eax
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret

Function at 0x40a119
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push 0xf01ff
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x40a151
lea eax, [ebp - 0x1c]
push edi
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x40a39f
Capabilities:
Check mutex on windows

Disassembly:
push str.AFUWIN.5b5b8120_cd0e_11d9_b61b_0001294c3bd8
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
and al, 0xc4
add eax, 0x3c
ret