joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c1b0
Capabilities:
Get file size

Disassembly:
push ecx
push esi
push 0
push eax
mov eax, dword [esp + 0x14]
mov ecx, edi
call fcn.004371d0
test al, al
jne 0x43c1c9
pop esi
pop ecx
ret 4
mov edx, dword [edi + 4]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43c1f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43c1f3
xor esi, esi
mov dword [edi + 0x358], esi
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x43dc70
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, ebx
call fcn.0043d740
test eax, eax
jl 0x43dea8
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
push edi
test edx, edx
jle 0x43dcdd
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
lea esp, [esp]
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x43dca0
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x43dea4
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x4e7378]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4e7378]
and esi, 0xff
mov esi, dword [esi*4 + 0x4e7f78]
and edi, 0xff
xor esi, dword [edi*4 + 0x4e8778]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e7378]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4e8b78]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x4e7378]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4e8378]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x4e7378]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4e7378]
and esi, 0xff
mov esi, dword [esi*4 + 0x4e7f78]
and edi, 0xff
xor esi, dword [edi*4 + 0x4e8778]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x4e7378]
and edi, 0xff
xor esi, dword [edi*4 + 0x4e8378]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e7378]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4e8b78]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x4e7378]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4e7378]
and esi, 0xff
mov esi, dword [esi*4 + 0x4e7f78]
and edi, 0xff
xor esi, dword [edi*4 + 0x4e8778]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x4e7378]
and edi, 0xff
xor esi, dword [edi*4 + 0x4e8378]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e7378]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4e8b78]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x4e7378]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4e7378]
and esi, 0xff
mov esi, dword [esi*4 + 0x4e7f78]
and edi, 0xff
xor esi, dword [edi*4 + 0x4e8778]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x4e7378]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4e7378]
and edi, 0xff
xor esi, dword [edi*4 + 0x4e8378]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4e8b78]
inc edx
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x43dcf1
pop edi
xor eax, eax
pop esi
ret
Function at 0x43e9f0
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
mov edi, eax
cmp edi, 3
mov esi, edx
jl 0x43ea75
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea eax, [edx + edx*2]
sub edi, eax
push ebx
lea ebx, [ebx]
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + 0x4e6eb0]
mov byte [ecx], al
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
or eax, ebx
movzx eax, byte [eax + 0x4e6eb0]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
inc ecx
and eax, 0xf
add eax, eax
add eax, eax
shr ebx, 6
or eax, ebx
movzx eax, byte [eax + 0x4e6eb0]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
movzx eax, byte [eax + 0x4e6eb0]
inc ecx
mov byte [ecx], al
inc ecx
add esi, 3
sub edx, 1
jne 0x43ea10
pop ebx
test edi, edi
jle 0x43ead5
movzx edx, byte [esi]
shr edx, 2
movzx eax, byte [edx + 0x4e6eb0]
mov byte [ecx], al
mov al, byte [esi]
and al, 3
inc ecx
shl al, 4
cmp edi, 1
jle 0x43ea9d
mov dl, byte [esi + 1]
shr dl, 4
or al, dl
movzx eax, al
mov dl, byte [eax + 0x4e6eb0]
mov byte [ecx], dl
inc ecx
cmp edi, 2
jge 0x43eabf
mov eax, 0x3d
mov byte [ecx], al
inc ecx
mov byte [ecx], al
inc ecx
pop edi
mov byte [ecx], 0
pop esi
ret
movzx eax, byte [esi + 1]
and eax, 0xf
movsx eax, byte [eax*4 + 0x4e6eb0]
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
pop edi
mov byte [ecx], 0
pop esi
ret

