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

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x6efffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x6f0035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.006efe00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x6effc5
mov edi, 0x70a8b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x6f0035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.006efe00
add edi, 4
add esp, 0xc
cmp edi, 0x70a8c0
jb 0x6f0000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0x6f0070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.006f6082
mov esi, eax
add esp, 8
test esi, esi
je 0x6f0107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x6f0102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.006f5946
add esp, 8
test eax, eax
je 0x6f00e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x6f00e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.006f5946
add esp, 8
test eax, eax
jne 0x6f00c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x6f0102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0x6f0f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x7059fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x6f1002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.006f4dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x6f1002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.006ec6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.006f520b
push 0x10
call fcn.006f51d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x6f0fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.006e11c0
jmp 0x6f0fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.006f0b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x6f0ff0
mov ecx, edi
call fcn.006e12c0
push edi
call fcn.006f51c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x6f1021
inc ebx
cmp ebx, 0x20
jb 0x6f0f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x6f2250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x706808
push 0x6f6288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x6f2329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x6f2329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.006f51d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x6f2329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0x6f2329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0x6f232c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.006f2351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6f2d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x6f2d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x6f2d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x6f2d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6f2d94
push eax
push esi
call fcn.006f520b
add esp, 8
pop esi
ret 0x10

Function at 0x6f2da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6f2e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x6f2e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x70b320
push ecx
mov dword [esp + 0x1c], 4
call fcn.006f4dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x6f2dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x6f2e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6f2ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x6f2eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x70b320
push ecx
mov dword [esp + 0x1c], 4
call fcn.006f4dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x6f2eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x6f2e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x6f3000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x6f3131
push esi
call fcn.006f6145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.006e5080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x6f3131
push 0
push ebp
call fcn.006e53a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.006e5260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x6f308b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.006e52f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x6f3121
push 0x70b918
push edi
call fcn.006f43f0
push eax
push ebx
push esi
call fcn.006f2f60
push 0x70b8f8
push edi
call fcn.006f43f0
push eax
push ebx
push esi
call fcn.006f2f60
push 0x70b8d8
push edi
call fcn.006f43f0
push eax
push ebx
push esi
call fcn.006f2f60
push 0x70b8c0
push edi
call fcn.006f43f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.006f2f60
push 0x70b8a0
push edi
call fcn.006f43f0
push eax
push ebx
push esi
call fcn.006f2f60
push 0x70b888
push edi
call fcn.006f43f0
push eax
push ebx
push esi
call fcn.006f2f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x6f41b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.006f4140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.006f4140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.006f4140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.006f4140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x6f4bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6f4c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x70687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6f4c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6f4c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x414de0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56a4eb
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5c6150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], 0x57029c
call fcn.0055ad2a
push 4
mov dword [ebp - 4], 0
call fcn.0043e354
mov edi, eax
add esp, 4
test edi, edi
je 0x414e60
call fcn.0055a2cb
mov dword [edi], eax
call fcn.0055a08a
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00559fbf
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x414e56
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00559fe7
jmp 0x414e62
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
Function at 0x4235d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55cb19
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
xor eax, eax
mov dword [esi], eax
mov dword [esp + 4], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov dword [esp + 0x2c], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov ecx, 0xf
mov dword [esi + 0x38], ecx
mov dword [esi + 0x34], eax
mov byte [esi + 0x24], al
push eax
mov dword [esp + 0x20], ecx
push 0x59d68c
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
mov dword [esp + 0x20], eax
mov byte [esp + 0x10], al
call fcn.00405de0
lea eax, [esp + 8]
push eax
mov byte [esp + 0x30], 3
call fcn.00435dd0
add esp, 4
cmp dword [esp + 0x1c], 0x10
mov dword [esi + 0xc], eax
jb 0x423660
mov ecx, dword [esp + 8]
push ecx
call fcn.0043e38e
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x42ace0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
cmp dword [edx], 0
jle 0x42ad19
mov ecx, dword [esp + 4]
mov al, byte [ecx]
cmp al, 1
jne 0x42ad0f
mov eax, 1
mov byte [ecx], 0
cmp dword [edx], eax
jle 0x42ad13
nop
xor byte [eax + ecx], 0x9c
inc eax
cmp eax, dword [edx]
jl 0x42ad00
dec dword [edx]
lea eax, [ecx + 1]
ret
test al, al
jne 0x42ad19
dec dword [edx]
lea eax, [ecx + 1]
ret
xor eax, eax
ret
Function at 0x42d2b0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x55d614
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
xor ebx, ebx
push ebp
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x44]
cmp dword [eax + 0x14], 0x10
push esi
push edi
jb 0x42d2de
mov eax, dword [eax]
push 0x5705a0
push eax
call fcn.0053f9d8
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x42d30b
mov eax, dword [esp + 0x48]
mov dword [eax], ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push 2
push ebx
push edi
call fcn.0053f8a0
push edi
call fcn.0053f7b1
push ebx
push ebx
push edi
mov ebp, eax
call fcn.0053f8a0
push 0x14
call fcn.0043e354
add esp, 0x20
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], 1
cmp eax, ebx
je 0x42d354
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push ebp
mov dword [ecx], ebx
push ebx
mov ecx, eax
call fcn.0042a860
mov esi, eax
jmp 0x42d356
xor esi, esi
mov dword [esp + 0x18], esi
cmp esi, ebx
je 0x42d36a
lea eax, [esi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esi + 8]
push edi
push 1
push ebp
push eax
mov dword [esp + 0x50], 2
call fcn.0053f600
add esp, 0x10
push edi
test eax, eax
jne 0x42d3cf
call fcn.0053dccf
mov edi, dword [esp + 0x4c]
add esp, 4
mov dword [edi], ebx
mov dword [esp + 0x10], 1
mov byte [esp + 0x40], bl
or edx, 0xffffffff
lea eax, [esi + 4]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x42d3ba
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
call fcn.0053dccf
add esp, 4
push 4
push 0x5701a4
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
call fcn.00405de0
push 1
push ecx
mov eax, esp
lea edi, [esi + 4]
mov byte [esp + 0x48], 3
mov dword [esp + 0x1c], esp
mov dword [eax], esi
mov ecx, edi
mov edx, 1
lock xadd dword [ecx], edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0041fec0
add esp, 0x10
cmp dword [esp + 0x30], 0x10
mov byte [esp + 0x40], 2
jb 0x42d440
mov edx, dword [esp + 0x1c]
push edx
call fcn.0043e38e
add esp, 4
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov dword [ebp], eax
cmp eax, ebx
je 0x42d45f
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], 1
cmp eax, ebx
je 0x42d487
mov ecx, eax
or edx, 0xffffffff
add eax, 4
lock xadd dword [eax], edx
cmp edx, 1
jne 0x42d487
cmp ecx, ebx
je 0x42d487
mov eax, dword [ecx]
push edx
mov edx, dword [eax]
call edx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x40], bl
or eax, 0xffffffff
lock xadd dword [edi], eax
cmp eax, 1
jne 0x42d4a4
mov edx, dword [esi]
push eax
mov eax, dword [edx]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x38]
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret
Function at 0x42f950
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x55d8bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov ebp, dword [ebx + 0x10]
push esi
mov esi, ecx
mov eax, dword [esi + 6]
mov ecx, dword [esi]
push edi
mov edi, eax
and ecx, 0xfffffff
and eax, 0xfffffff
sub eax, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x14], eax
lea eax, [esp + 0x34]
add ebp, ecx
push eax
mov ecx, ebx
and edi, 0xf0000000
call fcn.0042b480
mov ecx, dword [eax]
movzx eax, word [esi + 4]
xor edx, edx
cmp dx, ax
jg 0x42f9d0
mov edx, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x28]
sub ecx, edx
sar ecx, 2
cmp ax, cx
jge 0x42f9d0
cwde
mov ecx, dword [edx + eax*4]
mov dword [esp + 0x10], ecx
jmp 0x42f9d8
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x42f9fb
or edx, 0xffffffff
lea eax, [ecx + 4]
lock xadd dword [eax], edx
cmp edx, 1
jne 0x42f9fb
test ecx, ecx
je 0x42f9fb
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [0x5cd8e0]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
lea ecx, [eax + 0x34]
push ecx
lea edx, [eax + 0x30]
push edx
lea ecx, [eax + 0x2c]
push ecx
lea edx, [eax + 0x28]
push edx
mov dword [esp + 0x44], 0
call fcn.0042e810
mov ecx, eax
call fcn.0042d770
mov esi, eax
mov dword [esp + 0x18], esi
xor ecx, ecx
mov dword [esp + 0x28], ecx
cmp esi, ecx
je 0x42fa6f
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, ebx
call fcn.0042b480
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push edi
push ecx
push ebp
push edx
mov ecx, esi
call fcn.0042f630
mov ecx, eax
mov eax, dword [esp + 0x30]
mov dword [eax], ecx
test ecx, ecx
je 0x42fa85
add ecx, 4
mov edx, 1
lock xadd dword [ecx], edx
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 8
Function at 0x42fcc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55d8bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], 0
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push edi
add ecx, 0xfffffffb
push ecx
add eax, 5
push eax
lea ecx, [esi + 0x24]
call fcn.0042d5c0
mov ecx, dword fs:[0x2c]
lea edi, [eax + 5]
mov eax, dword [0x5cd8e0]
mov eax, dword [ecx + eax*4]
lea edx, [eax + 0x34]
push edx
lea ecx, [eax + 0x30]
push ecx
lea edx, [eax + 0x2c]
push edx
lea eax, [eax + 0x28]
push eax
call fcn.0042e810
mov ecx, eax
call fcn.0042d770
mov dword [esp + 8], eax
mov dword [esp + 0x18], 0
test eax, eax
je 0x42fd84
push ecx
mov ecx, esp
mov dword [ecx], esi
mov dword [esp + 0x10], esp
lea ecx, [esi + 4]
mov edx, 1
lock xadd dword [ecx], edx
mov ecx, dword [esi + 0x34]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
add esi, 8
cmp dword [esi + 0x14], 0x10
jb 0x42fd70
mov esi, dword [esi]
push 0
sub edx, edi
push edx
add ecx, edi
push ecx
push esi
mov ecx, eax
call fcn.0042f630
mov ecx, eax
jmp 0x42fd86
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
test ecx, ecx
je 0x42fd9c
add ecx, 4
mov edx, 1
lock xadd dword [ecx], edx
mov ecx, dword [esp + 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 4
Function at 0x430080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55d924
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x30]
cmp dword [eax + 0xc], 5
mov ebx, 1
mov dword [esp + 0x20], ebx
jl 0x43018f
mov ecx, dword [eax + 8]
cmp dword [ecx], 0x62a14e45
jne 0x43018f
push 0x38
call fcn.0043e354
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x20], 2
test eax, eax
je 0x43010e
push ecx
mov ecx, dword [esp + 0x34]
mov edx, esp
mov dword [edx], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x18], esp
test edx, edx
je 0x4300fe
add edx, 4
mov ecx, ebx
lock xadd dword [edx], ecx
mov edx, dword [esp + 0x30]
push edx
mov ecx, eax
call fcn.0042c3f0
mov esi, eax
jmp 0x430110
xor esi, esi
mov dword [esp + 0x14], esi
test esi, esi
je 0x430121
lea eax, [esi + 4]
mov ecx, ebx
lock xadd dword [eax], ecx
mov edi, dword [esp + 0x28]
push edi
mov ecx, esi
mov byte [esp + 0x24], 3
call fcn.0042fcc0
mov dword [esp + 0xc], ebx
mov byte [esp + 0x20], bl
test esi, esi
je 0x430155
or edx, 0xffffffff
lea eax, [esi + 4]
lock xadd dword [eax], edx
cmp edx, ebx
jne 0x430155
mov edx, dword [esi]
mov eax, dword [edx]
push ebx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x20], 0
test ecx, ecx
je 0x43017b
or edx, 0xffffffff
lea eax, [ecx + 4]
lock xadd dword [eax], edx
cmp edx, ebx
jne 0x43017b
test ecx, ecx
je 0x43017b
mov edx, dword [ecx]
mov eax, dword [edx]
push ebx
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret
mov esi, dword [esp + 0x28]
mov ecx, eax
mov dword [esi], 0
mov dword [esp + 0xc], ebx
mov byte [esp + 0x20], 0
or edx, 0xffffffff
add eax, 4
lock xadd dword [eax], edx
cmp edx, ebx
jne 0x4301bd
test ecx, ecx
je 0x4301bd
mov eax, dword [ecx]
mov edx, dword [eax]
push ebx
call edx
mov ecx, dword [esp + 0x18]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret
Function at 0x435320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55decc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x570940
mov dword [esp + 0x20], 0
lea ebp, [esi + 4]
mov edi, ebp
push edi
mov dword [esp + 0x14], edi
call dword [fcn.0056f40c]
mov ecx, esi
mov byte [esp + 0x20], 5
call fcn.004351a0
push edi
call dword [fcn.0056f408]
lea edi, [esi + 0x48]
mov dword [esp + 0x10], edi
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov byte [esp + 0x2c], 6
call fcn.00434f10
mov edi, dword [edi + 4]
push edi
call fcn.0043e38e
lea edi, [esi + 0x38]
add esp, 4
mov dword [esp + 0x14], edi
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov byte [esp + 0x2c], 7
call fcn.004315b0
mov edx, dword [edi + 4]
push edx
call fcn.0043e38e
add esp, 4
cmp dword [esi + 0x30], 0x10
jb 0x4353da
mov eax, dword [esi + 0x1c]
push eax
call fcn.0043e38e
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], 0
push ebp
mov byte [esi + 0x1c], 0
call dword [fcn.0056f410]
mov ecx, dword [esp + 0x18]
pop edi
mov dword [esi], 0x570880
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret