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

Disassembly:
push 0xffffffffffffffff
push 0x45194b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x45a99c
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x40a0e8
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x40a0a7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [0x45909c]
lea ecx, [esi + 0x10]
call fcn.0044d938
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x40a0d9
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0044d93e
jmp 0x40a0ee
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0044d93e
jmp 0x40a0ee
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x459e10
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.0044d938
mov ecx, esi
mov dword [edi], 0x459dfc
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044d980
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x40a240
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x451968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a291
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0044d8b4
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
push ebx
push edi
mov ecx, esi
call fcn.0040a350
lea ecx, [esp + 0x2c]
lea edi, [esi + 0x64]
push ecx
mov ecx, edi
call fcn.0044d9aa
mov eax, dword [esi + 0x68]
mov ebx, dword [0x459920]
push 0
push 0
mov edx, dword [eax + 0x20]
push 0x40d
push edx
call ebx
test eax, eax
jne 0x40a2e7
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [0x4599b0]
mov eax, dword [edi]
mov ecx, dword [esi + 0x68]
lea edx, [esp + 0xc]
push 1
push edx
push eax
push esi
call fcn.0044dbd2
mov edi, dword [edi]
mov ecx, dword [esi + 0x68]
push 1
push esi
push edi
call fcn.0044dbcc
mov eax, dword [esi + 0x68]
push 0x7d0
push 0
push 0x403
mov eax, dword [eax + 0x20]
push eax
call ebx
mov esi, dword [esi + 0x68]
mov ecx, dword [esp + 0x30]
push 0
push ecx
mov edx, dword [esi + 0x20]
push 0x401
push edx
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.0044d8b4
mov ecx, dword [esp + 0x1c]
pop edi
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x41b890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x452d3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x30]
lea ecx, [esp]
push eax
push ecx
mov dword [esp + 0x20], 0
call fcn.0041b7d0
lea edx, [esp + 0x10]
mov dword [esp + 0x2c], 1
push edx
call fcn.0041b850
add esp, 0xc
push 0x46b13c
push eax
lea eax, [esp + 0xc]
mov byte [esp + 0x2c], 2
push eax
call fcn.0044da16
lea ecx, [esp]
lea edx, [esp + 0x30]
push ecx
push eax
push edx
mov byte [esp + 0x30], 3
call fcn.0044d9b0
lea ecx, [esp + 4]
mov byte [esp + 0x24], 6
call fcn.0044d8b4
lea ecx, [esp + 8]
mov byte [esp + 0x24], 5
call fcn.0044d8b4
mov eax, dword [esp + 0x30]
push eax
call dword [0x45917c]
cmp eax, 0xffffffff
jne 0x41b99a
lea ecx, [esp + 0x14]
push ecx
call fcn.0041b850
add esp, 4
push 0x46b13c
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x30], 7
call fcn.0044da16
push str.Arial.ttf
push eax
lea eax, [esp + 0x14]
mov byte [esp + 0x2c], 8
push eax
call fcn.0044da16
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 9
call fcn.0044d9aa
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 8
call fcn.0044d8b4
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 7
call fcn.0044d8b4
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 5
call fcn.0044d8b4
push esi
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.0044d9b6
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 1
call fcn.0044d8b4
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call fcn.0044d8b4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x4363d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455758
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push esi
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov edi, str.Tahoma
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x20], 0x320
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x10], 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x54], 0
and ecx, 3
mov dword [esp + 0xc], 0
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 8], 0x459e5c
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 1
push ecx
call dword [0x459094]
push eax
lea ecx, [esp + 0xc]
call fcn.0044d956
mov esi, dword [esp + 0x60]
lea eax, [esp + 8]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x30]
push 0
mov ecx, esi
mov edi, eax
call fcn.0044dad6
mov edx, dword [esi]
push 0xffc600
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [esp + 0x64]
mov edx, dword [esi]
mov ecx, dword [eax - 8]
push ecx
push eax
push 0x9f
push 0xd
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x30]
mov dword [esp + 8], 0x459e10
lea ecx, [esp + 8]
mov byte [esp + 0x54], 2
call fcn.0044d938
lea ecx, [esp + 0x64]
mov dword [esp + 8], 0x459dfc
mov dword [esp + 0x54], 0xffffffff
call fcn.0044d8b4
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc
Function at 0x43cf80
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x45625e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 4]
call fcn.0044d89c
lea ecx, [esi + 8]
mov dword [esp + 0x10], 0
call fcn.0044d89c
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 1
call fcn.0044d89c
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 2
call fcn.0044d89c
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 3
call fcn.0044d89c
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 4
call fcn.0044d89c
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 5
call fcn.0044d89c
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 6
call fcn.0044d89c
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 7
call fcn.0044d89c
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 8
call fcn.0044d89c
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 9
call fcn.0044d89c
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 0xa
call fcn.0044d89c
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 0xb
call fcn.0044d89c
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 0xc
call fcn.0044d89c
lea ecx, [esi + 0x3c]
mov byte [esp + 0x10], 0xd
call fcn.0044d89c
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 0xe
call fcn.0044d89c
lea ecx, [esi + 0x44]
mov byte [esp + 0x10], 0xf
call fcn.0044d89c
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 0x10
call fcn.0044d89c
lea ecx, [esi + 0x4c]
mov byte [esp + 0x10], 0x11
call fcn.0044d89c
lea ecx, [esi + 0x50]
mov byte [esp + 0x10], 0x12
call fcn.0044d89c
lea ecx, [esi + 0x54]
mov byte [esp + 0x10], 0x13
call fcn.0044dc3e
lea ecx, [esi + 0x6c]
mov byte [esp + 0x10], 0x14
call fcn.0044dc3e
lea ecx, [esi + 0x84]
mov byte [esp + 0x10], 0x15
call fcn.0044dc3e
lea ecx, [esi + 0x9c]
mov byte [esp + 0x10], 0x16
call fcn.0044dc3e
lea ecx, [esi + 0xb4]
mov byte [esp + 0x10], 0x17
call fcn.0044dc3e
lea ecx, [esi + 0xcc]
mov byte [esp + 0x10], 0x18
call fcn.0044dc3e
lea ecx, [esi + 0xe4]
mov byte [esp + 0x10], 0x19
call fcn.0044dc3e
lea ecx, [esi + 0xfc]
mov byte [esp + 0x10], 0x1a
call fcn.0044dc3e
lea ecx, [esi + 0x114]
mov byte [esp + 0x10], 0x1b
call fcn.0044dc3e
lea ecx, [esi + 0x12c]
mov byte [esp + 0x10], 0x1c
call fcn.0044dc3e
lea ecx, [esi + 0x144]
mov byte [esp + 0x10], 0x1d
call fcn.0044dc3e
lea ecx, [esi + 0x15c]
mov byte [esp + 0x10], 0x1e
call fcn.0044dc3e
lea ecx, [esi + 0x174]
mov byte [esp + 0x10], 0x1f
call fcn.0044dc3e
mov ecx, dword [esp + 8]
mov dword [esi], 0x45e9b8
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43d1c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4563ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x45e9b8
lea ecx, [esi + 0x174]
mov dword [esp + 0x10], 0x1f
call fcn.0044dc44
lea ecx, [esi + 0x15c]
mov byte [esp + 0x10], 0x1e
call fcn.0044dc44
lea ecx, [esi + 0x144]
mov byte [esp + 0x10], 0x1d
call fcn.0044dc44
lea ecx, [esi + 0x12c]
mov byte [esp + 0x10], 0x1c
call fcn.0044dc44
lea ecx, [esi + 0x114]
mov byte [esp + 0x10], 0x1b
call fcn.0044dc44
lea ecx, [esi + 0xfc]
mov byte [esp + 0x10], 0x1a
call fcn.0044dc44
lea ecx, [esi + 0xe4]
mov byte [esp + 0x10], 0x19
call fcn.0044dc44
lea ecx, [esi + 0xcc]
mov byte [esp + 0x10], 0x18
call fcn.0044dc44
lea ecx, [esi + 0xb4]
mov byte [esp + 0x10], 0x17
call fcn.0044dc44
lea ecx, [esi + 0x9c]
mov byte [esp + 0x10], 0x16
call fcn.0044dc44
lea ecx, [esi + 0x84]
mov byte [esp + 0x10], 0x15
call fcn.0044dc44
lea ecx, [esi + 0x6c]
mov byte [esp + 0x10], 0x14
call fcn.0044dc44
lea ecx, [esi + 0x54]
mov byte [esp + 0x10], 0x13
call fcn.0044dc44
lea ecx, [esi + 0x50]
mov byte [esp + 0x10], 0x12
call fcn.0044d8b4
lea ecx, [esi + 0x4c]
mov byte [esp + 0x10], 0x11
call fcn.0044d8b4
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 0x10
call fcn.0044d8b4
lea ecx, [esi + 0x44]
mov byte [esp + 0x10], 0xf
call fcn.0044d8b4
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 0xe
call fcn.0044d8b4
lea ecx, [esi + 0x3c]
mov byte [esp + 0x10], 0xd
call fcn.0044d8b4
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 0xc
call fcn.0044d8b4
lea ecx, [esi + 0x34]
mov byte [esp + 0x10], 0xb
call fcn.0044d8b4
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 0xa
call fcn.0044d8b4
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 9
call fcn.0044d8b4
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 8
call fcn.0044d8b4
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 7
call fcn.0044d8b4
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 6
call fcn.0044d8b4
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 5
call fcn.0044d8b4
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 4
call fcn.0044d8b4
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 3
call fcn.0044d8b4
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 2
call fcn.0044d8b4
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 1
call fcn.0044d8b4
lea ecx, [esi + 8]
mov byte [esp + 0x10], 0
call fcn.0044d8b4
lea ecx, [esi + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.0044d8b4
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44cec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x457fe0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0xf
xor eax, eax
mov edx, dword [ebx + 0x54]
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
mov eax, dword [edx + 4]
push eax
call dword [0x459090]
mov byte [esp + 0x2b], al
mov edi, str.Tahoma
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x30]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0xc], 0x459e5c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], esi
push ecx
call dword [0x459094]
push eax
lea ecx, [esp + 0x10]
call fcn.0044d956
mov eax, dword [ebx + 0x5c]
cmp eax, esi
je 0x44cf68
mov ecx, dword [ebx + 0x54]
push eax
mov edx, dword [ecx]
call dword [edx + 0x30]
mov ecx, dword [ebx + 0x54]
lea edx, [esp + 0xc]
push edx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [ebx + 0x54]
mov dword [ebx + 0x5c], eax
push 0x464646
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, dword [ebx + 0x54]
push esi
call fcn.0044dad6
mov dword [esp + 0xc], 0x459e10
lea ecx, [esp + 0xc]
mov dword [esp + 0x58], 1
call fcn.0044d938
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 8
Function at 0x44ea80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4581f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00450d1c
push eax
lea ecx, [esp + 0x24]
call fcn.00450d16
mov dword [ebx + 0x340], 1
mov dword [ebx + 0x32c], ebx
mov eax, dword [ebx + 0x80]
mov dword [esp + 0x30], 0
add eax, 0x64
push eax
call fcn.0044d7a0
mov ecx, dword [ebx + 0x80]
mov esi, eax
add ecx, 0x64
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x44eb36
mov ecx, dword [ebx + 0x80]
mov ebp, dword [0x4598a8]
push ecx
push eax
push esi
call ebp
mov ecx, dword [ebx + 0x80]
mov edi, dword [ebx + 0x7c]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x80]
mov ecx, dword [ebx + 0x7c]
push eax
push esi
push ecx
call ebp
add esp, 0x18
test esi, esi
je 0x44eb43
push esi
call fcn.0044d8a8
add esp, 4
call dword [0x459930]
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 0
call fcn.00450d10
mov dword [ebx + 0x64], eax
call fcn.00450d0a
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x44eb8a
push eax
call dword [0x4599ac]
test eax, eax
je 0x44eb8a
mov edx, dword [ebx + 0x64]
push 0
push edx
mov dword [esp + 0x18], 1
call dword [0x459974]
call fcn.00450d04
mov ecx, dword [ebx + 0x94]
mov dword [esp + 0x18], eax
test ecx, 0x80000
je 0x44eba6
mov dword [eax + 0x18], ebx
jmp 0x44ebac
push ebx
call fcn.00450cfe
lea ebp, [ebx + 0x268]
mov ecx, 0x16
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
lea esi, [ebx + 0x60]
mov ecx, 0x13
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x270]
test eax, eax
jne 0x44ebe1
call fcn.0044d8ea
mov eax, dword [eax + 8]
mov dword [ebx + 0x270], eax
mov edi, dword [ebx + 0x29c]
mov ecx, ebx
or edi, 0x800000
mov dword [ebx + 0x29c], edi
call fcn.0044ff10
neg eax
sbb eax, eax
mov ecx, dword [ebx + 0x2e4]
and eax, 0xc
mov dword [ebx + 0x294], ecx
add eax, 0x4c
push ebp
mov dword [ebp], eax
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x44ec26
call dword [0x459a8c]
jmp 0x44ec2c
call dword [0x459a90]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], eax
lea eax, [ebx + 0x60]
mov ecx, 0x13
mov esi, ebp
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov dword [eax], 0x4c
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [edx + 0x18], 0
je 0x44ec66
mov eax, dword [ebx + 0x26c]
push 1
push eax
call dword [0x459974]
mov esi, dword [esp + 0x1c]
push esi
call dword [0x459964]
test eax, eax
je 0x44ec7c
push esi
call dword [0x45997c]
mov ecx, ebx
call fcn.00450cf8
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
test eax, eax
pop ebx
jne 0x44ec94
mov eax, 2
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x40b74c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ba5f8]
jne 0x40b756
repz ret
jmp fcn.0040defb

