joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001256b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
xor edi, edi
cmp ebx, edi
jne 0x1001257f
push 0xffffffffffffff9a
pop eax
jmp 0x10012733
cmp dword [ebx + 0x2c], edi
je 0x10012577
cmp dword [ebx + 0x80], 8
push ebp
push esi
mov dword [ebx + 0x34], edi
jne 0x100125dc
cmp dword [ebx + 0x84], edi
jne 0x100125dc
lea ebp, [ebx + 0x30]
cmp dword [ebx + 0x40], 0
jne 0x100125ba
mov esi, ebx
call fcn.10012401
lea eax, [ebx + 0x88]
mov dword [ebx + 0x40], 0x4000
mov dword [ebx + 0x3c], eax
mov esi, dword [ebx + 0x44]
push 4
push ebp
call fcn.10012f8c
mov edi, eax
mov eax, dword [ebx + 0x44]
sub eax, esi
add dword [ebx + 0x6c], eax
pop ecx
pop ecx
test edi, edi
je 0x1001259d
cmp edi, 1
jne 0x100125dc
xor edi, edi
cmp dword [ebx + 0x6c], 0
jbe 0x100125f4
test edi, edi
jne 0x100125f4
mov esi, ebx
call fcn.10012401
cmp eax, 0xffffffff
jne 0x100125f4
or edi, eax
cmp dword [ebx + 0x80], 8
jne 0x10012616
cmp dword [ebx + 0x84], 0
jne 0x10012630
lea eax, [ebx + 0x30]
push eax
call fcn.100136fd
and dword [ebx + 0x68], 0
pop ecx
mov edi, eax
cmp dword [ebx + 0x84], 0
jne 0x10012630
mov eax, dword [ebx + 0x408c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x18], eax
mov esi, dword [ebx + 0x74]
mov ebp, dword [ebx + 0x40a4]
mov ecx, dword [esp + 0x1c]
add ebp, dword [ebx + 0x44]
push 4
add esi, 0x10
pop edx
call fcn.10011e28
mov esi, dword [ebx + 0x74]
push 4
add esi, 0x14
pop edx
mov ecx, ebp
call fcn.10011e28
xor ecx, ecx
inc ecx
cmp dword [ebx + 0x5c], ecx
jne 0x10012671
mov esi, dword [ebx + 0x74]
push 2
add esi, 0x24
pop edx
call fcn.10011e28
mov esi, dword [ebx + 0x74]
mov ecx, dword [esp + 0x18]
push 4
add esi, 0x18
pop edx
call fcn.10011e28
test edi, edi
jne 0x10012699
push dword [ebx + 0x78]
lea edi, [ebx + 0x24]
push dword [ebx + 0x74]
call fcn.10011d51
pop ecx
pop ecx
mov edi, eax
push dword [ebx + 0x74]
call fcn.10019371
pop ecx
test edi, edi
jne 0x10012725
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x70]
push edi
add eax, 0xe
push eax
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 0x10]
add esp, 0x18
test eax, eax
je 0x100126d0
or edi, 0xffffffff
jmp 0x1001270c
push dword [ebx + 0x20]
mov ecx, dword [esp + 0x20]
push 4
pop esi
mov edi, ebx
call fcn.10011ddf
mov edi, eax
pop ecx
test edi, edi
jne 0x1001270c
push dword [ebx + 0x20]
mov ecx, ebp
mov edi, ebx
call fcn.10011ddf
mov edi, eax
pop ecx
test edi, edi
jne 0x1001270c
push dword [ebx + 0x20]
mov ecx, dword [esp + 0x1c]
mov edi, ebx
call fcn.10011ddf
pop ecx
mov edi, eax
push 0
push dword [esp + 0x18]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
call dword [ebx + 0x10]
add esp, 0x10
test eax, eax
je 0x10012725
or edi, 0xffffffff
inc dword [ebx + 0x40b0]
and dword [ebx + 0x2c], 0
pop esi
mov eax, edi
pop ebp
pop edi
pop ebx
ret
Function at 0x10012747
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
xor ebx, ebx
mov dword [ebp - 4], esi
cmp edi, esi
jne 0x10012765
push 0xffffffffffffff9a
pop eax
jmp 0x100128f1
cmp dword [edi + 0x2c], 1
jne 0x10012774
push edi
call fcn.10012736
pop ecx
mov ebx, eax
cmp dword [ebp + 0xc], esi
jne 0x1001278b
mov eax, dword [edi + 0x40b4]
mov dword [ebp + 0xc], eax
cmp eax, esi
jne 0x1001278b
mov dword [ebp + 8], esi
jmp 0x10012797
push dword [ebp + 0xc]
call fcn.10016930
pop ecx
mov dword [ebp + 8], eax
push dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [edi + 0xc]
pop ecx
pop ecx
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x100127de
mov esi, dword [edi + 0x24]
jmp 0x100127da
test ebx, ebx
jne 0x100127d2
mov eax, dword [esi + 8]
test eax, eax
jbe 0x100127d2
push eax
lea eax, [esi + 0x10]
push eax
push dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [edi + 8]
add esp, 0x10
cmp eax, dword [esi + 8]
je 0x100127d2
or ebx, 0xffffffff
mov eax, dword [esi + 8]
add dword [ebp - 4], eax
mov esi, dword [esi]
test esi, esi
jne 0x100127ae
mov eax, dword [edi + 0x24]
call fcn.10011d33
test ebx, ebx
jne 0x100128c1
push dword [edi + 0x20]
mov ecx, 0x6054b50
push 4
pop esi
call fcn.10011ddf
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x100128c1
push dword [edi + 0x20]
xor ecx, ecx
push 2
pop esi
call fcn.10011ddf
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x100128c1
push dword [edi + 0x20]
xor ecx, ecx
call fcn.10011ddf
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x100128c1
push dword [edi + 0x20]
mov ecx, dword [edi + 0x40b0]
call fcn.10011ddf
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x100128c1
push dword [edi + 0x20]
mov ecx, dword [edi + 0x40b0]
call fcn.10011ddf
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x100128c1
push dword [edi + 0x20]
mov ecx, dword [ebp - 4]
push 4
pop esi
call fcn.10011ddf
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x100128c1
mov ecx, dword [ebp - 8]
sub ecx, dword [edi + 0x40ac]
push dword [edi + 0x20]
call fcn.10011ddf
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x100128c1
push dword [edi + 0x20]
mov ecx, dword [ebp + 8]
push 2
pop esi
call fcn.10011ddf
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x100128c1
cmp dword [ebp + 8], eax
jbe 0x100128c1
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [edi + 8]
add esp, 0x10
cmp eax, dword [ebp + 8]
je 0x100128c1
or ebx, 0xffffffff
push dword [edi + 0x20]
push dword [edi + 0x1c]
call dword [edi + 0x14]
pop ecx
pop ecx
test eax, eax
je 0x100128d7
test ebx, ebx
jne 0x100128d7
or ebx, 0xffffffff
mov eax, dword [edi + 0x40b4]
test eax, eax
je 0x100128e8
push eax
call fcn.10019371
pop ecx
push edi
call fcn.10019371
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10013a5c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x10013ae1
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.100169c0
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x10013aa4
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x10013ac6
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x10013b3c
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.100137aa
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
pop ecx
pop ecx
cmp esi, 3
jb 0x10013b28
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x38]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x10013b3c
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x10013a65
pop esi
pop ebx
leave
ret
Function at 0x100162d3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100310fc]
jne 0x100162dd
repz ret
jmp fcn.1001bdc9

