joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x4659a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x457015
lea edi, [esi - 0x56015]
push edi
or ebp, 0xffffffff
jmp 0x4659c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4659c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4659b8
mov eax, 1
add ebx, ebx
jne 0x4659db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4659d0
jne 0x4659ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4659d0
xor ecx, ecx
sub eax, 3
jb 0x465a00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465a72
mov ebp, eax
add ebx, ebx
jne 0x465a0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465a18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465a3c
inc ecx
add ebx, ebx
jne 0x465a28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465a1d
jne 0x465a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465a1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465a5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465a4d
jmp 0x4659be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465a5c
add edi, ecx
jmp 0x4659be
pop esi
mov edi, esi
mov ecx, 0x33e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465a7a
cmp byte [edi], 0
jne 0x465a7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x465a7f
lea edi, [esi + 0x63000]
mov eax, dword [edi]
or eax, eax
je 0x465aee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x651f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x65254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465aac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x65258]
or eax, eax
je 0x465ae8
mov dword [ebx], eax
add ebx, 4
jmp 0x465ac9
call dword [esi + 0x6525c]
popal
jmp 0x40da18
Function at 0x4040be
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
mov byte [ebp - 0x1c], 0x49
cmp byte [ebp + 0xc], al
mov dword [ebp - 4], eax
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x1a], 0x73
mov byte [ebp - 0x19], 0x74
mov byte [ebp - 0x18], 0x61
mov byte [ebp - 0x17], 0x6c
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x53
mov byte [ebp - 0x14], 0x68
mov byte [ebp - 0x13], 0x69
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x64
mov byte [ebp - 0xf], al
je 0x404124
mov byte [ebp - 0xf], 0x20
mov byte [ebp - 0xe], 0x57
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x7a
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x72
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], al
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xf]
push 1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00401b24
mov eax, dword [ebp + 8]
leave
ret 8
Function at 0x40f2c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x46085f
call fcn.0043c280
sub esp, 0x434
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x34], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 8]
push 0x40
lea eax, [ebp - 0x120]
push edi
push eax
mov dword [ebp - 0xe0], esi
call fcn.0043c2a0
add esp, 0xc
lea eax, [ebp - 0xd]
push 1
push eax
push 0x4770e8
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0040a3f6
mov eax, dword [eax + 8]
cmp eax, ebx
jne 0x40f322
mov eax, 0x4675fc
add esi, 0x50
push eax
push esi
call dword [0x4671a8]
lea ecx, [ebp - 0x418]
call fcn.00405fc5
push 0x46ba00
push dword [ebp - 4]
push 0x43bf55
push 3
push edi
call fcn.0043d444
add esp, 0x14
cmp eax, ebx
mov dword [ebp - 0x30], eax
jne 0x40fdc1
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x34]
mov dword [0x47e4a4], esi
mov dword [edi + 0x268], esi
call fcn.00437cea
push 0x314
mov byte [edi + 0x258], al
call fcn.0043c844
pop ecx
mov dword [ebp - 0x30], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x40f398
push esi
mov ecx, eax
call fcn.0040fea7
jmp 0x40f39a
xor eax, eax
lea esi, [edi + 0x25c]
push 8
mov byte [ebp - 4], 2
mov dword [esi], eax
call fcn.0043c844
cmp eax, ebx
pop ecx
je 0x40f3b8
mov esi, dword [esi]
mov dword [eax], esi
jmp 0x40f3ba
xor eax, eax
sub esp, 0x28
mov dword [edi + 0x260], eax
mov dword [ebp - 0x30], esp
mov ecx, esp
lea eax, [ebp + 0x34]
push ebx
push eax
mov dword [ecx], 0x467594
mov dword [ecx + 0x20], 0x46758c
call fcn.00401cec
sub esp, 0x28
mov edi, dword [ebp - 0x34]
cmp eax, 0x80042002
jne 0x40fe25
mov eax, dword [edi + 0x26c]
push ebx
push 1
push 0x10
sub esp, 0x28
mov dword [ebp - 0x14], eax
lea esi, [edi + 4]
mov eax, esp
mov dword [ebp - 0x74], esp
push 0x7d9
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.00403c86
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0x2b
call dword [eax + 0x2c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.004035bc
push dword [ebp - 0x14]
mov ecx, eax
mov byte [ebp - 4], 0x2d
call fcn.00403a3c
mov byte [ebp - 4], 2
mov esi, 0x80042000
jmp 0x40fe36
mov esi, 0x80042000
cmp eax, esi
je 0x40fe36
push ebx
mov ecx, edi
call fcn.00402ddd
mov eax, dword [edi + 0x288]
cmp eax, ebx
je 0x40fe54
mov dword [edi + 0x298], 5
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xb4]
add byte [eax], al
mov eax, dword [edi + 0x294]
cmp eax, ebx
je 0x40fe91
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x476fa8
push eax
mov byte [ebp - 4], 0x2e
call dword [ecx]
cmp eax, ebx
jl 0x40fe80
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x40fe91
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x30], esi
jne 0x40fe9a
mov edi, esi
jmp 0x40fea0
mov edi, dword [edi + 0x390]
mov esi, edi
jmp 0x40fd7c
Function at 0x42ab9c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x463625
call fcn.0043c280
sub esp, 0x30
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov ebx, 0x467594
and dword [esi], 0
mov dword [esi + 4], eax
lea ecx, [esi + 8]
lea eax, [ebp - 0xd]
mov edi, 0x46758c
push 0
push eax
mov dword [ebp - 0x14], esi
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
and dword [ebp - 4], 0
lea ecx, [esi + 0x30]
lea eax, [ebp - 0xe]
push 0
push eax
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0x58]
lea eax, [ebp - 0xd]
push 0
push eax
mov byte [ebp - 4], 1
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0x80]
lea eax, [ebp - 0xe]
push 0
push eax
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 0x20], edi
call fcn.00401c77
lea ecx, [esi + 0xa8]
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 3
mov dword [ecx], ebx
xor ebx, ebx
push ebx
push eax
mov dword [ecx + 0x20], edi
call fcn.00401c77
mov eax, dword [ebp + 8]
and byte [esi + 0xd8], bl
mov byte [ebp - 4], 4
lea edi, [eax + 4]
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x2c]
mov ecx, eax
call fcn.004064c1
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x3c]
mov dword [ebp + 8], eax
call fcn.0040125c
cmp dword [ebp + 8], ebx
setne al
mov byte [esi + 0xd9], al
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
push esi
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 6
call fcn.0042acd6
mov eax, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 7
call dword [eax + 0x2c]
mov al, byte [eax + 0x16]
lea ecx, [esi + 0x154]
push eax
push esi
call fcn.0042ae0b
push esi
lea ecx, [esi + 0x1c4]
mov byte [ebp - 4], 8
call fcn.0042ae84
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x230], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x437069
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x453200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x466827
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x4675bc]
push ebp
push esi
push edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x4675b8
mov dword [esp + 0x30], 0x4675b0
lea esi, [esp + eax + 0x10]
call dword [0x4672f0]
mov dword [esi], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x40], 1
test eax, eax
je 0x453259
add eax, 4
jmp 0x45325b
xor eax, eax
push eax
lea ecx, [esp + 0x18]
call fcn.00453720
lea ecx, [esp + 0x24]
call fcn.004485f0
push 0
lea ecx, [esp + 0x34]
call fcn.00448630
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x40], 2
test ebp, ebp
je 0x45328e
lea ecx, [ebp - 1]
jmp 0x453290
xor ecx, ecx
mov edx, dword [esp + 0x18]
mov eax, 0x467588
test edx, edx
je 0x45329f
mov eax, edx
mov ax, word [eax + ecx*2]
cmp ax, 0x5c
je 0x453314
test ebp, ebp
je 0x4532b2
lea ecx, [ebp - 1]
jmp 0x4532b4
xor ecx, ecx
test edx, edx
mov eax, 0x467588
je 0x4532bf
mov eax, edx
cmp word [eax + ecx*2], 0x2f
je 0x453314
mov esi, dword [esp + 0x50]
mov eax, dword [esi + 8]
lea edi, [esi + 4]
test eax, eax
jne 0x4532d9
mov eax, 0x467588
cmp word [eax], 0x5c
je 0x453302
mov eax, dword [edi + 4]
test eax, eax
jne 0x4532eb
mov eax, 0x467588
cmp word [eax], 0x2f
je 0x453302
test ebp, ebp
je 0x453302
push 0x5c
push 1
lea ecx, [esp + 0x1c]
call fcn.00401ef6
mov ecx, dword [0x4675ac]
neg esi
sbb esi, esi
push ecx
and esi, edi
push 0
push esi
jmp 0x453357
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 8]
lea esi, [eax + 4]
test ecx, ecx
jne 0x453327
mov ecx, 0x467588
cmp word [ecx], 0x5c
je 0x453343
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x453339
mov ecx, 0x467588
cmp word [ecx], 0x2f
je 0x453343
xor edx, edx
jmp 0x453348
mov edx, 1
mov ecx, dword [0x4675ac]
neg eax
sbb eax, eax
push ecx
and eax, esi
push edx
push eax
lea ecx, [esp + 0x20]
call fcn.004055f7
mov edi, dword [esp + 0x48]
lea edx, [esp + 0x10]
push 0
push edx
mov ecx, edi
mov dword [edi], 0x4675b8
mov dword [edi + 0x20], 0x4675b0
call fcn.00401cec
mov dword [esp + 0xc], 1
lea eax, [esp + 0x10]
lea ecx, [esp + 0x30]
neg eax
sbb eax, eax
mov byte [esp + 0x40], 0
and eax, ecx
mov edx, dword [eax]
mov esi, dword [edx + 4]
add esi, eax
call dword [0x4672f0]
mov dword [esi], eax
lea esi, [esp + 0x10]
neg esi
sbb esi, esi
lea eax, [esp + 0x24]
and esi, eax
mov ecx, dword [esi]
push ecx
call fcn.0043ba53
mov edx, dword [esi + 8]
add esp, 4
push edx
call dword [0x4673ec]
lea ecx, [esp + 0x10]
lea eax, [esp + 0x14]
neg ecx
sbb ecx, ecx
push 1
and ecx, eax
call fcn.0040b3e2
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [esp + edx + 0x10]
push eax
call dword [0x4671c4]
mov ecx, dword [esp + 0x38]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x401563
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea esi, [ebp - 0x2d4]
sub esp, 0x2e0
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x2d4], 0x10002
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push ecx
push ecx
test eax, eax
je 0x4015ba
mov eax, dword [ebp + 0x1c]
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [ebp - 0x224], eax
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push edx
push edx
test eax, eax
je 0x4015ba
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push eax
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x401791
Capabilities:
Create process on windows
Create process suspended
Query environment variable

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
cmp eax, esi
jge 0x4017b6
mov ecx, eax
and ecx, 3
mov cl, byte [edx + ecx]
xor byte [ebx + eax], cl
inc eax
jmp 0x4017a4
mov dword [esp], ebx
call fcn.00401530
mov dword [ebp + 0xc], esi
mov dword [ebp + 8], ebx
mov dword [ebp + 0x10], str.rundll32.exe
add esp, 0x10
pop ebx
pop esi
pop ebp
jmp fcn.0040166c