Function at 0x40b932
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ba5f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00407980
and dword [ebp - 0x14], 0
cmp dword [0x4be71c], 0
mov dword [ebp - 0x18], eax
jne 0x40b9e5
push 0x40248c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ba8d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402480
push ebx
call edi
test eax, eax
je 0x40ba8d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402470
push ebx
mov dword [0x4be71c], eax
call edi
push eax
call esi
push 0x40245c
push ebx
mov dword [0x4be720], eax
call edi
push eax
call esi
push 0x402440
push ebx
mov dword [0x4be724], eax
call edi
push eax
call esi
mov dword [0x4be72c], eax
test eax, eax
je 0x40b9e5
push 0x402428
push ebx
call edi
push eax
call esi
mov dword [0x4be728], eax
mov eax, dword [0x4be728]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40ba3e
cmp dword [0x4be72c], ecx
je 0x40ba3e
push eax
call esi
push dword [0x4be72c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40ba3e
test ebx, ebx
je 0x40ba3e
call edi
test eax, eax
je 0x40ba35
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40ba35
test byte [ebp - 8], 1
jne 0x40ba3e
or dword [ebp + 0x10], 0x200000
jmp 0x40ba71
mov eax, dword [0x4be720]
cmp eax, dword [ebp - 0x18]
je 0x40ba71
push eax
call esi
test eax, eax
je 0x40ba71
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40ba71
mov eax, dword [0x4be724]
cmp eax, dword [ebp - 0x18]
je 0x40ba71
push eax
call esi
test eax, eax
je 0x40ba71
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4be71c]
call esi
test eax, eax
je 0x40ba8d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40ba8f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b74c
leave
ret
Function at 0x4a2120
Capabilities:
Accept command line arguments
Delete directory
Get common file path
Write file on windows

Disassembly:
mov eax, 0x1420
call fcn.0040ded0
cmp dword [0x23006a4], 0x37
jne 0x4a21df
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x403478
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
lea eax, [esp + 0x824]
push eax
push 0x4034b0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
lea edx, [esp + 0xc20]
push edx
push 0
push 0x4034fc
push 0x40352c
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x40354c
push 0x403554
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov eax, dword [0x23006a8]
mov dword [esp], eax
mov eax, 0x5d1
add dword [esp], eax
mov ecx, dword [esp]
mov dl, byte [ecx + esi]
mov eax, dword [0x4c3834]
mov byte [eax + esi], dl
add esp, 0x1420
ret

Function at 0x4a2210
Capabilities:
Manipulate console buffer

Disassembly:
sub esp, 0x64
mov edx, dword [0x4bb358]
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
push ebx
mov ebx, dword [0x4bb360]
push ebp
mov ebp, dword [0x4bb364]
push esi
mov esi, dword [ecx + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [0x4bb35c]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0xc6ef3720
mov dword [esp + 0x28], 0x9e3779b9
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 0x20
jmp 0x4a2264
mov eax, dword [esp + 0x18]
mov edx, eax
mov edi, eax
shr edx, 5
shl edi, 4
add edi, ebx
add edx, ebp
xor edx, edi
mov edi, dword [esp + 0x10]
add edi, eax
xor edx, edi
sub esi, edx
mov eax, esi
shl eax, 4
mov dword [0x22f6654], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], eax
mov edi, dword [esp + 0x10]
add edi, esi
cmp dword [0x23006a4], 0x1be
jne 0x4a22c0
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
mov ecx, dword [esp + 0x78]
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x24]
mov dword [0x22f6658], 0xff6b3619
xor edx, edi
xor dword [esp + 0x14], edx
mov dword [0x22f665c], 0xffffffff
mov eax, dword [esp + 0x14]
sub dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
sub dword [esp + 0x10], eax
dec dword [esp + 0x1c]
jne 0x4a2260
cmp dword [0x23006a4], 0x8d4
jne 0x4a232b
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x18]
pop edi
mov dword [eax + 4], esi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x64
ret 4
mov edx, dword [esp + 0x18]
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebp
mov dword [ecx], edx
pop ebx
add esp, 0x64
ret 4
Function at 0x419610
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
or ebp, 0xffffffff
jmp 0x419632
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419639
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419628
mov eax, 1
add ebx, ebx
jne 0x41964b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419640
jne 0x41965c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419640
xor ecx, ecx
sub eax, 3
jb 0x419670
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4196e2
mov ebp, eax
add ebx, ebx
jne 0x41967b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419688
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4196ac
inc ecx
add ebx, ebx
jne 0x419698
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41968d
jne 0x4196a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41968d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4196cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4196bd
jmp 0x41962e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4196cc
add edi, ecx
jmp 0x41962e
pop esi
mov edi, esi
mov ecx, 0x5ce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4196ea
cmp byte [edi], 0
jne 0x4196ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4196ef
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x41975e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x191e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1924c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41971c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19250]
or eax, eax
je 0x419758
mov dword [ebx], eax
add ebx, 4
jmp 0x419739
call dword [esi + 0x19254]
popal
jmp 0x40e274

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40729f
sub eax, reloc.user32.dll_DdeSetUserHandle
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219