joyce8/EMBER2024-capa huggingface dataset:
Function at 0x512d04
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x512e6e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5c8f64]
mov eax, dword [eax]
mov ax, word [eax + 0x44]
mov word [ebp - 0x16], ax
mov eax, dword [0x5c8f64]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.0048ea20
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.004506a0
xor edx, edx
push ebp
push 0x512e51
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x512dc1
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x10]
call fcn.0040700c
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x344]
call fcn.00510e6c
push eax
mov eax, dword [0x5c8a8c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x512db7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
call fcn.004049b8
jmp 0x512e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x512dfd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.0045026c
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0xc]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.00512b94
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x512dd9
push 0
mov edx, 0x512b2c
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.0044fe24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x512e58
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x26c]
call fcn.004506ec
mov eax, dword [0x5c8f64]
mov eax, dword [eax]
mov dx, word [ebp - 0x16]
call fcn.0048ea20
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x512e75
lea eax, [ebp - 0x10]
call fcn.0040700c
ret

Function at 0x51f094
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov byte [esp + 4], cl
mov dword [esp], eax
xor ecx, ecx
mov eax, dword [esp]
mov dword [esp + 8], eax
movzx edi, byte [esp + 4]
dec edi
test edi, edi
jl 0x51f0ca
inc edi
xor eax, eax
mov ebx, dword [esp + 8]
mov esi, ebx
lea ebx, [edx + ecx*8]
mov bl, byte [ebx + eax]
xor byte [esi], bl
inc eax
inc esi
dec edi
jne 0x51f0bd
inc ecx
add dword [esp + 8], 8
cmp ecx, 4
jne 0x51f0aa
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x51f67c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, ecx
sub eax, 0x80
je 0x51f69f
sub eax, 0x40
je 0x51f6a6
sub eax, 0x40
je 0x51f6ad
jmp 0x51f6b4
mov ebx, 4
jmp 0x51f6be
mov ebx, 6
jmp 0x51f6be
mov ebx, 8
jmp 0x51f6be
mov eax, 0xfffffffe
jmp 0x51f786
cmp ecx, dword [ebp - 4]
setle al
mov edx, dword [ebp - 4]
call fcn.0051f04c
sub eax, 0x80
je 0x51f6df
sub eax, 0x40
je 0x51f6e8
sub eax, 0x40
je 0x51f6f1
jmp 0x51f6fa
mov dword [ebp - 8], 0xa
jmp 0x51f704
mov dword [ebp - 8], 0xc
jmp 0x51f704
mov dword [ebp - 8], 0xe
jmp 0x51f704
mov eax, 0xfffffffd
jmp 0x51f786
mov ecx, ebx
mov edx, dword [ebp + 8]
mov eax, esi
call fcn.0051f094
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jle 0x51f756
mov dword [ebp - 0xc], eax
mov edi, dword [ebp + 8]
add edi, 0x20
mov ecx, ebx
mov edx, 0x5c6c14
mov eax, esi
call fcn.0051f174
mov ecx, ebx
mov eax, esi
xor edx, edx
call fcn.0051f0dc
mov edx, ebx
mov eax, esi
call fcn.0051f1b8
mov ecx, ebx
mov edx, edi
mov eax, esi
call fcn.0051f094
add edi, 0x20
dec dword [ebp - 0xc]
jne 0x51f721
mov ecx, ebx
mov edx, 0x5c6c14
mov eax, esi
call fcn.0051f174
mov ecx, ebx
mov eax, esi
xor edx, edx
call fcn.0051f0dc
mov eax, dword [ebp - 8]
shl eax, 2
mov edx, dword [ebp + 8]
lea edx, [edx + eax*8]
mov ecx, ebx
mov eax, esi
call fcn.0051f094
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x51f790
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, ecx
sub eax, 0x80
je 0x51f7b3
sub eax, 0x40
je 0x51f7ba
sub eax, 0x40
je 0x51f7c1
jmp 0x51f7c8
mov ebx, 4
jmp 0x51f7d2
mov ebx, 6
jmp 0x51f7d2
mov ebx, 8
jmp 0x51f7d2
mov eax, 0xfffffffe
jmp 0x51f89b
cmp ecx, dword [ebp - 4]
setle al
mov edx, dword [ebp - 4]
call fcn.0051f04c
sub eax, 0x80
je 0x51f7f3
sub eax, 0x40
je 0x51f7fa
sub eax, 0x40
je 0x51f801
jmp 0x51f808
mov edi, 0xa
jmp 0x51f812
mov edi, 0xc
jmp 0x51f812
mov edi, 0xe
jmp 0x51f812
mov eax, 0xfffffffd
jmp 0x51f89b
mov eax, edi
shl eax, 2
mov edx, dword [ebp + 8]
lea edx, [edx + eax*8]
mov ecx, ebx
mov eax, esi
call fcn.0051f094
mov ecx, ebx
mov edx, 0x5c6d14
mov eax, esi
call fcn.0051f174
mov ecx, ebx
mov eax, esi
mov dl, 1
call fcn.0051f0dc
dec edi
cmp edi, 1
jl 0x51f88d
mov dword [ebp - 8], edi
mov eax, dword [ebp - 8]
shl eax, 2
mov edx, dword [ebp + 8]
lea edi, [edx + eax*8]
mov ecx, ebx
mov edx, edi
mov eax, esi
call fcn.0051f094
mov edx, ebx
mov eax, esi
call fcn.0051f28c
mov ecx, ebx
mov edx, 0x5c6d14
mov eax, esi
call fcn.0051f174
mov ecx, ebx
mov eax, esi
mov dl, 1
call fcn.0051f0dc
dec dword [ebp - 8]
sub edi, 0x20
cmp dword [ebp - 8], 0
jne 0x51f854
mov ecx, ebx
mov edx, dword [ebp + 8]
mov eax, esi
call fcn.0051f094
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x53606c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
sar eax, 1
jns 0x536082
adc eax, 0
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
xor edx, edx
xor eax, eax
call fcn.0041e844
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
call fcn.00408470
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.0041e844
push 1
push 1
lea eax, [ebp - 0x34]
push eax
call fcn.00408470
mov eax, dword [ebp - 0x10]
inc eax
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00407f40
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00407f40
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
inc eax
push eax
mov eax, dword [ebp - 0x34]
push eax
call fcn.00407f40
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
call fcn.00407f40
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x5361d3
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
xor ecx, ecx
mov dl, 2
call fcn.00535f50
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov cl, 2
xor edx, edx
call fcn.00535f50
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
xor ecx, ecx
xor edx, edx
call fcn.00535f50
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor ecx, ecx
mov dl, 1
call fcn.00535f50
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov cl, 1
xor edx, edx
call fcn.00535f50
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov cl, 3
mov dl, 3
call fcn.00535f50
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5361da
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407f68
mov eax, dword [ebp - 0x24]
push eax
call fcn.00407f68
mov eax, dword [ebp - 8]
push eax
call fcn.00407f68
mov eax, dword [ebp - 0x20]
push eax
call fcn.00407f68
ret
Function at 0x5443f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x544412
add esp, 0xfffffff0
call fcn.004044a4
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov edi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x544537
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, esi
xor edx, edx
mov eax, ebx
call fcn.005455b0
xor eax, eax
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41d9a0]
call fcn.004040fc
mov dword [ebx + 0x28], eax
mov dl, 1
mov eax, dword [0x41d9a0]
call fcn.004040fc
mov dword [ebx + 0x2c], eax
mov byte [ebx + 0x54], 0
mov cl, 1
mov dl, 1
mov eax, dword [0x49b89c]
call fcn.0049bd3c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41d1c8]
call fcn.004040fc
mov dword [ebx + 0x38], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, edi
call fcn.0049f778
lea edx, [ebp - 0x18]
mov eax, dword [0x5c8830]
mov eax, dword [eax]
call fcn.0055417c
push dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 4]
call fcn.0040a2f4
push dword [ebp - 0x1c]
push 0x544568
push dword [ebp - 0x10]
push 0x544568
push 0x544574
push 0x544580
lea eax, [ebx + 0x30]
mov edx, 7
call fcn.00405354
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 0x14]
call fcn.00409c90
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x20]
call fcn.0040500c
lea eax, [ebx + 0x24]
mov edx, edi
call fcn.0040500c
mov al, byte [ebp + 0xc]
mov byte [ebx + 0x34], al
mov al, byte [ebp + 8]
mov byte [ebx + 0x40], al
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x44], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x48], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x50], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54453e
lea eax, [ebp - 0x20]
mov edx, 7
call fcn.00404fdc
ret
Function at 0x546d08
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x546de1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [esi + 0x1c], 1
mov dl, 1
mov eax, dword [0x5457d8]
call fcn.004040fc
mov ebx, eax
mov dword [ebx + 4], edi
mov eax, dword [ebp - 4]
mov dword [ebx + 8], eax
lea edx, [ebp - 8]
mov eax, dword [ebp + 0x18]
call fcn.0040a2f4
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.0040500c
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 0x14]
call fcn.0040a2f4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x10]
call fcn.0040500c
lea eax, [ebx + 0x18]
mov edx, dword [ebp + 0x10]
call fcn.0040500c
lea eax, [ebx + 0x1c]
mov edx, dword [ebp + 0xc]
call fcn.0040500c
lea eax, [ebx + 0x20]
call fcn.00404fb8
lea eax, [ebx + 0x24]
call fcn.00404fb8
lea eax, [ebx + 0x28]
call fcn.00404fb8
lea eax, [ebx + 0x2c]
call fcn.00404fb8
lea eax, [ebx + 0x30]
call fcn.00404fb8
lea eax, [ebx + 0x34]
call fcn.00404fb8
mov al, byte [ebp + 8]
mov byte [ebx + 0x38], al
mov edx, ebx
mov eax, dword [esi + 0x10]
call fcn.00435450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x546de8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404fdc
ret

