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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x511be0
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 0x467a78
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.0042e2e0
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.004dd44d
test esi, esi
je 0x467ad4
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.004dda96
add esp, 4
mov esi, eax
lea ecx, [esp + 0x18]
push 0
push 0x2710
push esi
call fcn.004e9510
push 0
push 0x1000
lea eax, [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x9c], 0
call fcn.004e1bcc
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
add ecx, 4
mov byte [esp + 0x8c], 1
cmp ecx, eax
jbe 0x467b45
lea ecx, [esp + 0x40]
call fcn.004e1edd
mov edx, dword [esp + 0x64]
mov dword [edx], 0
mov eax, dword [esp + 0x64]
add eax, 4
mov dword [esp + 0x64], eax
call fcn.004f80f4
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.004e1d30
lea ecx, [esp + 0x18]
call fcn.004e9626
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.004e9577
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.004ddabf
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x8c], 0
call fcn.004e1ca8
lea ecx, [esp + 0x18]
mov dword [esp + 0x8c], 0xffffffff
call fcn.004e9589
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 0x4680d0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push 0xffffffffffffffff
push 0x511c61
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 0x46825a
mov eax, dword [0x5580c0]
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 0x468189
call sub.WSOCK32.dll_WSAGetLastError
lea eax, [esp + 0x18]
push 0xd3
push eax
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, esi
mov byte [esp + 0xa4], 1
call fcn.00452980
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c], bl
call fcn.004dd44d
jmp 0x46821f
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.004c2b9d
add esp, 0x20
lea ecx, [esp + 0x30]
push ebx
push ebx
push ebx
push ecx
mov ecx, esi
call fcn.0046a190
cmp eax, 2
je 0x468241
mov ecx, esi
call fcn.0046e9f0
lea ecx, [esp + 8]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004dd44d
xor eax, eax
jmp 0x468342
lea ecx, [esp + 8]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004dd44d
jmp 0x46833d
cmp eax, 1
jne 0x46833d
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.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, esi
mov dword [esp + 0xa4], 2
call fcn.00452980
lea ecx, [esp + 0x10]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004dd44d
cmp dword [0x55e14c], ebx
je 0x468303
mov ecx, esi
call fcn.004513c0
mov dword [0x55e148], eax
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x45c]
lea eax, [esp + 0xa8]
push edx
push eax
push ecx
call fcn.004af360
add esp, 0xc
cmp eax, 1
je 0x468327
xor eax, eax
jmp 0x468342
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 0x468800
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x511cf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [0x5580c0]
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.004680d0
test eax, eax
jne 0x4688a1
mov ecx, esi
call fcn.0046e9f0
lea ecx, [esp + 0x20]
push 0xd9
push ecx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push 0
push eax
mov ecx, esi
mov byte [esp + 0x20], 4
call fcn.00452980
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 3
call fcn.004dd44d
lea ecx, [esp + 4]
mov byte [esp + 0x18], 2
call fcn.004dd44d
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.004dd44d
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.004dd44d
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], 0xffffffff
call fcn.004dd44d
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0x1c

Function at 0x46a070
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 [0x55e750]
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 0x46a152
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp + 0x47c]
test eax, eax
jg 0x46a15e
call fcn.004f80f4
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x9f4]
test ecx, ecx
jne 0x46a16d
mov eax, dword [ebp + 0x690]
test eax, eax
je 0x46a0e4
mov eax, dword [ebp + 0x694]
test eax, eax
jne 0x46a17c
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 0x46a12b
call fcn.004f80f4
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 0x46a12f
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 0x46a12f
push 5
call ebx
push 0x64
call ebx
call esi
mov ecx, eax
mov eax, dword [0x55e750]
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 0x46a0a8
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 0x46adb0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [0x55e150]
push esi
mov esi, dword [esp + 8]
test eax, eax
push esi
je 0x46adc6
call sub.WSOCK32.dll_inet_addr
jmp 0x46adce
call fcn.0046ad00
add esp, 4
cmp eax, 0xffffffff
jne 0x46ade2
push esi
call fcn.004af4f0
add esp, 4
test eax, eax
jne 0x46ade2
pop esi
ret
mov ecx, dword [esp + 0xc]
pop esi
mov dword [ecx], eax
mov eax, 1
ret
Function at 0x46eec0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x512851
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 0x46f108
mov edi, dword [esp + 0xfc]
xor ebp, ebp
cmp edi, ebp
je 0x46f108
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.0044f9b0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x45c]
push ebx
push ecx
push edi
push edx
call fcn.004af7e0
add esp, 0x10
cmp eax, 0xfffffffe
je 0x46f06b
cmp eax, 1
jne 0x46f0a7
mov ecx, edi
call fcn.004d2b88
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.0044f9b0
lea eax, [esp + 0x20]
push 0x119
push eax
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov dword [esp + 0xfc], ebp
call fcn.00452980
lea ecx, [esp + 0x20]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004dd44d
cmp edi, ebp
jne 0x46efe0
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.0042e2e0
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.004c2b9d
add esp, 0x20
lea ecx, [esp + 0x14]
call fcn.004dd44d
lea ecx, [esp + 0x24]
push ebp
push ecx
mov ecx, esi
call fcn.00452980
mov eax, 1
jmp 0x46f10a
lea edx, [esp + 0x18]
push 0xdb
push edx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov dword [esp + 0xfc], 1
call fcn.00452980
lea ecx, [esp + 0x18]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004dd44d
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.0044f9b0
lea ecx, [esp + 0x1c]
push 0xd2
push ecx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebp
push eax
mov ecx, esi
mov dword [esp + 0xfc], 2
call fcn.00452980
lea ecx, [esp + 0x1c]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004dd44d
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 0x4711b0
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 0x471246
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.004c4aee
mov edx, dword [edi + 0x55c]
add esp, 4
mov eax, dword [edx + 4]
mov ebx, dword [eax + esi*4]
test ebx, ebx
je 0x47123b
mov ecx, ebx
call fcn.0044e080
push ebx
call fcn.004ddabf
add esp, 4
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jle 0x4711d7
pop ebp
pop ebx
mov ecx, dword [edi + 0x55c]
push 0xffffffffffffffff
push 0
call fcn.004d72d5
pop edi
pop esi
add esp, 0x20c
ret

