joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4086ee
Capabilities:
Create directory

Disassembly:
mov eax, 0x46a370
call fcn.00461cc8
sub esp, 0x18
push ebx
xor ebx, ebx
cmp byte [0x4843d0], bl
push esi
jne 0x408729
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.004084ef
push dword [eax]
call fcn.004086da
push dword [ebp - 0x24]
mov bl, al
call fcn.0040675c
pop ecx
mov al, bl
jmp 0x408786
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push dword [ebp + 8]
call esi
test eax, eax
je 0x40873d
mov al, 1
jmp 0x408786
push 0xf
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0040152b
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
push dword [ebp + 8]
call fcn.0040a07d
test al, al
je 0x40877b
push ebx
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x18]
mov esi, eax
call fcn.0040675c
cmp esi, ebx
pop ecx
setne al
jmp 0x408786
push dword [ebp - 0x18]
call fcn.0040675c
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4089bb
Capabilities:
Delete file

Disassembly:
mov eax, 0x46a3b8
call fcn.00461cc8
sub esp, 0x18
push ebx
xor ebx, ebx
cmp byte [0x4843d0], bl
push esi
jne 0x4089f6
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.004084ef
push dword [eax]
call fcn.0040899a
push dword [ebp - 0x24]
mov bl, al
call fcn.0040675c
pop ecx
mov al, bl
jmp 0x408a5b
push ebx
push dword [ebp + 8]
call fcn.0040843f
test al, al
je 0x408a59
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
test eax, eax
je 0x408a16
mov al, 1
jmp 0x408a5b
push 0xf
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0040152b
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
push dword [ebp + 8]
call fcn.0040a07d
push dword [ebp - 0x18]
test al, al
je 0x408a53
call esi
push dword [ebp - 0x18]
mov esi, eax
call fcn.0040675c
cmp esi, ebx
pop ecx
setne al
jmp 0x408a5b
call fcn.0040675c
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x408f23
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4843d0], 0
je 0x408f43
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
jmp 0x408f69
push ebx
lea eax, [ebp - 0xc]
push dword [ebp + 8]
push eax
call fcn.004084ef
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push dword [ebp - 0xc]
test eax, eax
setne bl
call fcn.0040675c
pop ecx
mov al, bl
pop ebx
leave
ret 4
Function at 0x408f6d
Capabilities:
Get common file path

Disassembly:
mov eax, 0x46a484
call fcn.00461cc8
sub esp, 0x18
push ebx
xor ebx, ebx
cmp byte [0x4843d0], bl
je 0x408fd9
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x105
cmp dword [esi + 8], edi
jg 0x408fa0
push 0x106
mov ecx, esi
call fcn.0040152b
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [esi]
xor edx, edx
cmp word [ecx], bx
je 0x408fbc
mov edi, ecx
inc edx
inc edi
inc edi
cmp word [edi], bx
jne 0x408fb4
mov word [ecx + edx*2], bx
mov dword [esi + 4], edx
pop edi
cmp eax, ebx
pop esi
jbe 0x408fd5
cmp eax, 0x104
ja 0x408fd5
push 1
pop eax
jmp 0x40902c
xor eax, eax
jmp 0x40902c
push 0xf
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0040589c
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
call fcn.00408edd
test al, al
je 0x409021
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004082b2
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.004014ed
push dword [ebp - 0x24]
call fcn.0040675c
pop ecx
mov bl, 1
push dword [ebp - 0x18]
call fcn.0040675c
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4092f9
Capabilities:
Get common file path

Disassembly:
mov eax, 0x46a520
call fcn.00461cc8
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [esi]
mov dword [esi + 4], ebx
mov word [eax], bx
cmp byte [0x4843d0], bl
je 0x40936c
push edi
mov edi, 0x105
cmp dword [esi + 8], edi
jg 0x409334
push 0x106
mov ecx, esi
call fcn.0040152b
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [esi]
xor edx, edx
cmp word [ecx], bx
je 0x409350
mov edi, ecx
inc edx
inc edi
inc edi
cmp word [edi], bx
jne 0x409348
mov word [ecx + edx*2], bx
cmp eax, ebx
mov dword [esi + 4], edx
pop edi
jbe 0x409368
cmp eax, 0x104
ja 0x409368
push 1
pop eax
jmp 0x4093be
xor eax, eax
jmp 0x4093be
push 0xf
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0040589c
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
call fcn.004092b3
test al, al
je 0x4093b3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004082b2
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004014ed
push dword [ebp - 0x24]
call fcn.0040675c
pop ecx
mov bl, 1
push dword [ebp - 0x18]
call fcn.0040675c
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x40940b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x46a56a
call fcn.00461cc8
sub esp, 0x28
push ebx
xor ebx, ebx
cmp byte [0x4843d0], bl
push esi
mov dword [ebp - 0x10], ebx
je 0x40946f
mov esi, dword [ebp + 0x10]
cmp dword [esi + 8], 0x104
jg 0x40943f
push 0x105
mov ecx, esi
call fcn.0040152b
push dword [esi]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [esi]
xor edx, edx
cmp word [ecx], bx
je 0x409463
push edi
mov edi, ecx
inc edx
inc edi
inc edi
cmp word [edi], bx
jne 0x40945a
pop edi
mov word [ecx + edx*2], bx
mov dword [esi + 4], edx
jmp 0x409527
push 0xf
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040589c
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], ebx
je 0x4094a5
push dword [ebp + 0xc]
lea eax, [ebp - 0x34]
push eax
call fcn.004084ef
mov dword [ebp - 0x10], 1
mov esi, dword [eax]
mov byte [ebp - 4], 1
jmp 0x4094a7
xor esi, esi
cmp dword [ebp + 8], ebx
je 0x4094c5
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.004084ef
push 2
pop ecx
or dword [ebp - 0x10], ecx
mov eax, dword [eax]
mov dword [ebp - 4], ecx
jmp 0x4094c7
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
push esi
push eax
call fcn.004093ce
test byte [ebp - 0x10], 2
mov esi, eax
je 0x4094e7
push dword [ebp - 0x28]
and dword [ebp - 0x10], 0xfffffffd
call fcn.0040675c
pop ecx
test byte [ebp - 0x10], 1
mov dword [ebp - 4], ebx
je 0x4094f9
push dword [ebp - 0x34]
call fcn.0040675c
pop ecx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004082b2
mov ecx, dword [ebp + 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.004014ed
push dword [ebp - 0x34]
call fcn.0040675c
push dword [ebp - 0x1c]
call fcn.0040675c
pop ecx
mov eax, esi
pop ecx
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x409cca
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x46a660
call fcn.00461cc8
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 1
mov eax, dword [esi]
push 0
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x18]
push 0
mov dword [edi + 0x18], eax
push dword [esi + 0x1c]
call fcn.00461e90
mov ecx, dword [esi + 0x20]
xor ebx, ebx
add eax, ecx
lea ecx, [ebp - 0x18]
mov dword [edi + 0x20], eax
lea eax, [esi + 0x2c]
adc edx, ebx
push eax
mov dword [edi + 0x24], edx
call fcn.00406d38
and dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
neg eax
sbb eax, eax
inc eax
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00409d83
push eax
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 1
call fcn.004014ed
push dword [ebp - 0x24]
call fcn.0040675c
push dword [ebp - 0x18]
call fcn.0040675c
mov eax, dword [esi + 0x24]
pop ecx
pop ecx
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x409ef9
Capabilities:
Get common file path

Disassembly:
mov eax, 0x46a6b4
call fcn.00461cc8
sub esp, 0x30
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [eax + 4], ebx
mov eax, dword [eax]
push esi
push edi
mov word [eax], bx
mov si, word [ecx]
xor edi, edi
cmp si, bx
je 0x409f2d
mov eax, ecx
inc edi
inc eax
inc eax
cmp word [eax], bx
jne 0x409f25
cmp edi, 1
jl 0x40a06a
cmp si, 0x5c
je 0x40a06a
cmp si, 0x2e
jne 0x409f5e
cmp edi, 1
je 0x40a06a
cmp edi, 2
jne 0x409f5e
cmp word [ecx + 2], si
je 0x40a06a
push 0xf
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0040152b
cmp edi, 3
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ebx
jle 0x40a005
cmp word [edi + 2], 0x3a
jne 0x409fa6
cmp word [edi + 4], 0x5c
jne 0x409fa6
cmp si, 0x61
jb 0x409f9a
cmp si, 0x7a
jbe 0x40a005
cmp si, 0x41
jb 0x409fa6
cmp si, 0x5a
jbe 0x40a005
mov esi, 0x105
cmp dword [ebp - 0x10], esi
jg 0x409fbd
push 0x106
lea ecx, [ebp - 0x18]
call fcn.0040152b
push dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, dword [ebp - 0x18]
xor ecx, ecx
cmp word [esi], bx
je 0x409fdb
mov edx, esi
inc ecx
inc edx
inc edx
cmp word [edx], bx
jne 0x409fd3
lea edx, [ecx + ecx]
cmp eax, ebx
mov word [edx + esi], bx
mov dword [ebp - 0x14], ecx
je 0x40a05d
cmp eax, 0x104
ja 0x40a05d
mov eax, dword [ebp - 0x18]
cmp word [edx + eax - 2], 0x5c
je 0x40a005
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.00404303
push 0x47f1bc
lea ecx, [ebp - 0x3c]
call fcn.004026a9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00409a73
push edi
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
call fcn.0040a52a
mov ecx, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 3
call fcn.004014ed
push dword [ebp - 0x24]
call fcn.0040675c
push dword [ebp - 0x30]
call fcn.0040675c
push dword [ebp - 0x3c]
call fcn.0040675c
add esp, 0xc
mov bl, 1
push dword [ebp - 0x18]
call fcn.0040675c
pop ecx
mov al, bl
jmp 0x40a06c
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x40a22a
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40a251
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40a251
xor al, al
jmp 0x40a271
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00461e90
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x40ee4c
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x46ab70
call fcn.00461cc8
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0040270a
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.0040270a
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0040270a
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.0040270a
mov al, byte [edi + 0x30]
lea ecx, [esi + 0x34]
mov byte [esi + 0x30], al
lea eax, [edi + 0x34]
push eax
mov byte [ebp - 4], 3
call fcn.0040270a
add edi, 0x40
lea ecx, [esi + 0x40]
push edi
mov byte [ebp - 4], 4
call fcn.0040270a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x411b09
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x46b1e5
call fcn.00461cc8
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov al, byte [esi]
lea ecx, [ebx + 8]
mov byte [ebx], al
mov al, byte [esi + 1]
mov byte [ebx + 1], al
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
lea eax, [esi + 8]
push eax
call fcn.0040270a
mov al, byte [esi + 0x14]
and dword [ebp - 4], 0
mov byte [ebx + 0x14], al
lea eax, [esi + 0x18]
push eax
lea ecx, [ebx + 0x18]
call fcn.0040270a
lea eax, [esi + 0x28]
lea edx, [ebx + 0x28]
push 0xc
mov esi, eax
pop ecx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
add eax, 0x30
lea ecx, [edx + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.0040270a
mov esi, dword [ebp + 8]
lea ecx, [ebx + 0x68]
mov byte [ebp - 4], 2
lea eax, [esi + 0x68]
push eax
call fcn.00411c13
mov eax, dword [esi + 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x7c], eax
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x412515
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x46b34e
call fcn.00461cc8
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov al, byte [edi]
lea ecx, [esi + 0xc]
mov byte [esi], al
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
lea eax, [edi + 0xc]
push eax
call fcn.0040270a
and dword [ebp - 4], 0
lea eax, [edi + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.0041258c
and dword [esi + 0x30], 0
and dword [esi + 0x34], 0
lea ecx, [esi + 0x2c]
lea eax, [edi + 0x2c]
push eax
mov byte [ebp - 4], 1
mov dword [ecx], 0x4705cc
call fcn.004125d8
mov al, byte [edi + 0x38]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x38], al
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x417536
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x46bd53
call fcn.00461cc8
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
push 8
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
pop edi
mov edx, 0x47048c
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edx
lea ebx, [esi + 0x38]
mov edx, 0x470ac4
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov dword [ebx], edx
lea edi, [esi + 0x4c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], edx
push dword [esi + 8]
mov byte [ebp - 4], 5
call fcn.004070d4
push dword [esi + 8]
mov ecx, ebx
call fcn.004070d4
push dword [esi + 0xc]
mov ecx, edi
call fcn.004070d4
push dword [esi + 0xc]
mov ecx, edi
call fcn.004070d4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x417542
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x46bd53
call fcn.00461cc8
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
push 8
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
pop edi
mov edx, 0x47048c
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edx
lea ebx, [esi + 0x38]
mov edx, 0x470ac4
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov dword [ebx], edx
lea edi, [esi + 0x4c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], edx
push dword [esi + 8]
mov byte [ebp - 4], 5
call fcn.004070d4
push dword [esi + 8]
mov ecx, ebx
call fcn.004070d4
push dword [esi + 0xc]
mov ecx, edi
call fcn.004070d4
push dword [esi + 0xc]
mov ecx, edi
call fcn.004070d4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x41b3ed
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x46c5db
call fcn.00461cc8
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 4
mov dword [esi], 0x470c0c
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x10
mov dword [esi + 0x14], 0x470c04
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], 1
mov byte [esi + 0x2c], al
push 0xf
mov byte [ebp - 4], 1
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
call fcn.0040152b
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41d4af
Capabilities:
Get system information on windows