Function at 0x100222de
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1001b7f3
and dword [ebp - 4], 0
cmp dword [0x10034638], 0
mov ebx, eax
jne 0x1002238f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10022440
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10022440
push eax
call fcn.1001b781
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10034638], eax
call esi
push eax
call fcn.1001b781
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1003463c], eax
call esi
push eax
call fcn.1001b781
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10034640], eax
call esi
push eax
call fcn.1001b781
pop ecx
mov dword [0x10034648], eax
test eax, eax
je 0x1002238f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001b781
pop ecx
mov dword [0x10034644], eax
mov eax, dword [0x10034644]
cmp eax, ebx
je 0x100223e7
cmp dword [0x10034648], ebx
je 0x100223e7
push eax
call fcn.1001b7fc
push dword [0x10034648]
mov esi, eax
call fcn.1001b7fc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x100223e7
test edi, edi
je 0x100223e7
call esi
test eax, eax
je 0x100223de
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x100223de
test byte [ebp - 0xc], 1
jne 0x100223e7
or dword [ebp + 0x10], 0x200000
jmp 0x10022420
mov eax, dword [0x1003463c]
cmp eax, ebx
je 0x10022420
push eax
call fcn.1001b7fc
pop ecx
test eax, eax
je 0x10022420
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10022420
mov eax, dword [0x10034640]
cmp eax, ebx
je 0x10022420
push eax
call fcn.1001b7fc
pop ecx
test eax, eax
je 0x10022420
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10034638]
call fcn.1001b7fc
pop ecx
test eax, eax
je 0x10022440
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10022442
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4118a2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419354]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040b3ec
and dword [ebp - 0x14], 0
cmp dword [0x4b1de4], 0
mov dword [ebp - 0x18], eax
jne 0x411955
push 0x403e58
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4119fd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e4c
push ebx
call edi
test eax, eax
je 0x4119fd
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e3c
push ebx
mov dword [0x4b1de4], eax
call edi
push eax
call esi
push 0x403e28
push ebx
mov dword [0x4b1de8], eax
call edi
push eax
call esi
push 0x403e0c
push ebx
mov dword [0x4b1dec], eax
call edi
push eax
call esi
mov dword [0x4b1df4], eax
test eax, eax
je 0x411955
push 0x403df4
push ebx
call edi
push eax
call esi
mov dword [0x4b1df0], eax
mov eax, dword [0x4b1df0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4119ae
cmp dword [0x4b1df4], ecx
je 0x4119ae
push eax
call esi
push dword [0x4b1df4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4119ae
test ebx, ebx
je 0x4119ae
call edi
test eax, eax
je 0x4119a5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4119a5
test byte [ebp - 8], 1
jne 0x4119ae
or dword [ebp + 0x10], 0x200000
jmp 0x4119e1
mov eax, dword [0x4b1de8]
cmp eax, dword [ebp - 0x18]
je 0x4119e1
push eax
call esi
test eax, eax
je 0x4119e1
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4119e1
mov eax, dword [0x4b1dec]
cmp eax, dword [ebp - 0x18]
je 0x4119e1
push eax
call esi
test eax, eax
je 0x4119e1
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b1de4]
call esi
test eax, eax
je 0x4119fd
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4119ff
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040934b
leave
ret
Function at 0x40ed5f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x24
mov eax, 0x439381
call fcn.00425718
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40ed78
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40edfc
xor ecx, ecx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ecx
push eax
push esi
call fcn.004116dc
test al, al
je 0x40edc1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40edb8
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40edfc
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
cmp eax, 0x1000
jb 0x40edf3
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004019a9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
call fcn.00425666
pop ecx
pop ecx
mov eax, edi
call fcn.004256c7
ret 4

Function at 0x40f02f
Capabilities:
Create directory

Disassembly:
push 0x24
mov eax, 0x439381
call fcn.00425718
mov esi, dword [ebp + 8]
push esi
call fcn.0041141c
movzx eax, ax
cmp eax, 0x2e
je 0x40f071
cmp eax, 0x20
je 0x40f071
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40f05b
mov eax, dword [esi]
xor edi, edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
test ebx, ebx
jne 0x40f110
jmp 0x40f075
xor edi, edi
mov ebx, edi
push esi
call fcn.0040ed4d
test al, al
jne 0x40f123
xor eax, eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], edi
push eax
push esi
call fcn.004116dc
test al, al
je 0x40f0bd
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40f0b3
mov eax, dword [ebp - 0x28]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40f0fc
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
cmp eax, 0x1000
jb 0x40f0f3
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004019a9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
call fcn.00425666
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test ebx, ebx
je 0x40f123
cmp byte [ebp + 0xc], 0
je 0x40f11f
push dword [ebp + 0x10]
push esi
call fcn.0040f5cb
xor eax, eax
jmp 0x40f13b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
push 2
pop eax
cmp ecx, eax
je 0x40f13b
xor eax, eax
cmp ecx, 3
sete al
inc eax
call fcn.004256c7
ret 0xc
Function at 0x40f5cb
Capabilities:
Set file attributes

Disassembly:
push 0x24
mov eax, 0x439381
call fcn.00425718
mov esi, dword [ebp + 8]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x40f5e4
mov eax, dword [esi]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
test eax, eax
jne 0x40f671
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ecx
push eax
push esi
call fcn.004116dc
test al, al
je 0x40f636
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40f627
mov eax, dword [ebp - 0x28]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40f671
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
cmp eax, 0x1000
jb 0x40f668
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004019a9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
push eax
push ecx
call fcn.00425666
pop ecx
pop ecx
mov al, bl
call fcn.004256c7
ret 8
Function at 0x40f866
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push 0x274
mov eax, 0x439f2c
call fcn.00425718
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
cmp esi, 0xffffffff
jne 0x40f965
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x40f891
mov eax, dword [ebx]
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f988
xor ecx, ecx
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ecx
push eax
push ebx
call fcn.004116dc
test al, al
je 0x40f8ec
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x40f8dc
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x278]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x40f93d
mov ecx, dword [ebp - 0x28]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x280], ecx
cmp eax, 0x1000
jb 0x40f934
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.004019a9
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x280]
push eax
push ecx
call fcn.00425666
pop ecx
pop ecx
cmp esi, 0xffffffff
jne 0x40f988
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40f95b
cmp eax, 3
je 0x40f95b
cmp eax, 0x12
je 0x40f95b
mov al, 1
jmp 0x40f95d
xor al, al
mov byte [edi + 0x5c], al
jmp 0x40fa3f
lea eax, [ebp - 0x278]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40f988
or esi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
setne al
jmp 0x40f95d
push ebx
mov ecx, edi
call fcn.004025c3
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004014a7
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
push edi
call fcn.0041228e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401a66
mov ecx, dword [ebp - 0x25c]
xor eax, eax
add eax, dword [ebp - 0x258]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x278]
adc ecx, 0
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x274]
mov dword [edi + 0x1c], ecx
mov ecx, dword [ebp - 0x270]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0x26c]
mov dword [edi + 0x44], ecx
mov ecx, dword [ebp - 0x268]
mov dword [edi + 0x48], eax
mov eax, dword [ebp - 0x264]
mov dword [edi + 0x4c], ecx
mov ecx, dword [ebp - 0x260]
mov dword [edi + 0x50], eax
lea eax, [ebp - 0x264]
mov dword [edi + 0x54], ecx
lea ecx, [edi + 0x28]
push eax
call fcn.00417bf4
lea eax, [ebp - 0x274]
push eax
lea ecx, [edi + 0x30]
call fcn.00417bf4
lea eax, [ebp - 0x26c]
push eax
lea ecx, [edi + 0x38]
call fcn.00417bf4
and dword [edi + 0x58], 0
mov eax, esi
call fcn.004256c7
ret 0xc
Function at 0x41012c
Capabilities:
Hash data using crc32b