Function at 0x471260
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 0x47133c
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 0x4712b8
test cl, cl
je 0x4712b4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4712b8
add eax, 2
add esi, 2
test cl, cl
jne 0x471294
xor eax, eax
jmp 0x4712bd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4712da
mov eax, dword [esp + 0x14]
inc ebx
add ebp, 4
cmp ebx, eax
jl 0x471288
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.004c4aee
add esp, 4
test edi, edi
je 0x47132a
mov ecx, edi
call fcn.0044e080
push edi
call fcn.004ddabf
add esp, 4
mov ecx, dword [esp + 0x10]
push 1
push ebx
mov ecx, dword [ecx + 0x55c]
call fcn.004d7e03
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 4
Function at 0x471350
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x512b3f
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.004de4bb
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 0x4713bc
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de5b0
xor eax, eax
jmp 0x47157d
mov edi, dword [esi + 4]
cmp edi, ebx
jne 0x4713e7
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 0x471409
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.004de66d
test eax, eax
jne 0x47148e
lea edx, [esp + 0x24]
push 0xd0
push edx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x240], 1
call fcn.00452980
lea ecx, [esp + 0x24]
mov byte [esp + 0x238], bl
call fcn.004dd44d
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de5b0
xor eax, eax
jmp 0x47157d
mov eax, dword [esp + 0x14]
push ebx
push ebx
lea ecx, [esp + 0x1c]
call dword [eax + 0x28]
push 0x44
call fcn.004dda96
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x238], 2
je 0x4714cc
push ebx
push 0x1000
lea ecx, [esp + 0x1c]
push ebx
push ecx
mov ecx, eax
call fcn.004e1bcc
mov esi, eax
jmp 0x4714ce
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x238], bl
jne 0x471526
lea edx, [esp + 0x10]
push 0xd0
push edx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x240], 3
call fcn.00452980
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], bl
call fcn.004dd44d
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de5b0
xor eax, eax
jmp 0x47157d
mov eax, dword [esp + 0x248]
push 0x298
push eax
mov ecx, esi
call fcn.004e1e4d
cmp edi, ebx
je 0x47154d
mov ecx, dword [esp + 0x240]
push ecx
mov ecx, esi
call fcn.004e151c
mov ecx, esi
call fcn.004e1d30
mov ecx, esi
call fcn.004e1ca8
push esi
call fcn.004ddabf
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de5b0
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 0x4715a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x512b7f
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.004de4bb
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 0x47160c
lea ecx, [esp + 0x18]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de5b0
xor eax, eax
jmp 0x471777
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.004de66d
test eax, eax
jne 0x4716a0
lea ecx, [esp + 0x14]
push 0xc9
push ecx
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x240], 1
call fcn.00452980
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], bl
call fcn.004dd44d
lea ecx, [esp + 0x18]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de5b0
xor eax, eax
jmp 0x471777
push 0x44
call fcn.004dda96
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x238], 2
je 0x4716d2
push ebx
push 0x1000
lea edx, [esp + 0x20]
push 1
push edx
mov ecx, eax
call fcn.004e1bcc
mov esi, eax
jmp 0x4716d4
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x238], bl
jne 0x47172c
lea eax, [esp + 0x10]
push 0xc9
push eax
call fcn.0042e2e0
add esp, 8
mov eax, dword [eax]
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x240], 3
call fcn.00452980
lea ecx, [esp + 0x10]
mov byte [esp + 0x238], bl
call fcn.004dd44d
lea ecx, [esp + 0x18]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de5b0
xor eax, eax
jmp 0x471777
push 0x298
push ebp
mov ecx, esi
call fcn.004e1d3e
mov ecx, dword [esp + 0x240]
push ecx
push esi
call fcn.004f8dbf
mov ecx, esi
call fcn.004e1d30
mov ecx, esi
call fcn.004e1ca8
push esi
call fcn.004ddabf
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x238], 0xffffffff
call fcn.004de5b0
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 0x475400
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51310e
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push ebp
push edi
mov edi, ecx
call fcn.004f80f4
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0xa28]
test ecx, ecx
jne 0x47554b
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.004dd5d6
call fcn.004f80f4
mov eax, dword [eax + 4]
mov ebp, dword [eax + 0x884]
call fcn.004f80f4
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.004722c0
test eax, eax
je 0x4754bb
cmp eax, 3
jne 0x47553d
push esi
push 0x64
call fcn.004dda96
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x220], 0
je 0x4754f7
mov ecx, dword [0x532678]
push 1
push ecx
lea edx, [esp + 0x18]
push 0x81
push edx
mov ecx, eax
call fcn.004d29ec
mov esi, eax
jmp 0x4754f9
xor esi, esi
mov eax, dword [esp + 0x228]
push esi
push eax
mov ecx, edi
mov dword [esp + 0x228], 0xffffffff
call fcn.004755b0
test esi, esi
je 0x475527
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.004f80f4
mov ecx, dword [eax + 4]
mov eax, 1
pop esi
mov dword [ecx + 0x884], ebp
jmp 0x47554d
call fcn.004f80f4
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 0x476690
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [0x55f408]
test eax, eax
jne 0x4766d3
push esi
mov dword [0x55f408], 1
xor edx, edx
mov ecx, 0x55eff8
mov eax, edx
mov esi, 8
test al, 1
je 0x4766bf
shr eax, 1
xor eax, 0xedb88320
jmp 0x4766c1
shr eax, 1
dec esi
jne 0x4766b2
mov dword [ecx], eax
add ecx, 4
inc edx
cmp ecx, 0x55f3f4
jbe 0x4766ab
pop esi
ret
Function at 0x476c60
Capabilities:
Resume thread

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

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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x11c
cmp eax, 0x9673
push ebx
je 0x476ef5
cmp eax, 0x9674
je 0x476ef5
cmp eax, 0x10
jne 0x476dd8
mov ecx, dword [esp + 0x12c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x128]
xor edx, edx
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
mov dword [esp + 0x18], edx
push eax
mov dword [esp + 8], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], edx
call fcn.00476f50
add esp, 4
neg eax
sbb eax, eax
pop ebx
and eax, fcn.00476d60
add esp, 0x11c
ret
push esi
mov esi, dword [0x556e5c]
push edi
xor edi, edi
test esi, esi
nop
nop
mov edi, dword [0x55f3f8]
jmp 0x476e0e
mov eax, dword [0x55f3f8]
cmp eax, edi
pop edi
pop esi
je 0x476e9d
mov eax, dword [0x55f3fc]
test eax, eax
jne 0x476e9d
mov eax, dword [0x55f400]
test eax, eax
jne 0x476e9d
mov ecx, dword [0x556e8c]
mov edx, dword [0x556e88]
mov eax, dword [0x556e84]
push 0xd2f0
push ecx
push edx
push eax
push 0xfffffffffffffffe
call fcn.00476c60
add esp, 0x14
mov dword [0x55f3fc], 1
call fcn.004ddcd1
test eax, eax
je 0x476ea7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
test eax, eax
je 0x476ea7
call fcn.004ddcd1
test eax, eax
je 0x476e82
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x476e84
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
pop ebx
add esp, 0x11c
ret
mov ecx, dword [0x556e80]
and ecx, 0x2000
cmp ecx, 0x2000
jne 0x476ec9
push 0xffffffffffffffff
push 0x10
push 0x1aa
call fcn.004e5802
mov al, byte [esp + 0x12c]
mov dl, byte [esp + 0x128]
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 0x476ed9
push 0
call fcn.004c5744
mov edx, dword [esp + 0x128]
xor ecx, ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x12c]
lea edx, [esp + 4]
mov dword [esp + 0x18], ecx
push edx
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], ecx
call fcn.00476f50
add esp, 4
mov eax, 0x556f87
pop ebx
add esp, 0x11c
ret