joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10030e92
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], 0x352f395b
xor ebx, ebx
mov dword [ebp - 0x14], 0x34293f04
push edi
mov cl, 0x5b
mov word [ebp - 0x10], 0x2b
mov edi, dword [esi]
mov eax, ebx
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 8
jae 0x10030ec8
mov cl, byte [ebp - 0x18]
jmp 0x10030eb9
sub esp, 0x18
mov byte [ebp - 0xf], bl
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10003d99
mov ecx, edi
call fcn.1000cc8b
movaps xmm0, xmmword [0x1004d760]
add esp, 0x18
mov edi, dword [esi]
mov ecx, ebx
mov dword [esi + 0x10], eax
movups xmmword [ebp - 0x1c], xmm0
mov byte [ebp - 0xc], bl
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0xf
jb 0x10030ef8
sub esp, 0x18
mov byte [ebp - 0xc], bl
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.10003d99
mov ecx, edi
call fcn.1000cc8b
movaps xmm0, xmmword [0x1004d010]
add esp, 0x18
mov edi, dword [esi]
mov ecx, ebx
mov dword [esi + 0x14], eax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x11171506
mov byte [ebp - 0xc], bl
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x13
jb 0x10030f3c
sub esp, 0x18
mov byte [ebp - 0xc], bl
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10003d99
mov ecx, edi
call fcn.1000cc8b
mov edi, dword [esi]
add esp, 0x18
mov dword [esi + 4], eax
mov cl, 0x3c
mov dword [ebp - 0x1c], 0x52485e3c
mov eax, ebx
mov dword [ebp - 0x18], 0x52495a63
mov dword [ebp - 0x14], 0x4f5d505f
mov word [ebp - 0x10], 0x4f
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xc
jae 0x10030f97
mov cl, byte [ebp - 0x1c]
jmp 0x10030f88
sub esp, 0x18
mov byte [ebp - 0xf], bl
lea eax, [ebp - 0x1b]
mov ecx, esp
push eax
call fcn.10003d99
mov ecx, edi
call fcn.1000cc8b
mov edi, dword [esi]
add esp, 0x18
mov dword [esi + 8], eax
mov cl, 0x2c
mov dword [ebp - 0x18], 0x42584e2c
mov eax, ebx
mov dword [ebp - 0x14], 0x58434073
mov dword [ebp - 0x10], 0x555e4958
mov byte [ebp - 0xc], bl
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xb
jae 0x10030fe2
mov cl, byte [ebp - 0x18]
jmp 0x10030fd3
sub esp, 0x18
mov byte [ebp - 0xc], bl
lea eax, [ebp - 0x17]
mov ecx, esp
push eax
call fcn.10003d99
mov ecx, edi
call fcn.1000cc8b
mov ecx, dword [0x10057868]
add esp, 0x18
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x10031028
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x10031028
mov ecx, dword [ecx]
call fcn.1000cdd4
mov ecx, dword [esi]
add edx, 0xf5
push 5
call fcn.1000ce6d
pop ecx
mov ecx, dword [esi]
push 0x14
pop edx
call fcn.1000cfd6
mov ecx, dword [esi]
mov dl, 1
call fcn.1000ceb6
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10031049
xor dl, dl
call fcn.1000ceb6
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10031057
xor dl, dl
call fcn.1000ceb6
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x10031065
xor dl, dl
call fcn.1000ceb6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10032ed0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10042850
push 0x64
mov edi, edx
mov esi, ecx
call fcn.1003d856
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100330d4
push 0x64
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov byte [ebx], 1
lea eax, [ebx + 0x34]
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [ebx + 0x10], xmm0
movq qword [ebx + 0x20], xmm0
mov dword [ebx + 0x28], 0
push eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x2c], 0xffffffff
mov dword [ebx + 4], 2
mov dword [ebx + 0x30], 0
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
add esp, 4
mov dword [0x1008d2fc], ebx
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [ebx + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.10038470
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x10055564
mov dword [0x10088ef4], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x10032fa6
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [0x10055590]
cmp eax, 0x7fffffff
jne 0x10032fc0
dec eax
push 6
mov dword [0x10055590], eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
test edi, edi
je 0x10032fd5
movups xmm0, xmmword [edi]
movups xmmword [0x10088ec0], xmm0
movq xmm0, qword [edi + 0x10]
jmp 0x10032fdf
xorps xmm0, xmm0
movups xmmword [0x10088ec0], xmm0
movq qword [0x10088ed0], xmm0
xorps xmm0, xmm0
push 0x10055564
movups xmmword [0x10088ed8], xmm0
movq qword [0x10088ee8], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
cmp dword [0x10088ebc], 0
jne 0x100330de
mov dword [0x10078d30], 0x10056958
test esi, esi
je 0x10033049
cmp byte [esi], 0
mov ecx, 0x10078d40
je 0x10033046
mov edx, 1
sub edx, esi
lea eax, [esi + edx]
cmp eax, 0x40
jae 0x10033046
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
cmp byte [esi], 0
jne 0x10033033
mov byte [ecx], 0
mov esi, dword [0x1008d2fc]
mov al, 1
mov dword [0x10088ebc], 0x10078d30
mov dword [0x10078d38], 0x10033520
mov dword [0x10078d3c], 0x10033530
xchg byte [esi], al
push 4
call fcn.1003c8d2
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x100339c0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x100330c5
cmp dword [esi + 0x60], 0
je 0x100330ab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c8c4
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x4c], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [0x1008d2fc], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c8c4
mov esp, ebp
pop ebp
ret
Function at 0x100340c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10054040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x10088ebc]
push esi
push eax
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x10034192
mov eax, dword [edi]
test eax, eax
je 0x10034141
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x10034141
test ebx, ebx
je 0x10034141
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x10034141
cmp dword [ebp - 8], esi
je 0x10034192
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10034161
mov eax, dword [edi + 4]
cmp eax, 3
je 0x10034155
cmp eax, 1
jne 0x10034161
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003c8c4
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c8c4
mov esp, ebp
pop ebp
ret 8
Function at 0x10039bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10039d90
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10039c9d
mov edx, dword [ebp - 4]
cmp edx, dword [0x10054004]
jb 0x10039c0a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10054008]
ja 0x10039c0a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10039bda
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x10039c2f
jmp 0x10039c9d
cmp dword [ebp - 0x14], 0x10000
jne 0x10039c83
cmp dword [ebp - 0x18], 0x10000
jb 0x10039c83
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10039c66
mov eax, dword [ebp - 8]
jmp 0x10039c9f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10039c76
xor eax, eax
jmp 0x10039c9f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10039c98
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10039d90
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10039bda
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10039cb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10039dc0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10039d85
mov edx, dword [ebp - 4]
cmp edx, dword [0x10054004]
jb 0x10039cf5
mov eax, dword [ebp - 4]
cmp eax, dword [0x10054008]
ja 0x10039cf5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10039cc5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x10039d1a
jmp 0x10039d85
cmp dword [ebp - 0x14], 0x10000
jne 0x10039d6e
cmp dword [ebp - 0x18], 0x10000
jb 0x10039d6e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10039d51
mov eax, dword [ebp - 8]
jmp 0x10039d87
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10039d61
xor eax, eax
jmp 0x10039d87
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10039d80
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10039dc0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10039cc5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10039df0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1003a1e0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100570c8], 0
jne 0x10039e2d
cmp dword [0x100570c4], 0
je 0x10039e2d
mov eax, dword [0x100570c4]
mov dword [0x100570c8], eax
cmp dword [0x100570c8], 0
je 0x10039eaa
mov ecx, dword [0x100570c8]
cmp dword [ecx + 8], 0
je 0x10039eaa
mov edx, dword [0x100570c8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x10039eaa
mov ecx, dword [0x100570c8]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x10039eaa
mov eax, dword [0x100570c8]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10039e79
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10039e80
xor eax, eax
jmp 0x10039fc9
mov ecx, dword [0x100570c8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10039fc9
mov edx, dword [0x100570c4]
mov dword [0x100570c8], edx
jmp 0x10039ec6
mov eax, dword [0x100570c8]
mov ecx, dword [eax + 4]
mov dword [0x100570c8], ecx
cmp dword [0x100570c8], 0
je 0x10039f06
cmp dword [0x100570c8], 0
je 0x10039f04
mov edx, dword [0x100570c8]
cmp dword [edx + 8], 0
je 0x10039f04
mov eax, dword [0x100570c8]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10039f04
mov edx, dword [0x100570c8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10039f04
jmp 0x10039e5e
jmp 0x10039eb8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10039fd0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10039fc7
mov eax, dword [ebp - 0x18]
mov dword [0x100570c8], eax
mov ecx, dword [0x100570c8]
mov dword [ecx], 0x52727464
mov edx, dword [0x100570c8]
mov dword [edx + 8], 0
mov eax, dword [0x100570c8]
mov ecx, dword [0x100570c4]
mov dword [eax + 4], ecx
mov edx, dword [0x100570c8]
mov dword [0x100570c4], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100570c8]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10039f97
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10039fb7
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x10039f8e
mov eax, dword [0x100570c8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x10039e5e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003ad10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100570c4]
mov dword [ebp - 4], eax
jmp 0x1003ad29
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1003ad50
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1003ad4e
call sub.KERNEL32.dll_GetLastError
jmp 0x1003ad52
jmp 0x1003ad20
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003b1f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100570d4], eax
je 0x1003b214
mov eax, 0x10dd
jmp 0x1003b3bc
cmp dword [0x100570d8], 0
je 0x1003b227
mov eax, dword [0x100570d8]
jmp 0x1003b3bc
cmp dword [ebp + 0xc], 0
jne 0x1003b237
mov eax, 0x57
jmp 0x1003b3bc
cmp dword [ebp + 8], 0
jne 0x1003b247
mov eax, 6
jmp 0x1003b3bc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1003b270
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x100570d8], ecx
mov edx, dword [ebp + 8]
mov dword [0x100570dc], edx
mov eax, dword [ebp - 8]
jmp 0x1003b3bc
push 0x18
call fcn.1003c8d2
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003b2cb
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x100570d8], ecx
cmp dword [ebp - 4], 0
je 0x1003b2ba
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.1003c925
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x100570dc], ecx
mov eax, dword [ebp - 8]
jmp 0x1003b3bc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.1003b1d0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1003b1d0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x1003b30b
cmp dword [ebp - 0xc], 0x1e
jbe 0x1003b327
mov dword [ebp - 8], 9
cmp dword [0x100570cc], 0
je 0x1003b322
jmp 0x1003b299
jmp 0x1003b290
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1003b34e
mov dword [ebp - 8], 9
cmp dword [0x100570cc], 0
je 0x1003b349
jmp 0x1003b299
jmp 0x1003b290
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1003b379
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1003b290
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x100570e4]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100570e4], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1003b3d0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100570d4], eax
je 0x1003b3ed
mov eax, 0x10dd
jmp 0x1003b4d0
mov eax, dword [0x100570e4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003b46c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1003b448
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1003b448
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1003a270
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.1003c925
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1003b3f5
mov dword [0x100570e4], 0
call fcn.1003ab50
mov ecx, dword [0x100570e0]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1003b4ba
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1003c925
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1003b484
mov dword [0x100570e0], 0
mov dword [0x100570d4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1003b9b0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100570d8], 0
je 0x1003b9c9
mov eax, dword [0x100570d8]
jmp 0x1003ba68
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1003b9da
xor eax, eax
jmp 0x1003ba68
push 8
call fcn.1003c8d2
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003ba32
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1003ba1b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1003c925
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100570d8], eax
mov dword [0x100570dc], 0
mov eax, dword [ebp - 8]
jmp 0x1003ba68
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1003ba4a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1003b9fa
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100570e0]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100570e0], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6b456bbd
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xffc7d75
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x407fa0
Capabilities:
Modify service

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [esp], 1
mov dword [esp + 8], 0
lea ecx, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
shl ecx, 3
cmp eax, 0xffffffff
mov dword [esp + 4], ecx
setne dl
mov eax, 0x70f87c
lea ecx, [esp + 8]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
push ecx
lea eax, [esp + 4]
push 2
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2A]
add esp, 0x1c
ret

Function at 0x408140
Capabilities:
Create http request

Disassembly:
sub esp, 0x50
push esi
push edi
mov ecx, 0xe
mov esi, str.http:__www.iuqerfsodp9ifjaposdfjhgosurijfaewrwergwff.com
lea edi, [esp + 8]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov word [esp + 0x55], ax
push eax
push eax
push eax
push 1
push eax
mov byte [esp + 0x6b], al
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0x84000000
push 0
lea ecx, [esp + 0x14]
mov esi, eax
push 0
push ecx
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
jmp 0x4081a7
call esi
push 0
call esi
call fcn.00408090
pop edi
xor eax, eax
pop esi
add esp, 0x50
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0xe0d2300
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x673c104f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219