Function at 0x550ccc
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ecx, edx
mov ebx, eax
test ecx, ecx
jne 0x550cd8
or ecx, 0xffffffff
mov eax, ecx
cdq
push edx
push eax
xor eax, eax
mov al, bl
xor edx, edx
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x5c7018]
shr ecx, 8
and ecx, 0xffffff
xor eax, ecx
pop ebx
ret
Function at 0x56f8dc
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x56f8e4
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x56fad6
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x56faec
mov eax, esi
call fcn.0056d3cc
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040500c
lea ecx, [ebp - 0x10]
mov edx, 0x56fb00
mov eax, esi
call fcn.0056d3cc
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.0040500c
lea ecx, [ebp - 0x14]
mov edx, 0x56fb18
mov eax, esi
call fcn.0056d3cc
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.0040500c
lea ecx, [ebp - 0x18]
mov edx, 0x56fb34
mov eax, esi
call fcn.0056d3cc
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.0040500c
lea ecx, [ebp - 0x1c]
mov edx, 0x56fb50
mov eax, esi
call fcn.0056d3cc
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.0040500c
lea ecx, [ebp - 0x24]
mov edx, 0x56fb68
mov eax, esi
call fcn.0056d3cc
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00409ed0
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040a49c
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x56fb80
mov eax, esi
call fcn.0056d3cc
mov eax, dword [ebp - 0x28]
call fcn.0056c4bc
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x56fb90
mov eax, esi
call fcn.0056d3cc
mov eax, dword [ebp - 0x2c]
call fcn.0056c4bc
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x56fba8
mov eax, esi
call fcn.0056d3cc
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0040a49c
inc eax
je 0x56fa79
lea ecx, [ebp - 0x34]
mov edx, 0x56fba8
mov eax, esi
call fcn.0056d3cc
mov eax, dword [ebp - 0x34]
call fcn.0040a460
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040c618
fstp qword [ebp - 0x3c]
wait
call fcn.0040c988
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x56fa94
lea ecx, [ebp - 0x40]
mov edx, 0x56fba8
mov eax, esi
call fcn.0056d3cc
mov eax, dword [ebp - 0x40]
call fcn.0056c4bc
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x56fbb8
mov eax, esi
call fcn.0056d3cc
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.0040500c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56fadd
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404fdc
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404fdc
ret
Function at 0x57c3f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x57c44a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0057c3e0
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0056af88
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0056ab88
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57c451
lea eax, [ebp - 4]
call fcn.00404fb8
ret

