joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449f10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x68]
mov ebx, dword [edi + 4]
xor esi, esi
mov dword [esp + 0x20], ebx
test ebx, ebx
jle 0x449f53
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x10], eax
lea ebp, [edi + 0x21c]
mov ecx, dword [esp + 0x10]
call fcn.0043da90
xor eax, dword [ebp]
add dword [esp + 0x10], 4
mov dword [esp + esi*4 + 0x24], eax
inc esi
add ebp, 4
cmp esi, ebx
jl 0x449f36
mov ecx, dword [edi + 8]
cmp ecx, 1
lea esi, [esp + 0x44]
mov edx, ebx
lea eax, [esp + 0x24]
mov dword [esp + 0x14], esi
jle 0x44a018
dec ecx
mov dword [esp + 0x18], ecx
test ebx, ebx
jle 0x44a003
mov ebp, eax
lea ecx, [edi + 0x24]
lea edi, [edi + edx*4 + 0x21c]
sub ebp, esi
add edx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], edx
movzx edx, byte [ecx]
mov edx, dword [eax + edx*4]
movzx ebx, byte [ecx + 1]
movzx ebx, byte [eax + ebx*4 + 2]
mov ebx, dword [ebx*4 + 0x49e390]
shr edx, 8
movzx edx, dl
mov edx, dword [edx*4 + 0x49e390]
rol edx, 8
rol ebx, 0x10
xor edx, ebx
movzx ebx, byte [ecx + 2]
movzx ebx, byte [eax + ebx*4 + 3]
mov ebx, dword [ebx*4 + 0x49e390]
ror ebx, 8
xor edx, ebx
movzx ebx, byte [esi + ebp]
xor edx, dword [ebx*4 + 0x49e390]
add edi, 4
xor edx, dword [edi - 4]
add esi, 4
mov dword [esi - 4], edx
add ecx, 3
sub dword [esp + 0x10], 1
jne 0x449f92
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
sub dword [esp + 0x18], 1
mov ecx, eax
mov eax, esi
mov esi, ecx
mov dword [esp + 0x14], esi
jne 0x449f72
test ebx, ebx
jle 0x44a0b2
lea edx, [edi + edx*4 + 0x21c]
mov dword [esp + 0x18], edx
mov edx, eax
sub edx, esi
lea ecx, [edi + 0x24]
mov ebp, esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ebx
lea esp, [esp]
movzx edx, byte [ecx]
mov edx, dword [eax + edx*4]
shr edx, 8
movzx edx, dl
movzx edi, byte [edx + 0x49e190]
movzx edx, byte [ecx + 1]
movzx edx, byte [eax + edx*4 + 2]
movzx edx, byte [edx + 0x49e190]
rol edi, 8
rol edx, 0x10
xor edi, edx
movzx edx, byte [ecx + 2]
movzx edx, byte [eax + edx*4 + 3]
movzx edx, byte [edx + 0x49e190]
ror edx, 8
xor edi, edx
mov edx, dword [esp + 0x20]
movzx edx, byte [edx + ebp]
movzx edx, byte [edx + 0x49e190]
xor edi, edx
mov edx, dword [esp + 0x18]
xor edi, dword [edx]
add edx, 4
mov dword [ebp], edi
add ebp, 4
add ecx, 3
sub dword [esp + 0x14], 1
mov dword [esp + 0x18], edx
jne 0x44a040
mov edi, dword [esp + 0x68]
xor ebp, ebp
test ebx, ebx
jle 0x44a0e0
mov ecx, dword [esp + 0x6c]
mov ebx, eax
sub ebx, esi
mov eax, dword [esi]
call fcn.0043dab0
mov dword [esi], 0
mov dword [ebx + esi], 0
inc ebp
add esi, 4
add ecx, 4
cmp ebp, dword [edi + 4]
jl 0x44a0c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
Function at 0x44c220
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, eax
mov esi, ecx
cmp ebx, edi
jne 0x44c301
mov eax, dword [esi + 8]
mov ecx, dword [esi]
test eax, eax
jne 0x44c291
mov eax, dword [esi + 4]
push edi
push eax
push ecx
call fcn.00459270
mov edx, dword [esi]
mov eax, dword [esp + 0x24]
push edx
push eax
call dword [esp + 0x30]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push edi
push ecx
push edx
call fcn.00459270
mov esi, dword [esi]
add esp, 0x20
test edi, edi
jle 0x44c3d1
mov ecx, esi
mov eax, ebp
sub ecx, ebp
lea esp, [esp]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub edi, 1
jne 0x44c280
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ebx, edi
sub ebx, eax
add ecx, eax
test ebx, ebx
jle 0x44c2b0
mov eax, ebp
sub ecx, ebp
mov dword [esp + 0x24], ebx
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub dword [esp + 0x24], 1
jne 0x44c2a3
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push edi
push eax
push ecx
call fcn.00459270
mov edx, dword [esi]
mov eax, dword [esp + 0x24]
push edx
push eax
call dword [esp + 0x30]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push edi
push ecx
push edx
call fcn.00459270
mov ecx, dword [esi + 8]
mov edx, dword [esi]
add esp, 0x20
lea eax, [ebx + ebp]
test ecx, ecx
jle 0x44c3d1
sub edx, eax
mov esi, ecx
lea ecx, [ecx]
mov cl, byte [edx + eax]
xor byte [eax], cl
inc eax
sub esi, 1
jne 0x44c2f0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov edx, dword [esi + 8]
test edx, edx
jne 0x44c355
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edi
push edx
push eax
call fcn.00459270
mov ecx, dword [esi]
mov edx, dword [esp + 0x24]
push ecx
push edx
call dword [esp + 0x30]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
push edi
push eax
push ecx
call fcn.00459270
mov eax, dword [esi]
add esp, 0x20
test ebx, ebx
jle 0x44c34c
sub eax, ebp
mov edi, ebx
jmp 0x44c340
mov dl, byte [eax + ebp]
xor byte [ebp], dl
inc ebp
sub edi, 1
jne 0x44c340
pop edi
mov dword [esi + 8], ebx
pop esi
pop ebp
pop ebx
pop ecx
ret
sub eax, edx
cmp eax, ebx
jge 0x44c35d
mov ebx, eax
mov ecx, dword [esi]
add ecx, edx
test ebx, ebx
jle 0x44c37d
mov eax, ebp
sub ecx, ebp
mov dword [esp + 0x10], ebx
lea ecx, [ecx]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub dword [esp + 0x10], 1
jne 0x44c370
add dword [esi + 8], ebx
cmp ebx, dword [esp + 0x24]
jge 0x44c3d1
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push edi
push eax
push ecx
call fcn.00459270
mov edx, dword [esi]
mov eax, dword [esp + 0x24]
push edx
push eax
call dword [esp + 0x30]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push edi
push ecx
push edx
call fcn.00459270
mov ecx, dword [esp + 0x44]
mov edi, dword [esi + 4]
sub ecx, ebx
add esp, 0x20
lea eax, [ebx + ebp]
test ecx, ecx
jle 0x44c3ce
sub edi, eax
mov ebp, ecx
mov dl, byte [edi + eax]
xor byte [eax], dl
inc eax
sub ebp, 1
jne 0x44c3c3
mov dword [esi + 8], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x44c4d0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
mov ebx, eax
cmp edi, ebx
jne 0x44c5a3
mov eax, dword [esi + 8]
mov ecx, dword [esi]
test eax, eax
jne 0x44c533
mov eax, dword [esi + 4]
push ebx
push eax
push ecx
call fcn.00459270
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [esp + 0x2c]
mov edi, dword [esi]
add esp, 0x14
test ebx, ebx
jle 0x44c520
mov eax, ebp
sub edi, ebp
mov ecx, ebx
mov dl, byte [edi + eax]
xor byte [eax], dl
inc eax
sub ecx, 1
jne 0x44c515
mov eax, dword [esi + 4]
push ebx
push ebp
push eax
call fcn.00459270
add esp, 0xc
pop edi
pop ebp
pop ebx
pop ecx
ret
mov edi, ebx
sub edi, eax
add ecx, eax
test edi, edi
jle 0x44c552
mov eax, ebp
sub ecx, ebp
mov dword [esp + 0x20], edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub dword [esp + 0x20], 1
jne 0x44c545
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push ebx
push eax
push ecx
call fcn.00459270
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [esp + 0x2c]
mov ecx, dword [esi + 8]
mov edx, dword [esi]
add esp, 0x14
lea eax, [edi + ebp]
test ecx, ecx
jle 0x44c58b
sub edx, eax
lea esp, [esp]
mov bl, byte [edx + eax]
xor byte [eax], bl
inc eax
sub ecx, 1
jne 0x44c580
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
add edx, edi
push ebp
push edx
call fcn.00459270
add esp, 0xc
pop edi
pop ebp
pop ebx
pop ecx
ret
mov edx, dword [esi + 8]
test edx, edx
jne 0x44c5f3
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push ebx
push eax
push ecx
call fcn.00459270
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [esp + 0x2c]
mov ecx, dword [esi]
add esp, 0x14
test edi, edi
jle 0x44c5dd
mov eax, ebp
sub ecx, ebp
mov edx, edi
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
sub edx, 1
jne 0x44c5d2
mov ecx, dword [esi + 4]
push edi
push ebp
push ecx
call fcn.00459270
add esp, 0xc
mov dword [esi + 8], edi
pop edi
pop ebp
pop ebx
pop ecx
ret
sub eax, edx
cmp eax, edi
jge 0x44c5fb
mov edi, eax
mov ecx, dword [esi]
add ecx, edx
test edi, edi
jle 0x44c61d
mov eax, ebp
sub ecx, ebp
mov dword [esp + 0xc], edi
jmp 0x44c610
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub dword [esp + 0xc], 1
jne 0x44c610
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
push edi
push ebp
push eax
call fcn.00459270
add dword [esi + 8], edi
add esp, 0xc
cmp edi, dword [esp + 0x20]
jge 0x44c68c
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ebx
push ecx
push edx
call fcn.00459270
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 4]
sub eax, edi
add esp, 0x14
lea ecx, [edi + ebp]
test eax, eax
jle 0x44c67b
mov edi, edx
sub edi, ecx
mov edx, eax
lea esp, [esp]
mov bl, byte [edi + ecx]
xor byte [ecx], bl
inc ecx
sub edx, 1
jne 0x44c670
mov edx, dword [esi + 4]
push eax
push ebp
push edx
mov dword [esi + 8], eax
call fcn.00459270
add esp, 0xc
pop edi
pop ebp
pop ebx
pop ecx
ret
Function at 0x44c6a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, eax
mov esi, ecx
cmp ebx, ebp
jne 0x44c775
mov eax, dword [esi + 8]
mov ecx, dword [esi]
test eax, eax
jne 0x44c706
mov eax, dword [esi + 4]
push ebp
push eax
push ecx
call fcn.00459270
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [esp + 0x2c]
mov ecx, dword [esi + 4]
push ebp
push edi
push ecx
call fcn.00459270
mov esi, dword [esi]
add esp, 0x20
test ebp, ebp
jle 0x44c850
mov ecx, esi
mov eax, edi
sub ecx, edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub ebp, 1
jne 0x44c6f6
pop edi
pop esi
pop ebp
pop ebx
ret
mov ebx, ebp
sub ebx, eax
add ecx, eax
test ebx, ebx
jle 0x44c725
mov eax, edi
sub ecx, edi
mov dword [esp + 0x20], ebx
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub dword [esp + 0x20], 1
jne 0x44c718
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push ebp
push eax
push ecx
call fcn.00459270
mov edx, dword [esi]
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [esp + 0x2c]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
add edx, ebx
push edi
push edx
call fcn.00459270
mov ecx, dword [esi + 8]
mov edx, dword [esi]
add esp, 0x20
lea eax, [ebx + edi]
test ecx, ecx
jle 0x44c850
sub edx, eax
mov esi, ecx
mov cl, byte [edx + eax]
xor byte [eax], cl
inc eax
sub esi, 1
jne 0x44c765
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esi + 8]
test edx, edx
jne 0x44c7c3
mov edx, dword [esi + 4]
mov eax, dword [esi]
push ebp
push edx
push eax
call fcn.00459270
mov ecx, dword [esi]
mov edx, dword [esp + 0x20]
push ecx
push edx
call dword [esp + 0x2c]
mov eax, dword [esi + 4]
push ebx
push edi
push eax
call fcn.00459270
mov eax, dword [esi]
add esp, 0x20
test ebx, ebx
jle 0x44c7bb
sub eax, edi
mov ebp, ebx
lea ecx, [ecx]
mov cl, byte [eax + edi]
xor byte [edi], cl
inc edi
sub ebp, 1
jne 0x44c7b0
pop edi
mov dword [esi + 8], ebx
pop esi
pop ebp
pop ebx
ret
mov eax, ebp
sub eax, edx
cmp eax, ebx
jge 0x44c7cd
mov ebx, eax
mov ecx, dword [esi]
add ecx, edx
test ebx, ebx
jle 0x44c7ed
mov eax, edi
sub ecx, edi
mov dword [esp + 0x1c], ebx
lea ecx, [ecx]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub dword [esp + 0x1c], 1
jne 0x44c7e0
mov eax, dword [esi + 8]
add eax, dword [esi + 4]
push ebx
push edi
push eax
call fcn.00459270
add dword [esi + 8], ebx
add esp, 0xc
cmp ebx, dword [esp + 0x20]
jge 0x44c850
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ebp
push ecx
push edx
call fcn.00459270
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
push eax
push ecx
call dword [esp + 0x2c]
mov ebp, dword [esp + 0x34]
mov edx, dword [esi + 4]
sub ebp, ebx
push ebp
push edi
push edx
call fcn.00459270
mov ecx, dword [esi + 4]
add esp, 0x20
lea eax, [ebx + edi]
test ebp, ebp
jle 0x44c84d
sub ecx, eax
mov edi, ebp
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub edi, 1
jne 0x44c842
mov dword [esi + 8], ebp
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x44cb60
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, eax
mov esi, ecx
cmp ebx, edi
jne 0x44cc31
mov eax, dword [esi + 8]
mov ecx, dword [esi]
test eax, eax
jne 0x44cbc4
mov eax, dword [esi + 4]
push edi
push eax
push ecx
call fcn.00459270
mov edx, dword [esi]
mov eax, dword [esp + 0x24]
push edx
push eax
call dword [esp + 0x30]
mov ecx, dword [esi]
add esp, 0x14
test edi, edi
jle 0x44cbb3
mov eax, ebp
sub ecx, ebp
mov ebp, edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub ebp, 1
jne 0x44cba8
mov ecx, dword [esi + 4]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
jmp fcn.0044ca10
mov ebx, edi
sub ebx, eax
add ecx, eax
test ebx, ebx
jle 0x44cbe3
mov eax, ebp
sub ecx, ebp
mov dword [esp + 0x24], ebx
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub dword [esp + 0x24], 1
jne 0x44cbd6
mov ecx, dword [esi + 4]
mov eax, edi
call fcn.0044ca10
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push edi
push eax
push ecx
call fcn.00459270
mov edx, dword [esi]
mov eax, dword [esp + 0x24]
push edx
push eax
call dword [esp + 0x30]
mov ecx, dword [esi + 8]
mov edx, dword [esi]
add esp, 0x14
lea eax, [ebx + ebp]
test ecx, ecx
jle 0x44ccee
sub edx, eax
mov esi, ecx
lea ecx, [ecx]
mov cl, byte [edx + eax]
xor byte [eax], cl
inc eax
sub esi, 1
jne 0x44cc20
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov edx, dword [esi + 8]
test edx, edx
jne 0x44cc75
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edi
push edx
push eax
call fcn.00459270
mov ecx, dword [esi]
mov edx, dword [esp + 0x24]
push ecx
push edx
call dword [esp + 0x30]
mov eax, dword [esi]
add esp, 0x14
test ebx, ebx
jle 0x44cc6c
sub eax, ebp
mov edi, ebx
mov edi, edi
mov cl, byte [eax + ebp]
xor byte [ebp], cl
inc ebp
sub edi, 1
jne 0x44cc60
pop edi
mov dword [esi + 8], ebx
pop esi
pop ebp
pop ebx
pop ecx
ret
sub eax, edx
cmp eax, ebx
jge 0x44cc7d
mov ebx, eax
mov ecx, dword [esi]
add ecx, edx
test ebx, ebx
jle 0x44cc9d
mov eax, ebp
sub ecx, ebp
mov dword [esp + 0x10], ebx
lea ecx, [ecx]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub dword [esp + 0x10], 1
jne 0x44cc90
add dword [esi + 8], ebx
cmp ebx, dword [esp + 0x24]
jge 0x44ccee
mov ecx, dword [esi + 4]
mov eax, edi
call fcn.0044ca10
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push edi
push eax
push ecx
call fcn.00459270
mov edx, dword [esi]
mov eax, dword [esp + 0x24]
push edx
push eax
call dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov edi, dword [esi]
sub ecx, ebx
add esp, 0x14
lea eax, [ebx + ebp]
test ecx, ecx
jle 0x44cceb
sub edi, eax
mov ebp, ecx
nop
mov dl, byte [edi + eax]
xor byte [eax], dl
inc eax
sub ebp, 1
jne 0x44cce0
mov dword [esi + 8], ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x452e6f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x49ed44], 0
push esi
jne 0x452de2
call fcn.00452d08
test eax, eax
je 0x452e25
mov eax, dword [0x49ed44]
cmp eax, 1
jne 0x452e03
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x452e25
pop esi
ret
push eax
call dword [0x49ed4c]
test eax, eax
jne 0x452e6d
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x452e29
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x49ed44]
call dword [0x49ed4c]
mov edi, eax
test edi, edi
je 0x452e4e
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x452e6a
mov edi, esi
add esi, 0xff0
push edi
push dword [0x49ed44]
call dword [0x49ed48]
add edi, 0x10
cmp edi, esi
jb 0x452e56
mov eax, edi
pop edi
pop esi
ret
jmp 0x452dcf
Function at 0x457fc4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x498fa4]
jne 0x457fce
repz ret
jmp fcn.0045c4a6

