joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ca80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499a90
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4cf500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0043a780
push eax
lea ecx, [ebp - 0x10]
xor edi, edi
push ecx
mov ebx, str.FunShadow.dll
mov dword [ebp - 4], edi
call fcn.004066b0
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41caeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41cafe
test al, 0x10
je 0x41cb38
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41cb24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
push str.isShadowFunSeed
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x41cb59
call eax
movzx edi, al
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41cb86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
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 0x41cf30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cb68
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4cf500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
mov edi, 1
call fcn.0041a640
mov esi, eax
mov dword [ebp - 4], 0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41cf93
push esi
call fcn.0041bf70
call fcn.0041acb0
call fcn.0041b7c0
mov ecx, esi
call fcn.0041bb00
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cfb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0041cba0
test eax, eax
jne 0x41cfc4
xor edi, edi
call fcn.0041dfc0
test eax, eax
jne 0x41cfde
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
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 0x41d6c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b79e
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x4cf500]
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
lea esi, [ebp - 0x2c8]
xor edi, edi
call fcn.0043a6f0
push eax
lea eax, [ebp - 0x2c4]
push eax
mov ebx, str.installedappinfo.daw
mov dword [ebp - 4], edi
call fcn.004066b0
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d739
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x2c4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41d794
test al, 0x10
jne 0x41d794
xor ebx, ebx
push 0x24c
lea edx, [ebp - 0x2bc]
push ebx
push edx
mov dword [ebp - 0x2c0], ebx
call fcn.00477f60
mov ecx, dword [ebp - 0x2c4]
add esp, 0xc
lea eax, [ebp - 0x2c0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x41d78b
mov edi, dword [ebp - 0x2a0]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41d796
xor ebx, ebx
mov eax, 7
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], dx
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x54], ax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0xbb8
mov dword [ebp - 0x2c], 0xa8c0
mov dword [ebp - 0x28], 0x194
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], bl
push str.http:__neirong.funshion.com_Nail_Config_InstalledAppInfo.daw
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c4]
push edi
lea ebx, [ebp - 0x70]
call fcn.0046e880
lea esi, [ebp - 0x70]
movzx ebx, al
call fcn.0046e660
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d82a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
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.00472ba1
mov esp, ebp
pop ebp
ret
Function at 0x420a40
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499978
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x4cf500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ebx, 0x4af2ac
call fcn.004066b0
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x420aa0
test al, 0x10
jne 0x420aa0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
push 1
push ecx
mov ecx, section..data
mov dword [ebp - 0x18], esp
mov esi, esp
call eax
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4aef50
call fcn.00401c90
mov byte [ebp - 4], 2
mov eax, dword [edi + 4]
push 0
push ecx
lea esi, [edi + 4]
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov ebx, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
sub eax, 0x10
mov dword [ebp - 0x24], esp
mov ebx, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [ebx], eax
mov edx, dword [ebp + 8]
mov byte [ebp - 4], 4
mov eax, dword [edx]
sub eax, 0x10
mov dword [ebp + 0xc], esp
mov ebx, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x14]
push esi
push eax
mov ebx, 0x4aaf74
mov byte [ebp - 4], 5
call fcn.004066b0
add esp, 8
mov ecx, esp
mov dword [ebp + 8], esp
push 0x4da384
push ecx
mov ebx, eax
mov byte [ebp - 4], 6
call fcn.0040b4f0
add esp, 8
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
mov byte [ebp - 4], 7
call edx
test eax, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or esi, 0xffffffff
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420b8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test bl, bl
je 0x420bc6
test esi, esi
jg 0x420bb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test esi, esi
jg 0x420bd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4211c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49d1e6
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4cf500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
xor esi, esi
call fcn.00420eb0
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x10]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42125c
lea ebx, [ebp - 0x10]
mov esi, 1
call fcn.004212a0
mov eax, esi
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], al
jne 0x421244
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_51], eax
mov byte [ebp - 4], al
call fcn.00414190
push 0x4a25c0
call fcn.00472e64
add esp, 4
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 0x4da390
push 0x4da394
mov ecx, sym.Install.exe__t__1__get_instance___singleton_VCFpFunshionIni___serialization_boost__CAAAVCFpFunshionIni__XZ_4V__singleton_wrapp
call fcn.00414460
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421282
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4212a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c348
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4cf500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
xor esi, esi
mov ecx, section..data
mov dword [ebp - 0x18], esi
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
lea edi, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.00421040
test eax, eax
je 0x421402
mov edi, dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x421402
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x20], esp
mov esi, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [ebp - 0x20]
call fcn.0040a180
mov byte [ebp - 4], 1
mov edi, dword [eax]
mov eax, dword [ebx]
sub eax, 0x10
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
call fcn.00401630
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea esi, [ebp - 0x1c]
call fcn.0040a180
add esp, 4
xor ecx, ecx
test edi, edi
setne cl
mov byte [ebp - 4], 2
test ecx, ecx
jne 0x421368
push 0x80004005
call fcn.00401b40
mov eax, dword [eax]
push edi
push eax
call fcn.00473c01
add esp, 8
test eax, eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
setne byte [ebp - 0xd]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42139d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4213c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [ebp - 0xd], 0
je 0x421402
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [ebp - 0x24], esp
mov esi, esp
push eax
call fcn.00401630
lea ecx, [ebp - 0x14]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.0040d770
add esp, 8
test eax, eax
je 0x421402
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x18], 1
call fcn.0040d010
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421428
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x424120
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4cf500]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.00477f60
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push str.C:iResearchDYTDYT.exe
call esi
cmp eax, 0xffffffff
je 0x42417c
test al, 0x10
jne 0x42417c
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472ba1
mov esp, ebp
pop ebp
ret
push edi
push 0x4b0c60
lea ecx, [ebp - 0x214]
call fcn.00401c90
push 0x104
lea edx, [ebp - 0x210]
push 0
push edx
call fcn.00477f60
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x210]
push eax
push 0
call edi
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push 0x105
push edx
call fcn.00473902
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call esi
cmp eax, 0xffffffff
je 0x4241e5
test al, 0x10
je 0x424237
push 0x104
lea ecx, [ebp - 0x210]
push 0
push ecx
call fcn.00477f60
add esp, 0xc
push 0
push 0x17
lea edx, [ebp - 0x210]
push edx
push 0
call edi
mov eax, dword [ebp - 0x214]
push eax
lea ecx, [ebp - 0x210]
push 0x105
push ecx
call fcn.00473902
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call esi
cmp eax, 0xffffffff
je 0x42426e
test al, 0x10
jne 0x42426e
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424259
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472ba1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424290
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00472ba1
mov esp, ebp
pop ebp
ret
Function at 0x4242b0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4cf500]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.00477f60
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push str.C:iResearchYJTYJT.exe
call esi
cmp eax, 0xffffffff
je 0x42430c
test al, 0x10
jne 0x42430c
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472ba1
mov esp, ebp
pop ebp
ret
push edi
push 0x4b0cb8
lea ecx, [ebp - 0x214]
call fcn.00401c90
push 0x104
lea edx, [ebp - 0x210]
push 0
push edx
call fcn.00477f60
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x210]
push eax
push 0
call edi
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push 0x105
push edx
call fcn.00473902
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call esi
cmp eax, 0xffffffff
je 0x424375
test al, 0x10
je 0x4243c7
push 0x104
lea ecx, [ebp - 0x210]
push 0
push ecx
call fcn.00477f60
add esp, 0xc
push 0
push 0x17
lea edx, [ebp - 0x210]
push edx
push 0
call edi
mov eax, dword [ebp - 0x214]
push eax
lea ecx, [ebp - 0x210]
push 0x105
push ecx
call fcn.00473902
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call esi
cmp eax, 0xffffffff
je 0x4243fe
test al, 0x10
jne 0x4243fe
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4243e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472ba1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424420
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00472ba1
mov esp, ebp
pop ebp
ret

