joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007ca58
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1007ca90
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1007ab29
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.1007ab01
jmp 0x1007ca9c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x1007e146
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1007e188
call fcn.10083ae0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1007e188
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1007e17f
xor eax, eax
jmp 0x1007e190
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1007e196
pop edi
pop esi
pop ebx
ret 4
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2c940003
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, str._LH
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4c0027d0
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10015e43
Capabilities:
Get number of processors

Disassembly:
jmp 0x10015e6e
add eax, dword [esp]
dec esi
push ebp
xor ecx, edx
mov ebp, esp
add esi, ecx
sub esp, 0x28
mov eax, 0x64
sub eax, eax
mov dword [ebp - 0x20], 4
sub dword [ebp - 0x20], 0x23
cmp dword [ebp - 0x1c], eax
je 0x10015ea6
xor ecx, ecx
add dword [ebp - 0x18], 1
xor dword [ebp - 0x1c], 0xff
lea ecx, [ebp - 0x20]
lea ecx, [ebp - 0x18]
push 0xc
push dword fs:[0x30]
sub dword [ebp - 0x30], 0x16411
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
call edi
je 0x100162a7
call fcn.10015fc5
ret 0x646a
call fcn.10017630
int1
pop es
pop ss
sub byte es:[edi + ecx*8 + 0x72], cl
xchg esi, eax
out 0xee, eax
pop eax
mov byte [0x64486c7c], al
mov ebp, 0x13c35bdf
pop ecx
neg esp
insd dword es:[edi], dx
dec ebp
aad 0x59
add eax, 0xe4c940f0
sahf
mov dword [esi], ebx
insd dword es:[edi], dx
sub al, byte [edi]
out 0x4b, al
xor ch, byte [edi]
loop 0x10016346
fmul dword [ebx - 0x6494f6f0]
dec edx
int3
xchg ecx, eax
out 0x58, eax
and byte [edx + 0x2b], cl
mov cl, 0x67
ret
Function at 0x401540
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, edx
movzx esi, cx
mov eax, 0x5e6ea9af
shr ecx, 0x10
mul dword [ebp + 8]
mov dword [ebp - 0x10], ecx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, dword [ebp + 8]
mov ebx, edx
sub ebx, eax
mov dword [ebp - 4], ebx
test edi, edi
jne 0x40157d
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
je 0x401693
xor edx, edx
mov dword [ebp - 8], edx
cmp ebx, 7
jbe 0x4015f4
mov eax, 7
sub eax, edi
mov dword [ebp - 0x10], eax
nop dword [eax]
movzx eax, byte [edi]
add edx, 8
add esi, eax
movzx eax, byte [edi + 1]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 2]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 3]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 4]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 5]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 6]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 7]
add ecx, esi
add edi, 8
add esi, eax
mov eax, dword [ebp - 0x10]
add eax, edi
add ecx, esi
cmp eax, ebx
jb 0x4015a0
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 4]
xor ebx, ebx
xor edx, edx
cmp dword [ebp - 8], eax
jae 0x401655
sub eax, dword [ebp - 8]
cmp eax, 2
jb 0x401648
mov eax, dword [ebp - 8]
mov ecx, ebx
mov edx, dword [ebp - 4]
sub edx, eax
sub edx, 2
shr edx, 1
inc edx
lea eax, [eax + edx*2]
mov dword [ebp - 8], eax
nop
movzx eax, byte [edi]
add esi, eax
movzx eax, byte [edi + 1]
add ebx, esi
add edi, 2
add esi, eax
add ecx, esi
sub edx, 1
jne 0x401620
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jae 0x401650
movzx eax, byte [edi]
add esi, eax
add ecx, esi
inc edi
lea eax, [edx + ebx]
add ecx, eax
mov eax, 0x80078071
mov ebx, 0x15b0
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
add esi, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
add ecx, eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], ebx
jne 0x401585
shl ecx, 0x10
pop edi
lea eax, [esi + ecx]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4016a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 4
jb 0x40170b
push edi
mov edi, esi
shr edi, 2
movzx eax, byte [edx]
sub esi, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x483138]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x483138]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x483138]
movzx eax, byte [edx + 3]
add edx, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x483138]
sub edi, 1
jne 0x4016b4
pop edi
test esi, esi
je 0x40172a
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x483138]
sub esi, 1
jne 0x401710
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x407960
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4701df
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x491040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
call fcn.00435957
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
mov eax, dword [ebp + 8]
test eax, eax
je 0x407a11
push eax
push esi
call fcn.00435e62
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push str.bad_locale_name
call fcn.00435baa
int3
Function at 0x413830
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4729d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x491040]
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 edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
lea ebx, [edx + 4]
cmp dword [ebp + 0xc], 1
lea esi, [edx + 8]
mov dword [ebp - 0x14], eax
lea edi, [edx + 0x14]
sete al
mov dword [edx + 0xc], ebx
mov byte [edx + 0x48], al
lea ecx, [edx + 0x18]
mov eax, dword [ebp - 0x20]
mov byte [edx + 0x3d], 0
mov dword [edx + 0x10], esi
mov dword [edx + 0x1c], edi
mov dword [edx + 0x20], ecx
add edx, 0x24
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x18]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp - 0x14]
mov dword [edi], 0
mov dword [edx], 0
test ebx, ebx
je 0x413919
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push eax
push ebx
call fcn.00456e1c
mov edx, dword [ebp - 0x20]
add esp, 0x10
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
jmp 0x41391c
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x4c], ebx
mov eax, dword [0x4964c4]
mov ecx, dword [0x4964c8]
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
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.004347ab
mov esp, ebp
pop ebp
ret 8
Function at 0x429190
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x4291b8
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x4291c0
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x4291d9
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x4291e1
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x4291fa
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x429202
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x42921b
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x429223
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call fcn.00429264
Function at 0x42c8d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x42c8fb
mov edx, dword [ebp + 8]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x42c8e4
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret
Function at 0x430870
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476ae9
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x491040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 2
lea edi, [esi + 8]
push 0
mov ecx, edi
mov dword [ebp - 0x2c], edi
call fcn.00413b00
mov byte [ebp - 4], 4
lea ebx, [esi + 0x18]
push 0
mov ecx, ebx
mov dword [ebp - 0x30], ebx
call fcn.00413b00
mov byte [ebp - 4], 6
lea ecx, [esi + 0x28]
push 0
mov dword [ebp - 0x34], ecx
call fcn.00413b00
mov byte [ebp - 4], 8
lea ecx, [esi + 0x38]
push 0
mov dword [ebp - 0x38], ecx
call fcn.00413b00
mov byte [ebp - 4], 0xa
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004123a0
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xc
mov cl, byte [edi]
movzx eax, byte [ebp - 0x1c]
mov byte [edi], al
mov edx, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x1c], cl
mov ecx, dword [ebp - 0x10]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.00414660
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004123a0
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xf
mov cl, byte [ebx]
movzx eax, byte [ebp - 0x1c]
mov byte [ebx], al
mov edx, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x1c], cl
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.00414660
lea eax, [ebp + 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004123a0
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0x12
mov edi, dword [ebp - 0x20]
movzx eax, byte [ebp - 0x1c]
mov cl, byte [edi + 0x28]
mov byte [edi + 0x28], al
mov edx, dword [edi + 0x30]
mov esi, dword [edi + 0x34]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x1c], cl
mov ecx, dword [ebp - 0x10]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.00414660
mov ecx, edi
call fcn.004305a0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
push dword [ebp + 8]
call fcn.00414660
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x20]
push dword [ebp + 0x18]
call fcn.00414660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
push dword [ebp + 0x28]
call fcn.00414660
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x432eb0
Capabilities:
Create restart manager session
Enumerate processes that use resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476f06
mov eax, dword fs:[0]
push eax
mov eax, 0x1a94
call fcn.0046f660
mov eax, dword [0x491040]
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 - 4], 3
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0xf
cmova eax, dword [ebp + 0x20]
push eax
call fcn.00434550
sub esp, 0x18
mov esi, eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x1a98], esp
mov ecx, esp
push eax
call fcn.00413080
mov byte [ebp - 4], 4
push esi
mov byte [ebp - 4], 3
call fcn.00434330
sub esp, 0x18
mov dword [ebp - 0x1aa0], eax
lea eax, [ebp + 0x50]
mov dword [ebp - 0x1a9c], esp
mov ecx, esp
push eax
call fcn.00413080
mov byte [ebp - 4], 5
push esi
mov byte [ebp - 4], 3
call fcn.00434330
mov esi, eax
lea eax, [ebp - 0x54]
push 0x42
push 0
push eax
mov dword [ebp - 0x1a9c], esi
call fcn.0044d070
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0
lea eax, [ebp - 0x1a74]
push eax
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x43308c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1a94]
push eax
call fcn.00432420
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1a94]
cmp dword [ebp - 0x1a80], 7
push 0
cmova eax, dword [ebp - 0x1a94]
push 0
push 0
push 0
mov dword [ebp - 0x1a98], eax
lea eax, [ebp - 0x1a98]
push eax
push 1
push dword [ebp - 0x1a74]
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x433071
lea eax, [ebp - 0x1a78]
mov dword [ebp - 0x1a70], 0xa
push eax
lea eax, [ebp - 0x1a6c]
push eax
lea eax, [ebp - 0x1a70]
push eax
lea eax, [ebp - 0x1a7c]
push eax
push dword [ebp - 0x1a74]
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
test eax, eax
jne 0x433071
xor edi, edi
cmp dword [ebp - 0x1a70], edi
jbe 0x433071
lea ebx, [ebp - 0x1a6c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebx]
cmp ecx, eax
je 0x433062
push ecx
push 0
push 1
mov ecx, esi
call dword [0x4791e8]
call esi
mov esi, eax
test esi, esi
je 0x43305c
mov ecx, dword [ebp - 0x1aa0]
push 0
push esi
call dword [0x4791e8]
call dword [ebp - 0x1aa0]
test eax, eax
je 0x433055
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1a9c]
inc edi
add ebx, 0x29c
cmp edi, dword [ebp - 0x1a70]
jb 0x433012
push dword [ebp - 0x1a74]
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1a94]
call fcn.00414060
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00414300
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x20]
call fcn.00414300
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x38]
call fcn.00414300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x50]
call fcn.00414300
xor eax, eax
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.004347ab
mov esp, ebp
pop ebp
ret 0x60
Function at 0x433660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47701d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x491040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edi
push 1
mov dword [edi], vtable.std::wstring_convert_class_std::codecvt_utf8_utf16_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
call fcn.00435d64
mov dword [edi + 0xc], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0xf
mov byte [edi + 0x10], 0
mov byte [ebp - 4], 1
xor eax, eax
movups xmmword [edi + 0x28], xmm0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 7
mov word [edi + 0x28], ax
mov byte [ebp - 4], 2
push 0x34
mov word [edi + 0x48], ax
mov byte [edi + 0x4a], al
call fcn.004349be
mov esi, eax
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 3
mov dword [esi], vtable.std::_Facet_base.0
mov byte [ebp - 4], 4
mov dword [esi], vtable.std::locale::facet.0
mov dword [esi + 4], 0
mov byte [ebp - 4], 5
mov dword [esi], vtable.std::codecvt_base.0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x44]
push 0x34
push 0
push eax
mov dword [esi], vtable.std::codecvt_wchar_t__char__struct__Mbstatet_.0
call fcn.0044d070
add esp, 0x14
lea ecx, [ebp - 0x44]
push 0x485efc
call fcn.00407960
mov byte [ebp - 4], 7
lea eax, [ebp - 0x7c]
push eax
call fcn.00436490
add esp, 4
movups xmm0, xmmword [eax]
movups xmm1, xmmword [eax + 0x10]
movq xmm2, qword [eax + 0x20]
mov eax, dword [eax + 0x28]
movups xmmword [esi + 8], xmm0
movups xmmword [esi + 0x18], xmm1
movq qword [esi + 0x28], xmm2
mov dword [esi + 0x30], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x44]
call fcn.00407a20
mov byte [ebp - 4], 8
mov dword [esi], vtable.std::codecvt_utf8_utf16_wchar_t__1114111__0_.0
mov byte [ebp - 4], 2
mov ecx, edi
push esi
call fcn.00433e40
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004347ab
mov esp, ebp
pop ebp
ret
Function at 0x434330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4771e5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x491040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
test edx, edx
jne 0x434385
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00414300
xor eax, eax
jmp 0x4344e6
mov dword [ebp - 0x30], edx
mov eax, dword [edx + 0x3c]
mov ecx, dword [eax + edx + 0x78]
add ecx, edx
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx + 0x24]
add eax, edx
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 0x20]
add eax, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], 0xffffffff
xor edi, edi
mov dword [ebp - 0x28], edi
mov eax, dword [ecx + 0x18]
dec eax
cmp edi, eax
jae 0x4344c8
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + edi*4]
add eax, edx
mov dword [ebp - 0x24], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
mov byte [ebp - 4], 1
call fcn.004519f3
mov dword [ebp - 0x2c], eax
lea esi, [ebp + 0xc]
cmp dword [ebp + 0x20], 0xf
cmova esi, dword [ebp + 0xc]
mov dword [eax], 0
push 0xa
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.00456b07
add esp, 0xc
mov ecx, eax
cmp esi, dword [ebp - 0x18]
je 0x43452e
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0x22
je 0x434538
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0
jmp 0x43444f
mov edx, dword [ebp - 0x24]
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov eax, edx
lea esi, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x434470
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x5c]
call fcn.00416690
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
cmova ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x4c]
call fcn.004234b0
mov esi, eax
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00414300
cmp esi, dword [ebp - 0x3c]
jne 0x434522
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x38]
jne 0x434522
mov eax, dword [ebp - 0x44]
movzx eax, word [eax + edi*2]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x1c]
add ecx, edx
mov eax, dword [ebp - 0x34]
mov esi, dword [ecx + eax*4]
add esi, edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00414300
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004347ab
mov esp, ebp
pop ebp
ret 0x1c
inc edi
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
jmp 0x4343ad
push str.invalid_stoull_argument
call fcn.00435b4a
push str.stoull_argument_out_of_range
call fcn.00435b8a
int3