Disassembly:
mov eax, 0x46ca0c
call fcn.00461cc8
sub esp, 0x28
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x470d18
mov dword [esi + 4], 0x470d08
mov dword [esi + 8], 0x470cf4
mov dword [esi + 0xc], edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x18]
mov dword [ebp - 4], edi
call fcn.0041d84c
lea eax, [esi + 0x124]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 4
mov dword [eax], 0x470cec
lea eax, [esi + 0x138]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0x10
mov dword [eax], 0x470c04
lea eax, [esi + 0x170]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 8
mov dword [eax], 0x47048c
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
push eax
mov dword [esi], 0x470cb8
mov dword [esi + 4], 0x470ca8
mov dword [esi + 8], 0x470c94
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov ecx, esi
mov dword [esi + 0x120], eax
call fcn.0041d62a
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x424072
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
push 4
pop ecx
movzx esi, byte [esp + 0xc]
mov edx, eax
shr dword [esp + 0xc], 8
and edx, 0xff
xor edx, esi
shr eax, 8
mov edx, dword [edx*4 + 0x487a00]
xor eax, edx
dec ecx
jne 0x42407a
pop esi
ret 8

Function at 0x4240a1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 8
pop edi
mov eax, dword [ebp + 0xc]
mov ecx, esi
movzx edx, al
and ecx, 0xff
push 8
xor ecx, edx
mov edx, dword [ebp + 0x10]
shr esi, 8
mov ecx, dword [ecx*4 + 0x487a00]
xor esi, ecx
pop ecx
call fcn.00462e60
dec edi
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
jne 0x4240ac
mov eax, esi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x42907e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
mov eax, ecx
push esi
push edi
mov edi, dword [eax]
cmp dword [ebp + 0xc], 0
je 0x4290cd
mov esi, dword [eax + 4]
test esi, esi
je 0x4290cd
mov cl, byte [edx]
inc edx
mov byte [esi + eax + 8], cl
mov ecx, dword [eax + 4]
inc ecx
and ecx, 3
dec dword [ebp + 0xc]
test ecx, ecx
mov dword [eax + 4], ecx
jne 0x42908b
and dword [ebp + 8], ecx
lea esi, [eax + 8]
movzx ebx, byte [esi]
mov ecx, dword [ebp + 8]
add dword [ebp + 8], 8
shl ebx, cl
xor edi, ebx
inc esi
cmp dword [ebp + 8], 0x20
jl 0x4290b6
jmp 0x42908b
mov ecx, dword [ebp + 0xc]
shr ecx, 2
mov esi, ecx
dec ecx
test esi, esi
je 0x4290fd
inc ecx
movzx esi, byte [edx]
inc edx
xor ebx, ebx
mov bh, byte [edx]
or esi, ebx
inc edx
movzx ebx, byte [edx]
shl ebx, 0x10
or esi, ebx
inc edx
movzx ebx, byte [edx]
shl ebx, 0x18
or esi, ebx
inc edx
xor edi, esi
dec ecx
jne 0x4290db
mov esi, dword [ebp + 0xc]
mov dword [eax], edi
and esi, 3
je 0x42911e
mov ecx, dword [eax + 4]
mov bl, byte [edx]
inc edx
mov byte [ecx + eax + 8], bl
mov ecx, dword [eax + 4]
inc ecx
and ecx, 3
dec esi
mov dword [eax + 4], ecx
jne 0x429107
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42929b
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push esi
xor esi, esi
mov edx, dword [eax + 4]
test edx, edx
jle 0x4292c1
push edi
lea ecx, [edx*8 - 8]
movzx edi, byte [eax + esi + 8]
shl edi, cl
sub ecx, 8
xor dword [eax], edi
inc esi
cmp esi, edx
jl 0x4292af
pop edi
pop esi
ret

Function at 0x42f299
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x46e2b7
call fcn.00461cc8
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x470d18
lea ecx, [esi + 0xc]
mov dword [esi + 4], 0x470ff4
mov dword [esi + 8], edi
push 0xf
mov dword [ebp - 0x10], esi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.0040152b
lea ecx, [esi + 0x18]
push 0xf
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.0040152b
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 4
mov dword [esi + 0x24], 0x470fec
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], 8
mov dword [esi + 0x38], 0x47048c
mov dword [esi], 0x470fb8
mov dword [esi + 4], 0x470fa8
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x435cb6
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x46eb64
call fcn.00461cc8
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 1
mov dword [esi], 0x471154
lea ecx, [esi + 0x34]
mov byte [esi + 0x20], bl
mov byte [esi + 0x30], bl
push 0xf
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.0040589c
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x40], bl
mov byte [esi + 0x41], 3
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret