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

Disassembly:
sub esp, 0x210
push ebx
mov ebx, dword [esp + 0x21c]
push ebp
mov ebp, ecx
push ebx
mov dword [esp + 0x10], ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x425c40
mov eax, dword [esp + 0x224]
push ebx
push eax
mov ecx, ebp
call fcn.00426160
pop ebp
mov eax, 1
pop ebx
add esp, 0x210
ret 0xc
mov edx, dword [esp + 0x21c]
push esi
test edx, edx
push edi
mov dword [esp + 0x10], 0
je 0x425cf9
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x18]
mov esi, 0x104
stosb byte es:[edi], al
lea eax, [esp + 0x18]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x425c8c
mov byte [eax], cl
inc eax
dec esi
jne 0x425c7d
jmp 0x425c90
test esi, esi
jne 0x425c91
dec eax
push 0x5c
lea edx, [esp + 0x1c]
push 0
push edx
mov byte [eax], 0
call dword [sym.imp.SHLWAPI.dll_StrRChrA]
test eax, eax
je 0x425cab
mov byte [eax + 1], 0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jbe 0x425cf9
cmp byte [ebx + 1], 0x3a
je 0x425cf9
lea eax, [esp + 0x18]
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
je 0x425cf9
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x425cf9
mov edx, dword [esp + 0x22c]
lea ecx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
call fcn.00426160
mov dword [esp + 0x10], 1
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x44ae48]
xor ebx, ebx
test eax, eax
jle 0x425da6
mov ebp, dword [sym.imp.KERNEL32.dll_SearchPathA]
mov esi, 0x44ae30
mov edx, dword [esp + 0x228]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x11c]
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
push eax
lea eax, [esp + 0x120]
push eax
push 0x104
push ecx
push edx
push 0
call ebp
test eax, eax
je 0x425d99
cmp eax, 0x104
jae 0x425d99
lea eax, [esp + 0x11c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x425d99
mov edx, dword [esp + 0x22c]
lea ecx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
call fcn.00426160
mov dword [esp + 0x10], 1
mov eax, dword [0x44ae48]
inc ebx
add esi, 4
cmp ebx, eax
jl 0x425d2e
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 0xc
Function at 0x4269e0
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4269f9
mov eax, 1
pop esi
ret 8
push esi
call fcn.00402ac0
add esp, 4
test eax, eax
jne 0x426a0f
mov eax, 1
pop esi
ret 8
mov eax, dword [esp + 0xc]
push eax
push esi
call fcn.00426810
add esp, 8
xor ecx, ecx
test eax, eax
setl cl
mov eax, ecx
pop esi
ret 8

Function at 0x426a30
Capabilities:
Delete file
Extract resource via kernel32 functions
Set file attributes
Write file on windows

Disassembly:
sub esp, 0x210
mov eax, dword [esp + 0x218]
mov dword [esp], ecx
mov ecx, dword [esp + 0x214]
push ebx
push ebp
push esi
mov dword [eax], 0
push edi
mov dword [ecx], 5
mov ebx, 0x44b010
xor edx, edx
push 0x442020
mov dx, word [ebx - 0x108]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
test ebp, ebp
je 0x426b9d
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x18]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x426b9d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x426b9d
lea ecx, [esp + 0x18]
push ebx
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea edx, [esp + 0x18]
lea eax, [esp + 0x11c]
push edx
push 0x44b944
push 0x104
push eax
call fcn.0042b070
add esp, 0x10
lea ecx, [esp + 0x11c]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x426b9d
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea edx, [esp + 0x14]
push 0
push edx
push eax
push edi
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004269e0
test eax, eax
je 0x426b73
lea edx, [esp + 0x11c]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00407400
add esp, 8
test eax, eax
je 0x426bc1
jmp 0x426b94
lea ecx, [esp + 0x11c]
push 0x80
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x228]
inc dword [eax]
add ebx, 0x20c
cmp ebx, 0x44ba4c
jb 0x426a5d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x210
ret 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x210
ret 8
Function at 0x4277d0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x104
xor eax, eax
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 5
mov esi, 0x44ba94
lea edi, [esp + 0xc]
push 1
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x3b
lea edi, [esp + 0x26]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
call fcn.00405d80
add esp, 8
mov dword [ebx + 4], eax
test eax, eax
je 0x427905
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44ba84
push eax
call esi
mov ecx, dword [ebx + 4]
push 0x44ba74
push ecx
mov dword [ebx + 8], eax
call esi
mov edx, dword [ebx + 4]
push 0x44ba60
push edx
mov dword [ebx + 0xc], eax
call esi
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 4]
push 0x44ba48
push eax
call esi
mov ecx, dword [ebx + 4]
push 0x44ba30
push ecx
mov dword [ebx + 0x14], eax
call esi
mov edx, dword [ebx + 4]
push 0x44ba18
push edx
mov dword [ebx + 0x18], eax
call esi
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 4]
push 0x44ba04
push eax
call esi
mov ecx, dword [ebx + 4]
push 0x44b9f0
push ecx
mov dword [ebx + 0x20], eax
call esi
mov edx, dword [ebx + 4]
push 0x44b9dc
push edx
mov dword [ebx + 0x24], eax
call esi
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 4]
push 0x44b9c4
push eax
call esi
mov ecx, dword [ebx + 4]
push 0x44b9b4
push ecx
mov dword [ebx + 0x2c], eax
call esi
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x30], eax
test ecx, ecx
je 0x427905
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x427905
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x427905
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x427905
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x427905
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x427905
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x427905
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x427905
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x427905
test eax, eax
je 0x427905
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x104
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x104
ret
Function at 0x427d80
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x104
mov eax, dword [0x44bb54]
mov edx, dword [0x44bb5c]
push esi
mov esi, ecx
mov ecx, dword [0x44bb58]
mov dword [esp + 4], eax
mov ax, word [0x44bb60]
push edi
mov dword [esp + 0xc], ecx
mov word [esp + 0x14], ax
mov ecx, 0x3d
xor eax, eax
lea edi, [esp + 0x16]
mov dword [esp + 0x10], edx
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push 1
push ecx
stosw word es:[edi], ax
call fcn.00405d80
add esp, 8
mov dword [esi + 0x18], eax
test eax, eax
je 0x427e43
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44bb44
push eax
call edi
mov edx, dword [esi + 0x18]
push 0x44bb34
push edx
mov dword [esi + 4], eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x18]
push 0x44bb24
push eax
call edi
mov ecx, dword [esi + 0x18]
push 0x44bb14
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 0x18]
push 0x44bb00
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x427e43
mov eax, dword [esi + 8]
test eax, eax
je 0x427e43
mov eax, dword [esi + 0xc]
test eax, eax
je 0x427e43
pop edi
mov eax, 1
pop esi
add esp, 0x104
ret
pop edi
xor eax, eax
pop esi
add esp, 0x104
ret

Function at 0x428520
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x108
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
mov edx, dword [esp + 0x118]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 0x118]
push ecx
mov ecx, dword [esp + 0x118]
push 0
push edx
push eax
push ecx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
pop edi
je 0x42857c
xor eax, eax
add esp, 0x108
ret
mov ecx, dword [esp + 0x118]
lea edx, [esp + 4]
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, 1
add esp, 0x108
ret
Function at 0x428840
Capabilities:
Enumerate processes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43876b
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x428884
xor eax, eax
pop esi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
add esp, 0x138
ret
lea eax, [esp + 8]
mov dword [esp + 8], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x4288b1
pop esi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
add esp, 0x138
ret
push ebx
mov ebx, dword [esp + 0x148]
push ebp
mov ebp, dword [esp + 0x148]
push edi
xor edi, edi
lea ecx, [esp + 0x38]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x428921
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x14c], 0
call fcn.004285a0
add esp, 8
test eax, eax
je 0x42890d
lea ecx, [esp + 0x10]
push ecx
push ebp
call fcn.00428620
add esp, 8
inc edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x144], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4288c4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x138
ret

Function at 0x428b00
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x1c]
push edi
mov ecx, 0x42
xor eax, eax
mov edi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x18]
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 4
push esi
push edi
mov dword [esp + 0x24], 0
call ebx
test eax, eax
jne 0x428b48
pop edi
pop esi
pop ebx
add esp, 8
ret 0xc
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push edi
call ebx
test eax, eax
jne 0x428b66
pop edi
pop esi
pop ebx
add esp, 8
ret 0xc
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push 0
add esi, 4
push eax
push ecx
push esi
push edi
call ebx
test eax, eax
jne 0x428b86
pop edi
pop esi
pop ebx
add esp, 8
ret 0xc
mov ecx, dword [esp + 0x10]
xor eax, eax
test ecx, ecx
jbe 0x428ba0
mov dl, byte [esp + 0x1c]
test al, 1
je 0x428b9b
xor byte [esi + eax], dl
inc eax
cmp eax, ecx
jb 0x428b94
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 0xc
Function at 0x428bb0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x220
push ebx
push ebp
push edi
mov ebp, ecx
push eax
call fcn.00429080
test eax, eax
jne 0x428bd5
pop edi
pop ebp
pop ebx
add esp, 0x220
ret 4
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], bl
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x24]
mov dword [ebp + 4], ebx
push ecx
push ebx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x20]
push 0x44bd3c
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push ebx
push ebx
push 3
push ebx
push ebx
lea eax, [esp + 0x34]
push 0x120089
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0xc], edi
jne 0x428c3e
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x220
ret 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0x18]
push ebx
push ecx
lea edx, [esp + 0x28]
push 4
push edx
push edi
call esi
test eax, eax
je 0x428d5f
lea eax, [esp + 0x18]
push ebx
push eax
lea ecx, [esp + 0x24]
push 1
push ecx
push edi
call esi
test eax, eax
je 0x428d5f
lea edx, [esp + 0x18]
push ebx
push edx
lea eax, [esp + 0x1c]
push 4
push eax
push edi
call esi
test eax, eax
je 0x428d5f
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x12c]
mov dword [esp + 0x128], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x428d1c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.00428b00
test eax, eax
je 0x428d1c
mov esi, dword [ebp + 0xc]
push 0x110
mov edi, dword [esi + 4]
call sub.MFC42.DLL_operatornew
add esp, 4
mov ecx, esi
test esi, esi
jne 0x428ce4
mov ecx, eax
test edi, edi
mov dword [eax], ecx
jne 0x428cec
mov edi, eax
mov dword [eax + 4], edi
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
lea edi, [eax + 8]
test edi, edi
mov dword [ecx], eax
je 0x428d0c
mov ecx, 0x42
lea esi, [esp + 0x128]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
inc edx
inc ebx
cmp ebx, eax
mov dword [ebp + 0x10], edx
jb 0x428cac
cmp ebx, dword [esp + 0x14]
jne 0x428d2b
mov dword [ebp + 4], 1
jmp 0x428d5b
mov edi, dword [ebp + 0xc]
mov esi, dword [edi]
cmp esi, edi
je 0x428d5b
mov eax, esi
mov esi, dword [esi]
push eax
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
call fcn.0042a030
mov ecx, dword [ebp + 0x10]
add esp, 4
dec ecx
cmp esi, edi
mov dword [ebp + 0x10], ecx
jne 0x428d34
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 4]
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x220
ret 4
Function at 0x429080
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x130
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x3c]
push 0x104
push eax
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x42923d
mov ecx, dword [esp + 0x144]
lea edx, [esp + 0x3c]
push ecx
push edx
call fcn.00405be0
add esp, 8
test eax, eax
je 0x42923d
mov ecx, 0x104
lea eax, [esp + 0x3c]
cmp byte [eax], bl
je 0x4290ef
inc eax
dec ecx
jne 0x4290e5
jmp 0x429132
cmp ecx, ebx
je 0x429132
lea eax, [esp + 0x10]
test eax, eax
je 0x429104
mov eax, 0x104
sub eax, ecx
jmp 0x429108
mov eax, dword [esp + 0x10]
mov edx, 0x104
sub edx, eax
lea eax, [esp + eax + 0x3c]
je 0x429132
mov esi, 0x448cb4
sub esi, eax
mov cl, byte [esi + eax]
cmp cl, bl
je 0x42912b
mov byte [eax], cl
inc eax
dec edx
jne 0x42911c
jmp 0x42912f
cmp edx, ebx
jne 0x429130
dec eax
mov byte [eax], bl
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x15], ecx
mov byte [esp + 0x14], bl
mov dword [esp + 0x19], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x21], ecx
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], edx
push 0x10
lea ecx, [esp + 0x40]
push eax
mov dword [esp + 0x28], edx
push ecx
mov ecx, ebp
mov byte [esp + 0x30], dl
call fcn.004293d0
test eax, eax
jne 0x42917c
push 0xffffffffffffffff
jmp 0x429237
push ebx
push ebx
push 4
push ebx
push ebx
lea edx, [esp + 0x50]
push 0x120089
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x42923d
push 2
push ebx
push 0xfffffffffffffff0
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4291b8
cmp ebp, ebx
je 0x42923d
jmp 0x429236
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x29], eax
mov byte [esp + 0x28], bl
mov dword [esp + 0x2d], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x31], eax
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x10]
mov dword [esp + 0x35], eax
push ebx
mov dword [esp + 0x34], ecx
push edx
lea eax, [esp + 0x30]
push 0x10
mov dword [esp + 0x40], ecx
push eax
push ebp
mov byte [esp + 0x4c], cl
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x429202
cmp ebp, ebx
je 0x42923d
jmp 0x429236
mov ecx, 4
lea edi, [esp + 0x14]
lea esi, [esp + 0x28]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x429232
cmp ebp, ebx
je 0x429220
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x130
ret 4
cmp ebp, ebx
je 0x42923d
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x130
ret 4
Function at 0x4292d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x104
push ebx
push esi
mov esi, dword [esp + 0x110]
push edi
test esi, esi
jne 0x4292f0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x104
ret
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xc]
push 0x104
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
push 0x4417bc
push esi
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x42932d
pop edi
pop esi
pop ebx
add esp, 0x104
ret
push esi
call fcn.00429250
mov ecx, dword [esp + 0x120]
mov esi, eax
lea edx, [esi + 1]
mov dword [ecx], esi
push edx
call fcn.00429290
mov ebx, dword [esp + 0x120]
add esp, 8
test eax, eax
mov dword [ebx], eax
push edi
jne 0x42936d
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x104
ret
push esi
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, esi
je 0x4293aa
mov eax, dword [ebx]
test eax, eax
je 0x42938e
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push edi
mov dword [ebx], 0
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x104
ret
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x104
ret
Function at 0x429900
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x104
mov eax, dword [0x448b3c]
mov edx, dword [0x448b44]
push esi
mov esi, ecx
mov ecx, dword [0x448b40]
mov dword [esp + 4], eax
mov eax, dword [0x448b48]
push edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], eax
mov ecx, 0x3d
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x10], edx
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push 1
push ecx
call fcn.00405d80
add esp, 8
mov dword [esi + 0x24], eax
test eax, eax
je 0x429a45
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x44be38
push eax
call edi
mov edx, dword [esi + 0x24]
push 0x44be24
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x24]
push 0x44be0c
push eax
call edi
mov ecx, dword [esi + 0x24]
push 0x44bdf4
push ecx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x4299d1
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4299d1
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x4299d1
mov edx, dword [esi + 0x24]
push 0x44bde0
push edx
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x24]
push 0x44bdcc
push eax
call edi
mov ecx, dword [esi + 0x24]
push 0x44bdb4
push ecx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov edx, dword [esi + 0x24]
push 0x44bd98
push edx
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x24]
push 0x44bd80
push eax
call edi
mov ecx, dword [esi + 0x24]
push 0x44bd68
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi + 0x24]
push 0x44bd50
push edx
mov dword [esi + 0xc], eax
call edi
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], eax
test ecx, ecx
je 0x429a45
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x429a45
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x429a45
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x429a45
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x429a45
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x429a45
test eax, eax
je 0x429a45
pop edi
mov eax, 1
pop esi
add esp, 0x104
ret
pop edi
xor eax, eax
pop esi
add esp, 0x104
ret
Function at 0x42e130
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 0x430640
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438b30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
push 0
mov edi, dword [esi + 0x10]
mov edx, dword [esi + 0x90]
mov ebx, dword [esi + 0x14]
mov ecx, dword [esi + 0x94]
sub edi, edx
push 0x10000
sbb ebx, ecx
push ebx
push edi
call fcn.00436b10
push 0
push 0x10000
push ebx
push edi
mov dword [ebp - 0x18], eax
call fcn.00436bc0
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0xc]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x94]
push ebx
push ebx
push eax
push ecx
push edx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4306e4
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x90]
push eax
push ecx
push 0x44cd3c
push ebx
push 0x277
push 0x44cb98
call fcn.0042ec70
add esp, 0x18
xor edi, edi
cmp edi, dword [ebp - 0x18]
jae 0x430794
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0xc]
lea edx, [ebp - 0x14]
push ebx
push edx
push 0x10000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x430723
push 0x44cd30
push ebx
push 0x27b
push 0x44cb98
call fcn.0042ec70
add esp, 0x10
cmp dword [ebp - 0x14], 0x10000
je 0x430745
push 0x44cd24
push 1
push 0x27c
push 0x44cb98
call fcn.0042f410
add esp, 0x10
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x7c]
push edx
push eax
lea ecx, [esi + 0x24]
call fcn.004337f0
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0x94]
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x88], ecx
mov dword [esi + 0x8c], edx
mov edx, ecx
add edx, eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x90], edx
mov ecx, dword [esi + 0x94]
adc ecx, ebx
inc edi
mov dword [esi + 0x94], ecx
jmp 0x4306e6
mov edi, dword [ebp - 0x1c]
cmp edi, ebx
je 0x430836
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0xc]
lea eax, [ebp - 0x14]
push ebx
push eax
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4307cf
push 0x44cd30
push ebx
push 0x285
push 0x44cb98
call fcn.0042ec70
add esp, 0x10
cmp dword [ebp - 0x14], edi
je 0x4307ed
push 0x44cd24
push 1
push 0x286
push 0x44cb98
call fcn.0042f410
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0x7c]
push eax
push ecx
lea ecx, [esi + 0x24]
call fcn.004337f0
mov edx, dword [esi + 0x90]
mov eax, dword [esi + 0x94]
mov dword [esi + 0x88], edx
mov dword [esi + 0x8c], eax
mov eax, dword [ebp - 0x14]
mov ecx, edx
add ecx, eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x90], ecx
mov eax, dword [esi + 0x94]
adc eax, ebx
mov dword [esi + 0x94], eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [esi + 0x24]
call fcn.00433810
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x432c20
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 4
Function at 0x435920
Capabilities:
Get thread local storage value
Print debug messages
Set thread local storage value

Disassembly:
mov ecx, 0x44f914
jmp fcn.00435930