joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412660
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ad79
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x46a164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push esi
call fcn.00413970
cmp eax, 0xffffffff
je 0x4126b0
test al, 0x10
je 0x4126b0
mov al, 1
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
push esi
call fcn.004156b0
test al, al
je 0x4126d0
xor al, al
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
push esi
call fcn.00415990
push esi
lea ecx, [ebp - 0x18]
mov ebx, eax
call fcn.0040d0c0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0040d670
test eax, eax
js 0x412716
mov edx, dword [ebp - 0x14]
lea ecx, [edx - 1]
cmp eax, ecx
jne 0x412716
cmp edx, 1
jne 0x41270a
mov bl, dl
jmp 0x412827
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x14], ecx
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040d120
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00413540
test al, al
jne 0x4127a8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [eax + eax]
call edi
cmp eax, 0xb7
je 0x412848
lea ecx, [ebp - 0x18]
call fcn.0040d670
mov esi, eax
test esi, esi
js 0x412848
je 0x412848
mov ecx, dword [ebp - 0x18]
cmp esi, 1
jne 0x412782
movzx eax, word [ecx]
cmp eax, 0x5c
je 0x412848
cmp eax, 0x2f
je 0x412848
lea eax, [esi + 1]
cmp ebx, eax
jae 0x412848
cmp esi, dword [ebp - 0x14]
jae 0x41279e
xor eax, eax
mov dword [ebp - 0x14], esi
mov word [ecx + esi*2], ax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00413540
test al, al
je 0x412740
cmp esi, dword [ebp - 0x20]
jge 0x41281a
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x24]
lea eax, [eax + esi*2]
add eax, 2
push eax
call fcn.004152a0
test eax, eax
jns 0x4127cb
mov esi, dword [ebp - 0x20]
jmp 0x4127ce
inc esi
add esi, eax
push esi
push dword [ebp - 0x24]
lea ecx, [ebp - 0x18]
call fcn.0040d2b0
cmp byte [0x46cf90], 0
jne 0x41280a
push dword [ebp - 0x18]
lea eax, [ebp - 0x30]
push eax
call fcn.0040dfa0
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x30]
mov edi, eax
call fcn.0044bb66
add esp, 4
test edi, edi
jmp 0x412813
push 0
push dword [ebp - 0x18]
call ebx
test eax, eax
je 0x412848
cmp esi, dword [ebp - 0x20]
jl 0x4127b3
mov bl, 1
push dword [ebp - 0x24]
call fcn.0044bb66
add esp, 4
push dword [ebp - 0x18]
call fcn.0044bb66
add esp, 4
mov al, bl
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
xor bl, bl
jmp 0x41281c
Function at 0x412850
Capabilities:
Delete file

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
push esi
call fcn.00413970
cmp eax, 0xffffffff
je 0x41287b
mov ecx, eax
and cl, 0x11
cmp cl, 1
jne 0x41287b
and eax, 0xfffffffe
push eax
push esi
call fcn.00412400
test al, al
je 0x4128c5
cmp byte [0x46cf90], 0
push esi
jne 0x4128b2
lea eax, [esp + 8]
push eax
call fcn.0040dfa0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [esp + 4]
mov esi, eax
call fcn.0044bb66
add esp, 4
test esi, esi
je 0x4128c5
mov al, 1
pop esi
add esp, 0xc
ret 4
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4128c5
mov al, 1
pop esi
add esp, 0xc
ret 4
xor al, al
pop esi
add esp, 0xc
ret 4

Function at 0x412c00
Capabilities:
Set current directory

