joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52a91c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.0052a6c6
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xb4]
mov dword [esp], eax
call fcn.0052a55e
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x20]
and eax, 0x30
test al, al
jne 0x52a975
mov eax, dword [ebp - 0x14]
add eax, 0x70
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.api_ms_win_crt_private_l1_1_0.dll_longjmp
mov eax, dword [0x586490]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call eax
sub esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x52aa9f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x52aa07
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xdeadbeef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x52a9c4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00529410
mov dword [ebp - 0x10], 0
mov eax, dword [0x586490]
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call eax
sub esp, 8
jmp 0x52aa9f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x52aa37
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
and eax, 4
test eax, eax
je 0x52aa9f
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xdeadbeef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00529410
mov dword [ebp - 0x10], 0
mov eax, dword [0x586490]
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call eax
sub esp, 8
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__endthreadex]
call eax
Function at 0x531680
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x12c
mov ebx, dword [ebp + 8]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
test ebx, ebx
mov dword [eax], 0
je 0x53182e
cmp byte [ebx], 0
je 0x5317f8
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
cmp eax, 0xffffffff
je 0x531810
test al, 0x10
je 0x5317f8
lea edi, [ebp - 0x11c]
mov dword [esp + 4], ebx
mov ebx, edi
mov dword [esp + 8], 0x104
mov dword [esp], edi
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__fullpath
mov edx, dword [ebx]
add ebx, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x5316e4
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea edx, [ebx + 2]
cmove ebx, edx
add al, al
sbb ebx, 3
sub ebx, edi
lea eax, [ebx + 0x233]
mov dword [esp], eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
test eax, eax
mov esi, eax
je 0x53181f
lea edx, [eax + 0x22c]
lea eax, [ebx + 1]
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [ebp - 0x12c], edx
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov edx, dword [ebp - 0x12c]
cmp byte [esi + 0x22c], 0
je 0x531773
movzx eax, byte [esi + ebx + 0x22b]
cmp al, 0x2f
je 0x531773
cmp al, 0x5c
je 0x531773
mov edi, 0x5c
mov word [edx + ebx], di
mov eax, edx
mov ecx, dword [eax]
add eax, 4
lea edx, [ecx - 0x1010101]
not ecx
and edx, ecx
and edx, 0x80808080
je 0x531775
mov ecx, edx
shr ecx, 0x10
test edx, 0x8080
cmove edx, ecx
lea ecx, [eax + 2]
cmove eax, ecx
add dl, dl
sbb eax, 3
mov edx, 0x2a
mov word [eax], dx
xor ecx, ecx
xor eax, eax
lea edx, [esi + 0x120]
xor ebx, ebx
mov word [esi + 0x11c], cx
mov edi, edx
mov ecx, 0x41
mov dword [esi + 0x224], 0xffffffff
mov dword [esi + 0x228], 0
mov dword [esi + 0x118], 0
mov word [esi + 0x11e], bx
rep stosd dword es:[edi], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [eax], 0x14
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [eax], 2
xor eax, eax
jmp 0x5317f0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [eax], 0xc
xor eax, eax
jmp 0x5317f0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [eax], 0xe
xor eax, eax
jmp 0x5317f0
Function at 0x5369f0
Capabilities:
Initialize winsock library

Disassembly:
push esi
sub esp, 0x190
mov al, 1
cmp byte [0x588448], 0
jne 0x536a2c
mov esi, esp
push 0x190
push 0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
push esi
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
sete al
sete byte [0x588448]
add esp, 0x190
pop esi
ret

Function at 0x536bc0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa0
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x10], xmm0
mov dword [esp + 0xc], 0x80
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
jne 0x536c30
movzx eax, word [esp + 0x12]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
mov esp, ebp
pop ebp
ret