Function at 0x4017d8
Capabilities:
Connect pipe
Create pipe
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 0x4483e0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov ebx, eax
dec eax
sub esp, 0x20
cmp eax, 0xfffffffd
ja 0x401895
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
push edx
push edx
test eax, eax
je 0x401895
test esi, esi
jle 0x401880
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
test eax, eax
jne 0x40188c
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
jmp 0x401895
mov eax, dword [ebp - 0x1c]
add edi, eax
sub esi, eax
jmp 0x401855
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4018bc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0x80000000
mov dword [esp], 0x4483e0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
sub esp, 0x1c
xor eax, eax
cmp ebx, 0xffffffff
je 0x401960
test esi, esi
jle 0x401946
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
test eax, eax
jne 0x401957
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
mov eax, 1
jmp 0x401960
mov eax, dword [ebp - 0x1c]
add edi, eax
sub esi, eax
jmp 0x40191b
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4019c1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x26aa
xor edx, edx
mov dword [esp + 0x28], 0x5c
div ecx
mov dword [esp + 0x24], 0x65
mov dword [esp + 0x20], 0x70
mov dword [esp + 0x1c], 0x69
mov dword [esp + 0x18], 0x70
mov dword [esp + 0x14], 0x5c
mov dword [esp + 0x10], 0x2e
mov dword [esp + 0xc], 0x5c
mov dword [esp + 8], 0x5c
mov dword [esp + 4], str._c_c_c_c_c_c_c_c_cMSSE__d_server
mov dword [esp], 0x4483e0
mov dword [esp + 0x2c], edx
call sub.msvcrt.dll_sprintf
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x40189d
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 8], 0
sub esp, 0x18
leave
jmp fcn.00401968

