joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468df0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564a88
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5d26e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x30]
mov dword [eax + 8], ecx
push str.GUID
lea ecx, [ebp + 8]
mov dword [eax + 0xc], edx
call fcn.0042d410
mov eax, dword [esi + 0x3c]
push eax
push 0x583214
lea ecx, [ebp + 8]
call fcn.0042d0a0
mov ecx, dword [esi + 0x40]
push ecx
push 0x583210
lea ecx, [ebp + 8]
call fcn.0042d0a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0042d270
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x46a130
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
je 0x46a1b7
mov eax, dword [esp + 0x10]
mov ecx, 2
sub eax, ecx
je 0x46a17c
mov word [0x5d92c4], cx
call fcn.0046d350
add esp, 0x94
ret
mov eax, dword [esp + 4]
cmp eax, 5
jne 0x46a19a
mov edx, dword [esp + 8]
mov eax, 1
cmp edx, eax
jb 0x46a169
mov word [0x5d92c4], ax
jmp 0x46a1a8
cmp eax, 6
jb 0x46a169
mov word [0x5d92c4], 1
call fcn.00469e80
call fcn.0046a010
call fcn.0046d350
add esp, 0x94
ret

Function at 0x46ab50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov cl, 0x65
mov al, 0x72
push esi
xor esi, esi
mov byte [esp + 4], 0x54
mov byte [esp + 5], cl
mov byte [esp + 6], al
mov byte [esp + 7], 0x6d
mov byte [esp + 8], 0x69
mov byte [esp + 9], 0x6e
mov byte [esp + 0xa], 0x61
mov byte [esp + 0xb], 0x6c
mov byte [esp + 0xc], 0x20
mov byte [esp + 0xd], 0x53
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], al
mov byte [esp + 0x10], 0x76
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
jne 0x46abd9
cmp al, 4
jbe 0x46abc7
lea eax, [esp + 4]
push eax
call fcn.0046abe0
add esp, 4
pop esi
add esp, 0x10
ret
lea ecx, [esp + 4]
push ecx
call fcn.0046abe0
add esp, 4
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x46abe0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
xor ebp, ebp
xor ebx, ebx
push str.SystemCurrentControlSetControlProductOptions
push reloc.WSOCK32.dll_bind
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x46acb5
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push ebp
push edx
push ebp
push str.ProductSuite
push eax
call esi
test eax, eax
jne 0x46acb5
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x46acb5
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebp
je 0x46acb5
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edi
push edx
push ebp
push str.ProductSuite
push eax
call esi
test eax, eax
jne 0x46aca8
cmp dword [esp + 0x18], 7
jne 0x46aca8
mov al, byte [edi]
mov esi, edi
test al, al
je 0x46aca8
mov ebp, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push ebp
push esi
call ebx
test eax, eax
je 0x46aca0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x46ac86
jmp 0x46aca8
mov dword [esp + 0x1c], 1
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x46acc4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x10
ret

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

Disassembly:
sub esp, 0x14
push esi
push 0x4e8
push 5
push 6
mov dword [esp + 0x10], 0x10
call fcn.0046b950
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x46b494
mov edx, dword [esp + 4]
push ebx
mov ecx, edx
push edi
mov ebx, ecx
xor eax, eax
lea edi, [esp + 0x10]
push edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x14]
mov word [esp + 0x14], 6
push eax
push esi
call sub.WSOCK32.dll_bind
pop edi
cmp eax, 0xffffffff
pop ebx
je 0x46b494
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push edx
push esi
call sub.WSOCK32.dll_getsockname
cmp eax, 0xffffffff
je 0x46b494
lea eax, [esp + 8]
push eax
call fcn.0046b370
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.004ce616
add esp, 0xc
push esi
call sub.WSOCK32.dll_closesocket
xor eax, eax
pop esi
add esp, 0x14
ret
mov edx, dword [esp + 0x1c]
push str.00_00_00_00_FF_FF_FF_FF_FF_FF
push edx
call fcn.004ce616
add esp, 8
mov eax, 1
pop esi
add esp, 0x14
ret
Function at 0x46b5e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
je 0x46b636
cmp dword [esp + 4], 6
jne 0x46b636
mov eax, dword [esp + 8]
test eax, eax
jne 0x46b636
cmp word [esp + 0x94], 0
jne 0x46b636
mov cl, byte [esp + 0x9a]
mov eax, 1
cmp cl, al
je 0x46b638
xor eax, eax
add esp, 0x9c
ret

Function at 0x46bc10
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebp, ebp
call fcn.0046aad0
test eax, eax
jne 0x46bc40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x46bc55
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov edx, dword [esp + 0x14]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x46bc99
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push esi
call ebx
test eax, eax
je 0x46bc79
cmp eax, 0x102
jne 0x46bc86
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jg 0x46bc90
jmp 0x46bc5f
mov eax, dword [esp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0x73
pop ebx
ret
push esi
call fcn.0046bd10
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x46bcb0
Capabilities:
Check mutex on windows

Disassembly:
push esi
call fcn.0046aad0
test eax, eax
jne 0x46bcc8
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push eax
push 0
push ecx
jmp 0x46bcd1
mov edx, dword [esp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x46bce4
mov eax, 1
pop esi
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x46bcfb
mov eax, dword [esp + 0x10]
mov dword [eax], esi
xor eax, eax
pop esi
ret
mov eax, 0x73
pop esi
ret
Function at 0x46ee90
Capabilities:
Get session user name

Disassembly:
sub esp, 0x4c8
push esi
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x14], 0x40
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
cmp eax, 1
jne 0x46ef21
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.00479710
add esp, 0xc
cmp eax, 0xffffffff
jne 0x46ef17
mov eax, dword [str.NoName]
mov cx, word [0x5cfdbc]
mov dl, byte [0x5cfdbe]
mov dword [esp + 0x10], eax
mov word [esp + 0x14], cx
mov byte [esp + 0x16], dl
jmp 0x46ef68
lea edi, [esp + 0x50]
lea edx, [esp + 0x10]
jmp 0x46ef4b
mov dx, word [0x5cfdbc]
mov ecx, dword [str.NoName]
mov al, byte [0x5cfdbe]
mov word [esp + 0x14], dx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x16], al
lea edi, [esp + 0x10]
lea edx, [esp + 0xd0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x90]
push ebx
push ecx
call fcn.004791d0
lea edi, [esp + 0x98]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x2dc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xe0]
push ecx
call fcn.00479710
add esp, 0x10
cmp eax, 0xffffffff
pop ebx
jne 0x46f000
mov edx, dword [str.NoShareString]
mov eax, dword [0x5cfe08]
mov ecx, dword [0x5cfe0c]
mov dword [esp + 0xd0], edx
mov dx, word [0x5cfe10]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov word [esp + 0xdc], dx
jmp 0x46f02b
lea edi, [esp + 0x2d0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
lea edi, [esp + 0xd0]
push ecx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], 0
push ecx
push edx
call fcn.00479100
mov ecx, dword [esp + 0x14]
add esp, 0xc
inc eax
neg eax
sbb eax, eax
pop edi
and eax, ecx
pop esi
mov dword [0x5da3b8], eax
add esp, 0x4c8
ret
Function at 0x4706d0
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push esi
call fcn.0046e720
test esi, esi
mov edi, eax
jne 0x4706f1
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
pop ecx
ret 8
cmp word [edi + 0x18], 0x7242
lea esi, [edi + 0x18]
je 0x470708
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
pop ecx
ret 8
test byte [esi + 0x12], 4
jne 0x470720
mov word [esi + 6], 0xb39
pop edi
pop esi
pop ebp
mov ax, 0x39
pop ebx
pop ecx
ret 8
push 0
call fcn.0047b7d0
mov ebp, eax
test ebp, 0x100
jne 0x470733
xor ebp, ebp
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc8], ebp
mov word [esi + 0xd0], ax
push eax
lea eax, [esi + 0x34]
mov word [esi + 0x30], 8
push eax
call fcn.00470850
xor bl, bl
mov eax, 3
cmp ax, 3
je 0x470767
cmp ax, 7
jne 0x47077d
push esi
mov byte [esi + 0xa], bl
call fcn.004793b0
push eax
call fcn.004703b0
inc bl
cmp bl, 3
jbe 0x47075b
cmp ax, 9
jne 0x47078f
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
pop ecx
ret 8
test ax, ax
jne 0x47083b
mov bl, byte [edi]
mov byte [esp + 0x18], 0x91
and bl, 0xfc
mov byte [edi], bl
mov cx, word [esi + 0x3c]
mov al, bl
cmp cx, 5
mov bl, 1
jne 0x4707bc
or al, 2
mov byte [esp + 0x18], bl
mov byte [edi], al
jmp 0x4707c6
cmp cx, 7
jne 0x4707c6
or al, bl
mov byte [edi], al
test ebp, ebp
je 0x4707f8
mov ecx, dword [esp + 0x18]
mov esi, dword [esi + 0xc8]
push ebp
push ecx
call fcn.004713c0
add esp, 8
cmp esi, eax
je 0x4707f8
push ebp
call fcn.0047b8e0
cmp esi, eax
je 0x4707f8
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
pop ecx
ret 8
cmp dword [0x5cfe60], 0xffffffff
jne 0x470838
lea edx, [esp + 0x10]
push edx
push 0
push 0x5da3d6
push 0x4719c0
push 0
push 0
call fcn.004d54ee
mov dword [0x5cfe60], eax
mov al, byte [0x5da3d4]
add esp, 0x18
cmp al, bl
jne 0x470838
pop edi
pop esi
pop ebp
mov ax, 0x68
pop ebx
pop ecx
ret 8
xor ax, ax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x4713c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc0
push ebx
mov ebx, dword [esp + 0xc8]
test bl, 0x80
je 0x471530
push esi
mov esi, dword [esp + 0xd0]
mov eax, esi
mov ecx, esi
and eax, 0xff00
xor edx, edx
shl ecx, 0x10
or eax, ecx
mov ecx, esi
and ecx, 0xff0000
push edi
shr esi, 0x10
or ecx, esi
mov esi, ebx
and esi, 0xf
shl eax, 8
shr ecx, 8
cmp esi, 3
ja case.default.0x471411
jmp dword [esi*4 + 0x471630]
mov edi, 0x20
mov esi, eax
shr esi, 0xd
and esi, 1
mov ebx, esi
xor esi, ecx
shl ebx, 0x1f
shr edx, 1
shl esi, 0x1f
shr eax, 1
or edx, ebx
or esi, eax
shr ecx, 1
dec edi
mov eax, esi
jne 0x47141d
jmp case.default.0x471411
mov esi, 0x20
mov edi, eax
mov ebx, ecx
and edi, 0xffff0000
shl edi, 0xf
shr edx, 1
or edx, edi
mov edi, eax
and edi, 0xfffff000
shl ebx, 0xc
xor edi, ebx
mov ebx, eax
shl edi, 8
and ebx, 0xfff00000
xor edi, ebx
shl edi, 0xb
shr eax, 1
or eax, edi
shr ecx, 1
dec esi
jne 0x471448
jmp case.default.0x471411
push ebp
mov edi, 0x20
mov esi, ecx
mov ebp, eax
and esi, 1
and ebp, 0xfff80000
mov ebx, esi
shl ebx, 0x13
xor ebx, ebp
shl ebx, 0xc
shr edx, 1
or edx, ebx
mov ebx, eax
and bl, 0
shl esi, 8
xor ebx, esi
mov esi, eax
shl ebx, 0xf
and esi, 0xff800000
xor ebx, esi
shl ebx, 8
shr eax, 1
or eax, ebx
shr ecx, 1
dec edi
jne 0x47148a
pop ebp
jmp case.default.0x471411
mov esi, 0x20
mov edi, eax
mov ebx, ecx
and edi, 0xfffff800
shl ebx, 0xb
xor edi, ebx
mov ebx, eax
shl edi, 5
and ebx, 0xffff0000
xor edi, ebx
mov ebx, ecx
shl edi, 0xf
shr edx, 1
or edx, edi
mov edi, eax
and edi, 0xffffff80
shl ebx, 7
xor edi, ebx
mov ebx, eax
shl edi, 0x12
and ebx, 0xfe000000
xor edi, ebx
shl edi, 6
shr eax, 1
or eax, edi
shr ecx, 1
dec esi
jne 0x4714d0
xor eax, eax
pop edi
mov al, dh
pop esi
mov ah, dl
and edx, 0xffff0000
or eax, edx
pop ebx
add esp, 0xc0
ret
lea edx, [esp + 4]
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0xc], 0x29
mov byte [esp + 0xd], 0x56
mov byte [esp + 0xe], 0xb2
mov byte [esp + 0xf], 0x39
mov byte [esp + 0x10], 0xa0
mov byte [esp + 0x11], 0xce
mov byte [esp + 0x12], 0xeb
mov byte [esp + 0x13], 0x87
mov byte [esp + 0x14], 0x52
mov byte [esp + 0x15], 0xb4
mov byte [esp + 0x16], 0x76
mov byte [esp + 0x17], 0xfb
mov byte [esp + 0x18], 0xc
mov byte [esp + 0x19], 0x94
mov byte [esp + 0x1a], 0x37
mov byte [esp + 0x1b], 0x71
call fcn.0047bd60
mov eax, dword [esp + 0xd4]
and ebx, 0xff
mov byte [esp + 0xc], al
mov ecx, eax
mov edx, eax
shr eax, 0x18
mov byte [esp + 0xf], al
mov al, bl
mov ah, al
mov ebx, eax
shl ebx, 0x10
shr ecx, 8
shr edx, 0x10
mov bx, ax
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], dl
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
push ecx
push edx
mov dword [esp + 0x20], ebx
call fcn.0047be50
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0047bd60
mov eax, dword [esp + 0x1f]
mov edx, dword [esp + 0x1e]
mov ecx, dword [esp + 0x1d]
and eax, 0xff
shl eax, 8
and edx, 0xff
and ecx, 0xff
or eax, edx
mov edx, dword [esp + 0x1c]
shl eax, 8
or eax, ecx
add esp, 0x18
shl eax, 8
and edx, 0xff
pop ebx
or eax, edx
add esp, 0xc0
ret
Function at 0x472b00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x100
push ebx
push ebp
push esi
push edi
mov ecx, 0x2b
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x124]
test eax, eax
je 0x472cc9
mov ebp, dword [esp + 0x128]
test ebp, ebp
je 0x472cc9
mov ebx, dword [esp + 0x120]
cmp ebx, 0x50
ja 0x472cc9
cmp dword [esp + 0x12c], 0x50
jb 0x472cc9
test ebx, ebx
jne 0x472b68
lea esi, [esp + 0xc0]
jmp 0x472bc1
cmp ebx, 0xc
jbe 0x472bba
mov eax, dword [esp + 0x11c]
mov edx, ebp
mov ecx, eax
cmp ebx, 0x4c
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
ja 0x472cc9
lea ecx, [ebx - 0xc]
lea edi, [ebp + 0x10]
mov edx, ecx
lea esi, [eax + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, 0x38
mov ecx, edx
sub eax, ebx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jle 0x472bde
push eax
lea eax, [ebx + ebp + 4]
jmp 0x472bd8
mov esi, dword [esp + 0x11c]
mov ecx, ebx
mov edi, ebp
mov edx, ecx
lea eax, [ebp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x2c
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.0047bd30
mov byte [ebp + 0xc], bl
mov ebx, dword [esp + 0x118]
lea esi, [ebp + 0xe]
push 2
push esi
mov byte [ebp + 0xd], bl
call fcn.0047bd30
mov cl, byte [esi]
mov dl, byte [ebp + 0xf]
mov al, byte [esp + 0x114]
not cl
mov byte [ebp + 0x3d], al
mov eax, dword [esp + 0x124]
mov byte [ebp + 0x3e], cl
lea ecx, [esp + 0x10]
shr ebx, 8
not dl
push eax
push ecx
mov byte [ebp + 0x3c], bl
mov byte [ebp + 0x3f], dl
call fcn.0047bd60
lea esi, [ebp + 0x30]
lea edx, [esp + 0x18]
push esi
push edx
call fcn.0047c080
mov ecx, 0xffffffd0
add esp, 0x10
mov eax, esi
sub ecx, ebp
mov dl, byte [eax - 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x472c41
lea esi, [ebp + 0x20]
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0047c080
mov ecx, 0xffffffe0
add esp, 8
mov eax, esi
sub ecx, ebp
mov dl, byte [eax - 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x472c6d
lea esi, [ebp + 0x10]
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0047c080
mov ecx, 0xfffffff0
add esp, 8
mov eax, esi
sub ecx, ebp
mov dl, byte [eax - 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x472c99
lea eax, [esp + 0x10]
push ebp
push eax
call fcn.0047c080
add esp, 8
xor ax, ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 0x1c
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0x100
ret 0x1c
Function at 0x472ce0
Capabilities:
Terminate thread

Disassembly:
push ecx
mov eax, dword [0x5cfe60]
mov dword [esp], 0
test eax, eax
je 0x472d4b
cmp eax, 0xffffffff
je 0x472d4b
lea ecx, [esp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp], 0x103
jne 0x472d4b
mov edx, dword [0x5cfe60]
push 0x7530
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x472d34
mov eax, dword [0x5cfe60]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [0x5cfe60]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x5cfe60], 0
pop ecx
ret
Function at 0x473c50
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
push edi
push ebx
push ebp
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push 0
push esi
push edx
push eax
push ecx
call fcn.0046c0c0
add esp, 0x28
test ax, ax
je 0x473c9d
mov edx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov word [edx + 6], ax
pop ebx
ret
cmp word [0x5da3dc], 0
jne 0x473d42
lea eax, [esp + 0x34]
lea ecx, [esp + 0x38]
push eax
push 0
push ecx
push fcn.0046bff0
push 0
push 0
call fcn.004d54ee
add esp, 0x18
mov dword [0x5da3d8], eax
push 0x1b58
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x473d42
mov ax, word [esp + 0x38]
cmp ax, 2
jne 0x473d4a
cmp dword [esp + 0x20], 0xffffffff
jne 0x473d11
test esi, esi
jge 0x473d11
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push edi
push ebx
push ebp
push edx
mov edx, dword [esp + 0x28]
push eax
push 2
push esi
push 0xffffffffffffffff
push ecx
push edx
jmp 0x473d2d
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push edi
push ebx
push ebp
push eax
mov eax, dword [esp + 0x28]
push ecx
push 2
push esi
push 1
push edx
push eax
call fcn.0046c0c0
mov ecx, dword [0x5da3d8]
add esp, 0x28
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
test ax, ax
jne 0x473d64
mov edx, dword [0x5da3d8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
cmp dword [esp + 0x20], 1
jne 0x473d8d
test esi, esi
jle 0x473d8d
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
push edi
push ebx
push ebp
push eax
mov eax, dword [esp + 0x28]
push ecx
push 1
push esi
push 1
push edx
push eax
jmp 0x473da9
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
push edi
push ebx
push ebp
push ecx
mov ecx, dword [esp + 0x28]
push edx
push 1
push esi
push 0xffffffffffffffff
push eax
push ecx
call fcn.0046c0c0
mov edx, dword [esp + 0x3c]
add esp, 0x28
mov word [edx + 6], 0x46
mov eax, dword [0x5da3d8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov ax, 0x46
pop ebx
ret
Function at 0x479100
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x5db408]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x479134
call fcn.00479180
test eax, eax
je 0x47911c
or eax, 0xffffffff
pop esi
ret
mov eax, dword [0x5db408]
mov dword [0x5cffd0], 0
test eax, eax
jne 0x479134
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
je 0x47916e
push ebx
push edi
lea edi, [eax + 1]
mov eax, dword [edx]
xor ebx, ebx
mov bl, byte [esi]
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
mov ebx, dword [0x5db408]
shr eax, 8
mov ecx, dword [ebx + ecx*4]
inc esi
xor eax, ecx
dec edi
mov dword [edx], eax
jne 0x479148
pop edi
pop ebx
mov eax, dword [edx]
pop esi
ret

Function at 0x479180
Capabilities:
Hash data with crc32

Disassembly:
push 0x400
call fcn.004cf255
add esp, 4
mov dword [0x5db408], eax
test eax, eax
jne 0x47919a
or eax, 0xffffffff
ret
push esi
xor edx, edx
jmp 0x4791a4
mov eax, dword [0x5db408]
mov ecx, edx
mov esi, 8
test cl, 1
je 0x4791ba
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x4791bc
shr ecx, 1
dec esi
jne 0x4791ab
mov dword [eax + edx*4], ecx
inc edx
cmp edx, 0xff
jle 0x47919f
xor eax, eax
pop esi
ret