Disassembly:
sub esp, 0xc
cmp byte [0x46cf90], 0
jne 0x412c3d
push esi
push dword [esp + 0x14]
lea eax, [esp + 8]
push eax
call fcn.0040dfa0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push dword [esp + 4]
mov esi, eax
call fcn.0044bb66
add esp, 4
test esi, esi
setne al
pop esi
add esp, 0xc
ret 4
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
add esp, 0xc
ret 4
Function at 0x412c60
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x348]
sub esp, 0x348
push 0xffffffffffffffff
push 0x45ae0a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x46a164]
xor eax, ebp
mov dword [ebp + 0x344], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x350]
xor ecx, ecx
mov eax, dword [edi]
mov dword [edi + 4], 0
mov word [eax], cx
cmp byte [0x46cf90], cl
jne 0x412d18
lea eax, [ebp + 0x22c]
mov byte [ebp + 0x22c], cl
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x412dbc
cmp eax, 0x114
jae 0x412dbc
lea eax, [ebp + 0x22c]
mov byte [ebp + 0x340], 0
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040df40
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0040d240
push dword [ebp - 0x24]
call fcn.0044bb66
add esp, 4
mov al, 1
jmp 0x412dbe
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov word [ebp], ax
lea eax, [ebp]
push eax
push 0x114
call ebx
mov esi, eax
test esi, esi
je 0x412dbc
cmp esi, 0x114
jae 0x412d59
xor eax, eax
mov ecx, edi
mov word [ebp + 0x228], ax
lea eax, [ebp]
push eax
call fcn.0040d1d0
mov al, 1
jmp 0x412dbe
lea ecx, [ebp - 0x18]
call fcn.0040cf20
mov dword [ebp - 4], 1
cmp esi, dword [ebp - 0x10]
jbe 0x412d76
push esi
lea ecx, [ebp - 0x18]
call fcn.0040c9d0
push dword [ebp - 0x18]
push esi
call ebx
mov ebx, eax
test ebx, ebx
je 0x412db1
push esi
lea ecx, [ebp - 0x18]
call fcn.00413650
cmp dword [ebp - 0x14], ebx
jne 0x412db1
lea eax, [esi - 1]
cmp eax, ebx
jne 0x412db1
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0040d240
push dword [ebp - 0x18]
call fcn.0044bb66
add esp, 4
mov al, 1
jmp 0x412dbe
push dword [ebp - 0x18]
call fcn.0044bb66
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x344]
xor ecx, ebp
call fcn.0044b950
lea esp, [ebp + 0x348]
pop ebp
ret 4
Function at 0x412df0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ae3d
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x46a164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x46cf90], 0
mov esi, dword [ebp + 8]
jne 0x412e7d
lea eax, [ebp - 0x128]
mov byte [ebp - 0x128], 0
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x360]
push eax
call fcn.0040df40
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040d240
push dword [ebp - 0x360]
mov dword [ebp - 4], 0xffffffff
call fcn.0044bb66
add esp, 4
jmp 0x412ea8
xor eax, eax
mov word [ebp - 0x354], ax
lea eax, [ebp - 0x354]
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
mov ecx, esi
lea eax, [ebp - 0x354]
push eax
call fcn.0040d1d0
push esi
call fcn.004152e0
test edi, edi
je 0x412ebe
cmp edi, 0x114
jae 0x412ebe
mov al, 1
jmp 0x412ec0
xor al, al
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.0044b950
mov esp, ebp
pop ebp
ret 4
Function at 0x413540
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45af18
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x46a164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x46cf90], 0
mov edi, dword [ebp + 8]
jne 0x4135af
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.0040dfa0
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.0044bb66
add esp, 4
test esi, esi
je 0x4135d2
mov al, 1
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
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4135d2
mov al, 1
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
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4135f5
xor al, al
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
lea ecx, [ebp - 0x50]
call fcn.004139d0
lea ecx, [ebp - 0x28]
call fcn.0040cf20
push 0
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
call fcn.00413b40
test al, al
jne 0x41361f
xor bl, bl
jmp 0x413628
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.0044bb66
add esp, 4
mov al, bl
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 0x413970
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0xc
cmp byte [0x46cf90], 0
jne 0x4139aa
push esi
push dword [esp + 0x14]
lea eax, [esp + 8]
push eax
call fcn.0040dfa0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [esp + 4]
mov esi, eax
call fcn.0044bb66
add esp, 4
mov eax, esi
pop esi
add esp, 0xc
ret 4
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovne ecx, eax
mov eax, ecx
add esp, 0xc
ret 4