Function at 0x401f00
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.00402c30
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.00402c30
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]
Function at 0x401f60
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x44839c]
test esi, esi
jle 0x402060
mov eax, dword [0x4483a0]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x401f90
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x40200f
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401f80
mov dword [esp], ebx
call fcn.004028d0
mov edi, eax
test eax, eax
je 0x402087
mov eax, dword [0x4483a0]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.004029e0
mov edx, dword [0x4483a0]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x402067
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x402008
sub eax, 4
and eax, 0xfffffffb
jne 0x402016
add dword [0x44839c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add ebx, dword [0x4483a0]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x402008
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.00401f00
xor esi, esi
jmp 0x401f9a
mov eax, dword [0x4483a0]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.00401f00
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.00401f00
lea esi, [esi]
nop

Function at 0x402540
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4483b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4483b0]
sub esp, 4
test ebx, ebx
je 0x402595
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40258e
test esi, esi
je 0x40258e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402570
mov dword [esp], 0x4483b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x41210d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x412132
call fcn.00401371
push eax
mov ecx, ebx
call fcn.00401791
jmp 0x4121f8
push esi
push edi
push str.SystemTemp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 0x24
call fcn.00403e34
push str.GoogleTemp
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x26
call fcn.00403e34
lea esi, [ebp - 0x24]
mov byte [ebp - 0x10], 1
mov dword [ebp - 8], esi
call fcn.00401371
push eax
lea ecx, [ebp - 4]
call fcn.00401791
mov ecx, dword [esi]
lea eax, [ebp - 4]
lea edx, [esi + 4]
push eax
movzx eax, byte [edx + 4]
push eax
call fcn.0041206c
mov esi, dword [ebp - 4]
pop ecx
pop ecx
test eax, eax
js 0x4121bc
mov ecx, esi
call fcn.004030fd
test al, al
je 0x4121bc
push ecx
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.0040318b
mov edi, dword [ebp - 0xc]
pop ecx
cmp dword [edi - 0xc], 0
jne 0x4121fd
lea ecx, [edi - 0x10]
call fcn.004015ce
lea ecx, [esi - 0x10]
call fcn.004015ce
mov esi, dword [ebp - 8]
lea eax, [ebp - 0xc]
add esi, 0xc
mov dword [ebp - 8], esi
cmp esi, eax
jne 0x41216a
call fcn.00401371
push eax
mov ecx, ebx
call fcn.00401791
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.0040749e
sub esi, 1
jne 0x4121e7
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
call fcn.004017ba
add eax, 0x10
lea ecx, [edi - 0x10]
mov dword [ebx], eax
call fcn.004015ce
lea ecx, [esi - 0x10]
call fcn.004015ce
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.0040749e
sub esi, 1
jne 0x412227
jmp 0x4121f6

Function at 0x413574
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
xor ebx, ebx
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.00417a80
add esp, 0xc
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x4135d8
push ecx
lea ecx, [ebp - 0x204]
call fcn.00404f0f
pop ecx
test al, al
je 0x4135d8
mov al, 1
jmp 0x41361d
push esi
lea eax, [ebp - 0x208]
mov dword [ebp - 0x208], ebx
push eax
push 0x64
push ebx
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov esi, dword [ebp - 0x208]
test eax, eax
jne 0x413613
cmp dword [esi + 8], ebx
je 0x413613
push 0x43da54
push dword [esi + 8]
call 0x4268c4
pop ecx
pop ecx
test eax, eax
jne 0x413613
mov bl, 1
push esi
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov al, bl
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00416f09
leave
ret
Function at 0x42626f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00425dcc
adc eax, 0x8d7343c9
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid

Function at 0x426a14
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.00425ddc
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00425d91
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.00425dcc
sal esi, cl
and eax, 0x104680d
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
invalid
Function at 0x406cf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x437668]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], eax
xor esi, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push eax
push 0x4374a4
push ecx
mov byte [ebp - 4], 2
call fcn.004227a1
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x406d54
push 0x43715c
lea ecx, [ebp - 0x14]
call fcn.00423135
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov bl, 3
inc esi
lea ecx, [ebp - 0x14]
push esi
push 0x43715c
call fcn.0042246e
mov esi, eax
cmp esi, 0xffffffff
je 0x406dbd
lea edx, [esi + 1]
lea eax, [ebp + 8]
push edx
push 0
push eax
lea ecx, [ebp - 0x14]
call fcn.0042233e
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00423021
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.00422f34
mov ecx, dword [ebp - 0x18]
push ecx
call edi
test eax, eax
jne 0x406dbd
mov edx, dword [ebp - 0x18]
push eax
push edx
call dword [0x439b40]
mov eax, dword [ebp - 0x18]
push 6
push eax
call dword [0x439b3c]
test esi, esi
jge 0x406d5c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.00422f34
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.00422f34
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret