joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40113d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov dword [ebp - 4], 0x534a315
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x4b48034
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
jae 0x401200
mov eax, dword [ebp - 8]
add eax, 1
and eax, 0xff
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
movzx ecx, byte [ecx + edx]
add eax, ecx
and eax, 0xff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
push eax
call fcn.00401000
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
movzx ecx, byte [ecx + edx]
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 0x10]
movzx edx, byte [edx + ebx]
add ecx, edx
and ecx, 0xff
movsx eax, byte [eax + ecx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
movsx ecx, byte [ecx + edx]
xor eax, ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x14]
jmp 0x40116d
mov eax, 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xbfe058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00bfe1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xbfe07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbfe06a
add dl, dl
jne 0xbfe089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbfe0dc
xor eax, eax
add dl, dl
jne 0xbfe096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xbfe17d
add dl, dl
jne 0xbfe0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbfe0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbfe0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbfe0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xbfe0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xbfe075
mov eax, 1
add dl, dl
jne 0xbfe0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xbfe0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbfe0e1
sub eax, ebx
mov ebx, 1
jne 0xbfe128
mov ecx, 1
add dl, dl
jne 0xbfe10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbfe119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbfe105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbfe075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xbfe13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xbfe14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xbfe136
cmp eax, 0x7d00
jae 0xbfe16d
cmp eax, 0x500
jb 0xbfe168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbfe075
cmp eax, 0x7f
ja 0xbfe170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xbfe075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xbfe19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xbfe075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401000
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebp
xor ebp, ebp
push esi
push ebp
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x401024
pop esi
xor eax, eax
pop ebp
add esp, 0x128
ret
push ebx
push edi
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
mov edi, dword [esp + 0x13c]
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
lea ecx, [esp + 0x34]
push edi
push ecx
call ebx
add esp, 8
test eax, eax
je 0x401080
lea edx, [esp + 0x10]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x401084
lea eax, [esp + 0x34]
push edi
push eax
call ebx
add esp, 8
test eax, eax
jne 0x401062
mov ebp, dword [esp + 0x18]
pop edi
pop ebx
mov eax, ebp
pop esi
pop ebp
add esp, 0x128
ret
Function at 0x401f60
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
mov edi, dword [esp + 0x20]
mov dword [esp + 8], 0x10
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push edi
call sub.WS2_32.dll_accept
cmp eax, 0xffffffff
je 0x401f77
lea edx, [esp + 0x20]
push edx
push 0
push eax
push 0x401fb0
push 0
push 0
call esi
jmp 0x401f77

Function at 0x4021f0
Capabilities:
Create thread

Disassembly:
mov ecx, dword [esp + 4]
lea eax, [esp + 4]
push eax
push 0
push ecx
push 0x401da0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x402250
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x4023a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x58
mov eax, dword [esp + 0x5c]
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov edi, eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0xc]
push ecx
call fcn.00402250
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 8
mov esi, eax
lea edx, [esp + 0x68]
push 0
push edx
push 0x400
push esi
push edi
call ebx
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0xc]
push eax
push esi
push ecx
call fcn.00402280
mov eax, dword [esp + 0x74]
add esp, 0xc
cmp eax, 0x400
je 0x4023f1
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 0xc]
push edx
push 0x405208
call fcn.00402330
add esp, 8
mov eax, 0x405208
pop edi
pop esi
pop ebx
add esp, 0x58
ret
Function at 0x405a83
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x405aa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x405aa9
xor al, al
jmp 0x405ac9
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00414490
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 0x40cdf0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41a510
call fcn.00413954
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41b694
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41b748
push 4
mov ebx, 0x41b684
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.004032a8
mov dword [esi + 0x3c], 0x41b7f8
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.004032a8
mov dword [edi], 0x41b800
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0040c3f8
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0040c3f8
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040c3f8
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040c3f8
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0040c3f8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x413220
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.004148be
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x413248
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x413257
mov eax, 1
ret 4

