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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
jne 0x63645b
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x6365e2
cmp dword [0x6b6650], 0
jne 0x636469
call fcn.0063639c
xor dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xc], 8
jb 0x6365a5
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x6b6650]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x6b6650]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x6b6650]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x6b6650]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x6b6650]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x6b6650]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x6b6650]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
mov al, byte [ebp - 4]
mov edx, dword [ebp - 8]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x6b6650]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
sub dword [ebp - 0xc], 8
cmp dword [ebp - 0xc], 8
jae 0x636477
cmp dword [ebp - 0xc], 0
jbe 0x6365d9
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor eax, dword [ebp - 4]
and eax, 0xff
mov edx, dword [0x6b6650]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
shr edx, 8
xor eax, edx
mov dword [ebp - 4], eax
inc dword [ebp - 8]
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
ja 0x6365ab
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x65c228
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x65c256
mov eax, ebx
call fcn.0065ccdc
cmp dword [ebx + 0x40], 0
je 0x65c24f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x65c2c7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x65c2b9
cmp dword [ebx + 8], 0
je 0x65c278
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x65c28a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x65c2b9
cmp dword [ebx + 8], 0
je 0x65c26b
cmp eax, 3
je 0x65c29d
dec eax
jne 0x65c26b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x65c26b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x65c26b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x65c2e5
cmp dword [ebx + 0x14], 0xcc
je 0x65c2e5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0065c2f0
pop ebx
ret
Function at 0x672214
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x6b66d0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x672236
shr eax, 1
xor eax, 0xedb88320
jmp 0x672238
shr eax, 1
dec edx
jne 0x672224
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x67221d
mov byte [0x6b6ad0], 1
pop esi
pop ebx
ret

