joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6c4a79
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
push eax
add esp, 4
call fcn.006c4a5d
add byte [ebx + 0x3d], al
inc esp
xor dh, byte ss:[edi]
dec edi
add esp, 4
and edi, 0x4f7
add edi, 0x1dbb
call 0x6c4a79
add byte [ebx], bh
dec ecx
dec ecx
inc esp
inc ebp
xor eax, 0x4c4833b
pop edi
lea ecx, [ebp - 0x1628]
mov dword [ebp - 0xc1c], ecx
mov edx, dword [ebp - 0x4d4]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc18], eax
xor ecx, ecx
mov word [ebp - 0x1f8], cx
xor edx, edx
mov word [ebp - 0x100], dx
push eax
add eax, 0x310c
pop eax
push edx
or edx, 0x2e1e
sub edx, 0x171c1
xor edx, 0xc505
pop edx
push esi
sub esi, 0xd938
or esi, 0xe79f
pop esi
push ebx
add ebx, 0x89df
pop ebx
mov eax, dword [ebp - 0xc18]
mov cx, word [eax]
mov word [ebp - 0xf7e], cx
mov edx, dword [ebp - 0xc18]
add edx, 2
mov dword [ebp - 0xc18], edx
mov ax, word [ebp - 0xf7e]
mov word [ebp - 0x1f8], ax
mov ecx, dword [ebp - 0xc1c]
mov dx, word [ecx]
mov word [ebp - 0xf80], dx
mov eax, dword [ebp - 0xc1c]
add eax, 2
mov dword [ebp - 0xc1c], eax
mov cx, word [ebp - 0xf80]
mov word [ebp - 0x100], cx
push esi
push edx
add esp, 4
sub esi, 0xb62f
jmp 0x6c4b47
sub esi, 0x16132
or esi, 0x5a0
pop esi
push esi
add esi, 0x12891
or esi, 0x13ec4
sub esi, 0x68a4
pop esi
movzx edx, word [ebp - 0x100]
test edx, edx
jne 0x6c4b8b
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
sub eax, ecx
mov dword [ebp - 0x1498], eax
jmp 0x6c4bee
movzx edx, word [ebp - 0x1f8]
movzx eax, word [ebp - 0x100]
cmp edx, eax
je 0x6c4aaa
movzx ecx, word [ebp - 0x1f8]
xor ecx, 0x20
movzx edx, word [ebp - 0x100]
cmp ecx, edx
je 0x6c4aaa
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
jge 0x6c4bd8
mov dword [ebp - 0x14d8], 0xffffffff
jmp 0x6c4be2
mov dword [ebp - 0x14d8], 1
mov edx, dword [ebp - 0x14d8]
mov dword [ebp - 0x1498], edx
xchg ebp, eax
push 0x83ffffeb
mov ebp, 0xffffeb68
add byte [ebp + 0x40], dh
cmp dword [ebp - 0x1498], 0
jne 0x6c4c37
push eax
push esi
add esp, 4
and eax, 0x2205
or eax, 0x9259
pop eax
push edx
call 0x6c4c19
add byte [edx], bh
cmp dword ds:[edx + 0x41], eax
dec eax
aaa
aaa
cmp al, byte [ebx - 0x357efb3c]
cmp al, 0x7d
add byte [eax], al
sub edx, 0x10788
pop edx
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x2e0], eax
jmp 0x6c4c9f
push ecx
or ecx, 0x161b3
pop ecx
push edx
or edx, 0x1849f
pop edx
push ebx
push ecx
add esp, 4
call 0x6c4c59
add byte [ebp + 0x40], cl
aas
dec ecx
inc eax
cmp byte [eax - 0x7d], dl
les eax, [ecx + eax*4]
jecxz 0x6c4be9
pop edi
add byte [eax], al
xor ebx, 0x11502
pop ebx
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ecx]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x4d4]
cmp eax, dword [ebp - 0xc20]
je 0x6c4c95
mov ecx, dword [ebp - 0x4d4]
cmp dword [ecx + 0x30], 0
jne 0x6c4a4b
mov dword [ebp - 0x2e0], 0
Function at 0x6c4c19
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
push eax
add esp, 4
call fcn.006c4a5d
add byte [ebx + 0x3d], al
inc esp
xor dh, byte ss:[edi]
dec edi
add esp, 4
and edi, 0x4f7
add edi, 0x1dbb
call 0x6c4a79
add byte [ebx], bh
dec ecx
dec ecx
inc esp
inc ebp
xor eax, 0x4c4833b
pop edi
lea ecx, [ebp - 0x1628]
mov dword [ebp - 0xc1c], ecx
mov edx, dword [ebp - 0x4d4]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc18], eax
xor ecx, ecx
mov word [ebp - 0x1f8], cx
xor edx, edx
mov word [ebp - 0x100], dx
push eax
add eax, 0x310c
pop eax
push edx
or edx, 0x2e1e
sub edx, 0x171c1
xor edx, 0xc505
pop edx
push esi
sub esi, 0xd938
or esi, 0xe79f
pop esi
push ebx
add ebx, 0x89df
pop ebx
mov eax, dword [ebp - 0xc18]
mov cx, word [eax]
mov word [ebp - 0xf7e], cx
mov edx, dword [ebp - 0xc18]
add edx, 2
mov dword [ebp - 0xc18], edx
mov ax, word [ebp - 0xf7e]
mov word [ebp - 0x1f8], ax
mov ecx, dword [ebp - 0xc1c]
mov dx, word [ecx]
mov word [ebp - 0xf80], dx
mov eax, dword [ebp - 0xc1c]
add eax, 2
mov dword [ebp - 0xc1c], eax
mov cx, word [ebp - 0xf80]
mov word [ebp - 0x100], cx
push esi
push edx
add esp, 4
sub esi, 0xb62f
jmp 0x6c4b47
sub esi, 0x16132
or esi, 0x5a0
pop esi
push esi
add esi, 0x12891
or esi, 0x13ec4
sub esi, 0x68a4
pop esi
movzx edx, word [ebp - 0x100]
test edx, edx
jne 0x6c4b8b
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
sub eax, ecx
mov dword [ebp - 0x1498], eax
jmp 0x6c4bee
movzx edx, word [ebp - 0x1f8]
movzx eax, word [ebp - 0x100]
cmp edx, eax
je 0x6c4aaa
movzx ecx, word [ebp - 0x1f8]
xor ecx, 0x20
movzx edx, word [ebp - 0x100]
cmp ecx, edx
je 0x6c4aaa
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
jge 0x6c4bd8
mov dword [ebp - 0x14d8], 0xffffffff
jmp 0x6c4be2
mov dword [ebp - 0x14d8], 1
mov edx, dword [ebp - 0x14d8]
mov dword [ebp - 0x1498], edx
xchg ebp, eax
push 0x83ffffeb
mov ebp, 0xffffeb68
add byte [ebp + 0x40], dh
cmp dword [ebp - 0x1498], 0
jne 0x6c4c37
push eax
push esi
add esp, 4
and eax, 0x2205
or eax, 0x9259
pop eax
push edx
call 0x6c4c19
add byte [edx], bh
cmp dword ds:[edx + 0x41], eax
dec eax
aaa
aaa
cmp al, byte [ebx - 0x357efb3c]
cmp al, 0x7d
add byte [eax], al
sub edx, 0x10788
pop edx
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x2e0], eax
jmp 0x6c4c9f
push ecx
or ecx, 0x161b3
pop ecx
push edx
or edx, 0x1849f
pop edx
push ebx
push ecx
add esp, 4
call 0x6c4c59
add byte [ebp + 0x40], cl
aas
dec ecx
inc eax
cmp byte [eax - 0x7d], dl
les eax, [ecx + eax*4]
jecxz 0x6c4be9
pop edi
add byte [eax], al
xor ebx, 0x11502
pop ebx
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ecx]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x4d4]
cmp eax, dword [ebp - 0xc20]
je 0x6c4c95
mov ecx, dword [ebp - 0x4d4]
cmp dword [ecx + 0x30], 0
jne 0x6c4a4b
mov dword [ebp - 0x2e0], 0
Function at 0x6c4c59
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push edi
push eax
add esp, 4
call fcn.006c4a5d
add byte [ebx + 0x3d], al
inc esp
xor dh, byte ss:[edi]
dec edi
add esp, 4
and edi, 0x4f7
add edi, 0x1dbb
call 0x6c4a79
add byte [ebx], bh
dec ecx
dec ecx
inc esp
inc ebp
xor eax, 0x4c4833b
pop edi
lea ecx, [ebp - 0x1628]
mov dword [ebp - 0xc1c], ecx
mov edx, dword [ebp - 0x4d4]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc18], eax
xor ecx, ecx
mov word [ebp - 0x1f8], cx
xor edx, edx
mov word [ebp - 0x100], dx
push eax
add eax, 0x310c
pop eax
push edx
or edx, 0x2e1e
sub edx, 0x171c1
xor edx, 0xc505
pop edx
push esi
sub esi, 0xd938
or esi, 0xe79f
pop esi
push ebx
add ebx, 0x89df
pop ebx
mov eax, dword [ebp - 0xc18]
mov cx, word [eax]
mov word [ebp - 0xf7e], cx
mov edx, dword [ebp - 0xc18]
add edx, 2
mov dword [ebp - 0xc18], edx
mov ax, word [ebp - 0xf7e]
mov word [ebp - 0x1f8], ax
mov ecx, dword [ebp - 0xc1c]
mov dx, word [ecx]
mov word [ebp - 0xf80], dx
mov eax, dword [ebp - 0xc1c]
add eax, 2
mov dword [ebp - 0xc1c], eax
mov cx, word [ebp - 0xf80]
mov word [ebp - 0x100], cx
push esi
push edx
add esp, 4
sub esi, 0xb62f
jmp 0x6c4b47
sub esi, 0x16132
or esi, 0x5a0
pop esi
push esi
add esi, 0x12891
or esi, 0x13ec4
sub esi, 0x68a4
pop esi
movzx edx, word [ebp - 0x100]
test edx, edx
jne 0x6c4b8b
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
sub eax, ecx
mov dword [ebp - 0x1498], eax
jmp 0x6c4bee
movzx edx, word [ebp - 0x1f8]
movzx eax, word [ebp - 0x100]
cmp edx, eax
je 0x6c4aaa
movzx ecx, word [ebp - 0x1f8]
xor ecx, 0x20
movzx edx, word [ebp - 0x100]
cmp ecx, edx
je 0x6c4aaa
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
jge 0x6c4bd8
mov dword [ebp - 0x14d8], 0xffffffff
jmp 0x6c4be2
mov dword [ebp - 0x14d8], 1
mov edx, dword [ebp - 0x14d8]
mov dword [ebp - 0x1498], edx
xchg ebp, eax
push 0x83ffffeb
mov ebp, 0xffffeb68
add byte [ebp + 0x40], dh
cmp dword [ebp - 0x1498], 0
jne 0x6c4c37
push eax
push esi
add esp, 4
and eax, 0x2205
or eax, 0x9259
pop eax
push edx
call 0x6c4c19
add byte [edx], bh
cmp dword ds:[edx + 0x41], eax
dec eax
aaa
aaa
cmp al, byte [ebx - 0x357efb3c]
cmp al, 0x7d
add byte [eax], al
sub edx, 0x10788
pop edx
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x2e0], eax
jmp 0x6c4c9f
push ecx
or ecx, 0x161b3
pop ecx
push edx
or edx, 0x1849f
pop edx
push ebx
push ecx
add esp, 4
call 0x6c4c59
add byte [ebp + 0x40], cl
aas
dec ecx
inc eax
cmp byte [eax - 0x7d], dl
les eax, [ecx + eax*4]
jecxz 0x6c4be9
pop edi
add byte [eax], al
xor ebx, 0x11502
pop ebx
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ecx]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x4d4]
cmp eax, dword [ebp - 0xc20]
je 0x6c4c95
mov ecx, dword [ebp - 0x4d4]
cmp dword [ecx + 0x30], 0
jne 0x6c4a4b
mov dword [ebp - 0x2e0], 0
Function at 0x6fb1b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x8526d1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x8943b8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esi], vtable.CHandleManagerEx_class_ChirnoObject_.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
lea ebx, [esi + 0x24]
mov ecx, ebx
mov byte [esp + 0x1c], 1
call fcn.00412c80
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 2
call fcn.0040aec0
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x72de30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x8526d1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x8943b8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esi], vtable.CHandleManagerEx_class_MeirinObject_.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
lea ebx, [esi + 0x24]
mov ecx, ebx
mov byte [esp + 0x1c], 1
call fcn.00412c80
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 2
call fcn.0040aec0
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x74c3c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x8526d1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x8943b8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esi], vtable.CHandleManagerEx_class_SanaeObject_.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
lea ebx, [esi + 0x24]
mov ecx, ebx
mov byte [esp + 0x1c], 1
call fcn.00412c80
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 2
call fcn.0040aec0
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x783b10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x8526d1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x8943b8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esi], vtable.CHandleManagerEx_class_SuwakoObject_.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
lea ebx, [esi + 0x24]
mov ecx, ebx
mov byte [esp + 0x1c], 1
call fcn.00412c80
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 2
call fcn.0040aec0
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x7b7280
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x8526d1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x8943b8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esi], vtable.CHandleManagerEx_class_UtsuhoObject_.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
lea ebx, [esi + 0x24]
mov ecx, ebx
mov byte [esp + 0x1c], 1
call fcn.00412c80
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 2
call fcn.0040aec0
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x7ebe60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x8526d1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x8943b8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor edi, edi
mov dword [esi], vtable.CHandleManagerEx_class_NamazuObject_.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
lea ebx, [esi + 0x24]
mov ecx, ebx
mov byte [esp + 0x1c], 1
call fcn.00412c80
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 2
call fcn.0040aec0
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x806460
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x80647a
mov eax, dword [ecx + 0x40]
test eax, eax
je 0x80647a
mov edx, dword [esp + 8]
push edx
push ecx
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x81fb35
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8943b8]
jne 0x81fb3f
repz ret
jmp fcn.00825afc
Function at 0x822a81
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x822abe
cmp dword [ebp + 0x14], edi
je 0x822abe
cmp ecx, edi
jne 0x822ac5
call fcn.008231c0
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0081ff4c
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x822ad9
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x822afa
cmp ebx, 0xffffffff
je 0x822ae9
push ebx
push edi
push ecx
call fcn.008201b0
add esp, 0xc
cmp esi, edi
je 0x822aa6
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x822aa6
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x822b16
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x822b1d
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x822c0e
test word [esi + 0xc], 0x10c
je 0x822b71
mov eax, dword [esi + 4]
test eax, eax
je 0x822b71
jl 0x822c6f
cmp ebx, eax
mov edi, ebx
jb 0x822b42
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x822c16
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0081fc46
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x822c06
cmp ebx, dword [ebp - 0xc]
jb 0x822bde
cmp dword [ebp - 0xc], 0
je 0x822b9b
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x822b90
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x822b97
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x822ba6
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x822ba6
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x822c42
push eax
push dword [ebp - 8]
push esi
call fcn.008303b3
pop ecx
push eax
call fcn.008302b6
add esp, 0xc
test eax, eax
je 0x822c81
cmp eax, 0xffffffff
je 0x822c6f
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x822c06
push esi
call fcn.0082fbd5
cmp eax, 0xffffffff
pop ecx
je 0x822c73
cmp dword [ebp - 4], 0
je 0x822c42
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x822b25
mov eax, dword [ebp + 0x14]
jmp 0x822ac0
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x822c2d
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.008201b0
add esp, 0xc
call fcn.008231c0
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x822ab6
cmp dword [ebp + 0xc], 0xffffffff
je 0x822c58
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.008201b0
add esp, 0xc
call fcn.008231c0
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x822ab6
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x822ac0
or dword [esi + 0xc], 0x10
jmp 0x822c73
Function at 0x8245e9
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x894898]
je 0x824604
inc edi
cmp edi, 0x17
jb 0x8245f5
cmp edi, 0x17
jae 0x824784
push ebp
push 3
call fcn.008321e1
cmp eax, 1
pop ecx
je 0x824750
push 3
call fcn.008321e1
test eax, eax
pop ecx
jne 0x824638
cmp dword [0x894440], 1
je 0x824750
cmp ebx, 0xfc
je 0x824783
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x89ab98
push ebp
call fcn.00820c26
add esp, 0xc
test eax, eax
je 0x82466e
push esi
push esi
push esi
push esi
push esi
call fcn.0081fe50
add esp, 0x14
push 0x104
mov esi, 0x89abb1
push esi
push 0
mov byte [0x89acb5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x8246b2
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00820c26
add esp, 0xc
test eax, eax
je 0x8246b2
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0081fe50
add esp, 0x14
push esi
call fcn.008222b0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x8246f7
push esi
call fcn.008222b0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x89aeac
push 0x867f74
sub ecx, eax
push ecx
push eax
call fcn.0082116b
add esp, 0x14
test eax, eax
je 0x8246f7
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0081fe50
add esp, 0x14
jmp 0x8246f9
xor esi, esi
push 0x867f70
push ebx
push ebp
call fcn.00820bb5
add esp, 0xc
test eax, eax
je 0x824719
push esi
push esi
push esi
push esi
push esi
call fcn.0081fe50
add esp, 0x14
push dword [edi*8 + 0x89489c]
push ebx
push ebp
call fcn.00820bb5
add esp, 0xc
test eax, eax
je 0x82473b
push esi
push esi
push esi
push esi
push esi
call fcn.0081fe50
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00832024
add esp, 0xc
jmp 0x824783
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x824783
cmp ebp, 0xffffffff
je 0x824783
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x89489c]
push dword [esi]
call fcn.008222b0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x832024
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0082489c
xor ebx, ebx
cmp dword [0x89b5c4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x8320fa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x8321da
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x86fa58
push edi
call esi
cmp eax, ebx
je 0x8321da
push eax
call fcn.0082482e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x89b5c4], eax
call esi
push eax
call fcn.0082482e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x89b5c8], eax
call esi
push eax
call fcn.0082482e
mov dword [0x89b5cc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0082400e
test eax, eax
pop ecx
pop ecx
je 0x8320c8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0081fe50
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x8320fa
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0082482e
cmp eax, ebx
pop ecx
mov dword [0x89b5d4], eax
je 0x8320fa
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0082482e
pop ecx
mov dword [0x89b5d0], eax
mov eax, dword [0x89b5d0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x83217f
cmp dword [0x89b5d4], ecx
je 0x83217f
push eax
call fcn.008248a5
push dword [0x89b5d4]
mov esi, eax
call fcn.008248a5
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x83217f
cmp edi, ebx
je 0x83217f
call esi
cmp eax, ebx
je 0x83214c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x83214c
test byte [ebp - 0x18], 1
jne 0x83217f
lea eax, [ebp - 0x10]
push eax
call fcn.00824045
test eax, eax
pop ecx
je 0x832167
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0081fe50
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x832176
or dword [ebp + 0x10], 0x200000
jmp 0x8321ba
or dword [ebp + 0x10], 0x40000
jmp 0x8321ba
mov eax, dword [0x89b5c8]
cmp eax, dword [ebp - 8]
je 0x8321ba
push eax
call fcn.008248a5
cmp eax, ebx
pop ecx
je 0x8321ba
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x8321ba
mov eax, dword [0x89b5cc]
cmp eax, dword [ebp - 8]
je 0x8321ba
push eax
call fcn.008248a5
cmp eax, ebx
pop ecx
je 0x8321ba
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x89b5c4]
call fcn.008248a5
cmp eax, ebx
pop ecx
je 0x8321da
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x8321dc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x8387b0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
xor eax, eax
cmp ecx, edx
je 0x8387e1
push esi
push edi
mov esi, eax
mov edi, eax
shl esi, 6
shr edi, 2
add esi, edi
movsx edi, byte [ecx]
lea esi, [esi + edi - 0x61c88647]
add ecx, 1
xor eax, esi
cmp ecx, edx
jne 0x8387c0
pop edi
pop esi
ret