Function at 0x43ec50
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
push ebx
push esi
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x43ec62
mov esi, 0x5110a4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0043c4d0
add esp, 4
lea ebx, [esp + 8]
mov eax, esi
call fcn.0043c770
mov eax, esi
pop esi
pop ebx
add esp, 0x5c
ret
Function at 0x43f030
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
mov ebx, eax
mov esi, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
push edi
mov edi, ecx
test eax, eax
jle 0x43f060
jmp 0x43f050
xor dword [edi], esi
imul esi, esi, 0x5b230545
add edi, 4
sub eax, 1
jne 0x43f050
and ebx, reloc.WS2_32.dll_closesocket
jns 0x43f06d
dec ebx
or ebx, 0xfffffffc
inc ebx
je 0x43f09c
push ebx
lea eax, [esp + 0x10]
push edi
push eax
mov dword [esp + 0x18], 0
call fcn.004a7010
xor dword [esp + 0x18], esi
push ebx
lea ecx, [esp + 0x1c]
push ecx
push edi
call fcn.004a7010
add esp, 0x18
imul esi, esi, 0x5b230545
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret

Function at 0x43f0b0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4c6b08
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
xor ecx, ecx
mov byte [esp + 0x1c], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
mov edi, edx
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp eax, ecx
jle 0x43f131
mov ebx, eax
mov eax, dword [edi]
mov edx, dword [ebp]
mov edx, dword [edx + 4]
xor eax, esi
mov dword [esp + 0x3c], eax
push 4
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
add edi, 4
call edx
imul esi, esi, 0x5b230545
sub ebx, 1
jne 0x43f103
xor ecx, ecx
mov ebx, dword [esp + 0x38]
and ebx, reloc.WS2_32.dll_closesocket
jns 0x43f142
dec ebx
or ebx, 0xfffffffc
inc ebx
je 0x43f176
push ebx
lea eax, [esp + 0x3c]
push edi
push eax
mov dword [esp + 0x44], ecx
call fcn.004a7010
mov edx, dword [ebp]
mov edx, dword [edx + 4]
xor dword [esp + 0x44], esi
add esp, 0xc
push ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call edx
imul esi, esi, 0x5b230545
lea ecx, [esp + 0x18]
call fcn.0042c930
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x43f3b0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4cb0ec
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x498], eax
push ebx
push esi
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 0x4a8]
mov dword fs:[0], eax
lea esi, [esp + 0x144]
call fcn.00437080
xor ebx, ebx
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x498], 0x4f396c
mov dword [esp + 0x49c], ebx
mov dword [esp + 0x4a0], ebx
mov dword [esp + 0x4b0], ebx
mov byte [esp + 0x14], bl
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
lea esi, [edi + 0x10]
cmp byte [edi + 0x120], bl
jne 0x43f43c
mov esi, dword [edi + 0xc]
lea ecx, [esp + 0x20]
call fcn.00430920
lea eax, [esi + 4]
lea edx, [esp + 0x20]
call fcn.00430b00
push ebx
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14c]
mov byte [esp + 0x4b8], 3
call fcn.004371d0
test al, al
je 0x43f4aa
mov edx, dword [esp + 0x148]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43f49f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x43f49f
xor eax, eax
jmp 0x43f4a1
mov eax, esi
mov dword [esp + 0x49c], eax
mov al, 1
cmp al, bl
mov byte [esp + 0x4b0], 1
sete byte [esp + 0xf]
mov dword [esp + 0x20], vtable.t_str.0
cmp byte [esp + 0x13c], bl
jne 0x43f4df
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
cmp eax, ecx
je 0x43f4df
push eax
call fcn.004a4a7f
add esp, 4
cmp byte [esp + 0xf], bl
jne 0x43f543
push 4
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4a4]
call fcn.0043c200
mov ecx, dword [esp + 0x18]
cmp ecx, dword [edi + 0x12c]
jne 0x43f543
lea ecx, [esp + 0x10]
call fcn.0042c930
mov dword [esp + 0x4b0], 0xffffffff
lea ecx, [esp + 0x144]
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x498], 0x4f3cb0
call fcn.00437100
mov al, 1
jmp 0x43f57b
lea ecx, [esp + 0x10]
call fcn.0042c930
mov dword [esp + 0x4b0], 0xffffffff
lea ecx, [esp + 0x144]
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x498], 0x4f3cb0
call fcn.00437100
xor al, al
mov ecx, dword [esp + 0x4a8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x498]
xor ecx, esp
call fcn.004a4a25
add esp, 0x4a8
ret
Function at 0x442310
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x50d608], 0
je 0x442365
mov eax, dword [0x50d610]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x442365
cmp dword [eax], 0xd
jbe 0x442365
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x442365
push 0
push 0x50ed64
push 0x50ed44
push 0
push eax
call fcn.004ae5ec
add esp, 0x14
test eax, eax
je 0x442365
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 4]
mov dword [ecx], eax
mov al, 1
ret
xor al, al
ret

Function at 0x442370
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x50d608], 0
push esi
push edi
mov esi, eax
je 0x4423b9
mov eax, dword [0x50d610]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
test eax, eax
je 0x4423b9
cmp dword [eax], 0xd
jbe 0x4423b9
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 0x34]
test ecx, ecx
jne 0x4423e6
push 8
call fcn.004a5359
add esp, 4
test eax, eax
je 0x4423be
mov dword [eax + 4], esi
mov dword [eax], vtable.t_visualDataItemPtr_class_t_perfManager_.0
mov esi, eax
jmp 0x4423c0
pop edi
xor al, al
pop esi
ret
xor esi, esi
cmp dword [0x50d608], 0
je 0x4423ee
mov edx, dword [0x50d610]
push edx
call edi
test eax, eax
je 0x4423ee
cmp dword [eax], 0xd
jbe 0x4423ee
mov eax, dword [eax + 8]
mov dword [eax + 0x34], esi
pop edi
mov al, 1
pop esi
ret
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push esi
call eax
pop edi
mov al, 1
pop esi
ret
Function at 0x4425a0
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x238
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x234], eax
mov eax, dword [esp + 0x23c]
push ebx
mov ebx, dword [esp + 0x248]
push ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x248]
push esi
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edx
test ebx, ebx
je 0x44273b
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x44273b
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
je 0x44273b
mov al, byte [ebp]
cmp al, 0xe9
je 0x442617
cmp al, 0xe8
jne 0x44273b
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x42]
push ecx
mov word [esp + 0x44], ax
call fcn.004a7380
add esp, 0xc
push 0x104
lea edx, [esp + 0x3c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
push eax
lea esi, [esp + 0x2c]
lea edi, [esp + 0x3c]
mov word [esp + 0x2c], ax
mov dword [esp + 0x2e], eax
mov word [esp + 0x32], ax
call fcn.0042e580
mov edx, dword [esp + 0x1c]
add esp, 4
mov edi, esi
call fcn.004386f0
test al, al
je 0x44273b
push 0x2c
call fcn.004a5359
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
add edi, 0x18
push ecx
mov eax, edi
mov dword [esp + 0x1c], esi
call fcn.00444b50
mov dword [esi], eax
push ebx
mov eax, edi
call fcn.00444ab0
mov edx, dword [esp + 0x28]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov ecx, dword [ebp]
mov dword [esi + 0x10], ecx
mov edx, dword [ebp + 4]
mov dword [esi + 0x14], edx
mov eax, dword [ebp + 8]
mov dword [esi + 0x18], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x24], ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4426d6
push 0x40
sub eax, edx
push 0x1000
sar eax, 1
shr eax, 1
push 0x15
push 0
mov byte [esp + 0x27], al
mov byte [esi + 0x20], al
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, dword [esp + 0x20]
mov ebx, eax
mov eax, edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442710
sub eax, edx
sar eax, 1
cdq
sub eax, edx
sar eax, 1
cmp eax, 0x15
jg 0x442732
call fcn.00442840
test eax, eax
jg 0x44273f
push esi
call fcn.004a4a1a
add esp, 4
xor eax, eax
jmp 0x44278f
movzx eax, byte [esp + 0x17]
push 5
lea edx, [esp + 0x34]
push edx
mov ecx, 0x15
sub ecx, eax
sub ebp, ebx
push ecx
add eax, ebx
mov dword [esp + 0x3d], 0
sub ebp, 5
push eax
mov byte [esp + 0x40], 0xe9
mov dword [esp + 0x41], ebp
call fcn.004a5651
mov dword [esi + 0x28], ebx
mov esi, dword [esp + 0x2c]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
add esi, 0x84
call fcn.00434bd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a4a25
add esp, 0x238
ret 0xc
Function at 0x4434a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c6a98
mov eax, dword fs:[0]
push eax
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], fcn.004a4b5c
mov dword [eax + 0x24], fcn.004a50d2
mov dword [eax + 0x28], fcn.004a4a7f
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax], vtable.n_config::t_arraySection_class_t_configSignatureFile::t_signature_.0
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0xc
Function at 0x44c290
Capabilities:
Create thread
Get thread local storage value

