joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4027e0
Capabilities:
Encode data using xor

Disassembly:
push 0x402a48
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
pushal
add byte [eax], al
add byte [eax], dh
add byte [eax], al
add byte [eax], bl
add byte [eax], al
cmp byte [eax], al
add byte [eax], al
push esi
add byte [esi], ah
push esi
xor eax, 0xbc34db82
inc edx
xchg ebp, eax
test al, 0xa0
std
push ds
push edi
jg 0x4027fb
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
jo 0x402886
imul esp, dword [ebx + 0x53], 0x76
arpl word [eax], ax
push eax
imul esi, dword [eax + 0x65], 0x746f4820
imul esp, dword [ebp + 0x79], 0x20
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
insd dword es:[edi], dx
popal
outsb dx, byte [esi]
and byte fs:[ebx + 0x65], dl
jb 0x4028b2
imul esp, dword [ebx + 0x65], 0
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], ch
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [eax + eax], al
add byte [eax], al
sbb eax, 0x2c602d9f
sub dword [ecx + 0x4b], ebx
xchg byte [ebx], bl
pop ss
pop ecx
invalid
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
jne 0x4028f9
inc edx
imul ebp, dword [esi + 0x53], 0x61726f74
add byte gs:[bx + si], al
add byte [eax], al
nop
sbb dword [ecx - 0x2411982e], eax
inc eax
stosd dword es:[edi], eax
in al, dx
pop ecx
rcr byte [ecx + ebp + 0x39], cl
pop ds
cmp dword [edi], ebx
xchg byte [edi], bl
push ds
rol bl, 0xe2
cmp byte [eax + ebp*4 - 0x40], al
or ah, ch
xchg esi, eax
jg 0x40289e
leave
add dword [eax], eax
pop es
add byte [esp + eax*2 + 0x40], ah
add byte [eax], al
add byte [eax], al
add bh, bh
sub byte [eax], al
add dword [eax], eax
add eax, dword [eax]
inc esp
inc eax
add byte [eax], al
add byte [eax], al
add bh, bh
Function at 0x424230
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x402346
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401658
mov edx, dword [ebp + 8]
xor esi, esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], esi
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
push 3
lea eax, [ebp - 0x30]
push 0x405b2c
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov ecx, dword [ebp - 0x18]
or ebx, 0xffffffff
push ecx
push esi
mov word [0x43506c], si
mov word [0x43506e], bx
mov dword [0x435070], esi
mov word [0x435074], si
mov dword [0x435078], ebx
mov word [0x43507c], si
call dword [sym.imp.MSVBVM60.DLL_rtcBstrFromAnsi]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x40]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
mov ecx, 0x435024
call edi
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov edx, dword [0x435024]
push edx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
push 0x424040
mov dword [0x435028], eax
mov dword [0x435030], eax
call fcn.00423ee0
mov edi, dword [sym.imp.KERNEL32.DLL_CreateEventW]
push esi
push esi
push 1
push esi
mov dword [0x435034], eax
mov dword [0x435038], esi
mov dword [0x43503c], esi
call edi
push esi
push esi
push 1
push esi
mov dword [0x435060], eax
call edi
push esi
push esi
push 1
push esi
mov dword [0x435068], eax
call edi
mov ecx, dword [0x435060]
mov dword [0x435064], eax
cmp ecx, esi
je 0x4243b8
cmp dword [0x435068], esi
je 0x4243b8
cmp eax, esi
je 0x4243b8
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], esi
push eax
push 4
push esi
push 0x424170
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
cmp eax, esi
mov dword [0x43502c], eax
je 0x4243bd
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x43502c]
push ebx
push esi
mov dword [ecx], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x435064]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x24]
push edx
push 2
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
cmp eax, 1
jne 0x4243b8
push 4
mov word [0x43506c], bx
mov word [0x43506e], si
call fcn.00423ef0
mov eax, dword [0x43502c]
cmp word [0x43506c], si
jne 0x4243e9
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
call esi
mov eax, dword [0x435060]
push eax
call esi
mov ecx, dword [0x435068]
push ecx
call esi
mov edx, dword [0x435064]
push edx
call esi
mov eax, dword [0x43506c]
push 0x42442c
not eax
mov word [0x43506e], ax
mov ecx, dword [0x43506c]
mov dword [ebp - 0x3c], ecx
jmp 0x424410
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x44]
lea edx, [ebp - 0x30]
push eax
push 0
mov dword [ebp - 0x44], edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
Function at 0x429c40
Capabilities:
Get token membership

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
lea ecx, [esp + 0xc]
xor esi, esi
mov dword [esp + 0xc], eax
push 6
push ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
mov word [esp + 0x18], ax
call dword [sym.imp.KERNEL32.DLL_RtlZeroMemory]
mov ecx, 5
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I4]
lea edx, [esp + 4]
mov ecx, 2
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
mov byte [esp + 0x35], al
call dword [sym.imp.MSVBVM60.DLL___vbaUI1I2]
push eax
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.ADVAPI32.DLL_AllocateAndInitializeSid]
test eax, eax
je 0x429cd1
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push edx
push esi
call dword [sym.imp.ADVAPI32.DLL_CheckTokenMembership]
test eax, eax
je 0x429cc6
mov edx, dword [esp + 8]
xor eax, eax
cmp edx, esi
setne al
neg eax
mov esi, eax
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.DLL_FreeSid]
mov ax, si
pop esi
add esp, 0x10
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x40d3d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40d3f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d3f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d3e8
mov eax, 1
add ebx, ebx
jne 0x40d40b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40d400
jne 0x40d41c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d400
xor ecx, ecx
sub eax, 3
jb 0x40d430
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d4a2
mov ebp, eax
add ebx, ebx
jne 0x40d43b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40d448
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40d46c
inc ecx
add ebx, ebx
jne 0x40d458
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40d44d
jne 0x40d469
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d44d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40d48c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d47d
jmp 0x40d3ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d48c
add edi, ecx
jmp 0x40d3ee
pop esi
mov edi, esi
mov ecx, 0x184
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40d4aa
cmp byte [edi], 4
jne 0x40d4aa
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 al, bl
loop 0x40d4af
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40d527
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd408]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd480]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d4dc
mov ecx, edi
jns 0x40d50b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd484]
or eax, eax
je 0x40d521
mov dword [ebx], eax
add ebx, 4
jmp 0x40d4f9
call dword [esi + 0xd48c]
mov ebp, dword [esi + 0xd488]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40d55b
sub esp, 0xffffff80
jmp 0x404da2
Function at 0x40d908
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x401000
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0xf1577c
push eax
push dword fs:[0]
push edi
int1
add byte [eax + 0x64], dl
push dword [0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
adc ebx, dword [edi - 0x54]
xchg ebx, eax
neg dl
push cs
dec ecx
mov eax, 0x7fb97088
add ah, ah
aam 0xeb
jp 0x40109d
mov byte [eax - 0x47], dh
jg 0x401033
in al, 0xd4
jmp 0x4010af
test eax, 0xcf33638c
adc ch, bl
js 0x400fd0
sbb ch, ah
daa
stosd dword es:[edi], eax
mov dword [0x540fb128], eax
xchg edi, eax
inc ecx
and dword [esi + esi*8 - 0x78], ebp
rcr byte [eax - 0x2e], 0xa4
sti
push ss
scasd eax, dword es:[edi]
jne 0x40108b
jl 0x40102c
salc
pushal
jbe 0x401085
daa
xchg esp, eax
lcall 0xa4e8, 0x1020bb2d
push eax
in eax, dx
xor bl, ah
sti
bnd jg 0x401002
popal
lea ebp, [edx - 0x70bb56c6]
push ds
pop ss
cmp dword [eax + ebx*8 + 0x46], eax
and byte [eax - 0x702274c0], al
pop eax
test al, 0xc5
fisttp qword [edi + 0x3dc5a858]
lahf
mov ah, 0xc2
sub ecx, dword [0x6e1df55c]
cmp eax, 0x2bc2b49f
or eax, 0x6e1df55c
pop esp
cmc
sbb eax, 0x97530b6e
or edx, dword [ebx - 0x69]
in al, 0x34
sub dword [ebx], esp
jge 0x401055
ja 0x4010fe
fld xword [esi - 7]
or al, 0xb7
dec edx
mov ch, 0xfc
outsd dx, dword [esi]
jns 0x4010cd
fcom qword [eax - 0x69d98623]
retf 0x41f8
and ecx, eax
hlt
int1
push 0xffffffffffffffb7
dec edx
mul dword [esi - 0x69]
invalid
push edx
inc edi
aas
int1
lds esi, [eax - 0x386d9885]
out 0xf1, eax
xchg edx, eax
cmp al, 0x61
sahf
jmp 0xb6298785
Function at 0x403ccd
Capabilities:
Accept command line arguments

Disassembly:
push 0x38
mov eax, 0x42aa1f
call fcn.00406cb3
mov edi, ecx
mov dword [ebp - 0x40], edi
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
push ecx
xor ebx, ebx
mov dword [ebp - 0x44], eax
push eax
mov dword [ebp - 0x38], ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], ebx
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.004040b2
mov ecx, dword [edi]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ecx + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov esi, ebx
mov dword [edi + 4], ebx
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 1
cmp dword [ebp - 0x38], ebx
jle 0x403d7f
mov edi, ebx
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x28]
push dword [eax + ebx*4]
call fcn.0040270e
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
cmp edi, esi
je 0x403d5b
mov ecx, esi
call fcn.00402530
push 0x18
pop eax
add esi, eax
mov dword [ebp - 0x30], esi
jmp 0x403d6a
push esi
lea ecx, [ebp - 0x34]
call fcn.00402a92
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00402733
inc ebx
cmp ebx, dword [ebp - 0x38]
jl 0x403d30
mov edi, dword [ebp - 0x40]
lea eax, [ebp - 0x34]
push eax
push ecx
mov ecx, edi
call fcn.004037f2
cmp dword [edi + 4], 0
jbe 0x403da1
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x403da1
push eax
lea ecx, [edi + 8]
call fcn.004026e7
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x403dda
mov esi, edi
cmp esi, dword [ebp - 0x30]
je 0x403dc3
push 0x18
pop edi
mov ecx, esi
call fcn.00402733
add esi, edi
cmp esi, dword [ebp - 0x30]
jne 0x403db2
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
sub eax, edi
push 0x18
pop ecx
cdq
idiv ecx
imul eax, eax, 0x18
push eax
push edi
call fcn.00402030
pop ecx
pop ecx
call fcn.00406c6e
ret 4

Function at 0x404fd6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x44206c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
push 0x43ac70
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40504d
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40504d
push 4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004062bb
leave
ret

Function at 0x407e8f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x40892f
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
add esi, 0x807f95f4
sub esi, 0x14db2df9
call fcn.0040895b
sub edx, edx
xor dword [eax], ebx
add esi, esi
add esi, 0x76530674
inc eax
cmp eax, edi
jne fcn.0040892f
ret
Function at 0x401bb6
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401bf5
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401bf5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401bf5
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401bf5
cmp dword [ecx + 0x74], 0xe
jbe 0x401bf5
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4064c9
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x414014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x406514
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004066ea
test al, al
jne 0x40650e
sub edx, 2
cmp edx, edi
jne 0x4064f4
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x406536
lea eax, [edi + 2]
cmp edx, eax
je 0x406536
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00406415
add esp, 0x10
jmp 0x406630
push esi
lea ecx, [ebp - 0x255]
call fcn.004066ea
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x406579
push dword [ebp - 0x25c]
jmp 0x406526
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4065b6
cmp word [ebp - 0x226], 0
je 0x4065d7
cmp word [ebp - 0x226], ax
jne 0x4065b6
cmp word [ebp - 0x224], 0
je 0x4065d7
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00406415
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x406623
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x406590
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40660b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x406630
push 0x406245
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00409200
add esp, 0x10
jmp 0x406600
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040131a
leave
ret