Function at 0x584920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5849d9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405050
lea eax, [ebp - 0xc]
mov edx, 0x5849f0
call fcn.00405050
lea eax, [ebp - 4]
call fcn.00404fb8
mov eax, dword [ebp - 8]
call fcn.00405294
mov esi, eax
test esi, esi
jle 0x5849a9
mov ebx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405294
push eax
mov eax, ebx
pop edx
mov ecx, edx
cdq
idiv ecx
mov eax, dword [ebp - 0xc]
mov dl, byte [eax + edx - 1]
mov eax, dword [ebp - 8]
mov al, byte [eax + ebx - 1]
xor dl, al
lea eax, [ebp - 0x10]
call fcn.004051a0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.0040529c
inc ebx
dec esi
jne 0x584971
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.004b68fc
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00405890
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5849e0
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404fdc
ret
Function at 0x401630
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x523e6f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CWnd::CWnd
xor ebx, ebx
lea ecx, [esi + 0x40]
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_CString::CString_3
lea edi, [esi + 0x44]
mov byte [esp + 0x30], 1
mov ecx, edi
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [edi + 4]
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_3
mov al, byte [esp + 0xf]
mov cl, byte [esp + 0xf]
mov byte [edi + 0xc], al
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov byte [edi + 0x1c], cl
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x34], ebx
mov ecx, 0x11
mov eax, 0xa
mov dword [esi + 0x7c], 0x5336fc
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], 0x5336e8
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ecx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], eax
mov byte [esp + 0x30], 5
mov dword [esi], 0x533628
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push ebx
push ebx
lea edx, [esp + 0x20]
push eax
push edx
push ebx
push 0x5ad740
push ebx
mov ecx, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call sub.MFC42.DLL_CWnd::Create
push ebx
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x20]
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x402f30
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x524088
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push 0x65
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ebp, eax
test ebp, ebp
je 0x40306b
mov eax, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esi + 0x60]
call sub.MFC42.DLL_CListCtrl::GetItemText_1
add esi, 0x1a4
push eax
lea edx, [esp + 0x24]
push esi
push edx
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_operator_4
push str..txt
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0x20], 1
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
push 0x5a133c
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x403005
push 0x5ad740
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 4
push ebx
push edi
push 2
push 0
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push esi
mov ebx, eax
call dword [sym.imp.MSVCRT.dll_rewind]
lea edx, [ebx + 1]
push edx
call sub.MFC42.DLL_operatornew
push esi
mov edi, eax
push ebx
push 1
push edi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x28
mov ecx, ebp
mov byte [edi + ebx], 0
push edi
call sub.MFC42.DLL_CWnd::SetWindowTextA
push edi
call dword [sym.imp.MSVCRT.dll_free]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop ebx
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4046d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5242b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x533b28
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.004c2010
mov dword [ebx], 0x533b14
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.004c2010
or eax, 0xffffffff
push 0x5ad7b0
mov dword [ebx], 0x533ad8
push edi
mov dword [esi], 0x533aec
mov dword [esi + 0x54], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0x10
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x38], 0xc0c0c0
mov dword [esi + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x58], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x407cb0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5246b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x533b6c
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
push ecx
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 5]
mov ecx, esi
push eax
push ebx
call sub.MFC42.DLL_CDC::LineTo
lea ebp, [edi + 3]
lea eax, [ebx + 1]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 1]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [edi + 4]
lea ecx, [ebx + 2]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 7]
mov ecx, esi
push eax
lea eax, [ebx + 2]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [ebx + 3]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 3]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [edi + 2]
lea ecx, [ebx + 4]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 5]
mov ecx, esi
push eax
lea eax, [ebx + 4]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea ecx, [edi + 1]
lea eax, [ebx + 5]
push ecx
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 4]
mov ecx, esi
push eax
lea eax, [ebx + 5]
push eax
call sub.MFC42.DLL_CDC::LineTo
add ebx, 6
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
push ebp
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], 0x533b44
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10