Function at 0x465f87
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045d1b2
and dword [ebp - 4], 0
cmp dword [0x49f858], 0
mov ebx, eax
jne 0x466038
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4660e9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4660e9
push eax
call fcn.0045d140
mov dword [esp], 0x4812c4
push edi
mov dword [0x49f858], eax
call esi
push eax
call fcn.0045d140
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49f85c], eax
call esi
push eax
call fcn.0045d140
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x49f860], eax
call esi
push eax
call fcn.0045d140
pop ecx
mov dword [0x49f868], eax
test eax, eax
je 0x466038
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045d140
pop ecx
mov dword [0x49f864], eax
mov eax, dword [0x49f864]
cmp eax, ebx
je 0x466090
cmp dword [0x49f868], ebx
je 0x466090
push eax
call fcn.0045d1bb
push dword [0x49f868]
mov esi, eax
call fcn.0045d1bb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x466090
test edi, edi
je 0x466090
call esi
test eax, eax
je 0x466087
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x466087
test byte [ebp - 0xc], 1
jne 0x466090
or dword [ebp + 0x10], 0x200000
jmp 0x4660c9
mov eax, dword [0x49f85c]
cmp eax, ebx
je 0x4660c9
push eax
call fcn.0045d1bb
pop ecx
test eax, eax
je 0x4660c9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4660c9
mov eax, dword [0x49f860]
cmp eax, ebx
je 0x4660c9
push eax
call fcn.0045d1bb
pop ecx
test eax, eax
je 0x4660c9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49f858]
call fcn.0045d1bb
pop ecx
test eax, eax
je 0x4660e9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4660eb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40105e
Capabilities:
Check mutex on windows

