joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6959f4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
call fcn.006958c8
lea eax, [ebp - 0x18]
push eax
push 0
push 0x4a
mov eax, dword [0x6d8454]
push eax
call sub.user32.dll_SendMessageW
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
xor ecx, ecx
mov dword [edx], ecx
call fcn.00408444
cmp ebx, 0x6c840001
jne 0x695a54
call fcn.00429014
mov eax, 0xffff0000
and eax, ebx
cmp eax, 0x6c830000
je 0x695a78
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x695b2c
call fcn.0060d0c0
mov word [ebp - 0xa], bx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
call dword [ebp - 8]
call sub.kernel32.dll_GetTickCount
mov edx, eax
sub edx, ebx
cmp edx, 0xa
jb 0x695ace
mov ebx, eax
mov edx, 1
movzx eax, word [ebp - 0xa]
call fcn.00695948
mov esi, eax
mov eax, esi
sub ax, 2
je 0x695ace
dec eax
sub ax, 2
jb 0x695ae2
movzx eax, si
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x20]
xor ecx, ecx
mov eax, 0x695b8c
call fcn.0060d0c0
push 0x4ff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x695a83
mov edx, 2
movzx eax, word [ebp - 0xa]
call fcn.00695948
movzx ebx, ax
mov edx, 3
movzx eax, word [ebp - 0xa]
call fcn.00695948
movzx eax, ax
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp si, 3
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x697e24
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
mov eax, ebx
call fcn.00697ea8
call fcn.00406f0c
mov esi, eax
push esp
push 0x40
mov eax, ebx
call fcn.00697ea8
push eax
push esi
call sub.kernel32.dll_VirtualProtect
mov edx, esi
mov eax, ebx
call fcn.00697e58
mov eax, esi
pop edx
pop esi
pop ebx
ret

Function at 0x6a0b40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x6a0bc4
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x6a0bac
mov ebx, esi
test ebx, ebx
je 0x6a0b72
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
mov eax, ebx
add eax, eax
push eax
mov eax, esi
call fcn.0040b278
push eax
push 1
push 0
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x6a0be0
call fcn.0040b4c8
mov eax, dword [ebp - 8]
call fcn.0040b278
push eax
push edi
call sub.advapi32.dll_RegSetValueExW
test eax, eax
sete al
mov ebx, eax
jmp 0x6a0bae
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a0bcb
lea eax, [ebp - 8]
call fcn.0040a1c8
ret
Function at 0x6a6fd8
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x6a6fe2
mov eax, dword [esp + 0x2000]
add esp, 4
mov edi, edx
mov esi, eax
push 0x6a7098
push 0x6a70cc
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00414030
mov ebx, eax
test ebx, ebx
je 0x6a7081
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x6a7081
test al, 0x10
je 0x6a7032
mov ebp, 0x2000000
jmp 0x6a7034
xor ebp, ebp
push 0
push ebp
push 3
push 0
push 7
push 0
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_CreateFileW
mov ebp, eax
cmp ebp, 0xffffffff
je 0x6a7081
push 0
push 0x1000
lea eax, [esp + 8]
push eax
push ebp
call ebx
mov ebx, eax
push ebp
call sub.kernel32.dll_CloseHandle
test ebx, ebx
jle 0x6a7081
cmp ebx, 0xff0
jge 0x6a7081
mov edx, edi
mov eax, esp
call fcn.006a6ef0
jmp 0x6a708a
mov eax, edi
mov edx, esi
call fcn.0040a5a8
add esp, 0x2000
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x6a6ffd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x6a6fe2
mov eax, dword [esp + 0x2000]
add esp, 4
mov edi, edx
mov esi, eax
push 0x6a7098
push 0x6a70cc
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00414030
mov ebx, eax
test ebx, ebx
je 0x6a7081
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x6a7081
test al, 0x10
je 0x6a7032
mov ebp, 0x2000000
jmp 0x6a7034
xor ebp, ebp
push 0
push ebp
push 3
push 0
push 7
push 0
mov eax, esi
call fcn.0040b278
push eax
call sub.kernel32.dll_CreateFileW
mov ebp, eax
cmp ebp, 0xffffffff
je 0x6a7081
push 0
push 0x1000
lea eax, [esp + 8]
push eax
push ebp
call ebx
mov ebx, eax
push ebp
call sub.kernel32.dll_CloseHandle
test ebx, ebx
jle 0x6a7081
cmp ebx, 0xff0
jge 0x6a7081
mov edx, edi
mov eax, esp
call fcn.006a6ef0
jmp 0x6a708a
mov eax, edi
mov edx, esi
call fcn.0040a5a8
add esp, 0x2000
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x6a70e8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x20c], edx
mov esi, eax
xor eax, eax
push ebp
push 0x6a7179
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x208]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryW
mov ebx, eax
test ebx, ebx
jle 0x6a714f
cmp ebx, 0x104
jge 0x6a714f
lea eax, [ebp - 0x20c]
lea edx, [ebp - 0x208]
mov ecx, 0x104
call fcn.0040b318
mov eax, dword [ebp - 0x20c]
mov edx, esi
call fcn.006a6fd8
jmp 0x6a7160
mov eax, 0x6a7194
call fcn.0060d278
mov eax, esi
call fcn.0040a1c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6a7180
lea eax, [ebp - 0x20c]
call fcn.0040a1c8
ret
Function at 0x6b4020
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, 3
lea ebx, [ebp - 8]
lea esi, [ebp - 0xc]
lea edi, [ebp - 4]
movzx eax, byte [esi]
movzx edx, byte [ebx]
sub eax, edx
imul dword [ebp - 0x10]
push ecx
mov ecx, 0xff
cdq
idiv ecx
pop ecx
movzx edx, byte [ebx]
add eax, edx
mov byte [edi], al
inc edi
inc esi
inc ebx
dec ecx
jne 0x6b4045
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x6b5e78
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
jmp 0x6b5ea4
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jae 0x6b5ead
call fcn.006b4ab8
mov eax, 0xa
call fcn.005c8ccc
call fcn.006b4ab8
call fcn.006b5e44
test al, al
jne 0x6b5e82
pop ebx
ret

Function at 0x6b63d4
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x6cf980]
cmp dword [eax], 0
je 0x6b647f
mov eax, dword [0x6cf980]
mov eax, dword [eax]
call fcn.0051b800
test al, al
je 0x6b647f
mov eax, dword [0x6cf980]
mov eax, dword [eax]
cmp byte [eax + 0x215], 0
je 0x6b6429
cmp byte [ebx + 0x3e1], 0
jne 0x6b6429
mov eax, dword [0x6cff3c]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x6b642d
xor eax, eax
jmp 0x6b642f
mov al, 1
mov ebx, eax
mov eax, dword [0x6cf980]
mov eax, dword [eax]
call fcn.0051b42c
push 0xfffffffffffffff0
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x10000000
setne al
cmp bl, al
je 0x6b647f
test bl, bl
je 0x6b646b
push 5
mov eax, dword [0x6cf980]
mov eax, dword [eax]
call fcn.0051b42c
push eax
call sub.user32.dll_ShowWindow
jmp 0x6b647f
push 0
mov eax, dword [0x6cf980]
mov eax, dword [eax]
call fcn.0051b42c
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x6b7a6c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6b7b14
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x6b7b30
push ebx
push 0x6b7b40
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040b550
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00407760
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040b278
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
jne 0x6b7af2
mov eax, dword [0x6cff50]
mov eax, dword [eax + 0x20c]
call fcn.006b79c0
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle
mov ebx, dword [ebp - 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6b7b1b
lea eax, [ebp - 4]
call fcn.0040a1c8
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48e008]
jne 0x40100a
repz ret
jmp fcn.00401c66

