joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4558de
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4c20c8]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4c20cc]
mov dword [ebp - 8], eax
mov ax, word [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
push esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor esi, esi
cmp eax, 3
je 0x455926
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], esi
jmp 0x455967
push 8
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00484150
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push esi
push esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x455953
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jmp 0x455959
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp eax, esi
ja 0x45597b
jb 0x455967
cmp ecx, 0x400
jae 0x45597b
push ecx
push str._d_Bytes
push ebx
call fcn.0041cbb1
add esp, 0xc
jmp 0x455a4f
push edi
cmp eax, esi
ja 0x455a08
jb 0x45598e
cmp ecx, 0x100000
jae 0x4559c4
push esi
mov edi, ecx
push 0x64
shrd edi, eax, 0xa
and ecx, 0x3ff
push esi
shr eax, 0xa
push ecx
mov dword [ebp - 0x18], eax
call fcn.0048a570
mov ecx, eax
or ecx, edx
jne 0x4559b8
push edi
push str._d_KB
jmp 0x455a33
push eax
push edi
push str._d._d_KB
jmp 0x455a45
cmp eax, esi
ja 0x455a08
jb 0x4559d2
cmp ecx, 0x40000000
jae 0x455a08
push esi
mov edi, ecx
push 0x19000
shrd edi, eax, 0x14
and ecx, 0xfffff
push esi
shr eax, 0x14
push ecx
mov dword [ebp - 0x18], eax
call fcn.0048a570
mov ecx, eax
or ecx, edx
jne 0x4559ff
push edi
push 0x4c2104
jmp 0x455a33
push eax
push edi
push str._d._d_MB
jmp 0x455a45
push esi
mov edi, ecx
push 0x6400000
shrd edi, eax, 0x1e
and ecx, 0x3fffffff
push esi
shr eax, 0x1e
push ecx
mov dword [ebp - 0x18], eax
call fcn.0048a570
mov ecx, eax
or ecx, edx
jne 0x455a3e
push edi
push str._d_GB
push ebx
call fcn.0041cbb1
add esp, 0xc
jmp 0x455a4e
push eax
push edi
push str._d._d_GB
push ebx
call fcn.0041cbb1
add esp, 0x10
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00484247
leave
ret 8
Function at 0x4579ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x4e8]
push 0
mov ecx, ebx
call fcn.0045139e
push dword [esi + 0x92]
mov ecx, ebx
call fcn.00446524
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f9
push dword [esi + 4]
call edi
push eax
lea ecx, [esi + 0x53a]
call fcn.00436c43
cmp dword [esi + 0x148], 0x5001
push 4
mov ecx, ebx
push 0x4c2338
jne 0x457a46
push 0x13a
jmp 0x457a4b
push 0x138
call fcn.00451300
push dword [esi + 0x53e]
lea ebx, [esi + 0x20]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
push 0x3fa
push dword [esi + 4]
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebp
lea ecx, [esi + 0xc2]
push 0xffffff
call fcn.00446550
push dword [esi + 0x92]
lea ecx, [esi + 0xc2]
call fcn.00446524
push 0x3fb
push dword [esi + 4]
call edi
push eax
lea ecx, [esi + 0x114]
call fcn.0044f781
push dword [esi + 0x118]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
lea ebx, [esi + 0x338]
push 1
mov ecx, ebx
call fcn.0045139e
push dword [esi + 0x92]
mov ecx, ebx
call fcn.00446524
push 0x3fe
push dword [esi + 4]
call edi
push eax
lea ecx, [esi + 0x38a]
call fcn.00436c43
push 0xc
push 0x4c2338
push 0xf7
mov ecx, ebx
call fcn.00451369
lea ebx, [esi + 0x410]
push 1
mov ecx, ebx
call fcn.0045139e
push dword [esi + 0x92]
mov ecx, ebx
call fcn.00446524
push 0x3ff
push dword [esi + 4]
call edi
push eax
lea ecx, [esi + 0x462]
call fcn.00436c43
push 0xc
push 0x4c2338
push 0xf7
mov ecx, ebx
call fcn.00451369
xor edi, edi
push edi
push dword [esi + 0x118]
call ebp
push edi
push dword [esi + 0x38e]
call ebp
push edi
push dword [esi + 0x466]
call ebp
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x457f73
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x457f83
lea esi, [ecx - 0x9a]
jmp 0x457f85
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x457fb9
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x457faa
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x457fbf
cmp dword [ebp + 0xc], 0
jne 0x457fb9
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x457fd7
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x9a]
call fcn.00457b81
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x4581b9
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0x91
lea ecx, [esi + 0x14c]
call fcn.0040bf10
push 0
push dword [esi + 0x118]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x45a3fa
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x4b95ed
call fcn.0048501f
mov esi, ecx
push 0x4c5128
lea ecx, [ebp - 0x10]
call fcn.0040b680
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 0x64
mov ecx, 0x4ebc68
call fcn.0041bf4a
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040dd20
push 0xd
push 0x7d0
call fcn.00447257
push 0
push 0x79
call fcn.00447386
fld dword [0x4c4c80]
add esp, 0xc
lea ecx, [esi + 0x276]
fstp dword [esp]
call fcn.00458c2b
cmp dword [esi + 0x40f], 0
je 0x45a479
mov dword [esi + 0x40b], 1
jmp 0x45a4ab
mov eax, dword [esi + 0x92]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x45a4a4
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0045a077
jmp 0x45a4ab
mov ecx, esi
call fcn.00458b40
call fcn.004850f7
ret

Function at 0x45a4b1
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, 0x4b9610
call fcn.0048501f
mov esi, dword [ebp + 8]
push dword [esi - 0x6e]
call dword [sym.imp.USER32.dll_GetParent]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea edi, [esi - 0x72]
mov ecx, edi
call fcn.0045a32d
mov ecx, edi
call fcn.00458c9c
mov ecx, edi
call fcn.00459dd3
lea eax, [ebp + 8]
push 0xb6
push eax
call fcn.00455ee4
pop ecx
pop ecx
and dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x3e3]
call fcn.0041cb3f
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040dd20
push 0
push 0x64
push 0x2711
push dword [esi - 0x6e]
call dword [sym.imp.USER32.dll_SetTimer]
call fcn.004850f7
ret 4
Function at 0x45a621
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
sub esp, 0x254
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x254], eax
push 0xc
mov eax, 0x4b963b
call fcn.0048501f
xor ebx, ebx
push 0x250
lea eax, [ebp + 4]
push ebx
push eax
mov esi, ecx
mov dword [ebp], ebx
call fcn.00484150
add esp, 0xc
lea eax, [ebp]
push eax
lea ecx, [esi + 0x353]
call fcn.0046c4e1
cmp dword [ebp + 0xc], ebx
ja 0x45a67c
cmp dword [ebp + 8], 1
jb 0x45a819
push 0x2711
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
shrd eax, ecx, 0xa
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
shr ecx, 0xa
mov ecx, dword [ebp + 0x14]
shrd eax, ecx, 0xa
mov dword [ebp - 0x14], eax
shr ecx, 0xa
fild dword [ebp - 0x14]
fidiv dword [ebp - 0x18]
fld dword [esi + 0x3eb]
fsubr qword [0x4c0cc8]
fmulp st(1)
call fcn.0048db60
cmp dword [esi + 0x407], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [ebp - 0x10], edi
jne 0x45a6de
call ebx
mov dword [esi + 0x407], eax
call ebx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [esi + 0x3ff]
jne 0x45a713
cmp edx, dword [esi + 0x403]
jne 0x45a713
sub eax, dword [esi + 0x407]
xor edx, edx
mov ecx, 0x3e8
div ecx
cmp eax, 0x5a
jb 0x45a725
mov ecx, esi
call fcn.0045a5cd
jmp 0x45a725
mov dword [esi + 0x407], eax
mov dword [esi + 0x3ff], ecx
mov dword [esi + 0x403], edx
cmp edi, 0x3c
jl 0x45a753
lea eax, [esi + 0x3f7]
cmp dword [eax], 0
jne 0x45a753
push 0xc
push 0x7d0
mov dword [eax], 1
call fcn.00447257
push 0
push 0x78
call fcn.00447386
add esp, 0x10
cmp edi, dword [esi + 0x3df]
je 0x45a78d
fild dword [ebp - 0x10]
push ecx
lea ecx, [esi + 0x276]
fadd dword [esi + 0x3eb]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fstp dword [esp]
call fcn.00458c2b
push edi
push 1
lea ecx, [esi + 0x574]
mov dword [esi + 0x3df], edi
call fcn.00440fa0
push 0x4c5128
lea ecx, [ebp - 0x10]
call fcn.0040b680
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push edi
mov ecx, 0x4ebc68
call fcn.0041bf4a
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, dword [ebp - 0x18]
cdq
mov ecx, 0x3ff
and edx, ecx
add eax, edx
mov ebx, eax
mov eax, dword [ebp - 0x14]
cdq
and edx, ecx
add eax, edx
mov edi, eax
sar edi, 0xa
lea eax, [esi + 0x3e3]
sar ebx, 0xa
cmp edi, dword [eax]
je 0x45a819
push 0x4ecda4
lea ecx, [ebp - 0x14]
mov dword [eax], edi
call fcn.0040ba90
push ebx
push edi
lea eax, [ebp - 0x14]
push 0x90
push eax
mov dword [ebp - 4], 1
call fcn.00455b41
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x254]
xor ecx, ebp
call fcn.00484247
add ebp, 0x258
leave
ret
Function at 0x45a97c
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 4
mov eax, 0x4b96d0
call fcn.0048501f
mov esi, ecx
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x45a998
xor eax, eax
jmp 0x45ab84
mov ecx, dword [eax]
cmp ecx, 0xe16
jne 0x45aacf
push 0
push 1
push 0x4ec298
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x45ab81
mov eax, dword [esi + 0x92]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
test eax, eax
je 0x45aa23
cmp dword [esi + 0x3a3], 0
jne 0x45aa23
lea eax, [ebp + 0xc]
lea edi, [esi + 0x353]
push eax
mov ecx, edi
call fcn.0046c658
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov ebx, eax
call fcn.0040dd20
test ebx, ebx
je 0x45aa23
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.0046c658
mov eax, dword [eax]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040dd20
cmp dword [esi + 0x34b], 0x63
mov edi, 0x4ebc68
jg 0x45aa6c
push 0x4c30c8
lea ecx, [ebp + 0xc]
mov dword [esi + 0x34b], 0x64
call fcn.0040b680
and dword [ebp - 4], 0
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0x34b]
mov ecx, edi
call fcn.0041bf4a
mov ecx, dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040dd20
call fcn.00446f88
test eax, eax
jne 0x45aaa2
call fcn.0044707d
test eax, eax
jne 0x45aaa2
inc eax
mov dword [esi + 0x3db], eax
push eax
add esi, 0x3a7
push esi
mov ecx, edi
call fcn.0041bf6d
push 2
mov ecx, edi
call fcn.0041bf84
jmp 0x45a991
push 2
mov ecx, edi
mov dword [esi + 0x3db], 1
call fcn.0041bf84
push 0
push 0xbb8
push 0x2714
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x45a991
cmp ecx, 0xe15
jne 0x45ab45
mov edi, dword [eax + 8]
test edi, edi
je 0x45ab3b
cmp dword [edi], 0x61
jb 0x45ab0c
push 0x4c30c8
lea ecx, [ebp + 0xc]
call fcn.0040b680
lea eax, [ebp + 0xc]
push eax
push dword [edi]
mov ecx, 0x4ebc68
mov dword [ebp - 4], 1
call fcn.0041bf4a
mov ecx, dword [ebp + 0xc]
jmp 0x45ab33
push 0x4c4fd8
lea ecx, [ebp - 0x10]
call fcn.0040b680
lea eax, [ebp - 0x10]
push eax
push dword [edi]
mov ecx, 0x4ebc68
mov dword [ebp - 4], 2
call fcn.0041bf4a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, dword [edi]
mov dword [esi + 0x34b], eax
jmp 0x45ab81
cmp ecx, 0xe17
jne 0x45ab5d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call fcn.0045890b
jmp 0x45ab81
cmp ecx, 0xe13
jne 0x45ab81
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call fcn.0045890b
push 0x21
call fcn.0041b962
mov ecx, eax
call fcn.00474fee
xor eax, eax
inc eax
call fcn.004850f7
ret 8
Function at 0x45e557
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x45e567
lea esi, [ecx - 0x9a]
jmp 0x45e569
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x45e59d
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x45e58e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45e5a3
cmp dword [ebp + 0xc], 0
jne 0x45e59d
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x45e5bb
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x9a]
call fcn.0045da35
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x45e7ed
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4c20c8]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4c20cc]
mov dword [ebp - 8], eax
mov ax, word [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
push esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor esi, esi
cmp eax, 3
je 0x45e835
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], esi
jmp 0x45e876
push 8
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00484150
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push esi
push esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x45e862
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jmp 0x45e868
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
cmp eax, esi
ja 0x45e88a
jb 0x45e876
cmp ecx, 0x400
jae 0x45e88a
push ecx
push str._d_Bytes
push ebx
call fcn.0041cbb1
add esp, 0xc
jmp 0x45e95e
push edi
cmp eax, esi
ja 0x45e917
jb 0x45e89d
cmp ecx, 0x100000
jae 0x45e8d3
push esi
mov edi, ecx
push 0x64
shrd edi, eax, 0xa
and ecx, 0x3ff
push esi
shr eax, 0xa
push ecx
mov dword [ebp - 0x18], eax
call fcn.0048a570
mov ecx, eax
or ecx, edx
jne 0x45e8c7
push edi
push str._d_KB
jmp 0x45e942
push eax
push edi
push str._d._d_KB
jmp 0x45e954
cmp eax, esi
ja 0x45e917
jb 0x45e8e1
cmp ecx, 0x40000000
jae 0x45e917
push esi
mov edi, ecx
push 0x19000
shrd edi, eax, 0x14
and ecx, 0xfffff
push esi
shr eax, 0x14
push ecx
mov dword [ebp - 0x18], eax
call fcn.0048a570
mov ecx, eax
or ecx, edx
jne 0x45e90e
push edi
push 0x4c2104
jmp 0x45e942
push eax
push edi
push str._d._d_MB
jmp 0x45e954
push esi
mov edi, ecx
push 0x6400000
shrd edi, eax, 0x1e
and ecx, 0x3fffffff
push esi
shr eax, 0x1e
push ecx
mov dword [ebp - 0x18], eax
call fcn.0048a570
mov ecx, eax
or ecx, edx
jne 0x45e94d
push edi
push str._d_GB
push ebx
call fcn.0041cbb1
add esp, 0xc
jmp 0x45e95d
push eax
push edi
push str._d._d_GB
push ebx
call fcn.0041cbb1
add esp, 0x10
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00484247
leave
ret 8
Function at 0x46b92e
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x4c6038
push 1
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
test eax, eax
je 0x46b997
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x46b978
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4bf008
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x46b999
push edi
lea edi, [esi + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 4]
push eax
lea ecx, [esi + 4]
call fcn.0046b80a
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
leave
ret 0xc
Function at 0x46c3f8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push 0x46c3e1
push eax
push eax
mov dword [ebp - 4], eax
call fcn.0048e68c
add esp, 0x18
mov dword [esi + 0x1c], eax
pop esi
leave
ret
Function at 0x46ca9f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push 0x46ca88
push eax
push eax
mov dword [ebp - 4], eax
mov dword [esi + 0x4c], eax
call fcn.0048e68c
mov dword [esi + 0x20], eax
add esp, 0x18
xor eax, eax
inc eax
pop esi
leave
ret
Function at 0x40602f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x4060af
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x4060ae
push ebx
mov ebx, 0x4d4fc8
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.00402703
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.00402703
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x42a5b8
mov byte [edi + esi], al
call fcn.0041122e
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x406051
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00405b46
pop edi
pop ebp
ret 0x14

Function at 0x409fe2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40a003
jl 0x409ffa
test edi, edi
jne 0x40a003
xor eax, eax
xor edx, edx
jmp 0x40a0c4
cmp dword [ebx + 0x38], 0
je 0x40a018
push eax
push edi
push dword [ebp + 8]
call fcn.0040a0ca
jmp 0x40a0c4
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40a05f
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40a05f
cmp eax, edi
jb 0x40a039
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040c900
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40a065
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40a0b9
mov ecx, ebx
call fcn.0040987c
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40a0a4
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00414fb3
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40a0b9
jmp 0x40a077
test edx, edx
je 0x40a0b9
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00414fb3
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x40c45f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40c49e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40c49e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40c49e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40c49e
cmp dword [ecx + 0x74], 0xe
jbe 0x40c49e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41f341
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041efe3

Function at 0x41f34c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f172

Function at 0x41f746
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040c8b0
mov eax, dword [0x4d3200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041cf56
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41f788
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41f8e4
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00428ed0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4d5a30]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.004204e5
mov ecx, dword [esi*4 + 0x4d5a30]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41f8dd
cmp eax, dword [edi + ecx + 0x24]
jne 0x41f8dd
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41f8dd
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004204e5
add esp, 0x14
test edx, edx
jl 0x41f8dd
jg 0x41f853
test eax, eax
jb 0x41f8dd
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41f8dd
jl 0x41f86d
cmp dword [ebp - 0x1008], eax
ja 0x41f8dd
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41f88b
test ebx, ebx
je 0x41f8c4
cmp ecx, edi
jae 0x41f8c4
mov al, byte [ecx]
cmp al, 0xd
jne 0x41f8a5
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41f8b1
cmp byte [ecx + 1], 0xa
jne 0x41f8b1
inc ecx
jmp 0x41f8b1
movzx eax, al
movsx eax, byte [eax + 0x4d34c8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41f88b
cmp edx, ebx
jne 0x41f88b
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41f8e2
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040bcc9
leave
ret
Function at 0x41f983
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4d5a30]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41f9c3
cmp byte [ebx], 0xa
jne 0x41f9c3
or byte [eax + edi + 0x28], 4
jmp 0x41f9c8
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41fac6
mov al, byte [edx]
cmp al, 0x1a
je 0x41faa8
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41f9f7
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41fa1c
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41fa26
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41f9d9
jmp 0x41fac6
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41faa3
cmp dword [ebp - 0xc], 0
je 0x41faa3
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4d5a30]
test byte [eax + edi + 0x28], 0x48
je 0x41fa7d
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41fa68
mov byte [esi], dl
jmp 0x41fa79
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4d5a30]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41fac6
cmp byte [ebp - 1], 0xa
jne 0x41fa8c
cmp esi, ebx
jne 0x41fa8c
mov byte [esi], 0xa
jmp 0x41fac5
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00420503
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41fac6
mov byte [esi], 0xd
jmp 0x41fac5
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4d5a30]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41fac2
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41fac6
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret