joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e4b0
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, edx
mov dword [ebp - 0xc], ecx
call fcn.004d6cbf
cmp dword [esi + 0x14], 8
mov edi, dword [eax + 0xc]
jb 0x40e4db
mov esi, dword [esi]
mov eax, dword [ebp - 0xc]
movzx eax, ax
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40e5db
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40e5bc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x10], eax
jb 0x40e523
mov ecx, dword [ebx]
jmp 0x40e525
mov ecx, ebx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x40e571
call fcn.00401520
mov edi, dword [eax + 0xf8]
lea esi, [eax + 0xf8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x678bbc
push 0x676964
push esi
call dword [edi + 0x1c]
mov eax, dword [ebp - 0xc]
add esp, 0x10
push 0
lea ecx, [ebp - 8]
push ecx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40e5b1
call fcn.00401520
mov edi, dword [eax + 0xf8]
lea esi, [eax + 0xf8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x678bf4
push 0x676964
push esi
call dword [edi + 0x1c]
add esp, 0x10
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40e604
call fcn.00401520
mov edi, dword [eax + 0xf8]
lea esi, [eax + 0xf8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x678c30
jmp 0x40e5f8
call fcn.00401520
mov edi, dword [eax + 0xf8]
lea esi, [eax + 0xf8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x678c78
push 0x676964
push esi
call dword [edi + 0x1c]
add esp, 0x10
cmp dword [ebx + 0x14], 8
jb 0x40e60c
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
test eax, eax
pop edi
setne al
pop esi
xor ecx, ebp
pop ebx
call fcn.005e96ad
mov esp, ebp
pop ebp
ret
Function at 0x40f000
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], 0
mov word [ebp - 0xc], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x40f06b
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 8]
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret

Function at 0x40f290
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.005edd10
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x40f2ff
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x40f2ff
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
setb al
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret
Function at 0x4101b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 4]
mov edi, dword [ebp + 8]
test ecx, ecx
je 0x4101d8
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 8]
mov dword [esi + 4], 0
test eax, eax
je 0x4101fd
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 8], 0
push 0x679880
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4102f6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x4102f6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4102f6
mov edi, dword [ebp - 8]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 8], eax
test eax, eax
je 0x4102f6
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4102e6
push edi
push ebx
push eax
call fcn.005ed3b0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 0
push dword [esi + 8]
mov dword [ebp - 8], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4102dd
mov ecx, dword [ebp - 8]
call fcn.0040fb80
mov dword [esi + 4], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4102dd
mov eax, dword [ecx + 8]
mov dword [ecx + 8], 0
test eax, eax
jne 0x4102c9
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4102d6
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 4], 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi + 8], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.005e96ad
mov esp, ebp
pop ebp
ret 0xc
Function at 0x415f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6244c2
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0060ba6d
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov byte [ebp - 4], 1
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [ebp - 4], 2
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov byte [ebp - 4], 4
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov byte [ebp - 4], 5
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x415fe2
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], 0x67a2a0
call fcn.005eadf1
mov byte [ebp - 4], 7
mov dword [ebp - 0x24], 0x63d3c0
mov byte [ebp - 4], 6
push 0x6ae464
lea eax, [ebp - 0x24]
push eax
call fcn.005ecf66
push edi
push esi
call fcn.0060b949
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret 4
Function at 0x4252e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626228
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x240], ecx
mov dword [ebp - 4], 0
push 0
push 2
mov dword [ebp - 0x23c], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4253d0
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4253cd
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x425360
cmp word [ebp - 0x218], 0
jne 0x42536e
xor eax, eax
jmp 0x425386
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x425377
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 0x18]
lea ecx, [ebp + 8]
push 0
call fcn.004048b0
test eax, eax
jne 0x4253bb
push dword [ebp - 0x234]
push eax
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x42541c
call ebx
push 0
call edi
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x425360
push esi
call edi
xor bl, bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x4253ea
push dword [ebp + 8]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [ebp + 8], ax
mov dword [ebp + 0x1c], 7
mov dword [ebp + 0x18], 0
mov al, bl
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.005e96ad
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x240]
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
test eax, eax
je 0x4253ce
call edi
mov bl, 1
jmp 0x4253d2
Function at 0x4282d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637749
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x10], 0
push eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push 0x676964
mov word [ebx], ax
call fcn.00403c30
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x10], 1
cmp ecx, 0x105
jb 0x428369
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], 0x105
jb 0x42835c
mov eax, dword [ebx]
xor ecx, ecx
mov word [eax + 0x20a], cx
jmp 0x42837a
mov eax, ebx
xor ecx, ecx
mov word [eax + 0x20a], cx
jmp 0x42837a
mov eax, 0x105
sub eax, ecx
push 0
push eax
mov ecx, ebx
call fcn.00404e00
cmp dword [ebx + 0x14], 8
jb 0x428384
mov eax, dword [ebx]
jmp 0x428386
mov eax, ebx
push dword [ebx + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x428399
cmp eax, dword [ebx + 0x10]
jbe 0x4283d0
call fcn.00401520
mov edi, dword [eax + 0xf8]
lea esi, [eax + 0xf8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x67bd70
push 0x6796b0
push esi
call dword [edi + 0x24]
add esp, 0x10
mov ecx, ebx
push 0xa
push 0x67bd58
call fcn.00403c30
mov eax, ebx
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 0x4283f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x626d30
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6cd400]
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
push 0x67be18
push 0x67be04
mov dword [ebp - 0x14], 0
mov edi, 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x428478
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x428478
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 0x67be68
push 0x6796b0
push eax
call dword [ecx + 0x24]
add esp, 0xc
xor edi, edi
call fcn.00401520
push dword [ebp - 0x14]
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 0x67be28
push eax
call dword [ecx + 0x14]
add esp, 0xc
test edi, edi
je 0x4284a8
xor eax, eax
cmp dword [ebp - 0x14], eax
setne al
jmp 0x4285fe
lea ecx, [ebp - 0x2c]
call fcn.004282d0
mov dword [ebp - 4], 0
push 0x67bef0
lea ecx, [ebp - 0x44]
call fcn.004035b0
mov byte [ebp - 4], 1
push ecx
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.004a0a50
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x30], 8
jb 0x4284ec
push dword [ebp - 0x44]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
push edx
push 0x67be80
push eax
call dword [ecx + 4]
add esp, 0xc
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x428588
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
push edx
push 0x67bf98
push eax
call dword [ecx + 4]
add esp, 0xc
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 0
push 0x67bf50
push eax
call dword [ecx + 0x14]
add esp, 0xc
xor bl, bl
jmp 0x4285d0
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
push edx
push 0x67c01c
push eax
call dword [ecx + 4]
add esp, 0xc
call fcn.00401520
mov ecx, dword [eax + 0xf8]
add eax, 0xf8
push 1
push 0x67bfd0
push eax
call dword [ecx + 0x14]
add esp, 0xc
mov bl, 1
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x4285e8
push dword [ebp - 0x2c]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov al, bl
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.005e96ad
mov esp, ebp
pop ebp
ret
Function at 0x42a280
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x625b02
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
lea eax, [edi + 0x60]
mov dword [edi], 0x67c490
mov dword [ebp - 0x18], eax
mov dword [eax], 0x63d454
mov dword [ebp - 4], 0
mov dword [eax], 0x67c4f4
mov dword [ebp - 4], 1
mov eax, dword [edi]
lea esi, [edi + 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], 1
mov dword [edi + eax], 0x67a9e4
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
push esi
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.0042b3c0
mov dword [ebp - 4], 4
mov eax, dword [edi]
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], 0x67c504
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call fcn.0042c000
mov byte [ebp - 4], 5
lea eax, [esi + 4]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x14]
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
mov dword [esi], 0x67c514
mov byte [esi + 0x4c], 0
mov byte [esi + 0x45], 0
lea ecx, [esi + 8]
mov dword [esi + 0x10], ecx
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x6d7464]
mov dword [esi + 0x50], 0
mov dword [esi + 0x48], eax
mov dword [esi + 0x40], 0
mov dword [ebp - 4], 0xffffffff
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 4
Function at 0x42ad00
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x625aa2
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0
lea eax, [esi + 0x70]
mov dword [esi], 0x67c4d8
mov dword [ebp - 0x18], eax
mov dword [eax], 0x63d454
mov dword [ebp - 4], 0
mov dword [eax], 0x67c4f4
mov dword [ebp - 4], 1
mov eax, dword [esi]
lea edi, [esi + 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], 1
mov dword [esi + eax], 0x67c4e4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ecx
lea eax, [ecx - 0x18]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov ecx, dword [eax + 4]
push edi
add ecx, esi
call fcn.0042b3c0
mov dword [ebp - 4], 4
mov eax, dword [esi]
mov dword [ebp - 0x18], edi
mov eax, dword [eax + 4]
mov dword [esi + eax], 0x67c484
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ecx + esi - 4], eax
mov ecx, edi
call fcn.0042c000
mov byte [ebp - 4], 5
lea eax, [edi + 4]
mov dword [edi + 0xc], eax
lea eax, [edi + 0x14]
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
mov dword [edi], 0x67c514
mov byte [edi + 0x4c], 0
mov byte [edi + 0x45], 0
lea ecx, [edi + 8]
mov dword [edi + 0x10], ecx
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [0x6d7464]
mov dword [edi + 0x50], 0
mov dword [edi + 0x48], eax
mov dword [edi + 0x40], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x42ae4e
mov eax, dword [eax]
push ecx
push 1
push eax
mov ecx, edi
call fcn.0042b770
test eax, eax
jne 0x42ae7c
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0xc]
add ecx, esi
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x42ae74
or eax, 4
push 0
push eax
call fcn.00422550
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42b9a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6265f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6cd400]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x42bb33
cmp byte [ebx + 0x45], 0
je 0x42bb33
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x42ba00
xor al, al
jmp 0x42bb35
mov ecx, 0xf
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
cmp ecx, 0x10
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
jmp 0x42ba60
cmp ecx, 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x2c]
lea edi, [esp + 0x1c]
cmovae edi, edx
lea esi, [esp + 0x1c]
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x42ba9b
dec eax
je 0x42ba9f
sub eax, 2
je 0x42bafd
xor bl, bl
jmp 0x42baff
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp ecx, 0x10
lea eax, [esp + 0x18]
cmovae eax, edx
sub esi, eax
je 0x42bade
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [esp + 0x20]
cmovae eax, edx
push 1
push eax
call fcn.005ec2c4
add esp, 0x10
cmp esi, eax
jne 0x42ba97
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x42bafd
test esi, esi
jne 0x42ba60
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0042b2a0
jmp 0x42ba4f
mov bl, 1
mov dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x42bb1a
push dword [esp + 0x18]
call fcn.004c56c2
add esp, 4
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
mov al, bl
jmp 0x42bb35
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret
Function at 0x449c60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62ba31
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6cd400]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov dword [ebx], 0x67e8d0
mov dword [ebx + 4], edi
mov dword [ebp - 4], 0
mov dword [ebx + 8], 0x67f0c4
mov dword [ebx], 0x67f0cc
mov dword [ebx + 8], 0x67f0bc
xor eax, eax
mov dword [ebx + 0x2c], 7
mov dword [ebx + 0x28], 0
mov word [ebx + 0x18], ax
mov byte [ebp - 4], 1
mov dword [ebx + 0x50], 7
mov dword [ebx + 0x4c], eax
mov word [ebx + 0x3c], ax
mov byte [ebp - 4], 2
mov dword [ebx + 0x68], 7
mov dword [ebx + 0x64], eax
mov word [ebx + 0x54], ax
mov byte [ebp - 4], 3
mov dword [ebx + 0x94], 7
mov dword [ebx + 0x90], eax
mov word [ebx + 0x80], ax
mov byte [ebp - 4], 4
lea esi, [ebx + 0xa4]
mov dword [ebp + 8], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.0042c6b0
mov dword [esi], eax
mov byte [ebp - 4], 9
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xbc], 0
mov dword [ebx + 0xc0], 0
mov byte [ebp - 4], 0xa
mov dword [ebx + 0xc4], 0
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xcc], 0
mov byte [ebp - 4], 0xb
mov dword [ebx + 0x74], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x30], 0
xorps xmm0, xmm0
movsd qword [edi + 0x460], xmm0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov byte [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x70], 0
mov byte [ebx + 0x6c], 0
mov byte [ebx + 0xd0], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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