joyce8/EMBER2024-capa huggingface dataset:
Function at 0x62a3b5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6343a0
cmp edx, dword [eax]
je 0x62a3d7
add eax, 8
inc ecx
cmp eax, 0x634430
jl 0x62a3c8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6343a0]
jne 0x62a505
mov eax, dword [0x638d7c]
cmp eax, 1
je 0x62a4df
test eax, eax
jne 0x62a408
cmp dword [0x6342cc], 1
je 0x62a4df
cmp edx, 0xfc
je 0x62a505
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62a43f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062ada0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062b230
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62a482
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062b230
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62fd1c
push edi
call fcn.0062d100
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062ada0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062adb0
lea eax, [ebp - 0xa0]
push 0x62fcfc
push eax
call fcn.0062adb0
push dword [esi + 0x6343a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062adb0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062d074
add esp, 0x2c
pop edi
jmp 0x62a505
lea eax, [ebp + 8]
lea esi, [esi + 0x6343a4]
push 0
push eax
push dword [esi]
call fcn.0062b230
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1668be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x16b8804
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x17ec9dc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor edx, edx
mov dword [esp + 8], edx
mov esi, dword [ecx + 0x2c]
mov eax, dword [esp + 0x1c]
mov dword [eax], esi
mov ecx, dword [ecx + 0x30]
mov dword [eax + 4], ecx
cmp ecx, edx
je 0x1668c27
add ecx, 4
mov esi, 1
lock xadd dword [ecx], esi
mov dword [esp + 0x14], edx
mov dword [esp + 8], 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x1670b40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x16b9f68
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x17ec9dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0x34
call fcn.015d7087
add esp, 4
mov esi, eax
mov dword [ebp - 0x14], esi
xor ebx, ebx
cmp esi, ebx
je 0x1670be4
mov eax, dword [edi + 4]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 4]
mov dword [esi + 8], edx
mov word [esi + 0x30], bx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [esi + 0xc]
push ecx
add edi, 0xd
push edi
call fcn.01670ab0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp + 8], ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.015d6e7a
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 0x16d1814
mov dword [ebp - 4], 0xffffffff
push 0x17b4944
lea ecx, [ebp - 0x20]
push ecx
call fcn.015d7121
int3

Function at 0x1677a90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x1677a9e
xor eax, eax
pop ebp
ret
push esi
not eax
cmp edx, 8
jb 0x1677b6d
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x17554d8]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x17554d8]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x17554d8]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x17554d8]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x17554d8]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x17554d8]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x17554d8]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x17554d8]
add ecx, 8
sub edx, 8
dec esi
jne 0x1677ab0
pop edi
test edx, edx
je 0x1677b8a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x17554d8]
inc ecx
dec edx
jne 0x1677b71
not eax
pop esi
pop ebp
ret
Function at 0x1678280
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x167836b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x16782b7
cmp dword [esi + 0x40], edi
jae 0x16782b7
push eax
call fcn.015d6702
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x16782cf
lea eax, [edi + edi]
push eax
call fcn.015d7087
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.015d6710
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x1678368
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x17554d8]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x17554d8]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x16782e7
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x16783aa
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x167838f
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.015d6710
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x16783cc
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call dword [0x16ce4b0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x1757288]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x1757288]
mov dword [edx + 8], ecx
ret
Function at 0x1678b70
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x1678b7e
xor eax, eax
pop ebp
ret
push esi
not eax
cmp edx, 8
jb 0x1678c4d
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1757288]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1757288]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1757288]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1757288]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1757288]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1757288]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1757288]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x1757288]
add ecx, 8
sub edx, 8
dec esi
jne 0x1678b90
pop edi
test edx, edx
je 0x1678c6a
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x1757288]
inc ecx
dec edx
jne 0x1678c51
not eax
pop esi
pop ebp
ret
Function at 0x1679880
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x1757288]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x1757288]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret

Function at 0x1813078
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10124584]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x101266c8], 0
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x20], ebx
je 0x18130af
cmp byte [0x101379ab], 0
je 0x18130af
mov esi, edx
call fcn.01812ef8
mov edi, eax
test edi, edi
jne 0x18130d8
call fcn.018bf58b
add eax, 0x40
push eax
mov eax, dword [ebp + 8]
push 1
push eax
push ebx
call fcn.018bf897
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.018bb05e
mov esp, ebp
pop ebp
ret
push 0xfffffffffffffff4
call dword [0x100f514c]
lea ecx, [ebp - 0x1c]
mov esi, eax
push ecx
push esi
call dword [0x100f5150]
movzx ebx, word [ebp - 0x14]
call fcn.018bf58b
add eax, 0x40
push eax
call fcn.018c007e
mov eax, edi
add esp, 4
dec eax
je 0x181311f
dec eax
je 0x1813118
dec eax
je 0x1813111
xor eax, eax
jmp 0x1813124
mov eax, 6
jmp 0x1813124
mov eax, 2
jmp 0x1813124
mov eax, 4
mov edi, dword [0x100f5140]
or eax, 8
push eax
push esi
call edi
call fcn.018bf58b
mov edx, dword [ebp + 8]
add eax, 0x40
push eax
mov eax, dword [ebp - 0x20]
push 1
push edx
push eax
call fcn.018bf897
call fcn.018bf58b
add eax, 0x40
push eax
call fcn.018c007e
add esp, 0x14
push ebx
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.018bb05e
mov esp, ebp
pop ebp
ret
Function at 0x18154c8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f1e5c
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x10124584]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push esi
mov eax, dword [0x10124584]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
mov dword [esp + 0x10], 0
test edi, edi
je 0x18156d5
cmp byte [edi], 0
je 0x18156d5
push edi
push ebx
push esi
push 0x10108244
call fcn.018bf58b
add eax, 0x40
push eax
call fcn.018c3c40
add esp, 0x14
push 0x10108274
lea eax, [esp + 0x6c]
push 0x10137c54
push eax
call fcn.0181a5c8
add esp, 0xc
push esi
push eax
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x10c], 1
call fcn.0181a068
add esp, 0xc
push 0x10108270
push eax
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x10c], 2
call fcn.0181a068
add esp, 0xc
push edi
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x10c], 3
call fcn.0181a068
add esp, 0xc
mov esi, 0x10
cmp dword [esp + 0x44], esi
jb 0x18155b8
mov ecx, dword [esp + 0x30]
push ecx
call fcn.018bae49
add esp, 4
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
cmp dword [esp + 0x60], esi
jb 0x18155e0
mov edx, dword [esp + 0x4c]
push edx
call fcn.018bae49
add esp, 4
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
cmp dword [esp + 0x7c], esi
jb 0x1815608
mov eax, dword [esp + 0x68]
push eax
call fcn.018bae49
add esp, 4
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], esi
jae 0x1815616
lea eax, [esp + 0x14]
push 0x101066ac
push eax
call fcn.018c2ec1
mov esi, eax
add esp, 8
test esi, esi
je 0x18156aa
test ebx, ebx
je 0x181564e
mov eax, ebx
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1815638
push esi
sub eax, edx
push eax
push 1
push ebx
call fcn.018bf897
add esp, 0x10
push esi
call fcn.018c3389
add esp, 4
cmp eax, 0xffffffff
setne bl
test bl, bl
jne 0x1815692
call fcn.018bec51
mov ecx, dword [eax]
push ecx
lea esi, [esp + 0x88]
call fcn.01815a78
add esp, 4
mov edx, esi
push edx
push edi
push 0x1010827c
call fcn.018bf58b
add eax, 0x40
push eax
call fcn.018c3c40
add esp, 0x10
cmp dword [esp + 0x28], 0x10
jb 0x18156a6
mov eax, dword [esp + 0x14]
push eax
call fcn.018bae49
add esp, 4
mov al, bl
jmp 0x18156d7
push edi
push 0x101082a0
call fcn.018bf58b
add eax, 0x40
push eax
call fcn.018c3c40
add esp, 0xc
cmp dword [esp + 0x28], 0x10
jb 0x18156d5
mov ecx, dword [esp + 0x14]
push ecx
call fcn.018bae49
add esp, 4
xor al, al
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.018bb05e
mov esp, ebp
pop ebp
ret
Function at 0x18164a8
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f14db
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10124584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], 0x100fd71c
call fcn.018a98ad
push 4
mov dword [ebp - 4], 0
call fcn.018bd0d4
mov edi, eax
add esp, 4
test edi, edi
je 0x1816528
call fcn.018a9b9a
mov dword [edi], eax
call fcn.018a9a15
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.018a994a
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x181651e
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.018a9972
jmp 0x181652a
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x183a948
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e753b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x10124584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + 0x14], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0183a9f8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0183aa38
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x183aac8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e753b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x10124584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0183aa38
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0183aa88
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x183c1f8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e753b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x10124584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0183a9f8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.0183aa38
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1850ba8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e8bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10124584]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x44], 0
je 0x1850bed
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x49]
test ecx, ecx
jne 0x1850bf9
mov al, 1
jmp 0x1850dc0
mov dword [ebp - 0x18], 8
call fcn.01816668
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x98], eax
call fcn.01816668
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x94]
push edx
call fcn.01812118
add esp, 8
movzx eax, al
test eax, eax
je 0x1850c48
xor al, al
jmp 0x1850dc0
push 0
push 8
lea ecx, [ebp - 0x38]
call fcn.018500c8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x38]
call fcn.01850148
mov ecx, eax
call fcn.01851328
mov esi, eax
lea ecx, [ebp - 0x38]
call fcn.01815f78
add esi, eax
push esi
lea edx, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x38]
call fcn.01850148
mov ecx, eax
call fcn.01851328
push eax
mov eax, dword [ebp - 0x14]
add eax, 0x4c
push eax
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x44]
call fcn.01851d68
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x1850cd5
cmp dword [ebp - 0x9c], 1
je 0x1850cdc
cmp dword [ebp - 0x9c], 3
je 0x1850d7c
jmp 0x1850d94
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x49], 0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x38]
call fcn.01850148
mov ecx, eax
call fcn.01851328
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x3c], ecx
je 0x1850d45
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push 1
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x38]
call fcn.01850148
mov ecx, eax
call fcn.01851328
push eax
call fcn.018bf897
add esp, 0x10
cmp dword [ebp - 0x3c], eax
je 0x1850d45
mov byte [ebp - 0x80], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.01815ca8
mov al, byte [ebp - 0x80]
jmp 0x1850dc0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x49]
test ecx, ecx
jne 0x1850d68
mov byte [ebp - 0x7f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.01815ca8
mov al, byte [ebp - 0x7f]
jmp 0x1850dc0
cmp dword [ebp - 0x3c], 0
jne 0x1850d7a
push 0
push 8
lea ecx, [ebp - 0x38]
call fcn.01819928
jmp 0x1850dac
mov byte [ebp - 0x7e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.01815ca8
mov al, byte [ebp - 0x7e]
jmp 0x1850dc0
mov byte [ebp - 0x7d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.01815ca8
mov al, byte [ebp - 0x7d]
jmp 0x1850dc0
jmp 0x1850c5b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.018bb05e
mov esp, ebp
pop ebp
ret
Function at 0x1854cb8
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
movzx eax, byte [0x10126e40]
test eax, eax
je 0x1854cd1
jmp 0x1854d7d
mov dword [ebp - 4], 0x80000000
mov byte [ebp - 5], 0x80
mov byte [ebp - 6], 0
mov dword [ebp - 0xc], 0
mov byte [ebp - 0xd], 0x80
jmp 0x1854cf5
mov al, byte [ebp - 0xd]
shr al, 1
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1854d3d
movzx eax, byte [ebp - 6]
movzx ecx, byte [ebp - 0xd]
and eax, ecx
je 0x1854d14
mov eax, dword [ebp - 0xc]
xor eax, 0x80000000
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
and eax, 0x80000000
je 0x1854d33
mov eax, dword [ebp - 0xc]
shl eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
xor eax, 0x4c11db7
mov dword [ebp - 0xc], eax
jmp 0x1854d3b
mov eax, dword [ebp - 0xc]
shl eax, 1
mov dword [ebp - 0xc], eax
jmp 0x1854ced
mov eax, dword [ebp - 0xc]
push eax
call fcn.01854658
add esp, 4
mov esi, eax
movzx ecx, byte [ebp - 6]
push ecx
call fcn.018552d8
add esp, 4
movzx edx, al
mov dword [edx*4 + 0x10126a40], esi
mov al, byte [ebp - 6]
add al, 1
mov byte [ebp - 6], al
movzx ecx, byte [ebp - 6]
test ecx, ecx
jne 0x1854ce0
mov byte [0x10126e40], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x186f598
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.0186f648
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x9c0], 1
jmp 0x186f5dd
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x9c0]
add ecx, 1
mov edx, dword [ebp - 4]
mov dword [edx + 0x9c0], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x9c0], 0x270
jae 0x186f632
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x9c0]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x9c0]
mov edx, dword [ebp - 4]
mov eax, dword [edx + eax*4 - 4]
shr eax, 0x1e
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 - 4]
imul eax, eax, 0x6c078965
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x9c0]
and eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x9c0]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4], eax
jmp 0x186f5c8
mov ecx, dword [ebp - 4]
call fcn.0186f668
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4