Function at 0x426600
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [eax], 0x1571
mov dword [eax + 0x9c0], 1
push ebx
mov ecx, dword [eax + 0x9c0]
mov edx, dword [eax + ecx*4 - 4]
mov ebx, edx
shr ebx, 0x1e
xor ebx, edx
imul ebx, ebx, 0x6c078965
add ebx, ecx
mov dword [eax + ecx*4], ebx
inc dword [eax + 0x9c0]
cmp dword [eax + 0x9c0], 0x270
jb 0x426611
pop ebx
ret
Function at 0x426730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x499708
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4cf500]
xor eax, esp
mov dword [esp + 0x28], eax
push edi
mov eax, dword [0x4cf500]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push 0x4b102c
push str._dev_urandom
mov dword [esp + 0x30], 5
call fcn.00475d28
add esp, 8
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
cmp eax, 5
jl 0x4267ab
lea edi, [esp + 0x14]
call fcn.00430f50
xor eax, eax
mov dword [esp + 0x28], eax
mov ecx, dword [esp + eax*4 + 0x14]
inc eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
push edx
xor eax, eax
push eax
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00428b80
add esp, 0x10
test dword [esi], 0x80000000
mov dword [esi + 0x9c0], 0x270
jne 0x4267f9
mov eax, 1
cmp dword [esi + eax*4], 0
jne 0x4267f9
inc eax
cmp eax, 0x270
jb 0x4267e5
mov dword [esi], 0x80000000
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x42680a
push eax
call fcn.00475bf8
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00472ba1
mov esp, ebp
pop ebp
ret
Function at 0x428220
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
sub edi, ebx
jne 0x42823a
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
push esi
cmp edi, 0xffffffff
jne 0x428251
mov esi, dword [ebp + 8]
call fcn.00429170
pop esi
pop edi
add eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
jbe 0x4282c4
xor ecx, ecx
lea eax, [edi + 1]
xor edx, edx
div ecx
mov esi, dword [ebp + 8]
mov dword [ebp + 0x10], ecx
mov ebx, 1
mov dword [ebp - 4], eax
lea ebx, [ebx]
cmp dword [ebp - 4], ebx
jae 0x4282a0
mov byte [ebp - 8], 0
mov edx, dword [ebp - 8]
push edx
push edi
push 0
push esi
call fcn.00428220
add esp, 0x10
cmp eax, 0xffffffff
ja 0x428270
cmp eax, edi
ja 0x428270
add eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00429170
imul eax, ebx
add dword [ebp + 0x10], eax
mov eax, edi
sub eax, ebx
inc eax
neg ebx
cmp ebx, eax
je 0x4282ba
xor ebx, ebx
jmp 0x4282a0
mov eax, dword [ebp + 0x10]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
xor edx, edx
lea ecx, [edi + 1]
div ecx
mov ebx, eax
cmp edx, edi
jne 0x4282d5
inc ebx
mov esi, dword [ebp + 8]
jmp 0x4282e0
cmp dword [esi + 0x9c0], 0x270
jne 0x4282f3
mov ecx, esi
call fcn.0042a470
mov eax, dword [esi + 0x9c0]
mov ecx, dword [esi + eax*4]
inc eax
mov edx, ecx
shr edx, 0xb
xor ecx, edx
mov dword [esi + 0x9c0], eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov edx, ecx
and edx, 0xffffdf8c
shl edx, 0xf
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
xor edx, edx
div ebx
cmp eax, edi
ja 0x4282e0
add eax, dword [ebp + 0xc]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f5a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49534b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4cf500]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00471fc4
push 4
mov dword [ebp - 4], 0
call fcn.00472e9c
mov edi, eax
add esp, 4
test edi, edi
je 0x42f61c
call fcn.00471e8c
mov dword [edi], eax
call fcn.00471c4b
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00471ad9
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x42f612
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00471b01
jmp 0x42f61e
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 4
Function at 0x430f50
Capabilities:
Hash data using sha1
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4cf500]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x4da6fc]
mov edx, dword [0x4da700]
mov eax, dword [0x4da6f8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x4da708]
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov eax, dword [0x4da704]
lea edx, [ebp - 0xc]
mov dword [ebp - 0x10], ecx
push edx
lea ecx, [ebp - 0x20]
lea esi, [ebp - 0x80]
mov dword [ebp - 0x80], 0x67452301
mov dword [ebp - 0x7c], 0xefcdab89
mov dword [ebp - 0x78], 0x98badcfe
mov dword [ebp - 0x74], 0x10325476
mov dword [ebp - 0x70], 0xc3d2e1f0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x84], 0x4da6f8
mov dword [ebp - 0x14], eax
call fcn.004307e0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x84]
call fcn.004307e0
push 0
call fcn.00474040
add esp, 4
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call fcn.004307e0
call fcn.004735e1
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.004307e0
call fcn.00475fff
mov dword [ebp - 0x18], eax
call fcn.00475fff
mov dword [ebp - 0x14], eax
call fcn.00475fff
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.004307e0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x43105b
push eax
push 0x14
lea ecx, [ebp - 0x20]
push 1
push ecx
call fcn.00475fd0
add esp, 0x10
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x20]
lea esi, [ebp - 0x80]
call fcn.004307e0
push 4
call fcn.00472e9c
lea ecx, [eax + 4]
add esp, 4
push ecx
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.004307e0
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x10]
call fcn.004307e0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00472b96
add esp, 4
lea ecx, [edi + 0x14]
push ecx
mov ecx, edi
call fcn.004307e0
lea edx, [ebp - 0x20]
push edx
call fcn.00430d90
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x20]
xor dword [eax], ecx
xor dword [edi], ecx
mov ecx, dword [ebp - 0x1c]
xor dword [eax + 4], ecx
xor dword [edi + 4], ecx
mov ecx, dword [ebp - 0x18]
xor dword [eax + 8], ecx
xor dword [edi + 8], ecx
mov ecx, dword [ebp - 0x14]
xor dword [eax + 0xc], ecx
xor dword [edi + 0xc], ecx
mov ecx, dword [ebp - 0x10]
xor dword [eax + 0x10], ecx
xor dword [edi + 0x10], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00472ba1
mov esp, ebp
pop ebp
ret