Disassembly:
push str.D1A41C06_CECA_45b0_A3C0_347271EED100
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x719574], eax
test eax, eax
jne 0x401079
xor eax, eax
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40109b
push dword [0x719574]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x719574], 0
jmp 0x401076
xor eax, eax
inc eax
ret
Function at 0x407226
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push 0
push 0x80
push 3
push 0
xor ebx, ebx
inc ebx
push ebx
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x407256
xor al, al
jmp 0x4072a4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x407276
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x407252
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x40729b
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x40904e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, 0x6819e4
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.005b2e53
add esp, 0xc
test eax, eax
je 0x40909d
cmp dword [ebp + 0x10], 0
je 0x409099
push esi
push dword [ebp + 0xc]
push str._WFOPEN_S_ERROR
push ecx
call fcn.004031f6
pop ecx
mov esi, eax
call fcn.004057ed
mov ecx, dword [ebp + 0x10]
push eax
push 2
pop esi
call fcn.00422740
add esp, 0xc
xor al, al
jmp 0x4090f1
push 2
xor esi, esi
push esi
push dword [ebp - 4]
call fcn.005b5dfa
add esp, 0xc
push dword [ebp - 4]
call fcn.005b601c
pop ecx
push esi
push esi
push dword [ebp - 4]
mov edi, eax
call fcn.005b5dfa
mov ecx, dword [ebp + 8]
add esp, 0xc
mov eax, edi
call fcn.0040921f
push dword [ebp - 4]
mov ecx, dword [ebp + 8]
push 1
push edi
push esi
call fcn.00405547
push eax
call fcn.005b632a
push dword [ebp - 4]
call fcn.005b3054
add esp, 0x14
mov al, 1
pop edi
pop esi
leave
ret
Function at 0x409adf
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 4
xor eax, eax
pop edi
push 2
push eax
push eax
push dword [ebx + 0x20c]
mov esi, 0xffff
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.005b665f
push dword [ebx + 0x20c]
call fcn.005b69fa
add esp, 0x14
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
test edx, edx
ja 0x409b58
jb 0x409b34
cmp eax, esi
jae 0x409b58
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
test edx, edx
jb 0x409c45
ja 0x409b58
cmp eax, 4
jbe 0x409c45
jmp 0x409b58
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 4]
add edi, 0x400
adc esi, 0
cmp esi, dword [ebp - 0xc]
jb 0x409b7e
ja 0x409b70
cmp edi, dword [ebp - 0x10]
jbe 0x409b7e
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
jmp 0x409b84
mov dword [ebp - 8], edi
mov dword [ebp - 4], esi
mov esi, eax
sub esi, dword [ebp - 8]
mov ecx, eax
mov edi, edx
sbb edi, dword [ebp - 4]
sub ecx, esi
mov eax, edx
sbb eax, edi
test eax, eax
jb 0x409bb1
ja 0x409ba4
cmp ecx, 0x404
jbe 0x409bb1
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0x404
jmp 0x409bb7
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
push 0
push edi
push esi
push dword [ebx + 0x20c]
call fcn.005b665f
push dword [ebx + 0x20c]
lea eax, [ebp - 0x430]
push 1
push dword [ebp - 0x20]
push eax
call fcn.005b632a
add esp, 0x20
cmp eax, 1
jne 0x409c45
mov eax, dword [ebp - 0x20]
add eax, 0xfffffffd
jmp 0x409c16
dec eax
cmp byte [ebp + eax - 0x430], 0x50
jne 0x409c16
cmp byte [ebp + eax - 0x42f], 0x4b
jne 0x409c16
cmp byte [ebp + eax - 0x42e], 5
jne 0x409c16
cmp byte [ebp + eax - 0x42d], 6
je 0x409c1c
test eax, eax
jg 0x409bed
jmp 0x409c2b
cdq
add eax, esi
adc edx, edi
mov dword [ebp - 0x18], eax
or eax, edx
mov dword [ebp - 0x14], edx
jne 0x409c45
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jb 0x409b4f
ja 0x409c45
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 8], eax
jb 0x409b4f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
test ecx, ecx
je 0x409c57
mov edx, dword [ebp - 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
or eax, dword [ebp - 0x14]
je 0x409c61
xor eax, eax
inc eax
jmp 0x409c63
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8