Function at 0x414a70
Capabilities:
Get file size

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x414a9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x414a9f
xor al, al
pop esi
pop ecx
ret 4
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, dword [esp + 4]
add ecx, esi
pop esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop ecx
ret 4
Function at 0x414ef0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebp, ecx
push edi
mov edi, dword [esp + 0x14]
mov ecx, 0x400000
mov dword [ebx], 0
nop dword [eax]
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
cmp esi, 0x400000
mov eax, esi
cmova eax, ecx
push eax
push edi
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x1c]
add dword [ebx], ecx
test eax, eax
je 0x414f57
test ecx, ecx
je 0x414f4e
add edi, ecx
sub esi, ecx
mov ecx, 0x400000
jne 0x414f10
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0xc

Function at 0x415070
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebp, ecx
push edi
mov edi, dword [esp + 0x14]
mov ecx, 0x400000
mov dword [ebx], 0
nop dword [eax]
cmp esi, 0x400000
mov dword [esp + 0x1c], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x20]
push ecx
push eax
push edi
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x1c]
add dword [ebx], ecx
test eax, eax
je 0x4150d7
test ecx, ecx
je 0x4150ce
add edi, ecx
sub esi, ecx
mov ecx, 0x400000
jne 0x415090
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0xc

Function at 0x416f90
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x2c
lea eax, [esp + 4]
push eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x416fbf
mov eax, dword [esp]
test eax, eax
je 0x416fbf
push eax
call fcn.00416f00
add esp, 0x2c
ret
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x1c]
add esp, 0x2c
ret

Function at 0x416fe0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x64
mov eax, dword [0x46a164]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
mov esi, dword [esp + 0x6c]
push str.GlobalMemoryStatusEx
push 0x45e7d0
mov dword [esp + 0x2c], 0x40
mov dword [esi], SysReAllocString
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x417065
lea ecx, [esp + 0x24]
push ecx
call eax
test eax, eax
je 0x417065
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
cmp ecx, edx
ja 0x417046
mov eax, dword [esp + 0x4c]
jb 0x41704c
cmp eax, dword [esp + 0x2c]
jb 0x41704c
mov eax, dword [esp + 0x2c]
mov ecx, edx
mov dword [esi], eax
mov al, 1
mov dword [esi + 4], ecx
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0044b950
add esp, 0x64
ret 4
lea eax, [esp + 4]
mov dword [esp + 4], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0xc]
mov al, 1
cmp dword [esp + 0x1c], ecx
mov dword [esi + 4], 0
cmovb ecx, dword [esp + 0x1c]
mov dword [esi], ecx
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.0044b950
add esp, 0x64
ret 4
Function at 0x429e70
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x46a164]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
push edi
lea eax, [esp + 0x20]
mov edi, ecx
push eax
call fcn.00409850
mov eax, 0x3e8
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 4
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004098b0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 4
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004098b0
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x429f30
push str.SystemFunction036
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x429f24
push 0x20
lea ecx, [esp + 0xa4]
push ecx
call eax
test al, al
je 0x429f24
push 0x20
lea eax, [esp + 0xa4]
mov dword [esp + 0x18], 0x64
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004098b0
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [eax + eax]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x429f50
push 8
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004098b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 4
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004098b0
mov esi, 0x64
push edi
lea eax, [esp + 0x24]
push eax
call fcn.00409950
lea eax, [esp + 0x20]
push eax
call fcn.00409850
push 0x20
push edi
lea eax, [esp + 0x28]
push eax
call fcn.004098b0
sub esi, 1
jne 0x429f70
sub dword [esp + 0x14], 1
jne 0x429f30
push edi
lea eax, [esp + 0x24]
push eax
call fcn.00409950
mov ecx, dword [esp + 0xcc]
mov byte [edi + 0x20], 0
pop edi
pop esi
xor ecx, esp
call fcn.0044b950
mov esp, ebp
pop ebp
ret
Function at 0x42de90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c765
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46a164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov dword [esi], ecx
test ecx, ecx
je 0x42decb
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 0
mov dword [esi + 4], ecx
test ecx, ecx
je 0x42dee2
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 1
mov dword [esi + 8], ecx
test ecx, ecx
je 0x42def6
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 2
mov dword [esi + 0xc], ecx
test ecx, ecx
je 0x42df0a
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
movzx eax, byte [edi + 0x10]
lea ecx, [esi + 0x18]
mov byte [esi + 0x10], al
movzx eax, byte [edi + 0x11]
mov byte [esi + 0x11], al
movzx eax, byte [edi + 0x12]
mov byte [esi + 0x12], al
movzx eax, byte [edi + 0x13]
mov byte [esi + 0x13], al
movzx eax, byte [edi + 0x14]
mov byte [esi + 0x14], al
movzx eax, byte [edi + 0x15]
mov byte [esi + 0x15], al
movzx eax, byte [edi + 0x16]
mov byte [esi + 0x16], al
movzx eax, byte [edi + 0x17]
mov byte [esi + 0x17], al
lea eax, [edi + 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.0040d120
lea eax, [edi + 0x24]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x24]
call fcn.0040d120
lea eax, [edi + 0x30]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x30]
call fcn.0040d120
mov eax, dword [edi + 0x3c]
lea ecx, [esi + 0x78]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
movq xmm0, qword [edi + 0x44]
movq qword [esi + 0x44], xmm0
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
movzx eax, byte [edi + 0x60]
mov byte [esi + 0x60], al
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x70]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x74]
mov dword [esi + 0x74], eax
lea eax, [edi + 0x78]
push eax
mov byte [ebp - 4], 6
call fcn.0042e150
lea eax, [edi + 0xa8]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0xa8]
call fcn.0042e150
mov eax, dword [edi + 0xd8]
mov dword [esi + 0xd8], eax
mov eax, dword [edi + 0xdc]
mov dword [esi + 0xdc], eax
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 4
Function at 0x42e020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c7eb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x46a164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 3
mov dword [edi + 0x11], 0
mov word [edi + 0x15], 0
mov byte [edi + 0x17], 0
call fcn.0040cf20
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
call fcn.0040cf20
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 5
call fcn.0040cf20
lea esi, [edi + 0x78]
mov dword [edi + 0x44], 0
xor eax, eax
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], eax
lea ecx, [esi + 0x18]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 6
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.0040cf20
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 7
call fcn.0040cf20
lea esi, [edi + 0xa8]
mov byte [ebp - 4], 8
mov dword [ebp - 0x14], esi
lea ecx, [esi + 0x18]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0040cf20
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 9
call fcn.0040cf20
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 0x42e1f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c882
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x46a164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x10], 0
mov dword [edi], 0x45f11c
mov dword [edi + 4], 0x45f130
mov dword [edi + 8], 0x45f144
mov dword [edi + 0xc], 0x45f154
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 2
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
call fcn.0040cf20
lea ecx, [edi + 0x50]
mov byte [ebp - 4], 3
call fcn.0040cf20
lea esi, [edi + 0x60]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004139d0
lea ecx, [esi + 0x28]
call fcn.0040cf20
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 5
call fcn.0042a120
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 0x42e3d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c8b8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x46a164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.0044bb66
push dword [esi + 0xc0]
call fcn.0044bb66
push dword [esi + 0x9c]
call fcn.0044bb66
push dword [esi + 0x90]
call fcn.0044bb66
push dword [esi + 0x30]
call fcn.0044bb66
push dword [esi + 0x24]
call fcn.0044bb66
push dword [esi + 0x18]
call fcn.0044bb66
add esp, 0x1c
mov ecx, dword [esi + 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x42e450
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x42e464
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x42e478
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x42e48b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cb49
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x46a164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov word [edi + 0x20], 0
call fcn.0040cf20
lea esi, [edi + 0x30]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esi
lea ecx, [esi + 0x18]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0040cf20
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 3
call fcn.0040cf20
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