Function at 0x4080d1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40ff84
push 0x40ff7c
push str.FlsAlloc
push 0x1e
call fcn.0040800e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408105
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e120]
call esi
jmp 0x40810b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x40814f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40ff94
push 0x40ff8c
push str.FlsGetValue
push 0x20
call fcn.0040800e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408186
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40cef0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40cf1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40cf1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40125a
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
je 0x4012f5
push edi
push 0x51ac20
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x51ac10]
test edi, edi
je 0x4012c8
push ebp
push esi
lea ebp, [edi + 8]
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4012c1
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebp
push 0x51ac10
call fcn.004091d0
pop ecx
pop ecx
jmp 0x4012c3
mov edi, dword [edi]
test edi, edi
jne 0x401296
pop ebp
mov esi, dword [0x518c90]
push 0x10
push 0x51ac10
lea eax, [esi + 1]
mov dword [0x518c90], eax
call fcn.004091a1
pop ecx
pop ecx
push 0x51ac20
mov dword [eax], ebx
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x4028db
Capabilities:
Delete file

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov eax, dword [edi + 0xc]
push dword [edi + 8]
mov dword [esp + 0x20], eax
call fcn.0040ba80
push dword [edi + 0x40]
mov ebp, eax
mov dword [esp + 0x14], ebp
call fcn.0040ba80
mov dword [esp + 0x14], eax
call fcn.00421090
mov esi, eax
test esi, esi
je 0x402a34
push ebx
push 0x80
push 2
push ebx
push 1
push 0xc0000000
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x402a29
test byte [edi + 0x24], 2
mov dword [edi + 0x10], ebp
jne 0x402952
push 1
push 0x34
push esi
call fcn.00421280
add esp, 0xc
mov eax, dword [0x51aea4]
test eax, eax
je 0x40296a
push eax
push 0x2714
push esi
call fcn.00421280
add esp, 0xc
mov eax, dword [0x51aea8]
test eax, eax
je 0x40299b
cmp dword [0x51aeac], ebx
je 0x40299b
push eax
push 0x27bf
push esi
call fcn.00421280
push dword [0x51aeac]
push 0x27c0
push esi
call fcn.00421280
add esp, 0x18
push dword [esp + 0x10]
push 0x2712
push esi
call fcn.00421280
push dword [esp + 0x20]
push 0x2722
push esi
call fcn.00421280
push 0x40289b
push 0x4e2b
push esi
call fcn.00421280
push edi
push 0x2711
push esi
call fcn.00421280
push dword [edi + 0x28]
push 0x9c
push esi
call fcn.00421280
push dword [edi + 0x2c]
push 0x9b
push esi
call fcn.00421280
add esp, 0x48
push 1
push 0x63
push esi
call fcn.00421280
push esi
call fcn.00421130
add esp, 0x10
test eax, eax
jne 0x402a14
cmp dword [edi + 4], 0xfffffffb
je 0x402a14
xor ebx, ebx
inc ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x402a29
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call fcn.00421260
mov ebp, dword [esp + 0x14]
pop ecx
cmp ebx, 1
jne 0x402a42
mov dword [edi + 4], 0xfffffffe
jmp 0x402a51
xor ecx, ecx
cmp dword [edi + 4], 0xfffffffb
setne cl
add ecx, 0xfffffffc
mov dword [edi + 4], ecx
push ebp
call fcn.0040bb10
push dword [esp + 0x14]
call fcn.0040bb10
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
pop ecx
ret
Function at 0x402a78
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [0x51aeb0]
xor esi, esi
call fcn.00408576
mov ebx, eax
cmp dword [ebp + 8], esi
je 0x402b2f
cmp dword [ebp + 0xc], esi
je 0x402b2f
push edi
push 0x60
push 8
push dword [0x51aa3c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [ebp + 8]
mov edi, eax
or dword [edi + 4], 0xffffffff
mov dword [edi], esi
call fcn.0042102c
push dword [ebp + 0xc]
mov dword [edi + 8], eax
call fcn.0042102c
push dword [ebp + 0x14]
mov dword [edi + 0xc], eax
call fcn.0042102c
mov dword [edi + 0x40], eax
add esp, 0xc
mov eax, dword [ebx]
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [edi + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x24], eax
test al, 1
je 0x402b1e
lea eax, [ebp + 8]
push eax
push esi
push edi
push 0x402a69
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x402b16
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, edi
jmp 0x402b2e
push edi
call fcn.00402786
jmp 0x402b2d
push edi
call fcn.004028db
push edi
mov esi, eax
call fcn.00402786
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x402d78
Capabilities:
Create thread

Disassembly:
push ebx
push edi
push dword [0x51aeb0]
xor edi, edi
call fcn.00408576
mov ebx, eax
cmp dword [esp + 0xc], edi
je 0x402e2d
push ebp
push esi
push 0x60
push 8
push dword [0x51aa3c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [esp + 0x14]
mov esi, eax
xor ebp, ebp
inc ebp
or dword [esi + 4], 0xffffffff
mov dword [esi], ebp
call fcn.0042102c
push dword [esp + 0x20]
mov dword [esi + 8], eax
call fcn.0042102c
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x40], eax
mov dword [esi + 0x24], ecx
mov eax, dword [ebx]
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x58], ebp
test cl, 1
je 0x402e1b
lea eax, [esp + 0x14]
push eax
push edi
push esi
push 0x402d69
push 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x402e09
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x402e0f
cmp dword [esp + 0x14], edi
je 0x402e13
mov edi, esi
jmp 0x402e2b
push esi
call fcn.00402786
jmp 0x402e2a
push esi
call fcn.00402be8
push esi
mov edi, eax
call fcn.00402786
pop ecx
pop ecx
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
ret 0xc

Function at 0x402e34
Capabilities:
Reference http user-agent string

Disassembly:
push str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00402d78
ret 8