joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467770
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5118a0
push eax
mov dword fs:[0], esp
sub esp, 0x78
lea eax, [esp]
push esi
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareGlobalSCAPE
push reloc.WSOCK32.dll_accept
call esi
test eax, eax
je 0x4677c8
xor eax, eax
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
lea ecx, [esp + 0xc]
push 0x10
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
lea edx, [esp + 8]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x24]
push eax
call esi
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.004dd151
test esi, esi
je 0x467824
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret
mov edx, dword [esp + 4]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push edx
call ebp
push 0x2710
call fcn.004dd79a
add esp, 4
mov esi, eax
lea ecx, [esp + 0x18]
push 0
push 0x2710
push esi
call fcn.004e9219
push 0
push 0x1000
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], 0
call fcn.004e18d0
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
add ecx, 4
mov byte [esp + 0x8c], 1
cmp ecx, eax
jbe 0x467895
lea ecx, [esp + 0x40]
call fcn.004e1be1
mov edx, dword [esp + 0x64]
mov dword [edx], 0
mov eax, dword [esp + 0x64]
add eax, 4
mov dword [esp + 0x64], eax
call fcn.004f7df8
mov eax, dword [eax + 4]
lea edx, [esp + 0x40]
push edx
mov ecx, dword [eax + 0x934]
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [esp + 0x40]
call fcn.004e1a34
lea ecx, [esp + 0x18]
call fcn.004e932f
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.004e9280
push edi
push eax
mov eax, dword [esp + 0x18]
push 3
push 0
push str.GlobalFilter
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
call ebp
push esi
call fcn.004dd7c3
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 0
call fcn.004e19ac
lea ecx, [esp + 0x18]
mov dword [esp + 0x8c], 0xffffffff
call fcn.004e9292
mov ecx, dword [esp + 0x84]
pop edi
pop ebp
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x84
ret
Function at 0x467e20
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x511921
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov eax, dword [esp + 0x9c]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
mov esi, ecx
mov dword [esp + 0x14], 1
jne 0x467faa
mov eax, dword [0x5581a0]
mov dword [esp + 8], eax
push ebx
push 1
push 2
mov dword [esp + 0xa8], ebx
call sub.WSOCK32.dll_socket
lea ecx, [esp + 0xa8]
push 0x10
push ecx
push eax
mov dword [esi + 0x45c], eax
call sub.WSOCK32.dll_bind
mov edx, dword [esi + 0x45c]
push 1
push edx
call sub.WSOCK32.dll_listen
test eax, eax
je 0x467ed9
call sub.WSOCK32.dll_WSAGetLastError
lea eax, [esp + 0x18]
push 0xd3
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, esi
mov byte [esp + 0xa4], 1
call fcn.00452680
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], bl
call fcn.004dd151
jmp 0x467f6f
mov eax, dword [esi + 0x45c]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0xa8]
push ecx
push edx
push eax
mov dword [esp + 0x28], 0x10
call sub.WSOCK32.dll_getsockname
mov eax, dword [esp + 0xaa]
mov edx, dword [esp + 0xaf]
xor ecx, ecx
and edx, 0xff
mov cl, ah
and eax, 0xff
and ecx, 0xff
push ecx
mov ecx, dword [esp + 0xb1]
push eax
mov eax, dword [esp + 0xb6]
push edx
mov edx, dword [esp + 0xb8]
and eax, 0xff
and ecx, 0xff
push eax
and edx, 0xff
push ecx
push edx
lea eax, [esp + 0x48]
push str.PORT__u__u__u__u__u__u_r_n
push eax
call fcn.004c28ad
add esp, 0x20
lea ecx, [esp + 0x30]
push ebx
push ebx
push ebx
push ecx
mov ecx, esi
call fcn.00469ee0
cmp eax, 2
je 0x467f91
mov ecx, esi
call fcn.0046e780
lea ecx, [esp + 8]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004dd151
xor eax, eax
jmp 0x468092
lea ecx, [esp + 8]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004dd151
jmp 0x46808d
cmp eax, 1
jne 0x46808d
push ebx
push eax
push 2
call sub.WSOCK32.dll_socket
mov ecx, dword [esi + 0x458]
mov dword [esi + 0x45c], eax
lea edx, [esp + 0xc]
lea eax, [esp + 0x20]
push edx
push eax
push ecx
mov dword [esp + 0x18], 0x10
call sub.WSOCK32.dll_getsockname
mov eax, dword [esi + 0x45c]
lea edx, [esp + 0x20]
push 0x10
push edx
push eax
mov word [esp + 0x2c], 2
mov word [esp + 0x2e], bx
mov dword [esp + 0x30], ebx
call sub.WSOCK32.dll_bind
lea ecx, [esp + 0x10]
push 0x10b
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, esi
mov dword [esp + 0xa4], 2
call fcn.00452680
lea ecx, [esp + 0x10]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004dd151
cmp dword [0x55e22c], ebx
je 0x468053
mov ecx, esi
call fcn.004510c0
mov dword [0x55e228], eax
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x45c]
lea eax, [esp + 0xa8]
push edx
push eax
push ecx
call fcn.004af010
add esp, 0xc
cmp eax, 1
je 0x468077
xor eax, eax
jmp 0x468092
mov eax, dword [esi + 0x45c]
lea edx, [esp + 0x14]
push edx
push 0x8004667e
push eax
call sub.WSOCK32.dll_ioctlsocket
mov eax, 1
mov ecx, dword [esp + 0x94]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 0x14
Function at 0x468550
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5119b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [0x5581a0]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub esp, 0x10
mov byte [esp + 0x28], 3
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x30]
push eax
call fcn.00467e20
test eax, eax
jne 0x4685f1
mov ecx, esi
call fcn.0046e780
lea ecx, [esp + 0x20]
push 0xd9
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0x20], 4
call fcn.00452680
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 3
call fcn.004dd151
lea ecx, [esp + 4]
mov byte [esp + 0x18], 2
call fcn.004dd151
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.004dd151
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.004dd151
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], 0xffffffff
call fcn.004dd151
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x1c

Function at 0x469dc0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov ebp, ecx
call esi
mov edi, eax
call esi
mov ecx, eax
mov eax, dword [0x55e830]
sub ecx, edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
ja 0x469ea2
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x47c]
test eax, eax
jg 0x469eae
call fcn.004f7df8
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x9f4]
test ecx, ecx
jne 0x469ebd
mov eax, dword [ebp + 0x690]
test eax, eax
je 0x469e34
mov eax, dword [ebp + 0x694]
test eax, eax
jne 0x469ecc
push 1
push 0
push 0
lea eax, [esp + 0x1c]
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x469e7b
call fcn.004f7df8
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x58]
test eax, eax
jne 0x469e7f
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x469e7f
push 5
call ebx
push 0x64
call ebx
call esi
mov ecx, eax
mov eax, dword [0x55e830]
sub ecx, edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jbe 0x469df8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1c
ret 4
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x1c
ret 4
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x1c
ret 4
Function at 0x46ab00
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [0x55e230]
push esi
mov esi, dword [esp + 8]
test eax, eax
push esi
je 0x46ab16
call sub.WSOCK32.dll_inet_addr
jmp 0x46ab1e
call fcn.0046aa50
add esp, 4
cmp eax, 0xffffffff
jne 0x46ab32
push esi
call fcn.004af1a0
add esp, 4
test eax, eax
jne 0x46ab32
pop esi
ret
mov ecx, dword [esp + 0xc]
pop esi
mov dword [ecx], eax
mov eax, 1
ret
Function at 0x46ec50
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x512511
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x45c], 0xffffffff
je 0x46ee98
mov edi, dword [esp + 0xfc]
xor ebp, ebp
cmp edi, ebp
je 0x46ee98
lea ebx, [esi + 0x594]
mov dword [ebx], ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x5a0], eax
mov eax, dword [esi + 0x1c]
push ebp
push 0x1f4
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, esi
call fcn.0044f6b0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x45c]
push ebx
push ecx
push edi
push edx
call fcn.004af490
add esp, 0x10
cmp eax, 0xfffffffe
je 0x46edfb
cmp eax, 1
jne 0x46ee37
mov ecx, edi
call fcn.004d288c
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x5a0]
mov ecx, eax
sub ecx, edx
mov eax, 0x10624dd3
mul ecx
mov edi, edx
mov edx, dword [esi + 0x1c]
push 1
push edx
shr edi, 6
mov dword [ebx], 0xffffffff
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
mov dword [esi + 0x598], ebp
mov dword [esi + 0x5a0], ebp
call fcn.0044f6b0
lea eax, [esp + 0x20]
push 0x119
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov dword [esp + 0xfc], ebp
call fcn.00452680
lea ecx, [esp + 0x20]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004dd151
cmp edi, ebp
jne 0x46ed70
mov edi, 1
mov eax, dword [esp + 0x10]
xor edx, edx
div edi
lea ecx, [esp + 0x14]
push 0x120
push ecx
mov ebx, eax
mov dword [esp + 0x18], ebx
call fcn.0042e0a0
add esp, 8
mov ecx, eax
mov eax, edi
xor edx, edx
push ebx
mov ebx, 0x3c
div ebx
fild dword [esp + 0x14]
fmul dword [0x523bc4]
sub esp, 8
mov eax, 0x88888889
fstp qword [esp]
push edx
mul edi
mov eax, edx
xor edx, edx
shr eax, 5
div ebx
mov eax, 0x91a2b3c5
push edx
mul edi
shr edx, 0xb
push edx
mov edx, dword [ecx]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.004c28ad
add esp, 0x20
lea ecx, [esp + 0x14]
call fcn.004dd151
lea ecx, [esp + 0x24]
push ebp
push ecx
mov ecx, esi
call fcn.00452680
mov eax, 1
jmp 0x46ee9a
lea edx, [esp + 0x18]
push 0xdb
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov dword [esp + 0xfc], 1
call fcn.00452680
lea ecx, [esp + 0x18]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004dd151
mov eax, dword [esi + 0x1c]
push 1
push eax
mov dword [ebx], 0xffffffff
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, esi
mov dword [esi + 0x598], ebp
mov dword [esi + 0x5a0], ebp
call fcn.0044f6b0
lea ecx, [esp + 0x1c]
push 0xd2
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov dword [esp + 0xfc], 2
call fcn.00452680
lea ecx, [esp + 0x1c]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004dd151
xor eax, eax
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe8
ret 4
Function at 0x470f70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
push esi
push edi
mov edi, ecx
mov esi, 0
mov eax, dword [edi + 0x55c]
mov eax, dword [eax + 8]
dec eax
mov dword [esp + 8], eax
js 0x471006
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [edi + 0x55c]
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x14]
push ecx
push 0x104
mov eax, dword [edx + esi*4]
mov ebx, dword [eax + 4]
call ebp
lea edx, [esp + 0x118]
lea eax, [esp + 0x14]
push edx
push ebx
push 0x55625c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 0x118]
push ecx
call fcn.004c47fe
mov edx, dword [edi + 0x55c]
add esp, 4
mov eax, dword [edx + 4]
mov ebx, dword [eax + esi*4]
test ebx, ebx
je 0x470ffb
mov ecx, ebx
call fcn.0044dd40
push ebx
call fcn.004dd7c3
add esp, 4
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jle 0x470f97
pop ebp
pop ebx
mov ecx, dword [edi + 0x55c]
push 0xffffffffffffffff
push 0
call fcn.004d6fef
pop edi
pop esi
add esp, 0x20c
ret

Function at 0x471020
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [ecx + 0x55c]
mov dword [esp], ecx
push ebx
push ebp
mov ecx, dword [eax + 8]
xor ebx, ebx
push esi
push edi
test ecx, ecx
mov dword [esp + 0x14], ecx
jle 0x4710fc
mov ebp, dword [eax + 4]
mov edi, dword [ebp]
mov esi, dword [esp + 0x224]
mov eax, dword [edi]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x471078
test cl, cl
je 0x471074
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x471078
add eax, 2
add esi, 2
test cl, cl
jne 0x471054
xor eax, eax
jmp 0x47107d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47109a
mov eax, dword [esp + 0x14]
inc ebx
add ebp, 4
cmp ebx, eax
jl 0x471048
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
mov esi, dword [edi + 4]
lea eax, [esp + 0x18]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x11c]
lea edx, [esp + 0x18]
push ecx
push esi
push 0x55625c
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0x11c]
push eax
call fcn.004c47fe
add esp, 4
test edi, edi
je 0x4710ea
mov ecx, edi
call fcn.0044dd40
push edi
call fcn.004dd7c3
add esp, 4
mov ecx, dword [esp + 0x10]
push 1
push ebx
mov ecx, dword [ecx + 0x55c]
call fcn.004d7142
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
Function at 0x471110
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5127ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.004de1bf
mov eax, dword [ebp + 0x55c]
mov edx, dword [esp + 0x244]
xor ebx, ebx
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x248]
cmp eax, ebx
mov dword [esp + 0x238], ebx
mov esi, dword [ecx + edx*4]
jne 0x47117c
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de2b4
xor eax, eax
jmp 0x47133d
mov edi, dword [esi + 4]
cmp edi, ebx
jne 0x4711a7
lea eax, [esp + 0x28]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x12c]
lea edx, [esp + 0x28]
push ecx
push ebx
push 0x55625c
jmp 0x4711c9
lea eax, [esp + 0x28]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x12c]
lea edx, [esp + 0x28]
push ecx
push edi
push 0x55625c
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov edi, dword [esp + 0x24c]
mov dword [esi + 4], eax
mov eax, edi
push ebx
neg eax
sbb eax, eax
lea ecx, [esp + 0x130]
and eax, 0x1000
or al, 0x11
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004de371
test eax, eax
jne 0x47124e
lea edx, [esp + 0x24]
push 0xd0
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x240], 1
call fcn.00452680
lea ecx, [esp + 0x24]
mov byte [esp + 0x238], bl
call fcn.004dd151
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de2b4
xor eax, eax
jmp 0x47133d
mov eax, dword [esp + 0x14]
push ebx
push ebx
lea ecx, [esp + 0x1c]
call dword [eax + 0x28]
push 0x44
call fcn.004dd79a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x238], 2
je 0x47128c
push ebx
push 0x1000
lea ecx, [esp + 0x1c]
push ebx
push ecx
mov ecx, eax
call fcn.004e18d0
mov esi, eax
jmp 0x47128e
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x238], bl
jne 0x4712e6
lea edx, [esp + 0x10]
push 0xd0
push edx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x240], 3
call fcn.00452680
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], bl
call fcn.004dd151
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de2b4
xor eax, eax
jmp 0x47133d
mov eax, dword [esp + 0x248]
push 0x298
push eax
mov ecx, esi
call fcn.004e1b51
cmp edi, ebx
je 0x47130d
mov ecx, dword [esp + 0x240]
push ecx
mov ecx, esi
call fcn.004e1220
mov ecx, esi
call fcn.004e1a34
mov ecx, esi
call fcn.004e19ac
push esi
call fcn.004dd7c3
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de2b4
mov eax, 1
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x22c
ret 0x10
Function at 0x471360
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x51283f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x18]
call fcn.004de1bf
mov eax, dword [edi + 0x55c]
mov edx, dword [esp + 0x244]
mov ebp, dword [esp + 0x248]
xor ebx, ebx
mov ecx, dword [eax + 4]
cmp ebp, ebx
mov dword [esp + 0x238], ebx
mov eax, dword [ecx + edx*4]
jne 0x4713cc
lea ecx, [esp + 0x18]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de2b4
xor eax, eax
jmp 0x471537
mov esi, dword [eax + 4]
lea eax, [esp + 0x28]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x12c]
lea edx, [esp + 0x28]
push ecx
push esi
push 0x55625c
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebx
lea eax, [esp + 0x130]
push 0x10
push eax
lea ecx, [esp + 0x24]
call fcn.004de371
test eax, eax
jne 0x471460
lea ecx, [esp + 0x14]
push 0xc9
push ecx
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x240], 1
call fcn.00452680
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], bl
call fcn.004dd151
lea ecx, [esp + 0x18]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de2b4
xor eax, eax
jmp 0x471537
push 0x44
call fcn.004dd79a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x238], 2
je 0x471492
push ebx
push 0x1000
lea edx, [esp + 0x20]
push 1
push edx
mov ecx, eax
call fcn.004e18d0
mov esi, eax
jmp 0x471494
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x238], bl
jne 0x4714ec
lea eax, [esp + 0x10]
push 0xc9
push eax
call fcn.0042e0a0
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x240], 3
call fcn.00452680
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], bl
call fcn.004dd151
lea ecx, [esp + 0x18]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de2b4
xor eax, eax
jmp 0x471537
push 0x298
push ebp
mov ecx, esi
call fcn.004e1a42
mov ecx, dword [esp + 0x240]
push ecx
push esi
call fcn.004f8ac3
mov ecx, esi
call fcn.004e1a34
mov ecx, esi
call fcn.004e19ac
push esi
call fcn.004dd7c3
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de2b4
mov eax, 1
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x22c
ret 0xc
Function at 0x4751c0
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x512dce
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebp
push edi
mov edi, ecx
call fcn.004f7df8
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0xa28]
test ecx, ecx
jne 0x47530b
lea eax, [esp + 0x110]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x110]
push ecx
push 0
push 0x556e6c
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0xc]
lea ecx, [edi + 0x58c]
push eax
call fcn.004dd2da
call fcn.004f7df8
mov eax, dword [eax + 4]
mov ebp, dword [eax + 0x884]
call fcn.004f7df8
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x228]
push 0
lea ecx, [esp + 0x10]
push 0
push ecx
push 0xffffffffffffffff
push 2
push edx
mov ecx, edi
mov dword [eax + 0x884], 0
call fcn.00472080
test eax, eax
je 0x47527b
cmp eax, 3
jne 0x4752fd
push esi
push 0x64
call fcn.004dd79a
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x220], 0
je 0x4752b7
mov ecx, dword [0x532680]
push 1
push ecx
lea edx, [esp + 0x18]
push 0x81
push edx
mov ecx, eax
call fcn.004d26f0
mov esi, eax
jmp 0x4752b9
xor esi, esi
mov eax, dword [esp + 0x228]
push esi
push eax
mov ecx, edi
mov dword [esp + 0x228], 0xffffffff
call fcn.00475370
test esi, esi
je 0x4752e7
mov ecx, dword [esi]
push 1
mov edx, dword [ecx + 4]
mov eax, dword [edx + esi]
lea ecx, [edx + esi]
call dword [eax]
call fcn.004f7df8
mov ecx, dword [eax + 4]
mov eax, 1
pop esi
mov dword [ecx + 0x884], ebp
jmp 0x47530d
call fcn.004f7df8
mov edx, dword [eax + 4]
mov dword [edx + 0x884], ebp
xor eax, eax
mov ecx, dword [esp + 0x214]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x218
ret 8

Function at 0x4763e0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [0x55f504]
test eax, eax
jne 0x476423
push esi
mov dword [0x55f504], 1
xor edx, edx
mov ecx, 0x55f0d8
mov eax, edx
mov esi, 8
test al, 1
je 0x47640f
shr eax, 1
xor eax, 0xedb88320
jmp 0x476411
shr eax, 1
dec esi
jne 0x476402
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x55f4d4
jbe 0x4763fb
pop esi
ret
Function at 0x4769b0
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4769cf
cmp esi, 0xffffffff
je 0x4769cf
cmp esi, 0xfffffffe
je 0x4769cf
cmp esi, 0xfffffffc
jne 0x476a18
push 0x1c
call fcn.004dd79a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
push 0
push 4
push 0
push 0xfffffffffffffffe
push eax
push 0x476a20
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 0x10], edx
call fcn.004dd9ea
test eax, eax
je 0x476a18
mov eax, dword [eax + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret

Function at 0x476be5
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x11c
cmp eax, 0x9673
je 0x476c1f
cmp eax, 0x9674
je 0x476c1f
cmp eax, 0x10
jne 0x476b26
mov ecx, dword [esp + 0x128]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x124]
xor edx, edx
mov dword [esp + 8], eax
lea eax, [esp]
mov dword [esp + 0x14], edx
push eax
mov dword [esp + 4], 0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], edx
call fcn.00476c70
add esp, 4
neg eax
sbb eax, eax
and eax, fcn.00476ab0
add esp, 0x11c
ret
mov eax, dword [0x55f4d8]
test eax, eax
jne 0x476bc6
mov ecx, dword [0x55f4f4]
mov edx, dword [0x55f4f8]
add edx, ecx
cmp edx, 1
je 0x476b4f
cmp dword [0x55f4f0], 1
jne 0x476bc6
mov eax, dword [0x55f4dc]
test eax, eax
jne 0x476bc6
mov eax, dword [0x556f68]
mov ecx, dword [0x556f64]
mov edx, dword [0x556f60]
push 0xd2f0
push eax
push ecx
push edx
push 0xfffffffffffffffe
call fcn.004769b0
add esp, 0x14
mov dword [0x55f4d8], 1
call fcn.004dd9d5
test eax, eax
je 0x476bcf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
je 0x476bcf
call fcn.004dd9d5
test eax, eax
je 0x476bab
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x476bad
xor eax, eax
mov eax, dword [eax + 0x1c]
push 0x983f
push 0x192f
push 0x9673
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
add esp, 0x11c
ret
mov ecx, dword [0x556f5c]
and ecx, 0x2000
cmp ecx, 0x2000
jne 0x476bf1
push 0xffffffffffffffff
push 0x10
push 0x1aa
call fcn.004e5506
mov al, byte [esp + 0x128]
mov dl, byte [esp + 0x124]
push ebx
xor ecx, ecx
mov bl, dl
shl bl, cl
sub bl, al
xor bl, cl
mov byte [esp + ecx + 0x20], bl
inc ecx
cmp ecx, 0x100
jl 0x476c02
push 0
call fcn.004c5454
pop ebx
mov edx, dword [esp + 0x124]
xor ecx, ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x128]
lea edx, [esp]
mov dword [esp + 0x14], ecx
push edx
mov dword [esp + 4], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], ecx
call fcn.00476c70
add esp, 4
mov eax, 0x557063
add esp, 0x11c
ret