Function at 0x4080b3
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.00403824
and dword [ebp - 4], 0
cmp dword [0x48ffe8], 0
mov ebx, eax
jne 0x408164
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408215
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408215
push eax
call fcn.004037b2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x48ffe8], eax
call esi
push eax
call fcn.004037b2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48ffec], eax
call esi
push eax
call fcn.004037b2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48fff0], eax
call esi
push eax
call fcn.004037b2
pop ecx
mov dword [0x48fff8], eax
test eax, eax
je 0x408164
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004037b2
pop ecx
mov dword [0x48fff4], eax
mov eax, dword [0x48fff4]
cmp eax, ebx
je 0x4081bc
cmp dword [0x48fff8], ebx
je 0x4081bc
push eax
call fcn.0040382d
push dword [0x48fff8]
mov esi, eax
call fcn.0040382d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4081bc
test edi, edi
je 0x4081bc
call esi
test eax, eax
je 0x4081b3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4081b3
test byte [ebp - 0xc], 1
jne 0x4081bc
or dword [ebp + 0x10], 0x200000
jmp 0x4081f5
mov eax, dword [0x48ffec]
cmp eax, ebx
je 0x4081f5
push eax
call fcn.0040382d
pop ecx
test eax, eax
je 0x4081f5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4081f5
mov eax, dword [0x48fff0]
cmp eax, ebx
je 0x4081f5
push eax
call fcn.0040382d
pop ecx
test eax, eax
je 0x4081f5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48ffe8]
call fcn.0040382d
pop ecx
test eax, eax
je 0x408215
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408217
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x450200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x43000]
push edi
or ebp, 0xffffffff
jmp 0x450222
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x450229
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x450218
mov eax, 1
add ebx, ebx
jne 0x45023b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45024c
jne 0x45026b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45026b
dec eax
add ebx, ebx
jne 0x450258
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x450230
add ebx, ebx
jne 0x450267
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4502bd
xor ecx, ecx
sub eax, 3
jb 0x450283
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4502f2
sar eax, 1
mov ebp, eax
jmp 0x45028e
add ebx, ebx
jne 0x45028e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45025c
inc ecx
add ebx, ebx
jne 0x45029c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45025c
add ebx, ebx
jne 0x4502a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45029e
jne 0x4502ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45029e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4502dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4502ce
jmp 0x45021e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4502dc
add edi, ecx
jmp 0x45021e
pop esi
mov edi, esi
mov ecx, 0xa0c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4502fa
cmp byte [edi], 0
jne 0x4502fa
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 0x4502ff
lea edi, [esi + 0x4e000]
mov eax, dword [edi]
or eax, eax
je 0x45036e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x55d98]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x55e24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45032c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x55e28]
or eax, eax
je 0x450368
mov dword [ebx], eax
add ebx, 4
jmp 0x450349
call dword [esi + 0x55e30]
mov ebp, dword [esi + 0x55e2c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x4503a2
sub esp, 0xffffff80
jmp 0x411498
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x438c82
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0x438a14
add esi, 0x65325340
sub esi, esi
call fcn.00438caf
and edx, esi
or edx, esi
xor dword [ebx], eax
or edx, edx
and esi, esi
inc ebx
dec edx
cmp ebx, ecx
jne fcn.00438c82
mov edx, edx
sub esi, esi
sub esi, esi
ret
Function at 0x401ba4
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x401bc5
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x401bbc
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x401bb4
mov eax, ebx
leave
ret

Function at 0x401beb
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x401c4a
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x401c77
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x401c66
xor ecx, eax
xor edx, ebx
dec edi
jne 0x401c57
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x401c9d
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x401c3e
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x40231c
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x40232c
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x40243a
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.0040244a
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x40243a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.0040244a
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x40243a
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.0040244a
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40243a
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x402437
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.0040245d
test eax, eax
je 0x402426
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.00402491
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x4023e1
add esp, 0xc
mov eax, 0
jmp 0x402444
mov esp, ebp
pop ebp
ret 8
Function at 0x40c200
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x498dfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0048d8f5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40c282
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048b597
mov eax, dword [eax]
push 0xed8cbc
push eax
call fcn.0047d524
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048db80
test bl, bl
je 0x40c282
push 0xed8cbc
lea ecx, [esp + 0xc]
call fcn.0048df10
push 0xed8cc8
lea ecx, [esp + 0xc]
call fcn.0048df10
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40c2be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048db80
jmp 0x40c389
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40c342
lea edx, [esp + 0x7c]
push 0xed8cc4
push edx
call fcn.0047d524
add esp, 8
test eax, eax
je 0x40c342
lea eax, [esp + 0x7c]
push 0xed8cc0
push eax
call fcn.0047d524
add esp, 8
test eax, eax
je 0x40c342
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40c2d2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048db80
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40cb90
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40cbf2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc