joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b3990
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp dword [esi + 0x14], 8
jb 0x4b39a4
mov esi, dword [esi]
lea eax, [ebp - 4]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4b3a81
push 1
push ebx
call fcn.004d1c4c
mov edi, eax
add esp, 8
test edi, edi
je 0x4b3a81
push edi
push ebx
push dword [ebp - 4]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4b3a78
lea eax, [ebp - 8]
mov dword [ebp + 8], 0
push eax
lea eax, [ebp + 8]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4b3a78
cmp dword [ebp + 8], 0
je 0x4b3a78
push 0x14
call fcn.0048e9bb
mov esi, eax
add esp, 4
test esi, esi
je 0x4b3a6d
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 2]
movzx ecx, word [ecx]
mov dword [esi], 0x50e68c
mov dword [esi + 4], 0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4b3a48
test eax, eax
je 0x4b3a45
push eax
call fcn.004c5979
add esp, 4
mov dword [esi + 4], edi
lea ecx, [ebp - 0xc]
mov dword [esi + 0x10], 0
push ecx
lea eax, [esi + 0x10]
push eax
push 0x51c798
push dword [esi + 4]
call sub.VERSION.dll_VerQueryValueW
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call fcn.004c5979
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b3a90
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [ebp - 0x23c], eax
xor eax, eax
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
push esi
movzx eax, word [ebx + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [ebp - 0x14], ax
movzx eax, word [ebx + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x220], 7
mov word [ebp - 0x12], ax
call esi
mov word [ebp - 0x10], ax
movzx eax, word [ebx + 0xc]
mov word [ebp - 0xe], ax
movzx eax, word [ebx + 8]
mov word [ebp - 0xc], ax
mov eax, 0x4e4
mov word [ebp - 0xa], ax
call esi
mov word [ebp - 8], ax
xor ecx, ecx
mov eax, 0x4e4
mov word [ebp - 6], ax
nop word [eax + eax]
push dword [ebp - 0x23c]
movzx eax, word [ebp + ecx*2 - 0x12]
lea esi, [ecx + 2]
push eax
movzx eax, word [ebp + ecx*2 - 0x14]
push eax
push str.StringFileInfo_04x_04x_ls
push 0x104
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.004b3ee0
add esp, 0x1c
mov dword [ebp - 0x238], 0
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebx + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4b3b88
mov edx, dword [ebp - 0x238]
test edx, edx
jne 0x4b3bcf
mov ecx, esi
cmp esi, 8
jb 0x4b3b20
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x51c79c
mov word [edi], ax
call fcn.0041a5b0
lea ecx, [ebp - 0x234]
call fcn.0041a210
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048e99c
mov esp, ebp
pop ebp
ret 8
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b3bd4
sub eax, esi
lea ecx, [ebp - 0x234]
sar eax, 1
push eax
push edx
call fcn.0041a5b0
movups xmm0, xmmword [ebp - 0x234]
xor eax, eax
mov word [ebp - 0x234], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x224]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
jmp 0x4b3baf
Function at 0x4b4090
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x4b40cd
push 0x51ca34
mov ecx, edi
call fcn.0041f190
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e99c
mov esp, ebp
pop ebp
ret
push 0x40
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x460], 0x50e960
push 0
push eax
call fcn.004bcaf0
push esi
push 0x400
lea eax, [ebp - 0x404]
mov dword [ebp - 0x418], 0
push 1
push eax
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x414], 0x67452301
mov dword [ebp - 0x410], 0xefcdab89
mov dword [ebp - 0x40c], 0x98badcfe
mov dword [ebp - 0x408], 0x10325476
call fcn.004cd08f
add esp, 0x1c
test eax, eax
jle 0x4b416e
nop
push eax
lea eax, [ebp - 0x404]
push eax
lea ecx, [ebp - 0x460]
call fcn.004b48b0
push esi
push 0x400
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.004cd08f
add esp, 0x10
test eax, eax
jg 0x4b4140
push esi
call fcn.004cc0b5
add esp, 4
lea ecx, [ebp - 0x460]
push edi
call fcn.004b3f50
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0048e99c
mov esp, ebp
pop ebp
ret

Function at 0x4b5160
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x108], 0
cmp eax, 3
je 0x4b518d
test eax, eax
jne 0x4b5292
mov eax, dword [0x533668]
cmp eax, 0xffffffff
je 0x4b5292
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x4b5291
push esi
push edi
lea eax, [ebp - 0x104]
mov ecx, 0x40
push eax
push dword [0x533668]
mov esi, ebx
lea edi, [ebp - 0x104]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.0048edb4
add esp, 4
mov edi, 0x40
nop
mov esi, dword [0x53a2c8]
xor dl, dl
test esi, esi
jle 0x4b521e
nop dword [eax]
mov ecx, dword [ebp + esi*4 - 0x104]
test ecx, ecx
je 0x4b5219
mov eax, dword [esi*4 + 0x53a2d0]
test eax, eax
je 0x4b5219
push ecx
mov dword [ebp + esi*4 - 0x104], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x4b51f0
dec edi
test edi, edi
jle 0x4b5229
test dl, dl
jne 0x4b51e0
jmp 0x4b5281
call fcn.004ab060
cmp eax, 1
jne 0x4b526c
call fcn.004aab10
cmp eax, 3
jg 0x4b526c
push 3
push 0x8d
push str.c:qtgivememoney_base_threading_thread_local_storage_win.cc
lea ecx, [ebp - 0x1b8]
call fcn.004aa480
add eax, 8
push str.Check_failed:_false.
push eax
call fcn.00495050
add esp, 8
mov eax, 1
jmp 0x4b5272
mov eax, dword [ebp - 0x108]
test al, 1
je 0x4b5281
lea ecx, [ebp - 0x1b8]
call fcn.004aa5a0
push 0
push dword [0x533668]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048e99c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b6310
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x537878]
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x53a3d0]
cmp eax, dword [ecx + 4]
jg 0x4b64cf
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4b6351
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4b64c0
cmp dword [0x533680], 8
push ebx
push esi
mov esi, 0x53366c
mov ebx, edi
cmovae esi, dword [0x53366c]
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x124], esi
jb 0x4b6386
mov ebx, dword [edi]
cmp dword [0x53367c], 0
mov eax, dword [edi + 0x10]
je 0x4b6462
test eax, eax
je 0x4b6462
push 0x100
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004bcaf0
mov eax, dword [0x53367c]
add esp, 0xc
mov ecx, esi
mov dword [ebp - 0x120], 0x100
lea edx, [esi + eax*2]
cmp esi, edx
je 0x4b63ee
nop dword [eax]
movzx eax, word [ecx]
cmp ax, word [ebp - 0x120]
jae 0x4b641d
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x11c], 1
cmp ecx, edx
jne 0x4b63d0
mov eax, dword [edi + 0x10]
or ecx, 0xffffffff
dec eax
mov edx, 0x100
cmp eax, ecx
cmovb ecx, eax
lea ecx, [ebx + ecx*2]
movzx eax, word [ecx]
cmp ax, dx
jae 0x4b6414
cmp byte [ebp + eax - 0x11c], 0
jne 0x4b645c
cmp ecx, ebx
je 0x4b6462
sub ecx, 2
jmp 0x4b6402
mov eax, dword [edi + 0x10]
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
lea ecx, [ebx + ecx*2]
nop dword [eax]
mov edx, dword [0x53367c]
mov eax, esi
test edx, edx
je 0x4b6453
movzx esi, word [ecx]
nop
cmp word [eax], si
je 0x4b645c
add eax, 2
sub edx, 1
jne 0x4b6440
mov esi, dword [ebp - 0x124]
cmp ecx, ebx
je 0x4b6462
sub ecx, 2
jmp 0x4b6430
sub ecx, ebx
sar ecx, 1
jmp 0x4b6465
or ecx, 0xffffffff
pop esi
pop ebx
cmp ecx, 0xffffffff
je 0x4b64af
xor eax, eax
mov dword [ebp - 0xc], 0
cmp dword [edi + 0x10], ecx
mov word [ebp - 0x1c], ax
mov eax, edi
cmovb ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 8
mov dword [ebp - 8], 7
jb 0x4b6491
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041a5b0
lea eax, [ebp - 0x1c]
push eax
call fcn.004b6310
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.0041a210
cmp dword [edi + 0x14], 8
jb 0x4b64b7
mov edi, dword [edi]
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0048e99c
mov esp, ebp
pop ebp
ret
push 0x53a3d0
call fcn.0048ef59
add esp, 4
cmp dword [0x53a3d0], 0xffffffff
jne 0x4b6347
push 1
push 0x51f31c
mov ecx, 0x53366c
call fcn.0041a5b0
push 0x507830
call fcn.0048ed91
push 0x53a3d0
call fcn.0048ef0f
add esp, 8
jmp 0x4b6347
Function at 0x4b9120
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x53d800], ecx
inc eax
cmp eax, 0x100
jb 0x4b9122
cmp eax, 0x800
jae 0x4b91f3
nop word [eax + eax]
mov edx, dword [eax*4 + 0x53d400]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x53d800]
mov dword [eax*4 + 0x53d800], edx
inc eax
cmp eax, 0x800
jb 0x4b91d0
mov dword [0x53a3d4], 0x4b9fb0
call fcn.004b9df0
mov ecx, dword [0x53a3d4]
test eax, eax
mov edx, 0x4b9fb0
cmove ecx, edx
mov dword [0x53a3d4], ecx
ret
Function at 0x4ba320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x4ba340
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [ecx - 4]
push esi
mov esi, dword [ebp + 8]
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp + 0xc], edx
add esi, ebx
mov dword [ebp - 4], esi
cmp esi, edx
jae 0x4ba372
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x4ba36f
inc esi
cmp esi, edx
jb 0x4ba360
mov dword [ebp - 4], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x4ba49a
cmp ecx, 3
jbe 0x4ba3b2
xor eax, eax
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x4ba3f0
cmp cl, 0xff
je 0x4ba3f0
mov edx, dword [ebp + 0xc]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x4ba354
dec ecx
shl eax, cl
and eax, 7
je 0x4ba38a
cmp byte [eax + 0x5104c8], 0
je 0x4ba3dd
movzx ecx, byte [eax + 0x5104d0]
mov edx, esi
sub edx, ecx
mov cl, byte [edx + 4]
test cl, cl
je 0x4ba3da
cmp cl, 0xff
jne 0x4ba38a
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
and eax, 3
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x4ba354
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
cmp dword [ebp + 0x18], 0
je 0x4ba41e
lea edx, [edi + ebx]
add edx, esi
jmp 0x4ba424
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x4ba462
movzx edi, byte [eax + 0x5104d0]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x4ba44e
cmp cl, 0xff
jne 0x4ba462
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0xc]
shl edi, cl
dec edi
xor edi, edx
jmp 0x4ba411
mov esi, dword [ebp - 4]
mov ecx, edx
mov edi, dword [ebp - 0x10]
shr ecx, 0x18
and cl, 1
neg cl
mov byte [esi + 1], dl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp + 0xc]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp + 8]
add ebx, ecx
jmp 0x4ba354
pop edi
pop esi
cmp ecx, 3
jbe 0x4ba4af
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d816e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d7e31