Function at 0x40894e
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
mov ecx, 0x44a4a7f1
call fcn.00408976
mov ebx, ebx
xor dword [esi], eax
mov ebx, ebx
sub ebx, ebx
add esi, 1
or ebx, ecx
add ecx, ecx
cmp esi, edi
jne fcn.0040894e
ret
Function at 0x4014d0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x18
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push eax
push ecx
lea eax, [esp + 8]
push edx
push eax
mov eax, dword [esp + 0x2c]
mov ecx, eax
shl ecx, 6
add ecx, eax
lea edx, [ecx*8 + 0x4047b4]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x401517
mov ecx, dword [esp + 0x20]
fld qword [0x403108]
mov dword [ecx], eax
mov dword [ecx + 4], eax
add esp, 0x18
ret
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
xor eax, eax
push esi
mov esi, dword [esp + 4]
cmp ecx, eax
je 0x40155a
mov dword [esp + 4], esi
mov dword [esp + 8], eax
fild qword [esp + 4]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
fild qword [esp + 4]
push edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
fmulp st(1)
fild qword [esp + 0x10]
pop edi
fmulp st(1)
fstp qword [ecx]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
fild qword [esp + 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
fild qword [esp + 0xc]
mov dword [esp + 0x18], eax
pop esi
fmulp st(1)
fild qword [esp + 0x10]
fmulp st(1)
add esp, 0x18
ret
Function at 0x401950
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x100
mov ecx, eax
shl ecx, 6
add ecx, eax
push str.Test
lea eax, [esp + 4]
lea edx, [ecx*8 + 0x4046b0]
push edx
push 0x404140
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x10]
push 0x404148
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
lea edx, [esp + 0x1c]
push 0
push edx
call dword [sym.imp.MSVCRT.dll__access]
add esp, 0x24
test eax, eax
jne 0x4019f0
lea eax, [esp]
push eax
call dword [sym.imp.MSVCRT.dll__unlink]
add esp, 4
test eax, eax
je 0x4019e4
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4019e4
lea edx, [esp]
push edx
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 4
neg eax
sbb eax, eax
inc eax
add esp, 0x100
ret
mov eax, 1
add esp, 0x100
ret
xor eax, eax
add esp, 0x100
ret

Function at 0x401a50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ax, word [esp + 0x60]
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push 0x80
mov word [esp + 0x58], ax
mov eax, dword [esp + 0x70]
push 0
push 0
push 0
push eax
push 0
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x401ac9
mov ecx, dword [esp]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add esp, 0x54
ret 8
xor eax, eax
add esp, 0x54
ret 8

Function at 0x401e00
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x64
lea eax, [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push 0x404178
push 0x64
push eax
push 0x404188
push 0x40418c
push 0x404190
call esi
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
test eax, eax
je 0x401e43
lea ecx, [esp + 8]
push ecx
call edi
add esp, 4
mov dword [0x411338], eax
jmp 0x401e4d
mov dword [0x411338], 0
push 0x404194
push 0x104
push 0x4044d4
push 0x411354
push str.NASDir
push 0x4041ac
call esi
test eax, eax
ja 0x401e78
mov byte [0x4044d4], 0
push 0x4041b0
push 0x1f4
push 0x4042d8
push 0x411358
push str.NASConfig
push 0x4041cc
call esi
test eax, eax
ja 0x401ea3
mov byte [0x4042d8], 0
push 0x4041d0
lea edx, [esp + 0xc]
push 0x64
push edx
push 0x4041e0
push str.NASLaunch
push 0x4041f0
call esi
test eax, eax
je 0x401ed9
lea eax, [esp + 8]
push eax
call edi
add esp, 4
mov dword [0x404040], eax
pop edi
pop esi
add esp, 0x64
ret
pop edi
mov dword [0x404040], 1
pop esi
add esp, 0x64
ret
Function at 0x402120
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x41132c]
sub esp, 0x34
test eax, eax
mov dword [0x404038], 1
jne 0x40213d
mov eax, 0x40429c
jmp 0x402164
cmp eax, 1
jne 0x402149
mov eax, str.PCCTV
jmp 0x402164
cmp eax, 2
jne 0x402155
mov eax, str.WCCTV
jmp 0x402164
cmp eax, 4
mov eax, str.SCCTV
je 0x402164
mov eax, str.CCTV
push str.panogarp.ini
lea ecx, [esp + 4]
push 0x32
push ecx
push 0x41135c
push 0x404298
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x40219d
lea edx, [esp]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
cmp eax, 1
jg 0x40219d
mov dword [0x404038], eax
add esp, 0x34
ret