Disassembly:
mov ecx, dword [esp + 4]
push edi
xor edi, edi
test ecx, ecx
je 0x410163
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x410162
mov eax, esi
mov edx, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
sar edx, 0x1f
and eax, ecx
shr esi, 1
and edx, 0x4c11db7
add ecx, ecx
xor edi, eax
xor ecx, edx
jne 0x41013c
pop esi
mov eax, edi
pop edi
ret 8

Function at 0x410400
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x449778]
xor eax, ebp
mov dword [ebp + 0x94], eax
cmp byte [0x44e0e0], 0
jne 0x410463
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 0xa
ja 0x410453
jne 0x41044f
cmp dword [ebp - 0x74], 0x55f0
jb 0x41044f
call fcn.004104ab
test al, al
je 0x410453
xor al, al
jmp 0x410455
mov al, 1
mov byte [0x44e0e1], al
mov byte [0x44e0e0], 1
jmp 0x410468
mov al, byte [0x44e0e1]
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00425674
add ebp, 0x98
leave
ret
Function at 0x416c0d
Capabilities:
Get common file path

Disassembly:
push 0x60
mov eax, 0x43a4a5
call fcn.00425718
mov ebx, dword [ebp + 8]
push 0x208
call fcn.00425636
mov edi, eax
pop ecx
mov dword [ebp - 0x6c], edi
lea esi, [edi + 0x208]
push esi
push edi
mov dword [ebp - 0x64], esi
call fcn.00401489
mov dword [ebp - 0x68], esi
and dword [ebp - 4], 0
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x416c5a
xor ebx, ebx
jmp 0x416d10
and dword [ebp - 0x28], 0
xor eax, eax
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004014a7
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004014a7
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00411b13
lea ecx, [ebp - 0x40]
call fcn.00401a66
lea ecx, [ebp - 0x58]
call fcn.00401a66
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x416cba
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0x14]
mov ebx, eax
cmp ecx, 8
jb 0x416cff
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], edx
cmp ecx, 0x1000
jb 0x416cf6
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004019a9
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x60]
push ecx
push edx
call fcn.00425666
pop ecx
pop ecx
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test edi, edi
je 0x416d20
sub esi, edi
and esi, 0xfffffffe
push esi
push edi
call fcn.004012a7
mov eax, ebx
call fcn.004256c7
ret 4
Function at 0x75c600
Capabilities:
Execute anti-debugging instructions

Disassembly:
bts bx, bx
rdtsc
inc eax
xchg dword [esp + 4], edi
stc
mov bx, word [esp]
jmp 0x75c610
mov bh, byte [esp + 2]
lea edi, [edi - 0x6d]
not bl
neg ebx
jmp 0x75c5ea
rdtsc
call 0x75c65f

Function at 0x7624f9
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0xa
jmp 0x762360
jmp 0x762325
lea ecx, [ebp + 0x50]
not dl
shl ax, cl
jo 0x7622bb
sub esp, 0xa
rdtsc
lea esp, [esp + 2]
jmp 0x762366
dec dh
bswap eax
mov dl, byte [esp]
jmp 0x762336
dec dh
bswap eax
mov dl, byte [esp]
xchg dl, ah
neg eax
rdtsc
push ecx
mov dx, 0xb9c8
jmp 0x76233c
movzx ecx, byte [edi - 1]
sete al
cmp edx, 0xafd1a63e
jae 0x762304
jb 0x7622ee
xchg dl, ah
neg eax
jmp 0x76230f
sub cl, bl
jmp 0x7623d1
push bp
not ax
rcl edx, 0x1a
inc eax
lea esp, [esp + 2]
jmp 0x76236e
rdtsc
lea esp, [esp + 2]
cmp esi, ecx
jmp 0x762b7e
mov al, cl
bsf dx, di
jp 0x762408
bts dx, cx
jmp 0x76240d
rcl edx, 0x1a
inc eax
lea esp, [esp + 2]
call fcn.007623a8
pop eax
js 0x762344
push bp
not ax
jmp 0x762384
call fcn.0076243f
setl dl
neg dh
ror dl, cl
jmp 0x76241a
neg dx
jmp 0x7624ea
sub esp, 0x1a
xchg word [esp + 4], ax
lea esp, [esp + 2]
jmp 0x7624b5
jmp 0x7622d9
add al, 0x1f
lea edx, [esi*4]
call 0x7624f9
mov esp, 0x830fc2fe
cld
add eax, dword [eax]
add byte [edi], cl
add byte [edx + 2], 0
add byte [edi + 0x15e68313], cl
cmpsd dword [esi], dword es:[edi]
push ss
add dword [eax - 8], 0xd4f69474
jmp 0x762431
xchg cl, ch
cmc
jmp 0x762a18
call fcn.007629ea
hlt
rcl eax, 3
jns 0x762991
xchg cl, ch
cmc
jmp 0x762a18
lea eax, [ebp + 0x40]
not ecx
stc
jle 0x762999
jg 0x762999
xchg dword [esp], ebp
not cx
mov ecx, dword [esp]
mov ch, byte [esp]
lea ebp, [ebp + 0x1a]
jmp 0x762a6f
xchg cl, ch
bt ecx, edx
push dword [esp]
ret 4
not cl
mov ch, ah
mov cx, 0x79b5
lea ecx, [ecx*4]
xchg dword [esp], ebp
inc ecx
jmp 0x762a50
mov edx, ebp
jmp 0x7629af
ja fcn.007622c3
btc edx, ebp
jge 0x762ab6
jl 0x762ab6

Function at 0x762e0a
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea edx, [edx + edi]
xchg dword [esp + 0x34], esi
call fcn.00762d72
mov edx, 0x284d6c78
not dh
jmp 0x762e57
jmp 0x762e84
sub bl, al
seto ah
mov dx, bx
bsf edx, edx
jg 0x762e41
jle 0x762e84
ror ax, 0xd
je 0x762f3a
bts ax, cx
inc al
rdtsc
mov dl, 0x28
setnp dh
jmp 0x762ea9
dec edi
mov ax, word [esp]
xchg dx, ax
pushal
pop dword [esp + 5]
jmp 0x762e66
rdtsc
mov dl, 0x28
setnp dh
jmp 0x762ea9
bts ax, cx
inc al
jmp 0x762ed4