Function at 0x4d8179
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004d7fb2

Function at 0x4daff1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004dacb1
Function at 0x4e6705
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 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x1ca367ca
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..pdata_1
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x9286ed9
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x888c00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d1000]
push edi
or ebp, 0xffffffff
jmp 0x888c22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x888c29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x888c18
mov eax, 1
add ebx, ebx
jne 0x888c3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x888c4c
jne 0x888c6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x888c6b
dec eax
add ebx, ebx
jne 0x888c58
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x888c30
add ebx, ebx
jne 0x888c67
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x888cbd
xor ecx, ecx
sub eax, 3
jb 0x888c83
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x888cf2
sar eax, 1
mov ebp, eax
jmp 0x888c8e
add ebx, ebx
jne 0x888c8e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x888c5c
inc ecx
add ebx, ebx
jne 0x888c9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x888c5c
add ebx, ebx
jne 0x888ca9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x888c9e
jne 0x888cba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x888c9e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x888cdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x888cce
jmp 0x888c1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x888cdc
add edi, ecx
jmp 0x888c1e
pop esi
mov edi, esi
mov ecx, 0x6983
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x888cfa
cmp byte [edi], 0xa
jne 0x888cfa
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 0x888cff
lea edi, [esi + 0x47f000]
mov eax, dword [edi]
or eax, eax
je 0x888d77
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x48cb94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x48ccd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x888d2c
mov ecx, edi
jns 0x888d5b
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 + 0x48ccd8]
or eax, eax
je 0x888d71
mov dword [ebx], eax
add ebx, 4
jmp 0x888d49
call dword [esi + 0x48cce8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x888da8
cmp al, 0xef
ja 0x888d9b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x888d7d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x888d8a
mov ebp, dword [esi + 0x48ccdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x888ddc
sub esp, 0xffffff80
jmp 0x4aedb0
Function at 0x401020
Capabilities:
Terminate process

Disassembly:
push esi
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401063
push str.SetDefaultDllDirectories
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x401063
push 0x800
mov ecx, esi
call dword [0x4222bc]
call esi
test eax, eax
jne 0x4010a2
push 0x4225b4
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4010a2
push str.LdrEnumerateLoadedModules
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4010a2
push 0
push 0x401100
push 0
mov ecx, esi
call dword [0x4222bc]
call esi
push 0xa
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
jne 0x4010c6
push 0x3eb
call fcn.00403590
add esp, 4
push 0xc000001d
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00406ae0
cmp eax, 0x5010300
jae 0x4010ea
push 0x3ec
call fcn.00403590
add esp, 4
push 0x47e
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.0040f37e
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x401f90
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x42c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
movzx eax, byte [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], ebx
push esi
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 8], esi
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0xc], edi
cmp ebx, 0xffffffff
je 0x402028
push 0
push 0
xorps xmm0, xmm0
movq qword [ebp - 0x3c], xmm0
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x40201e
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x402028
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x402084
test edi, edi
je 0x402032
mov dword [edi], 0
test esi, esi
je 0x40203c
mov dword [esi], 0
xor esi, esi
nop
lea eax, [ebp - 0x34]
push eax
call fcn.004021d0
add esp, 4
test al, al
jne 0x40205a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x40206f
mov eax, 0x51eb851f
mul dword [ebp - 0x14]
shr edx, 5
cmp edx, 2
je 0x402082
mov edi, 0x10dc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 5
jl 0x402040
jmp 0x402084
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
test edi, edi
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0040f65e
mov esp, ebp
pop ebp
ret
Function at 0x402bb0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x42c008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push 0x20
xor esi, esi
push eax
mov dword [ebp - 0x48], esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x402c60
cmp eax, 0x20
ja 0x402c60
call fcn.00407d10
push esi
mov ebx, eax
mov dword [ebp - 0x58], edx
lea eax, [ebp - 0x48]
push eax
push 1
push str.D:P_A_CIOI_FA___SY__A_CIOI_FA___BA__A_CIOI_FRFX___BU_
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorA
test eax, eax
je 0x402c60
mov eax, dword [ebp - 0x48]
push ebx
push dword [ebp - 0x58]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x44]
push eax
push str._sTemp_asw._08x_08x
push edi
mov dword [ebp - 0x54], 0xc
mov dword [ebp - 0x4c], esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x54]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x402c68
movzx eax, word [ebp - 0x44]
push ebx
push dword [ebp - 0x58]
push eax
push str._c:_asw._08x_08x
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x54]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x402c68
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x402c76
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
test esi, esi
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0040f65e
mov esp, ebp
pop ebp
ret
Function at 0x402ca0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push 0xa
push str.EDAT_ECOO
push 0x400000
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x402db9
push edi
push ebx
push 0x400000
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push 0x400000
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x402db8
cmp ebx, 0x40
jae 0x402db8
test edi, edi
je 0x402db8
mov ecx, dword [esi + 0x10]
cmp ebx, ecx
ja 0x402d16
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x402d0b
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], ebx
mov word [eax + ebx*2], cx
jmp 0x402d22
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.004036b0
cmp dword [esi + 0x14], 8
jb 0x402d2a
mov esi, dword [esi]
lea eax, [ebx + edi]
xor edx, edx
xor ecx, ecx
cmp edi, eax
cmova ebx, edx
test ebx, ebx
je 0x402db8
cmp ebx, 0x20
jb 0x402da2
lea eax, [edi - 1]
add eax, ebx
lea edx, [ebx - 1]
lea edx, [esi + edx*2]
cmp esi, eax
ja 0x402d52
cmp edx, edi
jae 0x402da2
mov eax, ebx
and eax, 0xffffffe0
nop word [eax + eax]
movq xmm1, qword [edi]
xorps xmm0, xmm0
punpcklbw xmm1, xmm0
add ecx, 0x20
movups xmmword [esi], xmm1
movq xmm1, qword [edi + 8]
punpcklbw xmm1, xmm0
movups xmmword [esi + 0x10], xmm1
movq xmm1, qword [edi + 0x10]
punpcklbw xmm1, xmm0
movups xmmword [esi + 0x20], xmm1
movq xmm1, qword [edi + 0x18]
add edi, 0x20
punpcklbw xmm1, xmm0
movups xmmword [esi + 0x30], xmm1
add esi, 0x40
cmp ecx, eax
jne 0x402d60
cmp ecx, ebx
je 0x402db8
sub edi, ecx
movzx eax, byte [edi + ecx]
lea esi, [esi + 2]
inc ecx
mov word [esi - 2], ax
cmp ecx, ebx
jne 0x402da8
pop edi
pop esi
pop ebx
pop ebp
ret