Disassembly:
cmp dword [0x50d608], 0
je 0x44c2f8
push esi
push 0xc
call fcn.004a4b5c
mov esi, eax
add esp, 4
mov dword [esi], 0x43a570
mov dword [esi + 4], edi
cmp dword [0x50d608], 0
jne 0x44c2bc
xor eax, eax
jmp 0x44c2c8
mov eax, dword [0x50d610]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esi + 8], eax
test eax, eax
je 0x44c2eb
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
push 0
push 0x44c1c0
call fcn.004a4d27
add esp, 0xc
pop esi
ret
push esi
call fcn.004a4a7f
add esp, 4
xor eax, eax
pop esi
ret
push edi
push 0
push 0x43a570
call fcn.004a4d27
add esp, 0xc
ret

Function at 0x44c310
Capabilities:
Get thread local storage value

Disassembly:
cmp dword [0x50d608], 0
je 0x44c365
mov eax, dword [0x50d610]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44c365
cmp dword [eax], 1
jbe 0x44c365
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 4]
test eax, eax
je 0x44c365
push 0
push 0x50ee20
push 0x50ed44
push 0
push eax
call fcn.004ae5ec
add esp, 0x14
test eax, eax
je 0x44c365
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 4]
mov byte [ecx], al
mov al, 1
ret
xor al, al
ret

Function at 0x44d270
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x808
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x804], eax
mov ecx, dword [esp + 0x80c]
push esi
lea eax, [esp + 0x814]
push eax
push ecx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_wvsprintfW]
mov esi, eax
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [0x513e70]
lea ecx, [esi + esi]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004a4a25
add esp, 0x808
ret
Function at 0x44d2e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x474
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x46c], eax
push esi
push edi
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x6a]
push ecx
mov word [esp + 0x6c], ax
call fcn.004a7380
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
add esp, 0xc
push 0x4f194c
lea edx, [esp + 0x64]
push edx
call esi
push 0x513c68
lea eax, [esp + 0x64]
push eax
call esi
push 0x513c68
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jbe 0x44d49e
cmp word [eax*2 + 0x513c66], 0x5c
je 0x44d358
push 0x4f0024
lea ecx, [esp + 0x64]
push ecx
call esi
push str.crashrpt.exe
lea edx, [esp + 0x64]
push edx
call esi
push 0x4f461c
lea eax, [esp + 0x64]
push eax
call esi
push 0x513a60
lea ecx, [esp + 0x64]
push ecx
call esi
push 0x4f461c
lea edx, [esp + 0x64]
push edx
call esi
push str.sogoupy
lea eax, [esp + 0x64]
push eax
call esi
push 0x4f461c
lea ecx, [esp + 0x64]
push ecx
call esi
push 0x4f2db0
lea edx, [esp + 0x64]
push edx
call esi
push 0x4f194c
lea eax, [esp + 0x64]
push eax
call esi
push 0x5c
push 0x513858
call fcn.004a58ba
mov edi, eax
add esp, 8
test edi, edi
je 0x44d3f0
push 0x4f4624
lea ecx, [esp + 0x64]
push ecx
call esi
add edi, 2
push edi
lea edx, [esp + 0x64]
push edx
call esi
push 0x4f194c
lea eax, [esp + 0x64]
push eax
call esi
push 0x5c
push 0x513650
call fcn.004a58ba
mov edi, eax
add esp, 8
test edi, edi
je 0x44d428
push 0x4f4624
lea ecx, [esp + 0x64]
push ecx
call esi
add edi, 2
push edi
lea edx, [esp + 0x64]
push edx
call esi
push 0x4f194c
lea eax, [esp + 0x64]
push eax
call esi
push 0x44
lea ecx, [esp + 0x1c]
push 0
push ecx
call fcn.004a7380
xor eax, eax
add esp, 0xc
mov dword [esp + 0x18], 0x44
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.00428f90
add eax, 0xc
cmp dword [eax + 4], 0
jne 0x44d465
xor eax, eax
jmp 0x44d479
cmp byte [eax + 0x11c], 0
je 0x44d473
add eax, 0xc
jmp 0x44d476
mov eax, dword [eax + 8]
add eax, 4
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
push 0
push 0
push 0
push 0
push 0
lea edx, [esp + 0x80]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 0x474]
pop edi
pop esi
xor ecx, esp
call fcn.004a4a25
add esp, 0x474
ret
Function at 0x44d700
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x4f3208
push reloc.WS2_32.dll_accept
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x44d78e
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x14]
push eax
push 0
push str.CheckCrash
push ecx
mov dword [esp + 0x24], 4
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44d784
cmp dword [esp + 4], eax
je 0x44d784
push 4
lea edx, [esp + 0x14]
push edx
push 4
push eax
mov eax, dword [esp + 0x10]
push str.CheckCrashRes
push eax
mov dword [esp + 0x28], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x14
ret

Function at 0x44d7a0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [0x513e70], 0
je 0x44d7fc
cmp dword [0x513e7c], 0
je 0x44d7fc
push esi
push str.extra:_n
call fcn.0044d270
mov edx, dword [0x513e7c]
mov eax, edx
add esp, 4
mov dword [esp + 4], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44d7d4
sub eax, esi
push 0
sar eax, 1
lea ecx, [esp + 8]
push ecx
mov ecx, dword [0x513e70]
add eax, eax
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ecx
ret
Function at 0x44e9b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c9166
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x144], eax
push ebx
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], vtable.t_reg.0
call fcn.00430920
xor ebx, ebx
mov eax, str.MACHINE
lea edx, [esp + 0x28]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00430b00
mov dword [esp + 0x158], ebx
mov byte [esp + 0x10], bl
mov dword [esp + 0xc], ebx
push 1
push ebx
push ebx
push 0x4eef0c
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x16c], 1
call fcn.00431bf0
lea ecx, [esp + 0xc]
test al, al
jne 0x44ea95
call fcn.0042c930
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], vtable.t_reg.0
cmp eax, ebx
je 0x44ea67
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], vtable.t_str.0
cmp byte [esp + 0x144], bl
jne 0x44ea91
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x44ea91
push eax
call fcn.004a4a7f
add esp, 4
mov al, 1
jmp 0x44eaed
push 4
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push ecx
mov eax, str.VirtualProcessLog
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 4
call fcn.00431db0
lea ecx, [esp + 0xc]
test al, al
jne 0x44ead6
call fcn.0042c930
lea ecx, [esp + 0x1c]
call fcn.00431ba0
mov al, 1
jmp 0x44eaed
cmp dword [esp + 0x14], ebx
sete bl
call fcn.0042c930
lea ecx, [esp + 0x1c]
call fcn.00431ba0
mov al, bl
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.004a4a25
add esp, 0x154
ret

Function at 0x44f640
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c82a3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov edi, dword [esp + 0x34]
xor ebx, ebx
mov dword [edi], ebx
mov dword [edi + 8], 0xffffffff
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
call fcn.00428f90
mov esi, eax
call fcn.00428f90
mov ebp, eax
mov eax, esi
call fcn.004280b0
mov dword [esp + 0x14], eax
mov eax, ebp
call fcn.00428060
push eax
mov eax, dword [esp + 0x18]
lea esi, [edi + 0x20]
mov ecx, eax
call fcn.00450c30
lea eax, [edi + 0x30]
mov dword [esp + 0x2c], ebx
call fcn.00412cf0
cmp byte [0x50da80], bl
jne 0x44f6f2
mov byte [esp + 0x1c], bl
mov dword [esp + 0x18], ebx
push 0x4f53a0
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x50d850
mov byte [esp + 0x34], 1
call fcn.0043b380
lea ecx, [esp + 0x18]
call fcn.0042c930
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4