Function at 0x672254
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x6b6ad0], 0
jne 0x67226b
call fcn.00672214
mov eax, edi
dec eax
test eax, eax
jl 0x672293
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6b66d0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x672275
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x67503c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x6750d6.0
jmp dword [ecx*4 + 0x67506f]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x6750a1
sub dl, 8
je 0x6750b0
jmp case.0x6750d6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x674ce4
jmp case.0x6750d6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x674d3c
jmp case.0x6750d6.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x6750d6.0
movzx ecx, byte [ecx + 0x6750dd]
jmp dword [ecx*4 + 0x6750ee]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x674de8
jmp case.0x6750d6.0
cmp dl, 3
jne 0x67511b
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x674e40
jmp case.0x6750d6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x674dfc
jmp case.0x6750d6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x674e84
jmp case.0x6750d6.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x675146
sub dl, 8
je 0x675152
jmp case.0x6750d6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x674eb0
jmp case.0x6750d6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x674f1c
jmp case.0x6750d6.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x675171
sub dl, 8
je 0x67517d
jmp case.0x6750d6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x674fd8
jmp case.0x6750d6.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x675000
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x67521f
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.006741e8
test eax, eax
je 0x67521f
mov eax, ebx
call fcn.00675228
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x6751b8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x675228
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x675259
dec al
je 0x675294
dec al
je 0x6752d9
dec al
je 0x675342
jmp 0x6753cc
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x6753cc
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x675269
jmp 0x6753cc
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6753cc
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x6752a4
jmp 0x6753cc
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6753cc
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x675308
xor ebp, ebp
jmp 0x675318
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x675321
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x6752e9
jmp 0x6753cc
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6753cc
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x67539b
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0067229c
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x675356
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x690910
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x69092c
call fcn.00691e68
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x69094b
test bl, 1
je 0x69094b
call fcn.00698580
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x694cbc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.0068f694
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.0068f744
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.0068f744
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x6aeecd
lea ecx, [ebp - 0x200]
push ecx
call fcn.0068f694
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.0068f744
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.00696164
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x694dcd
push esi
call fcn.0068f744
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.0068f744
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.0068e908
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x694da4
xor eax, eax
jmp 0x694e56
push esi
call fcn.0068f744
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.0068f744
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.0068f5c3
add esp, 0xc
jmp 0x694e0f
mov edi, ebx
mov edi, dword [edi + 0x24]
push edi
call fcn.0068f744
pop ecx
push eax
push esi
call fcn.0068f744
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.0068f744
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.0068e928
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x694e0f
xor eax, eax
jmp 0x694e56
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.0068f694
add esp, 8
push 0x6aeecf
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.0068f694
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.0068f694
add esp, 8
push 0x6aeed1
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.0068f694
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x698514
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x698541
jmp 0x698578
call fcn.006984c4
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0068f744
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0068f744
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x6985fc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x6af50c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x6986d6
cmp dword [0x6af508], 0
jne 0x6986d6
cmp dword [0x6af708], 0
je 0x698690
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00697fc4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x698676
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00697fc4
add esp, 8
mov ebx, eax
test eax, eax
jne 0x698676
lea ebx, [ebp - 0x84]
jmp 0x698677
inc ebx
call fcn.006985b4
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x698711
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x6af510
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0068f744
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x6af513
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x698711
cmp dword [0x6af508], 0
je 0x6986f0
cmp dword [0x6af508], 0xffffffff
je 0x698711
push esi
call dword [0x6af508]
pop ecx
mov eax, dword [0x6af50c]
test eax, eax
je 0x698711
cmp dword [0x6af50c], 0xffffffff
je 0x698711
cmp byte [eax], 0
je 0x698711
push esi
push eax
call fcn.00698514
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x523a06c1
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3aaa6494
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4014c0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
push ecx
mov ebp, ecx
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], 0
push ecx
mov eax, edx
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
mov ecx, eax
call fcn.00401300
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x40160b
push dword [ebx + 0x14]
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esp + 0x20], eax
test eax, eax
je 0x401604
mov edi, dword [0x4043c0]
test edi, edi
jne 0x40163c
lea ecx, [ebx + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x401604
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.rcpcvConvertFileFromBuffer
push edi
call esi
push str.rcpcvDeleteObject
push edi
mov dword [0x4043dc], eax
call esi
push str.rcpcvGetSMF
push edi
mov dword [0x4043d0], eax
call esi
push str.rcpcvGetSMFLength
push edi
mov dword [0x4043d4], eax
call esi
push str.rcpcvGetOriginalFileType
push edi
mov dword [0x4043c8], eax
call esi
push str.rcpcvGetVersionMajor
push edi
mov dword [0x4043e0], eax
call esi
push str.rcpcvGetVersionMinor
push edi
mov dword [0x4043d8], eax
call esi
push str.rcpcvGetCopyright
push edi
mov dword [0x4043c4], eax
call esi
cmp dword [0x4043dc], 0
mov dword [0x4043cc], eax
je 0x4015fd
cmp dword [0x4043d0], 0
je 0x4015fd
cmp dword [0x4043d4], 0
je 0x4015fd
cmp dword [0x4043c8], 0
je 0x4015fd
cmp dword [0x4043e0], 0
je 0x4015fd
cmp dword [0x4043d8], 0
je 0x4015fd
cmp dword [0x4043c4], 0
je 0x4015fd
test eax, eax
je 0x4015fd
mov dword [0x4043c0], edi
jmp 0x401641
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40161c
push eax
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x401627
push eax
call esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x401632
push eax
call esi
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [0x4043cc]
lea esi, [ebx + 0x2a8]
test edi, edi
je 0x40167d
push 0x80
push esi
push 0xffffffffffffffff
call eax
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov word [esi + 0xfe], ax
call dword [0x4043d8]
mov dword [ebx + 0x3a8], eax
call dword [0x4043c4]
jmp 0x401688
xor eax, eax
mov word [esi], ax
mov dword [ebx + 0x3a8], eax
mov dword [ebx + 0x3ac], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x14]
push ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret
Function at 0x4016c0
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
push edi
mov esi, dword [ebx + 0x14]
lea eax, [esi + 0x220]
mov dword [esi + 0x3b0], 0xffffffff
push eax
push 0
push 4
mov dword [esi + 0x3b4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, eax
test edi, edi
je 0x40184f
push ebp
push dword [esi + 0x2a0]
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
jne 0x401723
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret
cmp dword [0x4043c0], 0
je 0x40182d
mov ecx, dword [esi + 0x2a0]
cmp ecx, 0xc
jb 0x40182d
mov eax, dword [ebp]
cmp eax, 0x2d4d4352
jne 0x401750
mov eax, 1
jmp 0x401760
cmp eax, 0x454d4f43
jne 0x40182d
mov eax, 3
push 0
push 0
push 0
push 0
push eax
push ecx
push ebp
call dword [0x4043dc]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40182d
push eax
call dword [0x4043d4]
mov dword [esp + 0x18], eax
push dword [esp + 0x10]
test eax, eax
je 0x401827
call dword [0x4043c8]
push dword [esp + 0x10]
mov dword [esp + 0x18], eax
call dword [0x4043e0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
push ebp
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [esp + 0x14]
test ebp, ebp
jle 0x40183b
lea eax, [esi + 0x260]
push eax
push ebp
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
je 0x40183b
push ebp
push 0
push 0
push 0xf001f
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x14], eax
test eax, eax
je 0x401834
push ebp
push dword [esp + 0x1c]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esi + 0x3b4], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x3b0], ebp
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], edi
jmp 0x40183b
call dword [0x4043d0]
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
test eax, eax
je 0x40184e
push eax
call dword [0x4043d0]
mov dword [ebx], 0
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x4020c2
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402101
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402101
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402101
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402101
cmp dword [ecx + 0x74], 0xe
jbe 0x402101
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4013a0
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 0
mov esi, ecx
push 0
push 1
push 0x41a794
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi], eax
test eax, eax
je 0x40142c
push 0
push 0
push 3
push 0x41a8dc
push 0x41a8dc
push 0x50
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
je 0x40142c
push 0
push 0x4000000
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [esi + 8], eax
test eax, eax
mov eax, esi
je 0x40142e
mov dword [esi + 0xc], 1
pop esi
pop ebp
ret 0x14
mov eax, esi
pop esi
pop ebp
ret 0x14