joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b1ee0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4b1eee
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
cmp esi, 8
not eax
jb 0x4b1fef
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4c2074]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4c2074]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4c2074]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4c2074]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4c2074]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4c2074]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4c2074]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4c2074]
xor eax, edx
inc ecx
dec edi
jne 0x4b1f07
pop edi
test esi, esi
je 0x4b2011
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4c2074]
xor eax, edx
inc ecx
dec esi
jne 0x4b1ff3
pop esi
pop ebx
not eax
pop ebp
ret

Function at 0x4b2020
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov edx, dword [ecx]
and esi, 0xff
mov eax, edx
and eax, 0xff
xor eax, esi
shr edx, 8
mov eax, dword [eax*4 + 0x4c2074]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [ecx], eax
and eax, 0xff
add eax, edx
mov edx, dword [ecx + 8]
imul eax, eax, 0x8088405
inc eax
mov esi, edx
mov dword [ecx + 4], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
pop esi
shr edx, 8
mov eax, dword [eax*4 + 0x4c2074]
xor eax, edx
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x4b2a30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
mov cl, byte [ebx]
mov eax, esi
imul eax, dword [ebp + 0x10]
test cl, cl
je 0x4b2a6f
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4b2a64
mov byte [ebx + 8], 1
mov eax, dword [ebp + 8]
xor edx, edx
div esi
pop esi
pop ebx
pop ebp
ret
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x4b2a80
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
push edi
mov edi, dword [ebp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1c]
pop edi
add ecx, eax
pop esi
div dword [ebp + 0xc]
mov dword [ebx + 0x1c], ecx
pop ebx
pop ebp
ret

Function at 0x4b3ad0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
cmp dword [esi], 0
jne 0x4b3bba
cmp dword [esi + 4], 0xffffffff
jne 0x4b3bba
lea ebx, [esi + 0x140]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov cl, byte [ecx + esi + 0x13f]
cmp cl, 0x5c
je 0x4b3b4b
cmp cl, 0x2f
je 0x4b3b4b
mov edi, 0x4c2724
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
cmp ebx, 1
jne 0x4b3b76
push 1
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4b3b76
pop edi
pop esi
mov eax, 0x2000000
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push ebx
push ecx
push edi
call fcn.004b27f0
add esp, 0x10
test eax, eax
jne 0x4b3b98
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push eax
call fcn.004b2d00
add esp, 4
mov dword [esi], eax
neg eax
sbb eax, eax
pop edi
and eax, 0xfffffe00
pop esi
add eax, 0x200
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b4170
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4b4197
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4b4197
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebx, dword [ebp + 0xc]
mov cl, byte [ebx]
test cl, cl
je 0x4b4276
mov eax, ebx
mov edx, ebx
cmp cl, 0x2f
je 0x4b41b2
cmp cl, 0x5c
jne 0x4b41b4
mov eax, edx
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x4b41a8
cmp eax, ebx
push esi
je 0x4b41f9
sub eax, ebx
mov esi, ebx
mov ecx, eax
lea edi, [ebp - 0x208]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov byte [ebp + eax - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push ecx
call fcn.004b4170
mov edi, dword [ebp + 8]
add esp, 8
test edi, edi
mov byte [ebp - 0x104], 0
je 0x4b4227
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x104]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [ebp - 0x104]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
pop esi
jne 0x4b4276
lea ecx, [ebp - 0x104]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x17da7247
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..text_1
mov ebx, 0x42f314
nop
mov ecx, 0x2fbc67ae
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1003bda0
Capabilities:
Terminate process

Disassembly:
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [eax]
push edx
push eax
push str._s:_Error:_missing_argument_to__s_n
call dword [sym.imp.MSVCR90.dll___iob_func]
add eax, 0x40
push eax
call dword [sym.imp.MSVCR90.dll_fprintf]
add esp, 0x10
push 1
call dword [sym.imp.MSVCR90.dll_exit]
int3

Function at 0x100430e0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x1004310d
push esi
push edi
jmp 0x100430f0
movzx esi, byte [edx]
movzx esi, byte [esi + 0x100f9858]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x100430f0
pop edi
pop esi
ret

Function at 0x10043170
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x1004318d
mov esi, 0x80
cmp esi, dword [edi]
jne 0x1004319a
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [0x10123790]
test eax, eax
je 0x100431a5
call eax
lea ecx, [esi*8]
push ecx
call fcn.1003fa50
mov ebp, eax
mov eax, dword [0x10123794]
add esp, 4
mov dword [esp + 0x10], ebp
test eax, eax
je 0x100431c6
call eax
test ebp, ebp
je 0x10043191
mov edx, dword [edi + 0xc]
push edx
call fcn.1003fd70
add esp, 4
push ebp
mov dword [edi + 0xc], ebp
call dword [0x1012020c]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push ebp
mov dword [esp + 0x28], ebx
mov dword [edi], ebx
call sub.MSVCR90.dll_memset
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x100432af
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x10043243
nop
movzx ebx, byte [esi]
movzx ebx, byte [ebx + 0x100f9858]
lea ebp, [eax*8]
xor ebx, ebp
dec edx
xor eax, ebx
inc esi
test edx, edx
jg 0x10043220
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
xor edx, edx
div ebx
lea eax, [ebp + edx*8]
test eax, eax
je 0x1004328a
mov esi, dword [eax]
test esi, esi
je 0x10043260
mov edx, dword [eax + 4]
jmp 0x10043262
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x1004328a
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x10043282
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x100432a3
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x100432a3
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x10043299
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x10043213
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret

Function at 0x10057b20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x10057b5a
lea eax, [ebp - 0x714]
push eax
call fcn.10055ad4
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.10055a89
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x10057b65
jmp 0x10057b6a
jmp 0x10057466
Function at 0x100e7da2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1012007c]
jne 0x100e7dac
repz ret
jmp fcn.100e8698
Function at 0x4b33c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x79000]
push edi
jmp 0x4b33da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b33e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b33d0
mov eax, 1
add ebx, ebx
jne 0x4b33f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b3404
jne 0x4b3423
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3423
dec eax
add ebx, ebx
jne 0x4b3410
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b33e8
add ebx, ebx
jne 0x4b341f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b3475
xor ecx, ecx
sub eax, 3
jb 0x4b343b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b34aa
sar eax, 1
mov ebp, eax
jmp 0x4b3446
add ebx, ebx
jne 0x4b3446
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3414
inc ecx
add ebx, ebx
jne 0x4b3454
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b3414
add ebx, ebx
jne 0x4b3461
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b3456
jne 0x4b3472
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b3456
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b3494
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b3486
jmp 0x4b33d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b3494
add edi, ecx
jmp 0x4b33d6
pop esi
mov edi, esi
mov ecx, 0x2287
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b34b2
cmp byte [edi], 0x15
jne 0x4b34b2
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 0x4b34b7
lea edi, [esi + 0xad000]
mov eax, dword [edi]
or eax, eax
je 0x4b3526
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb334c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb33b0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b34e4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb33b4]
or eax, eax
je 0x4b3520
mov dword [ebx], eax
add ebx, 4
jmp 0x4b3501
call dword [esi + 0xb33c4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4b3557
cmp al, 0xef
ja 0x4b354a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4b352c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4b3539
mov ebp, dword [esi + 0xb33b8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4b358b
sub esp, 0xffffff80
jmp 0x41ffc2
Function at 0x41066f
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1039ec28
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x105623f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0
push 0xf006
push 0
push 0
lea ecx, [esi + 8]
mov dword [esi], 0x1046b314
mov byte [esi + 4], 1
mov byte [esi + 5], 1
call fcn.004c2a7f
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], 0
mov dword [esi], 0x1046b704
call fcn.0057fe9f
mov dword [esi + 0x28], 0x403
mov dword [esi + 0x2c], 2
mov dword [esi + 0x30], 3
mov dword [esi + 0x34], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x41072f
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10393f18
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x105623f8]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0
push 0xf006
push 0
push 0
lea ecx, [esi + 8]
mov dword [esi], 0x1046b338
mov byte [esi + 4], 1
mov byte [esi + 5], 1
call fcn.004c2a7f
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], 0
mov dword [esi], 0x1046b728
call fcn.0057fe9f
mov dword [esi + 0x28], 0x403
mov dword [esi + 0x2c], 2
mov dword [esi + 0x30], 3
mov dword [esi + 0x34], 1
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x41febf
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
mov ebx, dword [esp + 0xc]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
push edi
lea ecx, [eax + eax + 9]
push ecx
push 0x1d
mov ecx, ebx
call fcn.004ac95f
push 1
push esi
mov ecx, ebx
mov edi, eax
call fcn.004aafaf
movzx edx, word [esi + 2]
push edx
mov ecx, ebx
add edi, eax
call fcn.004aad6f
add edi, eax
movzx eax, word [esi + 4]
push eax
mov ecx, ebx
call fcn.004aad6f
movzx ecx, word [esi + 6]
push ecx
mov ecx, ebx
add edi, eax
call fcn.004aad6f
movzx edx, word [esi + 8]
push edx
mov ecx, ebx
add edi, eax
call fcn.004aad6f
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
add edi, eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41ffc2
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
mov eax, 0x2aaaaaab
imul ecx
mov ecx, edx
push ebp
shr ecx, 0x1f
xor ebp, ebp
add ecx, edx
je 0x41ffb9
mov dword [esp + 0x14], ebp
jmp 0x41ff6f
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x41ff8c
call fcn.00776e71
mov ecx, dword [esi + 0x18]
add ecx, dword [esp + 0x14]
push ebx
call fcn.004c5c4f
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
add dword [esp + 0x14], 6
add edi, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, edx
shr ecx, 0x1f
inc ebp
add ecx, edx
cmp ebp, ecx
jb 0x41ff6f
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
Function at 0x41fec0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
mov ebx, dword [esp + 0xc]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
push edi
lea ecx, [eax + eax + 9]
push ecx
push 0x1d
mov ecx, ebx
call fcn.004ac95f
push 1
push esi
mov ecx, ebx
mov edi, eax
call fcn.004aafaf
movzx edx, word [esi + 2]
push edx
mov ecx, ebx
add edi, eax
call fcn.004aad6f
add edi, eax
movzx eax, word [esi + 4]
push eax
mov ecx, ebx
call fcn.004aad6f
movzx ecx, word [esi + 6]
push ecx
mov ecx, ebx
add edi, eax
call fcn.004aad6f
movzx edx, word [esi + 8]
push edx
mov ecx, ebx
add edi, eax
call fcn.004aad6f
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
add edi, eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41ffc2
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
mov eax, 0x2aaaaaab
imul ecx
mov ecx, edx
push ebp
shr ecx, 0x1f
xor ebp, ebp
add ecx, edx
je 0x41ffb9
mov dword [esp + 0x14], ebp
jmp 0x41ff6f
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x41ff8c
call fcn.00776e71
mov ecx, dword [esi + 0x18]
add ecx, dword [esp + 0x14]
push ebx
call fcn.004c5c4f
mov ecx, dword [esi + 0x1c]
sub ecx, dword [esi + 0x18]
add dword [esp + 0x14], 6
add edi, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, edx
shr ecx, 0x1f
inc ebp
add ecx, edx
cmp ebp, ecx
jb 0x41ff6f
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret 4
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x42236f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1039513b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x105623f8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov ax, word [edi + 0xc]
mov word [esi + 0xc], ax
movzx ecx, word [edi + 0xe]
mov word [esi + 0xe], cx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x10], edx
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x18], ecx
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x1c], edx
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
movzx ecx, word [edi + 0x24]
mov word [esi + 0x24], cx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
lea edx, [edi + 0x40]
mov dword [esi + 0x3c], ecx
push edx
lea ecx, [esi + 0x40]
call fcn.00405a8f
add edi, 0x58
push edi
lea ecx, [esi + 0x58]
mov dword [esp + 0x1c], 0
call fcn.004220ff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x423bcf
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10395228
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x105623f8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0xc]
call fcn.004112ef
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x10]
mov dword [esp + 0x3c], 0
call fcn.005d1dff
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00422c0f
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040f90f
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret 4

Function at 0x423c4f
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10395258
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x105623f8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0xc]
call fcn.004113ef
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x10]
mov dword [esp + 0x3c], 0
call fcn.005d1dff
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00422c0f
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
call fcn.0040fa4f
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret 4
Function at 0x429dbf
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10395a1b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x105623f8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
push edi
push ebx
lea ecx, [esi + 8]
call fcn.0040e45f
push edi
push ebx
lea ecx, [esi + 0x1c]
call fcn.0040e45f
lea ecx, [esi + 0x30]
call fcn.0040eb1f
lea ecx, [esi + 0x32]
call fcn.0040eb1f
lea ecx, [esi + 0x38]
call fcn.0041c6bf
lea ecx, [esi + 0x40]
call fcn.0041c6bf
lea ecx, [esi + 0x48]
call fcn.0041c77f
lea ecx, [esi + 0x50]
call fcn.0041c77f
lea ecx, [esi + 0x5c]
call fcn.0057fe9f
xor ebx, ebx
lea ecx, [esi + 0x78]
mov dword [esp + 0x1c], ebx
call fcn.004207af
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi + 4], bl
mov dword [esi + 0xa0], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8
Function at 0x432b4f
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10395e93
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105623f8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
push ebx
push 0xf007
push ebx
lea edi, [esi + 8]
push 2
mov ecx, edi
mov dword [esi], 0x1046b314
mov byte [esi + 4], 1
mov byte [esi + 5], 1
call fcn.004c2a7f
mov dword [esi], 0x1046ba68
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x4c], 7
mov dword [esi + 0x48], ebx
mov dword [esp + 0x20], ebx
mov word [esi + 0x38], ax
push 6
mov ecx, edi
mov byte [esp + 0x24], 1
call fcn.004c2a4f
push 0x24
mov ecx, edi
call fcn.004c1bff
mov eax, dword [esp + 0x28]
mov dword [esi + 0x10], ebx
mov byte [esi + 0x24], 6
mov byte [esi + 0x25], 6
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x31], bl
mov byte [esi + 0x30], bl
mov byte [esi + 0x32], bl
mov byte [esi + 0x33], bl
mov byte [esi + 4], bl
mov ecx, 0xff
mov word [esi + 0x26], cx
mov edx, dword [eax]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x1c], edx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x10], ecx
mov ecx, edi
mov dword [esi + 0x20], eax
call fcn.004c2b5f
mov edx, dword [esi]
mov ebp, eax
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov ecx, dword [esi + 0x10]
sub ecx, ebp
add eax, ecx
push eax
mov ecx, edi
call fcn.004c1bff
mov byte [esi + 5], bl
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8