joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420770
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push eax
push edx
push esi
call fcn.004202a0
lea edi, [eax*4]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x18], eax
jle 0x4207e1
lea edx, [esi + edi*4 + 8]
lea ecx, [esi + 8]
push ebp
mov eax, dword [edx - 8]
mov ebp, dword [ecx - 8]
mov dword [ecx - 8], eax
mov dword [edx - 8], ebp
mov ebp, dword [edx - 4]
mov eax, dword [ecx - 4]
mov dword [ecx - 4], ebp
mov ebp, dword [edx]
mov dword [edx - 4], eax
mov eax, dword [ecx]
mov dword [ecx], ebp
mov ebp, dword [edx + 4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 4], ebp
mov dword [edx + 4], eax
add ebx, 4
sub edi, 4
add ecx, 0x10
sub edx, 0x10
cmp ebx, edi
jl 0x4207a0
mov eax, dword [esp + 0x1c]
pop ebp
cmp eax, 1
jle 0x42099f
lea edx, [eax - 1]
lea ecx, [ecx]
mov ecx, dword [esi + 0x10]
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + str.ccccwwww]
add esi, 0x10
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x44e320]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44eb20]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44e720]
movzx ebx, byte [esi + 5]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x44ef20]
mov ecx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x44e320]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44eb20]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44e720]
movzx ebx, byte [esi + 9]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x44ef20]
mov ecx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x44e320]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44eb20]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44e720]
movzx ebx, byte [esi + 0xd]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x44ef20]
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x44e320]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44eb20]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x44e720]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x44ef20]
sub edx, 1
mov dword [esi + 0xc], edi
jne 0x4207f0
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x422a20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x134
mov eax, dword [0x4630d8]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x13c]
push esi
mov esi, ecx
mov edx, dword [esi + 0x10]
push edi
mov edi, dword [esp + 0x140]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], esi
xor ecx, ecx
lea eax, [edx + 2]
cmp byte [eax - 2], 0
jne 0x422a87
cmp byte [eax - 1], 0
jne 0x422a7a
cmp byte [eax], 0
jne 0x422a7f
cmp byte [eax + 1], 0
jne 0x422a84
add ecx, 4
add eax, 4
cmp ecx, 0x20
jl 0x422a56
jmp 0x422a87
add ecx, 1
jmp 0x422a87
add ecx, 2
jmp 0x422a87
add ecx, 3
cmp ecx, 0x20
jne 0x422a94
lea eax, [ecx + 0x4c]
jmp 0x422be3
push ebp
push 0x100
push edx
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.004202a0
mov ebp, eax
mov eax, dword [esp + 0x14c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x10c], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], edx
mov dword [esp + 0x118], eax
push ebx
jmp 0x422ae0
xor ebx, ebx
mov edx, dword [edi]
mov eax, dword [edx + 0xa4]
mov ecx, edi
call eax
test eax, eax
jne 0x422b13
mov edx, dword [edi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x13]
push eax
mov ecx, edi
call edx
mov al, byte [esp + 0x13]
mov byte [esp + ebx + 0x130], al
add ebx, 1
cmp ebx, 0x10
jb 0x422ae2
cmp ebx, 0x10
sbb esi, esi
mov cl, 0x10
sub cl, bl
neg esi
cmp ebx, 0x10
mov byte [esp + 0x18], cl
jae 0x422b44
mov ecx, dword [esp + 0x18]
mov edx, 0x10
sub edx, ebx
push edx
lea eax, [esp + ebx + 0x134]
push ecx
push eax
call fcn.00432e50
add esp, 0xc
xor eax, eax
jmp 0x422b50
mov dl, byte [esp + eax + 0x110]
xor byte [esp + eax + 0x130], dl
add eax, 1
cmp eax, 0x10
jb 0x422b50
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x134]
push ecx
mov ecx, dword [esp + 0x24]
push ebp
lea edx, [esp + 0x2c]
push edx
call fcn.004209b0
mov eax, dword [esp + 0x120]
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x128]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x118], edx
mov edx, dword [ecx]
mov edx, dword [edx + 0x84]
mov dword [esp + 0x11c], eax
push 0x10
lea eax, [esp + 0x124]
push eax
call edx
test eax, eax
jne 0x422be1
test esi, esi
je 0x422ae0
pop ebx
pop ebp
mov ecx, dword [esp + 0x138]
pop edi
pop esi
xor ecx, esp
call fcn.00431f44
add esp, 0x134
ret 0xc
Function at 0x422c00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x124
mov eax, dword [0x4630d8]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x138]
push edi
mov edi, dword [esp + 0x138]
mov ebx, ecx
mov eax, dword [ebx + 0x10]
push 0x100
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.00420770
mov ebp, eax
mov eax, dword [esp + 0x140]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x100], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x104], ecx
mov dword [esp + 0x108], edx
mov dword [esp + 0x10c], eax
lea ecx, [ecx]
mov edx, dword [edi]
mov edx, dword [edx + 0x40]
xor eax, eax
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
push 0x10
lea eax, [esp + 0x114]
push eax
mov ecx, edi
call edx
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x114]
push ecx
push ebp
lea edx, [esp + 0x1c]
push edx
mov ecx, ebx
call fcn.00421a90
xor eax, eax
movzx ecx, byte [esp + eax + 0x100]
movzx edx, byte [esp + eax + 0x101]
xor byte [esp + eax + 0x120], cl
xor byte [esp + eax + 0x121], dl
movzx ecx, byte [esp + eax + 0x102]
movzx edx, byte [esp + eax + 0x103]
xor byte [esp + eax + 0x122], cl
xor byte [esp + eax + 0x123], dl
add eax, 4
cmp eax, 0x10
jl 0x422cc0
mov eax, dword [esp + 0x110]
mov edx, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0x108], edx
mov edx, dword [esi]
mov edx, dword [edx + 0x84]
mov dword [esp + 0x10c], eax
push 0x10
lea eax, [esp + 0x124]
mov dword [esp + 0x108], ecx
push eax
mov ecx, esi
call edx
test eax, eax
jne 0x422dca
mov eax, dword [edi]
mov edx, dword [eax + 0xa4]
mov ecx, edi
call edx
test eax, eax
je 0x422c70
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x422d75
xor edi, edi
jmp 0x422d78
mov edi, dword [eax + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov bl, byte [eax + edi - 1]
cmp bl, 0x10
ja 0x422dc5
mov eax, dword [esi]
mov edx, dword [eax + 0xb0]
mov ecx, esi
call edx
mov edi, dword [esi]
mov eax, edi
mov edx, dword [eax + 0xb0]
push 1
mov ecx, esi
call edx
mov ecx, eax
mov ebp, edx
movsx eax, bl
cdq
sub ecx, eax
sbb ebp, edx
mov edx, dword [edi + 0xb8]
push ebp
push ecx
mov ecx, esi
call edx
xor eax, eax
jmp 0x422dca
mov eax, 0x6a
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00431f44
add esp, 0x124
ret 0xc
Function at 0x423bd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esi + 0x2c]
push edi
lea esp, [esp]
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea edx, [ecx + ebp - 0x106]
cmp eax, edx
mov dword [esp + 0xc], edi
jb 0x423c60
mov eax, dword [esi + 0x38]
push ebp
lea ecx, [eax + ebp]
push ecx
push eax
call fcn.00434510
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
sub dword [esi + 0x70], ebp
sub dword [esi + 0x6c], ebp
add esp, 0xc
sub dword [esi + 0x5c], ebp
lea ecx, [eax + edx*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x423c2f
sub eax, ebp
jmp 0x423c31
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x423c20
mov ecx, dword [esi + 0x40]
mov edx, ebp
lea ecx, [ecx + ebp*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x423c50
sub eax, ebp
jmp 0x423c52
xor eax, eax
sub edx, 1
mov word [ecx], ax
jne 0x423c41
add edi, ebp
mov dword [esp + 0xc], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x423d17
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [esp + 0xc]
mov ebx, ecx
cmp ebx, edx
mov dword [esp + 0x10], eax
jbe 0x423c88
mov ebx, edx
test ebx, ebx
je 0x423cd9
mov edx, dword [edi + 0x1c]
sub ecx, ebx
mov dword [edi + 4], ecx
mov ecx, dword [edx + 0x18]
cmp ecx, 1
jne 0x423cab
mov eax, dword [edi]
mov ecx, dword [edi + 0x30]
push ebx
push eax
push ecx
call fcn.004264e0
jmp 0x423cbd
cmp ecx, 2
jne 0x423cc7
mov edx, dword [edi]
mov eax, dword [edi + 0x30]
push ebx
push edx
push eax
call fcn.004264c0
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [edi]
push ebx
push ecx
push eax
call fcn.00434510
add dword [edi], ebx
add esp, 0xc
add dword [edi + 8], ebx
add dword [esi + 0x74], ebx
mov edi, dword [esi + 0x74]
cmp edi, 3
jb 0x423d03
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x6c]
mov ecx, dword [esi + 0x58]
add edx, eax
movzx eax, byte [edx]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edi, 0x106
jae 0x423d17
mov edx, dword [esi]
cmp dword [edx + 4], 0
jne 0x423be0
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x431f44
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4630d8]
jne 0x431f4e
repz ret
jmp fcn.00439f84
Function at 0x433a23
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 0x433a60
cmp dword [ebp + 0x14], edi
je 0x433a60
cmp ecx, edi
jne 0x433a67
call fcn.004353fe
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.00438134
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x433a7b
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x433a9c
cmp ebx, 0xffffffff
je 0x433a8b
push ebx
push edi
push ecx
call fcn.00432e50
add esp, 0xc
cmp esi, edi
je 0x433a48
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x433a48
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x433ab8
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x433abf
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x433bb0
test word [esi + 0xc], 0x10c
je 0x433b13
mov eax, dword [esi + 4]
test eax, eax
je 0x433b13
jl 0x433c11
cmp ebx, eax
mov edi, ebx
jb 0x433ae4
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x433bb8
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00431c4c
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 0x433ba8
cmp ebx, dword [ebp - 0xc]
jb 0x433b80
cmp dword [ebp - 0xc], 0
je 0x433b3d
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x433b32
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x433b39
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x433b48
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x433b48
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x433be4
push eax
push dword [ebp - 8]
push esi
call fcn.00433651
pop ecx
push eax
call fcn.0043f873
add esp, 0xc
test eax, eax
je 0x433c23
cmp eax, 0xffffffff
je 0x433c11
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x433ba8
push esi
call fcn.0043f192
cmp eax, 0xffffffff
pop ecx
je 0x433c15
cmp dword [ebp - 4], 0
je 0x433be4
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 0x433ac7
mov eax, dword [ebp + 0x14]
jmp 0x433a62
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x433bcf
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00432e50
add esp, 0xc
call fcn.004353fe
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x433a58
cmp dword [ebp + 0xc], 0xffffffff
je 0x433bfa
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00432e50
add esp, 0xc
call fcn.004353fe
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x433a58
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x433a62
or dword [esi + 0xc], 0x10
jmp 0x433c15
Function at 0x434ca8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x434cd5
call fcn.00435411
mov dword [eax], esi
call fcn.004353fe
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00438134
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x434cb1
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x434d04
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00435424
pop ecx
call fcn.004353fe
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x434d2b
test al, 1
je 0x434d2b
test byte [esp + 0xc], 2
je 0x434d2b
call fcn.00435411
mov dword [eax], 5
call fcn.004353fe
mov dword [eax], 0xd
jmp 0x434cfb
xor eax, eax
pop esi
ret

Function at 0x43a199
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 + 0x463c58]
je 0x43a1b4
inc edi
cmp edi, 0x17
jb 0x43a1a5
cmp edi, 0x17
jae 0x43a334
push ebp
push 3
call fcn.0044213d
cmp eax, 1
pop ecx
je 0x43a300
push 3
call fcn.0044213d
test eax, eax
pop ecx
jne 0x43a1e8
cmp dword [0x4630d4], 1
je 0x43a300
cmp ebx, 0xfc
je 0x43a333
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4675f0
push ebp
call fcn.004414e7
add esp, 0xc
test eax, eax
je 0x43a21e
push esi
push esi
push esi
push esi
push esi
call fcn.00438038
add esp, 0x14
push 0x104
mov esi, 0x467609
push esi
push 0
mov byte [0x46770d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43a262
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004414e7
add esp, 0xc
test eax, eax
je 0x43a262
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00438038
add esp, 0x14
push esi
call fcn.0043e3f0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43a2a7
push esi
call fcn.0043e3f0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x467904
push 0x454a7c
sub ecx, eax
push ecx
push eax
call fcn.00441e86
add esp, 0x14
test eax, eax
je 0x43a2a7
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00438038
add esp, 0x14
jmp 0x43a2a9
xor esi, esi
push 0x454a78
push ebx
push ebp
call fcn.00441dc6
add esp, 0xc
test eax, eax
je 0x43a2c9
push esi
push esi
push esi
push esi
push esi
call fcn.00438038
add esp, 0x14
push dword [edi*8 + 0x463c5c]
push ebx
push ebp
call fcn.00441dc6
add esp, 0xc
test eax, eax
je 0x43a2eb
push esi
push esi
push esi
push esi
push esi
call fcn.00438038
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00441f80
add esp, 0xc
jmp 0x43a333
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43a333
cmp ebp, 0xffffffff
je 0x43a333
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x463c5c]
push dword [esi]
call fcn.0043e3f0
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 0x441f80
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004399f5
xor ebx, ebx
cmp dword [0x467c60], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x442056
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x442136
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x442136
push eax
call fcn.00439987
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x467c60], eax
call esi
push eax
call fcn.00439987
mov dword [esp], 0x455c98
push edi
mov dword [0x467c64], eax
call esi
push eax
call fcn.00439987
mov dword [0x467c68], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00437005
test eax, eax
pop ecx
pop ecx
je 0x442024
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00438038
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x442056
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00439987
cmp eax, ebx
pop ecx
mov dword [0x467c70], eax
je 0x442056
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00439987
pop ecx
mov dword [0x467c6c], eax
mov eax, dword [0x467c6c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4420db
cmp dword [0x467c70], ecx
je 0x4420db
push eax
call fcn.004399fe
push dword [0x467c70]
mov esi, eax
call fcn.004399fe
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4420db
cmp edi, ebx
je 0x4420db
call esi
cmp eax, ebx
je 0x4420a8
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4420a8
test byte [ebp - 0x18], 1
jne 0x4420db
lea eax, [ebp - 0x10]
push eax
call fcn.0043703c
test eax, eax
pop ecx
je 0x4420c3
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00438038
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4420d2
or dword [ebp + 0x10], 0x200000
jmp 0x442116
or dword [ebp + 0x10], 0x40000
jmp 0x442116
mov eax, dword [0x467c64]
cmp eax, dword [ebp - 8]
je 0x442116
push eax
call fcn.004399fe
cmp eax, ebx
pop ecx
je 0x442116
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x442116
mov eax, dword [0x467c68]
cmp eax, dword [ebp - 8]
je 0x442116
push eax
call fcn.004399fe
cmp eax, ebx
pop ecx
je 0x442116
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x467c60]
call fcn.004399fe
cmp eax, ebx
pop ecx
je 0x442136
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x442138
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x409553
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.0040dce3
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.0040dd6b
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call fcn.0040e658
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 2
jne 0x4095d6
cmp dword [0x4144c8], 1
jne 0x4095d6
cmp dword [ebp - 0xc], 0
je 0x4095d6
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00409412
add esp, 8
jmp 0x4095e5
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x14], eax
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 8

Function at 0x4097d3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
jmp 0x40981b
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x3c
jge 0x409841
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp dword [eax*4 + 0x41409c], ecx
jne 0x40983f
cmp dword [ebp - 0xc], 0
je 0x40983d
mov eax, dword [ebp - 0xc]
add dword [eax + 8], 0xa
jmp 0x409841
jmp 0x409818
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x4098e4
mov dword [ebp - 0x18], 0
jmp 0x40986f
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x3c
jge 0x4098e4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp dword [eax*4 + 0x41409c], ecx
jne 0x4098e2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx*4 + 0x4142b8]
cmp dword [eax*4 + 0x4141c8], ecx
jb 0x4098d1
mov eax, dword [ebp - 0x10]
cmp dword [0x414098], eax
je 0x4098bf
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x41418c]
push eax
call fcn.0040e41a
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [0x414098], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0040df71
add esp, 8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
add dword [ecx*4 + 0x4141c8], eax
jmp 0x4098e4
jmp 0x40986c
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 0x14