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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x511860
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 0x467788
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.0042e080
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.004dd111
test esi, esi
je 0x4677e4
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.004dd75a
add esp, 4
mov esi, eax
lea ecx, [esp + 0x18]
push 0
push 0x2710
push esi
call fcn.004e91d9
push 0
push 0x1000
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], 0
call fcn.004e1890
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
add ecx, 4
mov byte [esp + 0x8c], 1
cmp ecx, eax
jbe 0x467855
lea ecx, [esp + 0x40]
call fcn.004e1ba1
mov edx, dword [esp + 0x64]
mov dword [edx], 0
mov eax, dword [esp + 0x64]
add eax, 4
mov dword [esp + 0x64], eax
call fcn.004f7db8
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.004e19f4
lea ecx, [esp + 0x18]
call fcn.004e92ef
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.004e9240
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.004dd783
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 0
call fcn.004e196c
lea ecx, [esp + 0x18]
mov dword [esp + 0x8c], 0xffffffff
call fcn.004e9252
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 0x467de0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x5118e1
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 0x467f6a
mov eax, dword [0x5580a0]
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 0x467e99
call sub.WSOCK32.dll_WSAGetLastError
lea eax, [esp + 0x18]
push 0xd3
push eax
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, esi
mov byte [esp + 0xa4], 1
call fcn.00452660
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], bl
call fcn.004dd111
jmp 0x467f2f
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.004c286d
add esp, 0x20
lea ecx, [esp + 0x30]
push ebx
push ebx
push ebx
push ecx
mov ecx, esi
call fcn.00469ea0
cmp eax, 2
je 0x467f51
mov ecx, esi
call fcn.0046e740
lea ecx, [esp + 8]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004dd111
xor eax, eax
jmp 0x468052
lea ecx, [esp + 8]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004dd111
jmp 0x46804d
cmp eax, 1
jne 0x46804d
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.0042e080
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, esi
mov dword [esp + 0xa4], 2
call fcn.00452660
lea ecx, [esp + 0x10]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004dd111
cmp dword [0x55e12c], ebx
je 0x468013
mov ecx, esi
call fcn.004510a0
mov dword [0x55e128], eax
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x45c]
lea eax, [esp + 0xa8]
push edx
push eax
push ecx
call fcn.004aefd0
add esp, 0xc
cmp eax, 1
je 0x468037
xor eax, eax
jmp 0x468052
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 0x468510
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x511978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [0x5580a0]
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.00467de0
test eax, eax
jne 0x4685b1
mov ecx, esi
call fcn.0046e740
lea ecx, [esp + 0x20]
push 0xd9
push ecx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0x20], 4
call fcn.00452660
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 3
call fcn.004dd111
lea ecx, [esp + 4]
mov byte [esp + 0x18], 2
call fcn.004dd111
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.004dd111
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.004dd111
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], 0xffffffff
call fcn.004dd111
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x1c

Function at 0x469d80
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 [0x55e730]
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 0x469e62
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x47c]
test eax, eax
jg 0x469e6e
call fcn.004f7db8
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x9f4]
test ecx, ecx
jne 0x469e7d
mov eax, dword [ebp + 0x690]
test eax, eax
je 0x469df4
mov eax, dword [ebp + 0x694]
test eax, eax
jne 0x469e8c
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 0x469e3b
call fcn.004f7db8
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 0x469e3f
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 0x469e3f
push 5
call ebx
push 0x64
call ebx
call esi
mov ecx, eax
mov eax, dword [0x55e730]
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 0x469db8
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 0x46aac0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [0x55e130]
push esi
mov esi, dword [esp + 8]
test eax, eax
push esi
je 0x46aad6
call sub.WSOCK32.dll_inet_addr
jmp 0x46aade
call fcn.0046aa10
add esp, 4
cmp eax, 0xffffffff
jne 0x46aaf2
push esi
call fcn.004af160
add esp, 4
test eax, eax
jne 0x46aaf2
pop esi
ret
mov ecx, dword [esp + 0xc]
pop esi
mov dword [ecx], eax
mov eax, 1
ret
Function at 0x46ec10
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5124d1
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 0x46ee58
mov edi, dword [esp + 0xfc]
xor ebp, ebp
cmp edi, ebp
je 0x46ee58
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.0044f690
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x45c]
push ebx
push ecx
push edi
push edx
call fcn.004af450
add esp, 0x10
cmp eax, 0xfffffffe
je 0x46edbb
cmp eax, 1
jne 0x46edf7
mov ecx, edi
call fcn.004d284c
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.0044f690
lea eax, [esp + 0x20]
push 0x119
push eax
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov dword [esp + 0xfc], ebp
call fcn.00452660
lea ecx, [esp + 0x20]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004dd111
cmp edi, ebp
jne 0x46ed30
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.0042e080
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.004c286d
add esp, 0x20
lea ecx, [esp + 0x14]
call fcn.004dd111
lea ecx, [esp + 0x24]
push ebp
push ecx
mov ecx, esi
call fcn.00452660
mov eax, 1
jmp 0x46ee5a
lea edx, [esp + 0x18]
push 0xdb
push edx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov dword [esp + 0xfc], 1
call fcn.00452660
lea ecx, [esp + 0x18]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004dd111
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.0044f690
lea ecx, [esp + 0x1c]
push 0xd2
push ecx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov dword [esp + 0xfc], 2
call fcn.00452660
lea ecx, [esp + 0x1c]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004dd111
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 0x470f30
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 0x470fc6
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 0x55615c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 0x118]
push ecx
call fcn.004c47be
mov edx, dword [edi + 0x55c]
add esp, 4
mov eax, dword [edx + 4]
mov ebx, dword [eax + esi*4]
test ebx, ebx
je 0x470fbb
mov ecx, ebx
call fcn.0044dd20
push ebx
call fcn.004dd783
add esp, 4
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jle 0x470f57
pop ebp
pop ebx
mov ecx, dword [edi + 0x55c]
push 0xffffffffffffffff
push 0
call fcn.004d6faf
pop edi
pop esi
add esp, 0x20c
ret

Function at 0x470fe0
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 0x4710bc
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 0x471038
test cl, cl
je 0x471034
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x471038
add eax, 2
add esi, 2
test cl, cl
jne 0x471014
xor eax, eax
jmp 0x47103d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x47105a
mov eax, dword [esp + 0x14]
inc ebx
add ebp, 4
cmp ebx, eax
jl 0x471008
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 0x55615c
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0x11c]
push eax
call fcn.004c47be
add esp, 4
test edi, edi
je 0x4710aa
mov ecx, edi
call fcn.0044dd20
push edi
call fcn.004dd783
add esp, 4
mov ecx, dword [esp + 0x10]
push 1
push ebx
mov ecx, dword [ecx + 0x55c]
call fcn.004d7102
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
Function at 0x4710d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5127bf
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.004de17f
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 0x47113c
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de274
xor eax, eax
jmp 0x4712fd
mov edi, dword [esi + 4]
cmp edi, ebx
jne 0x471167
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 0x55615c
jmp 0x471189
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 0x55615c
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.004de331
test eax, eax
jne 0x47120e
lea edx, [esp + 0x24]
push 0xd0
push edx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x240], 1
call fcn.00452660
lea ecx, [esp + 0x24]
mov byte [esp + 0x238], bl
call fcn.004dd111
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de274
xor eax, eax
jmp 0x4712fd
mov eax, dword [esp + 0x14]
push ebx
push ebx
lea ecx, [esp + 0x1c]
call dword [eax + 0x28]
push 0x44
call fcn.004dd75a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x238], 2
je 0x47124c
push ebx
push 0x1000
lea ecx, [esp + 0x1c]
push ebx
push ecx
mov ecx, eax
call fcn.004e1890
mov esi, eax
jmp 0x47124e
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x238], bl
jne 0x4712a6
lea edx, [esp + 0x10]
push 0xd0
push edx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x240], 3
call fcn.00452660
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], bl
call fcn.004dd111
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de274
xor eax, eax
jmp 0x4712fd
mov eax, dword [esp + 0x248]
push 0x298
push eax
mov ecx, esi
call fcn.004e1b11
cmp edi, ebx
je 0x4712cd
mov ecx, dword [esp + 0x240]
push ecx
mov ecx, esi
call fcn.004e11e0
mov ecx, esi
call fcn.004e19f4
mov ecx, esi
call fcn.004e196c
push esi
call fcn.004dd783
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de274
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 0x471320
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
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x18]
call fcn.004de17f
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 0x47138c
lea ecx, [esp + 0x18]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de274
xor eax, eax
jmp 0x4714f7
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 0x55615c
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.004de331
test eax, eax
jne 0x471420
lea ecx, [esp + 0x14]
push 0xc9
push ecx
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x240], 1
call fcn.00452660
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], bl
call fcn.004dd111
lea ecx, [esp + 0x18]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de274
xor eax, eax
jmp 0x4714f7
push 0x44
call fcn.004dd75a
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x238], 2
je 0x471452
push ebx
push 0x1000
lea edx, [esp + 0x20]
push 1
push edx
mov ecx, eax
call fcn.004e1890
mov esi, eax
jmp 0x471454
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x238], bl
jne 0x4714ac
lea eax, [esp + 0x10]
push 0xc9
push eax
call fcn.0042e080
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x240], 3
call fcn.00452660
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], bl
call fcn.004dd111
lea ecx, [esp + 0x18]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de274
xor eax, eax
jmp 0x4714f7
push 0x298
push ebp
mov ecx, esi
call fcn.004e1a02
mov ecx, dword [esp + 0x240]
push ecx
push esi
call fcn.004f8a83
mov ecx, esi
call fcn.004e19f4
mov ecx, esi
call fcn.004e196c
push esi
call fcn.004dd783
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de274
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 0x475180
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x512d8e
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebp
push edi
mov edi, ecx
call fcn.004f7db8
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0xa28]
test ecx, ecx
jne 0x4752cb
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 0x556d6c
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [esp + 0xc]
lea ecx, [edi + 0x58c]
push eax
call fcn.004dd29a
call fcn.004f7db8
mov eax, dword [eax + 4]
mov ebp, dword [eax + 0x884]
call fcn.004f7db8
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.00472040
test eax, eax
je 0x47523b
cmp eax, 3
jne 0x4752bd
push esi
push 0x64
call fcn.004dd75a
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x220], 0
je 0x475277
mov ecx, dword [0x532680]
push 1
push ecx
lea edx, [esp + 0x18]
push 0x81
push edx
mov ecx, eax
call fcn.004d26b0
mov esi, eax
jmp 0x475279
xor esi, esi
mov eax, dword [esp + 0x228]
push esi
push eax
mov ecx, edi
mov dword [esp + 0x228], 0xffffffff
call fcn.00475330
test esi, esi
je 0x4752a7
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.004f7db8
mov ecx, dword [eax + 4]
mov eax, 1
pop esi
mov dword [ecx + 0x884], ebp
jmp 0x4752cd
call fcn.004f7db8
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 0x4763a0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [0x55f404]
test eax, eax
jne 0x4763e3
push esi
mov dword [0x55f404], 1
xor edx, edx
mov ecx, 0x55efd8
mov eax, edx
mov esi, 8
test al, 1
je 0x4763cf
shr eax, 1
xor eax, 0xedb88320
jmp 0x4763d1
shr eax, 1
dec esi
jne 0x4763c2
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x55f3d4
jbe 0x4763bb
pop esi
ret
Function at 0x476970
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x47698f
cmp esi, 0xffffffff
je 0x47698f
cmp esi, 0xfffffffe
je 0x47698f
cmp esi, 0xfffffffc
jne 0x4769d8
push 0x1c
call fcn.004dd75a
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 0x4769e0
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 0x10], edx
call fcn.004dd9aa
test eax, eax
je 0x4769d8
mov eax, dword [eax + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret

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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x11c
cmp eax, 0x9673
je 0x476bdf
cmp eax, 0x9674
je 0x476bdf
cmp eax, 0x10
jne 0x476ae6
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.00476c30
add esp, 4
neg eax
sbb eax, eax
and eax, fcn.00476a70
add esp, 0x11c
ret
mov eax, dword [0x55f3d8]
test eax, eax
jne 0x476b86
mov ecx, dword [0x55f3f4]
mov edx, dword [0x55f3f8]
add edx, ecx
cmp edx, 1
je 0x476b0f
cmp dword [0x55f3f0], 1
jne 0x476b86
mov eax, dword [0x55f3dc]
test eax, eax
jne 0x476b86
mov eax, dword [0x556e68]
mov ecx, dword [0x556e64]
mov edx, dword [0x556e60]
push 0xd2f0
push eax
push ecx
push edx
push 0xfffffffffffffffe
call fcn.00476970
add esp, 0x14
mov dword [0x55f3d8], 1
call fcn.004dd995
test eax, eax
je 0x476b8f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
je 0x476b8f
call fcn.004dd995
test eax, eax
je 0x476b6b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x476b6d
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 [0x556e5c]
and ecx, 0x2000
cmp ecx, 0x2000
jne 0x476bb1
push 0xffffffffffffffff
push 0x10
push 0x1aa
call fcn.004e54c6
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 0x476bc2
push 0
call fcn.004c5414
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.00476c30
add esp, 4
mov eax, 0x556f63
add esp, 0x11c
ret