Function at 0x536c70
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov esi, 0xffffffff
call fcn.005369f0
test al, al
je 0x536d44
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], 0
movaps xmmword [esp + 0x10], xmm0
lea edi, [esp + 0x10]
push ecx
push 0x574984
push 0x10
push edi
call fcn.00422140
add esp, 0x10
lea eax, [esp + 0xc]
lea ecx, [esp + 0x20]
push eax
push ecx
push edi
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x536d19
test ecx, ecx
je 0x536d19
push dword [ecx + 0xc]
push dword [ecx + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp esi, 0xffffffff
je 0x536d2b
push dword [eax + 0x10]
push dword [eax + 0x18]
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x536d2e
push dword [esp + 0xc]
jmp 0x536d23
mov esi, 0xffffffff
test ecx, ecx
je 0x536d44
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x536d44
push eax
jmp 0x536d39
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [esp + 0xc]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov esi, 0xffffffff
mov eax, esi
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret
Function at 0x537100
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x537235
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
xor edi, edi
mov eax, 0
cmp ebx, 8
jb 0x537220
mov edi, ebx
and edi, 0xfffffff8
lea ebx, [edi - 8]
mov ebp, ebx
shr ebp, 3
add ebp, 1
test ebx, ebx
mov dword [esp], ebp
je 0x53723f
and ebp, 0xfffffffe
pxor xmm2, xmm2
xor ebx, ebx
pxor xmm0, xmm0
pxor xmm1, xmm1
nop word cs:[eax + eax]
nop
mov eax, dword [edx + ebx]
mov ecx, dword [edx + ebx + 4]
xor eax, dword [esi + ebx]
xor ecx, dword [esi + ebx + 4]
movd xmm4, eax
movd xmm3, ecx
punpcklbw xmm4, xmm2
punpcklwd xmm4, xmm2
por xmm4, xmm0
punpcklbw xmm3, xmm2
punpcklwd xmm3, xmm2
por xmm3, xmm1
mov eax, dword [edx + ebx + 8]
mov ecx, dword [edx + ebx + 0xc]
xor eax, dword [esi + ebx + 8]
movd xmm0, eax
xor ecx, dword [esi + ebx + 0xc]
movd xmm1, ecx
punpcklbw xmm0, xmm2
punpcklwd xmm0, xmm2
por xmm0, xmm4
punpcklbw xmm1, xmm2
punpcklwd xmm1, xmm2
por xmm1, xmm3
add ebx, 0x10
add ebp, 0xfffffffe
jne 0x537160
test byte [esp], 1
je 0x5371fe
mov eax, dword [edx + ebx]
xor eax, dword [esi + ebx]
mov ecx, dword [edx + ebx + 4]
movd xmm2, eax
xor ecx, dword [esi + ebx + 4]
movd xmm3, ecx
pxor xmm4, xmm4
punpcklbw xmm2, xmm4
punpcklwd xmm2, xmm4
por xmm0, xmm2
punpcklbw xmm3, xmm4
punpcklwd xmm3, xmm4
por xmm1, xmm3
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd eax, xmm0
mov ebx, dword [esp + 0x20]
cmp edi, ebx
je 0x537237
movzx ecx, byte [edx + edi]
xor cl, byte [esi + edi]
movzx ecx, cl
or eax, ecx
add edi, 1
cmp ebx, edi
jne 0x537220
jmp 0x537237
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
pxor xmm0, xmm0
xor ebx, ebx
pxor xmm1, xmm1
test byte [esp], 1
jne 0x5371cc
jmp 0x5371fe

Function at 0x537260
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
push edi
push esi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x537285
mov ecx, dword [esp + 0x10]
lea eax, [edi - 1]
mov edx, edi
and edx, 3
cmp eax, 3
jae 0x53728c
mov eax, 0x811c9dc5
xor esi, esi
jmp 0x5372da
mov eax, 0x811c9dc5
jmp 0x537303
and edi, 0xfffffffc
mov eax, 0x811c9dc5
xor esi, esi
nop word cs:[eax + eax]
movzx ebx, byte [ecx + esi]
xor ebx, eax
imul eax, ebx, 0x1000193
movzx ebx, byte [ecx + esi + 1]
xor ebx, eax
imul eax, ebx, 0x1000193
movzx ebx, byte [ecx + esi + 2]
xor ebx, eax
imul eax, ebx, 0x1000193
movzx ebx, byte [ecx + esi + 3]
xor ebx, eax
imul eax, ebx, 0x1000193
add esi, 4
cmp edi, esi
jne 0x5372a0
test edx, edx
je 0x537303
add ecx, esi
xor esi, esi
nop word cs:[eax + eax]
nop dword [eax]
movzx edi, byte [ecx + esi]
xor edi, eax
imul eax, edi, 0x1000193
add esi, 1
cmp edx, esi
jne 0x5372f0
pop esi
pop edi
pop ebx
ret
Function at 0x537310
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
push edi
push esi
mov esi, dword [esp + 0x10]
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test eax, eax
je 0x53733c
mov ecx, eax
add eax, 0xffffffff
mov edx, ecx
and edx, 3
cmp eax, 3
jae 0x537343
mov eax, 0x811c9dc5
xor edi, edi
jmp 0x53738a
mov eax, 0x811c9dc5
jmp 0x5373b3
and ecx, 0xfffffffc
mov eax, 0x811c9dc5
xor edi, edi
nop dword [eax]
movzx ebx, byte [esi + edi]
xor ebx, eax
imul eax, ebx, 0x1000193
movzx ebx, byte [esi + edi + 1]
xor ebx, eax
imul eax, ebx, 0x1000193
movzx ebx, byte [esi + edi + 2]
xor ebx, eax
imul eax, ebx, 0x1000193
movzx ebx, byte [esi + edi + 3]
xor ebx, eax
imul eax, ebx, 0x1000193
add edi, 4
cmp ecx, edi
jne 0x537350
test edx, edx
je 0x5373b3
add esi, edi
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
movzx edi, byte [esi + ecx]
xor edi, eax
imul eax, edi, 0x1000193
add ecx, 1
cmp edx, ecx
jne 0x5373a0
pop esi
pop edi
pop ebx
ret
Function at 0x5423d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov esi, ecx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
je 0x5424b3
cmp byte [eax], 0x64
jne 0x5424b3
cmp ecx, 1
je 0x5424b3
movsx ecx, byte [eax + 1]
cmp ecx, 0x58
je 0x5424c1
cmp ecx, 0x78
je 0x542574
cmp ecx, 0x69
jne 0x5424b3
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.00545460
xor edi, edi
test eax, eax
je 0x542601
mov ebx, eax
mov ecx, esi
call fcn.005423d0
test eax, eax
je 0x542601
mov ebp, eax
mov edi, dword [esi + 0x116c]
mov ecx, dword [edi + 4]
lea eax, [ecx - 0xfd8]
cmp eax, 0xfffff007
ja 0x54247c
push 0x1000
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
test eax, eax
je 0x54260b
mov dword [eax], edi
mov dword [eax + 4], 0
mov dword [esi + 0x116c], eax
xor ecx, ecx
mov edi, eax
add ecx, 0x20
mov dword [edi + 4], ecx
mov eax, dword [esi + 0x116c]
mov ecx, dword [eax + 4]
lea edi, [eax + ecx]
add edi, 0xffffffe8
mov dword [eax + ecx - 0x14], 0x1010141
mov dword [eax + ecx - 0x18], 0x577054
mov dword [eax + ecx - 0x10], ebx
mov dword [eax + ecx - 0xc], ebp
mov byte [eax + ecx - 8], 0
jmp 0x542601
mov ecx, esi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0053f480
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0053f480
xor edi, edi
test eax, eax
je 0x542601
mov ebx, eax
mov ecx, esi
call fcn.0053f480
test eax, eax
je 0x542601
mov ebp, eax
mov ecx, esi
call fcn.005423d0
test eax, eax
je 0x542601
mov edi, dword [esi + 0x116c]
mov ecx, dword [edi + 4]
lea edx, [ecx - 0xfd8]
cmp edx, 0xfffff007
ja 0x54253e
mov dword [esp], eax
push 0x1000
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
test eax, eax
je 0x54260b
mov dword [eax], edi
mov dword [eax + 4], 0
mov dword [esi + 0x116c], eax
xor ecx, ecx
mov edi, eax
mov eax, dword [esp]
add ecx, 0x20
mov dword [edi + 4], ecx
mov edx, dword [esi + 0x116c]
mov ecx, dword [edx + 4]
lea edi, [edx + ecx]
add edi, 0xffffffe8
mov dword [edx + ecx - 0x14], 0x1010142
mov dword [edx + ecx - 0x18], 0x5770c0
mov dword [edx + ecx - 0x10], ebx
mov dword [edx + ecx - 0xc], ebp
mov dword [edx + ecx - 8], eax
jmp 0x542601
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0053f480
xor edi, edi
test eax, eax
je 0x542601
mov ebx, eax
mov ecx, esi
call fcn.005423d0
test eax, eax
je 0x542601
mov ebp, eax
mov edi, dword [esi + 0x116c]
mov ecx, dword [edi + 4]
lea eax, [ecx - 0xfd8]
cmp eax, 0xfffff007
ja 0x5425cf
push 0x1000
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
test eax, eax
je 0x54260b
mov dword [eax], edi
mov dword [eax + 4], 0
mov dword [esi + 0x116c], eax
xor ecx, ecx
mov edi, eax
add ecx, 0x20
mov dword [edi + 4], ecx
mov eax, dword [esi + 0x116c]
mov ecx, dword [eax + 4]
lea edi, [eax + ecx]
add edi, 0xffffffe8
mov dword [eax + ecx - 0x14], 0x1010141
mov dword [eax + ecx - 0x18], 0x577054
mov dword [eax + ecx - 0x10], ebx
mov dword [eax + ecx - 0xc], ebp
mov byte [eax + ecx - 8], 1
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004949d0
Function at 0x54b988
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp], 0x5864d0
call fcn.0054b7a2
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax]
cmp eax, 0xbab1f0ed
jne 0x54b9b4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
jg 0x54b9f6
mov dword [esp], 2
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
call eax
mov dword [esp + 0x10], 0x28
mov dword [esp + 0xc], str._buildbot_src_android_mingw_toolchain_mingw_mingw_w64_v6.x_mingw_w64_libraries_winpthreads_src_rwlock.c
mov dword [esp + 8], str.___rwlock_t__rwl___valid__LIFE_RWLOCK______rwlock_t__rwl___busy___0_
mov dword [esp + 4], str.Assertion_failed:___s___file__s__line__d_n
mov dword [esp], eax
call fcn.00497e70
mov dword [esp], 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax + 4]
sub edx, 1
mov dword [eax + 4], edx
mov dword [esp], 0x5864d0
call fcn.0054b800
mov eax, dword [ebp + 0xc]
leave
ret
Function at 0x401990
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x42d6d8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x438ab4]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov eax, dword [0x438ab4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
sub esp, 0x1c
mov dword [esp + 0x2c], esp
mov ecx, esp
xor ebx, ebx
push 0x1a
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push str.Protexis_Licensing_Service
mov byte [ecx + 4], bl
call fcn.004022e0
lea ecx, [esp + 0x30]
call fcn.0042b1c0
push ebx
push ebx
push 1
push ebx
mov dword [esp + 0x50], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x43cc00], eax
cmp eax, ebx
jne 0x401a60
push ebx
push 0xc0000024
lea ecx, [esp + 0x1c]
call fcn.0042b5d0
mov eax, dword [0x43cbdc]
push 0x43cbe0
push eax
mov dword [0x43cbe4], 1
mov dword [0x43cbec], ebx
mov dword [0x43cbf8], ebx
mov dword [0x43cbe8], 5
mov dword [0x43cbf4], ebx
call dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
cmp dword [esp + 0x2c], 0x10
jb 0x401b19
mov ecx, dword [esp + 0x18]
push ecx
jmp 0x401b11
mov edx, dword [0x43cbdc]
mov esi, dword [sym.imp.ADVAPI32.dll_SetServiceStatus]
push 0x43cbe0
push edx
mov dword [0x43cbe4], 4
mov dword [0x43cbec], ebx
mov dword [0x43cbf8], ebx
mov dword [0x43cbe8], 5
mov dword [0x43cbf4], ebx
call esi
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push 0x404fb0
push ebx
push ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [0x43cc00]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push 0x40000004
lea ecx, [esp + 0x1c]
call fcn.0042b5d0
mov edx, dword [0x43cbdc]
push 0x43cbe0
push edx
mov dword [0x43cbe4], 1
mov dword [0x43cbec], ebx
mov dword [0x43cbf8], ebx
mov dword [0x43cbe8], 5
mov dword [0x43cbf4], ebx
call esi
cmp dword [esp + 0x2c], 0x10
jb 0x401b19
mov eax, dword [esp + 0x18]
push eax
call fcn.00405250
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0040f653
add esp, 0x38
ret