Function at 0x4021b0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ax, word [esp + 0x60]
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push 0x80
mov word [esp + 0x58], ax
mov eax, dword [esp + 0x70]
push 0
push 0
push 0
push eax
push 0
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x402211
mov ecx, dword [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x54
ret 8
Function at 0x402df0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x455ca8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x46b340]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46b340]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x88]
mov esi, ecx
xor ebx, ebx
mov edi, edx
mov dword [esp + 0x30], edi
cmp esi, ebx
je 0x4030fc
cmp edi, ebx
je 0x4030fc
push esi
mov dword [edi], ebx
call dword [0x458084]
add eax, eax
cmp eax, 0x64
jge 0x402e58
mov eax, 0x3e8
mov ecx, 2
mov dword [esp + 0x28], eax
sub bh, dh
loope 0x402ded
pop esp
and al, 0x24
cmp edx, ebx
ja 0x402e70
cmp eax, 0xffffffff
jbe 0x402e74
xor eax, eax
jmp 0x402e7b
push eax
call dword [0x45843c]
mov dword [esp + 0x2c], eax
invalid
Function at 0x410b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x22f61520
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
mov dword [esi], 0x22f67bf8
mov dword [esi + 4], 0x22f67b1c
mov dword [esi + 8], 0x22f67b00
mov dword [esi + 0xc], 0x22f67c10
mov dword [esi + 0x70], 0x22f67aec
mov dword [esi + 0x74], 0x22f67ae4
mov dword [esi + 0xa8], 0x22f67ad8
mov dword [esi + 0xac], 0x22f67ac0
mov dword [esi + 0xb0], 0x22f67aa8
mov ecx, dword [0x22f7b864]
dec ecx
lea ebp, [esi + 0xb4]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 0x30], 8
mov dword [0x22f7b864], ecx
je 0x410b9b
lea edi, [ebp + 4]
push edi
call dword [0x22f660a0]
push edi
call dword [0x22f660a4]
lea eax, [esi + 0x140]
push eax
mov dword [esi + 0x13c], 0x22f671ac
call dword [0x22f660ac]
mov eax, dword [esi + 0x130]
cmp eax, ebx
je 0x410bc5
push eax
call fcn.0041b8fa
add esp, 4
mov dword [esi + 0x130], ebx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x138], ebx
mov eax, dword [esi + 0x124]
mov ecx, dword [eax]
lea edi, [esi + 0x120]
push eax
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.0040da30
mov eax, dword [edi + 4]
push eax
call fcn.0041b8fa
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x118]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x114]
push eax
push ecx
lea edx, [esp + 0x2c]
push edx
mov ecx, edi
mov byte [esp + 0x3c], 7
call fcn.0040d580
mov eax, dword [edi + 4]
push eax
call fcn.0041b8fa
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x10c]
mov ecx, dword [eax]
add esp, 4
lea edi, [esi + 0x108]
push eax
push ecx
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
mov byte [esp + 0x3c], 6
call fcn.0040e050
mov eax, dword [edi + 4]
push eax
call fcn.0041b8fa
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x104]
add esp, 4
cmp eax, ebx
mov byte [esp + 0x30], 5
je 0x410c80
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0xa8]
mov dword [esi + 0xd4], 0x22f671b4
mov byte [esp + 0x30], 3
call fcn.0042b800
lea ecx, [esi + 0x70]
mov byte [esp + 0x30], 2
call fcn.0042f320
lea ecx, [esi + 0xc]
mov byte [esp + 0x30], 1
call fcn.004107d0
add ebp, 4
push ebp
call dword [0x22f660ac]
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.0042f500
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4132a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x22f617a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
mov dword [esp + 0x18], esi
mov dword [esi], 0x22f67d1c
mov dword [esi + 4], 0x22f67d08
mov dword [edi], 0x22f67cfc
mov dword [esi + 0xc], 0x22f67cf4
dec dword [0x22f7b878]
mov eax, dword [esi + 0x30]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x24], 5
je 0x4132fb
push esi
call fcn.00413150
mov ecx, dword [esi + 0x50]
cmp ecx, ebx
je 0x41330b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x50], ebx
dec dword [0x22f7b870]
mov eax, dword [esi + 0x58]
cmp eax, ebx
mov byte [esp + 0x24], 4
je 0x413323
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x413333
push eax
call fcn.0041b8fa
add esp, 4
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov eax, dword [esi + 0x30]
cmp eax, ebx
mov byte [esp + 0x24], 2
je 0x41334e
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, edi
mov dword [esi + 0xc], 0x22f66d18
mov byte [esp + 0x24], bl
call fcn.0042edf0
add esi, 0x18
push esi
call dword [0x22f660ac]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x413893
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x22f618a5
call fcn.004410a4
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0xc]
mov dword [ebp - 0x10], esi
call fcn.004027e0
and dword [ebp - 4], 0
lea edi, [esi + 4]
mov ecx, edi
call fcn.00406f90
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov dword [esi], 0x22f67da4
mov dword [edi], 0x22f67d9c
call dword [0x22f66284]
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 2
call dword [0x22f66280]
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 3
call dword [0x22f66280]
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 4
call dword [0x22f66284]
inc dword [0x22f7b87c]
and dword [esi + 0x28], 0
and dword [esi + 0x2c], 0
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x22f619de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x22f67e1c
mov dword [esi + 4], 0x22f67e08
mov dword [esi + 8], 0x22f67e00
dec dword [0x22f7b880]
mov ecx, dword [esi + 0x30]
test ecx, ecx
mov dword [esp + 0x18], 1
je 0x413ea5
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0x22f66d18
add esi, 0x14
push esi
call dword [0x22f660ac]
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4181e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x22f6203e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x22f68b30
mov dword [esi + 4], 0x22f68b1c
mov dword [esi + 8], 0x22f68b14
dec dword [0x22f7b894]
mov ecx, dword [esi + 0x30]
test ecx, ecx
mov dword [esp + 0x18], 1
je 0x418235
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0x22f66d18
add esi, 0x14
push esi
call dword [0x22f660ac]
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x41a6e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x22f624a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov esi, ecx
push 0x22f68ec4
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], esi
call dword [0x22f66244]
lea eax, [esp + 0xc]
lea edi, [esi + 4]
push eax
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.0041b620
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call dword [0x22f66238]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x28]
mov dword [edi], 0x22f68e14
mov dword [esi], 0x22f68e1c
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4