Function at 0x40f653
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x438ab4]
jne 0x40f65d
repz ret
jmp fcn.0041353b
Function at 0x425860
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x738], 0x95
mov byte [ebp - 0x737], 0x86
mov byte [ebp - 0x736], 0x8d
mov byte [ebp - 0x735], 0xb5
mov byte [ebp - 0x734], 0xf4
call fcn.00423fa6
idiv dword [esi - 6]
daa
lea eax, [ebp - 0x744]
push eax
call fcn.00423fb6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00423f6b
add esp, 0xc
mov dword [ebp - 0x704], eax
and byte [ebp - 0x6f4], 0
and byte [ebp - 0x6f3], 0
mov byte [ebp - 0x6f2], 0x16
and byte [ebp - 0x6f1], 0
mov byte [ebp - 0x6f0], 0xbe
mov byte [ebp - 0x6ef], 0x9b
mov byte [ebp - 0x6ee], 0x80
mov byte [ebp - 0x6ed], 0x9d
mov byte [ebp - 0x6ec], 0x8c
mov byte [ebp - 0x6eb], 0xaf
mov byte [ebp - 0x6ea], 0x80
mov byte [ebp - 0x6e9], 0x85
mov byte [ebp - 0x6e8], 0x8c
mov byte [ebp - 0x6e7], 0xe9
lea eax, [ebp - 0x6f4]
push eax
call fcn.00423fb6
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00423f6b
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x426046
add al, byte [edi]
add byte [eax], al
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x425b12
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 0xd2
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0x6e
mov byte [ebp - 0x777], 0x17
mov byte [ebp - 0x776], 0x71
mov byte [ebp - 0x775], 0x7d
mov edi, eax
invalid
invalid
jge 0x42595c
test dword [eax + edi*8 - 0x39a00001], ecx
test dword [ebp + 0x42fffff8], ecx
mov byte [ebp - 0x772], 0x4a
mov byte [ebp - 0x771], 0x5f
mov byte [ebp - 0x770], 0x4c
mov byte [ebp - 0x76f], 0x40
mov byte [ebp - 0x76e], 0xd
mov byte [ebp - 0x76d], 0x6b
mov byte [ebp - 0x76c], 0x44
mov byte [ebp - 0x76b], 0x41
mov byte [ebp - 0x76a], 0x48
mov byte [ebp - 0x769], 0x5e
mov byte [ebp - 0x768], 0x71
mov byte [ebp - 0x767], 0x6e
mov byte [ebp - 0x766], 0x42
mov byte [ebp - 0x765], 0x40
mov byte [ebp - 0x764], 0x40
invalid
invalid
popfd
clc
Function at 0x42c7e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4462a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x446f74], 0xffffffff
je 0x42c8da
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x40c]
push ecx
movzx edx, word [ebp - 0x40e]
push edx
movzx eax, word [ebp - 0x410]
push eax
movzx ecx, word [ebp - 0x412]
push ecx
movzx edx, word [ebp - 0x416]
push edx
movzx eax, word [ebp - 0x418]
push eax
push str.__04d__02d__02d__02d:_02d:_02d__
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
lea edx, [ebp + 0xc]
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x420]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x3f2]
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jle 0x42c8c9
mov dword [ebp - 0x424], 0
push 0x442fb8
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
lea ecx, [ebp - 0x424]
push ecx
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [0x446f74]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x420], 0
jmp 0x42c8da
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402850
mov esp, ebp
pop ebp
ret

Function at 0x42c8f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc24
mov eax, dword [0x4462a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x446f74], 0xffffffff
je 0x42ca23
lea eax, [ebp - 0xc18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x400
push 0
lea ecx, [ebp - 0xc08]
push ecx
call fcn.00402860
add esp, 0xc
movzx edx, word [ebp - 0xc0c]
push edx
movzx eax, word [ebp - 0xc0e]
push eax
movzx ecx, word [ebp - 0xc10]
push ecx
movzx edx, word [ebp - 0xc12]
push edx
movzx eax, word [ebp - 0xc16]
push eax
movzx ecx, word [ebp - 0xc18]
push ecx
push 0x442f50
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc20], eax
mov ecx, dword [ebp - 0xc20]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x7dc]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
mov dword [ebp - 0xc1c], eax
cmp dword [ebp - 0xc1c], 0
jle 0x42ca12
mov dword [ebp - 0xc24], 0
push 0
push 0
push 0x3ff
lea ecx, [ebp - 0xc08]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x808]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x442f4c
lea eax, [ebp - 0xc08]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
lea ecx, [ebp - 0xc24]
push ecx
lea edx, [ebp - 0xc08]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xc08]
push eax
mov ecx, dword [0x446f74]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc20], 0
jmp 0x42ca23
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402850
mov esp, ebp
pop ebp
ret