joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fde3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41a0c8
push 0x417648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xfffffeac
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x2c], 0x65
mov byte [ebp - 0x2b], 0x78
mov byte [ebp - 0x2a], 0x70
mov byte [ebp - 0x29], 0x6c
mov byte [ebp - 0x28], 0x6f
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x78
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.0040fc6d
add esp, 4
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x40fe5c
xor eax, eax
jmp 0x40ffe8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
push ecx
push 0
push 0x400
call dword [0x4206a8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x40fea5
jmp 0x40ff87
lea edx, [ebp - 0x40]
push edx
push 8
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x4205f0]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x40fec3
jmp 0x40ff87
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x48]
push ecx
push 0
push 0
push 1
mov edx, dword [ebp - 0x40]
push edx
call dword [0x420628]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x48], 0
jbe 0x40ff27
mov eax, dword [ebp - 0x48]
push eax
call fcn.004175d2
add esp, 4
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push 1
mov edx, dword [ebp - 0x40]
push edx
call dword [0x420628]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x40ff25
jmp 0x40ff87
jmp 0x40ff29
jmp 0x40ff87
mov dword [ebp - 0x150], 0x104
mov dword [ebp - 0x154], pe_nt_image_headers32
push pe_nt_image_headers32
call fcn.004175d2
add esp, 4
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x150]
push edx
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x154]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push ecx
push 0
call dword [0x420624]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040ff95
jmp 0x40ffe8
Function at 0x410650
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x41a0d4
push 0
push 0
push 0
push 0
call dword [0x420794]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x18]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xc], 0
call fcn.0041095f
and eax, 0xff
test eax, eax
je 0x4106a4
xor ecx, ecx
mov cl, byte [0x41f0ac]
test ecx, ecx
je 0x4106a9
jmp 0x41073e
mov byte [ebp - 0x14], 0x23
mov byte [ebp - 0x13], 0x33
mov byte [ebp - 0x12], 0x32
mov byte [ebp - 0x11], 0x37
mov byte [ebp - 0x10], 0x37
mov byte [ebp - 0xf], 0x30
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xc], 0x43
mov byte [ebp - 0xb], 0x56
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x6f
mov byte [ebp - 6], 0x43
mov byte [ebp - 5], 0x61
mov byte [ebp - 4], 0x70
mov byte [ebp - 3], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x80000000
push 0x41f0b0
lea edx, [ebp - 0x14]
push edx
push 0
call dword [0x420924]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x10], eax
push 0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
push eax
push 0
push 0
push 0
push 0
push 0x50000000
lea ecx, [ebp - 0xc]
push ecx
call 0x41785c
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret
Function at 0x411670
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], 1
mov dword [ebp - 0x20], 1
cmp dword [ebp + 8], 0
je 0x4116aa
cmp dword [ebp + 0x10], 0
je 0x4116aa
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x48]
mov edx, dword [ebp + 0xc]
cmp edx, dword [ecx + 0x14]
jne 0x4116aa
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x44], 0
jne 0x4116b1
xor al, al
jmp 0x411773
mov byte [ebp - 0x1c], 0x49
mov byte [ebp - 0x1b], 0x43
mov byte [ebp - 0x1a], 0x53
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], 0x71
mov byte [ebp - 0x17], 0x43
mov byte [ebp - 0x16], 0x6f
mov byte [ebp - 0x15], 0x6d
mov byte [ebp - 0x14], 0x70
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0x10], 0x73
mov byte [ebp - 0xf], 0x46
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x61
mov byte [ebp - 0xc], 0x6d
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x41cf58
call dword [0x420790]
push eax
call dword [0x420738]
mov dword [ebp - 0x24], eax
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
mov edx, dword [ebp - 0x28]
add edx, 4
push edx
call dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41173b
xor al, al
jmp 0x411773
cmp dword [ebp + 0x14], 0
je 0x411749
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp + 0x18], 0
je 0x41175d
xor edx, edx
cmp dword [ebp - 0x20], 0
setne dl
mov eax, dword [ebp + 0x18]
mov byte [eax], dl
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.004175ec
add esp, 0xc
mov al, 1
mov esp, ebp
pop ebp
ret 0x14
Function at 0x419edc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x419f6d
mov edi, dword [esi + 0x10]
mov ebx, dword [esp + 0x14]
sub edi, dword [esi + 8]
cmp dword [esi + 0x14], 0
je 0x419f2f
mov eax, dword [esi + 0xc]
lea edx, [edi + ebx]
cmp edx, eax
jle 0x419f2f
cmp ebx, eax
jg 0x419f2f
test edi, edi
jl 0x419f2f
push ecx
call fcn.0043a44f
mov edx, dword [esi + 0x10]
and dword [esi + 4], 0
pop ecx
mov ecx, dword [esi]
call fcn.0041dd28
push 1
mov ecx, esi
push dword [esi + 0xc]
call fcn.00419e55
lea eax, [edi + ebx]
cmp eax, dword [esi + 0xc]
jg 0x419f64
test edi, edi
jl 0x419f64
add edi, dword [esi + 4]
push ebx
push edi
mov edi, dword [esp + 0x18]
push edi
call fcn.0043a530
add esp, 0xc
xor eax, eax
test ebx, ebx
jle 0x419f5c
xor byte [eax + edi], 0xaa
inc eax
cmp eax, ebx
jl 0x419f53
add dword [esi + 0x10], ebx
push 1
pop eax
jmp 0x419f6f
push 1
mov ecx, esi
call fcn.00419eb2
xor eax, eax
pop edi
pop esi
pop ebx
ret 8
Function at 0x41a903
Capabilities:
Get common file path

Disassembly:
mov eax, 0x45fd0c
call fcn.0043a238
sub esp, 0x278
mov dword [ebp - 0x14], ecx
call fcn.0041a8c2
test eax, eax
je 0x41aa7b
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x74]
push edi
push eax
mov ecx, ebx
call fcn.0041cb35
and dword [ebp - 4], 0
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.00447555
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.0041a3bc
lea eax, [ebp - 0x44]
push edi
push eax
mov ecx, ebx
call fcn.0041cb35
mov esi, dword [eax + 8]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x44]
add esi, dword [eax + 0x10]
call fcn.0041a3bc
lea eax, [ebp - 0x44]
push edi
push eax
mov ecx, ebx
call fcn.0041cb35
mov eax, dword [eax + 0xc]
lea ecx, [ebp - 0x44]
mov dword [ebp + 0xc], eax
call fcn.0041a3bc
lea eax, [ebp - 0x44]
push edi
push eax
mov ecx, ebx
call fcn.0041cb35
mov edi, dword [eax + 0x18]
lea ecx, [ebp - 0x44]
call fcn.0041a3bc
xor eax, eax
test edi, edi
setg al
xor edi, edi
test eax, eax
je 0x41aa1a
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x7d000
jl 0x41a9ea
push 1
lea eax, [ebp - 0x284]
pop edi
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x17c]
push eax
push edi
lea eax, [ebp - 0x284]
push 0x41324c
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test edi, edi
push ebx
push esi
je 0x41aa44
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x17c]
push eax
call fcn.0041aac9
test eax, eax
je 0x41aa33
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x17c]
call fcn.0041f5af
test eax, eax
je 0x41aa33
push 1
pop esi
jmp 0x41aa35
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
push esi
push dword [ebp - 0x10]
call fcn.0041aac9
mov esi, eax
neg esi
sbb esi, esi
neg esi
jmp 0x41aa6a
xor esi, esi
lea eax, [ebp - 0x17c]
push eax
call fcn.004448c5
pop ecx
jmp 0x41aa6a
mov ecx, dword [ebp - 0x14]
call fcn.0041aa89
test eax, eax
je 0x41aa68
push dword [ebp - 0x10]
mov edx, ebx
mov ecx, 0x5321f8
call fcn.0041f610
test eax, eax
je 0x41aa68
push 1
pop esi
jmp 0x41aa6a
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00447326
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x41b45b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x45fed7
call fcn.0043a238
sub esp, 0x168
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x10]
call fcn.00447394
push 1
lea ecx, [ebp - 0x10]
pop ebx
mov dword [ebp - 4], ebx
call fcn.0044518e
lea ecx, [ebp - 0x10]
call fcn.00445142
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x41b4b4
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
call fcn.00447394
mov dword [ebp - 0x18], ebx
jmp 0x41bf65
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x41b4d4
push 0x413568
lea ecx, [ebp - 0x10]
push 0x413560
lea ecx, [ebp - 0x10]
call fcn.00444dee
cmp eax, 0xffffffff
je 0x41b4f8
push 0x41355c
Function at 0x41d48a
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x460107
call fcn.0043a238
sub esp, 0x128
and dword [ebp - 0x30], 0
push esi
mov esi, 0x4639cc
mov dword [ebp - 0x14], ecx
push esi
push dword [0x4b51f4]
call fcn.00439db1
pop ecx
test eax, eax
pop ecx
je 0x41d4ce
mov ecx, dword [ebp - 0x14]
push 0x4b51f4
call fcn.0044709b
mov eax, dword [ebp - 0x14]
jmp 0x41d674
push ebx
push edi
push 0
push 0x72
push 0x65
push 0x6c
push 0x69
push 0x70
mov dl, 0x6d
lea ecx, [ebp - 0x2c]
call fcn.0041d681
mov dword [ebp - 0x1c], eax
push 1
mov dl, 0x65
pop edi
lea ecx, [ebp - 0x28]
push 0x6f
mov dword [ebp - 4], edi
pop ebx
push ebx
push 0x63
push 0x6b
push ebx
push ebx
push 0x62
call fcn.0041d681
push dword [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00447555
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00447326
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00447326
mov dl, 0x6e
lea ecx, [ebp - 0x34]
push 0x72
push ebx
push 0x7a
push 0x61
push 0x72
push 0x67
call fcn.0041d681
mov ebx, eax
push 0x69
push 0x74
push 0x65
push 0x6b
push 0x72
push 0x61
mov dl, 0x6d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0041d681
push ebx
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
call fcn.00447555
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
call fcn.00447326
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.00447326
push esi
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x10]
call fcn.0041d6d6
mov esi, 0x4b51f4
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.0044745f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.00447326
lea ecx, [ebp - 0x20]
push 0x4137f0
call fcn.00447394
push dword [ebp - 0x20]
mov eax, 0x4137e8
mov byte [ebp - 4], 0xc
push 0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
cmp ebx, edi
jne 0x41d602
mov edx, dword [ebp - 0x18]
push 0x4137e0
lea ecx, [ebp - 0x10]
call fcn.0041d6d6
push eax
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.0044745f
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
call fcn.00447326
jmp 0x41d63f
test ebx, ebx
je 0x41d63f
mov edx, dword [ebp - 0x18]
push 0x4137dc
lea ecx, [ebp - 0x10]
call fcn.0041d6d6
mov eax, dword [eax]
push ebx
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.0043a3cd
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00447326
lea eax, [ebp - 0x134]
mov ecx, esi
push eax
call fcn.004474af
mov ecx, dword [ebp - 0x14]
push esi
call fcn.0044709b
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 9
call fcn.00447326
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00447326
and byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00447326
mov eax, dword [ebp - 0x14]
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41dd08
Capabilities:
Encode data using xor

Disassembly:
test edx, edx
jle 0x41dd1b
xor eax, eax
test edx, edx
jle 0x41dd1b
xor byte [eax + ecx], 0x55
inc eax
cmp eax, edx
jl 0x41dd12
ret
Function at 0x41de49
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, edx
test edi, edi
jne 0x41de5a
push 1
pop eax
jmp 0x41de7f
push edi
push esi
push ecx
call dword [sym.imp.KERNEL32.dll__lread]
test eax, eax
jle 0x41de76
xor ecx, ecx
test eax, eax
jle 0x41de76
xor byte [ecx + esi], 0xaa
inc ecx
cmp ecx, eax
jl 0x41de6d
xor ecx, ecx
cmp eax, edi
sete cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x41e484
Capabilities:
Get common file path
Set file attributes

Disassembly:
push esi
mov esi, ecx
call fcn.0041e4a9
mov ecx, esi
call fcn.0041e708
mov ecx, esi
call fcn.0041e860
mov ecx, esi
call fcn.0041e908
mov ecx, esi
pop esi
jmp fcn.0041e9ad

Function at 0x41e908
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push esi
call fcn.0041f063
mov dword [ebp - 4], eax
lea eax, [ebp - 0x104]
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [ebp - 0x104]
lea ecx, [ebp - 0x204]
push 0x413950
push 0x41394c
push 0x413948
call fcn.0041e979
lea eax, [ebp - 0x204]
push 2
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
mov esi, eax
cmp esi, 0xffffffff
je 0x41e976
lea eax, [ebp - 4]
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll__lwrite]
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
pop esi
leave
ret

Function at 0x41eb04
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30c
push esi
push edi
mov edi, ecx
call fcn.0041ebb9
mov esi, eax
test esi, esi
jne 0x41ebb1
mov eax, 0x100
lea ecx, [ebp - 0x20c]
push eax
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [ebp - 0x30c]
push eax
push 0x413978
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x41eb5b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
jmp 0x41eb5e
mov eax, dword [ebp - 4]
test eax, eax
jge 0x41eb64
neg eax
cdq
mov ecx, 0x15f8f
idiv ecx
lea eax, [ebp - 0x10c]
mov esi, edx
add esi, 0x2710
push esi
push 0x413558
push eax
call fcn.0043a3cd
add esp, 0xc
lea eax, [ebp - 0x10c]
push 0x41382c
push eax
push 0x413970
push 0x413968
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, esi
call fcn.0041e484
push 1
pop eax
jmp 0x41ebb3
xor eax, eax
mov dword [edi], esi
pop edi
pop esi
leave
ret

Function at 0x41eeac
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
lea eax, [ebp - 0x100]
push dword [ebp + 8]
push 0x100
push eax
push 0x4639cc
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x100]
push eax
call fcn.0043af4a
lea esi, [eax + eax*2]
lea eax, [ebp - 0x100]
push eax
call fcn.0043af4a
pop ecx
pop ecx
shl eax, 1
mov ecx, eax
mov eax, esi
sub eax, ecx
pop esi
leave
ret 4
Function at 0x41efe5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push esi
lea eax, [ebp - 0x104]
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [ebp - 0x104]
lea ecx, [ebp - 0x204]
push 0x413950
push 0x41394c
push 0x413948
call fcn.0041e979
lea eax, [ebp - 0x204]
push 0x40
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov esi, eax
cmp esi, 0xffffffff
je 0x41f054
push edi
lea eax, [ebp - 4]
push 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll__lread]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll__lclose]
cmp edi, 4
pop edi
je 0x41f058
xor eax, eax
jmp 0x41f060
mov ecx, dword [ebp - 4]
call fcn.0041f063
pop esi
leave
ret

Function at 0x41f06b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push ebx
push esi
push edi
lea eax, [ebp - 0x124]
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [ebp - 0x124]
lea ecx, [ebp - 0x224]
push 0x413950
push 0x41394c
push 0x4139e4
call fcn.0041e979
lea eax, [ebp - 0x224]
push 0x40
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41f155
mov esi, dword [sym.imp.KERNEL32.dll__lread]
push 4
pop edi
lea eax, [ebp - 4]
push edi
push eax
push ebx
call esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
push edi
push eax
push ebx
call esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push edi
push eax
push ebx
call esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push edi
push eax
push ebx
call esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push edi
push eax
push ebx
call esi
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll__lclose]
cmp dword [ebp - 0x24], edi
jne 0x41f155
cmp dword [ebp - 0x10], edi
jne 0x41f155
cmp dword [ebp - 0x20], edi
jne 0x41f155
cmp dword [ebp - 0x18], edi
jne 0x41f155
cmp esi, edi
jne 0x41f155
mov ecx, dword [ebp - 4]
call fcn.0041eaca
cmp dword [ebp - 8], eax
jne 0x41f155
mov ecx, dword [ebp - 4]
call fcn.0041ea90
cmp dword [ebp - 0xc], eax
jne 0x41f155
mov ecx, dword [ebp - 4]
call fcn.0041eae7
cmp dword [ebp - 0x14], eax
jne 0x41f155
mov ecx, dword [ebp - 4]
call fcn.0041eaad
cmp dword [ebp - 0x1c], eax
je 0x41f159
xor eax, eax
jmp 0x41f161
mov ecx, dword [ebp - 4]
call fcn.0041f166
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f16e
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push edi
xor edi, edi
cmp dword [0x5af1f8], edi
jne 0x41f240
mov eax, 0x100
lea ecx, [ebp - 0x118]
push eax
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
lea eax, [ebp - 0x218]
push eax
push 0x413978
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x41f1bd
mov dword [ebp - 0xc], 0x75bcd15
push 0x413598
mov dword [0x5af1f8], 1
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, edi
mov dword [ebp - 0x10], eax
jle 0x41f240
push ebx
push esi
mov eax, edi
push 6
cdq
pop ecx
mov ebx, edi
idiv ecx
mov eax, dword [ebp - 0xc]
mov ecx, edx
xor edx, edx
inc ecx
inc ecx
div ecx
lea eax, [edi - 1]
mov dword [ebp - 4], eax
mov esi, edx
inc esi
test edi, edi
jl 0x41f238
lea eax, [edi + 0x413697]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jl 0x41f238
cmp ebx, dword [ebp - 4]
je 0x41f238
mov edx, dword [ebp - 8]
lea ecx, [ebx + 0x413698]
call fcn.0041f243
sub dword [ebp - 4], 2
sub dword [ebp - 8], 2
push 0x413698
sub ebx, esi
call fcn.00440e40
test ebx, ebx
pop ecx
jge 0x41f206
inc edi
cmp edi, dword [ebp - 0x10]
jl 0x41f1db
pop esi
pop ebx
pop edi
leave
ret

Function at 0x41f7fc
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x460243
call fcn.0043a238
sub esp, 0xc
push ebx
push esi
mov dword [ebp - 0x14], ecx
push edi
xor ebx, ebx
push edx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
call fcn.00447394
mov eax, dword [ebp - 0x10]
push 1
pop edi
mov esi, dword [eax - 8]
mov dword [ebp - 4], edi
cmp esi, ebx
jle 0x41f849
mov eax, dword [ebp - 0x10]
mov cl, bl
and cl, 3
mov al, byte [ebx + eax]
xor cl, al
push ecx
push ebx
lea ecx, [ebp - 0x10]
call fcn.0044786c
inc ebx
cmp ebx, esi
jl 0x41f82d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.0044709b
mov dword [ebp - 0x18], edi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00447326
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41ffd6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x100]
mov esi, edx
mov edi, ecx
push 0x413558
push eax
call fcn.0043a3cd
add esp, 0xc
lea eax, [ebp - 0x200]
push dword [ebp + 0xc]
push 0x100
push eax
lea eax, [ebp - 0x100]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x200]
push eax
call fcn.0043af4a
pop ecx
pop edi
pop esi
leave
ret 8
Function at 0x4219ee
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
cmp dword [ebp + 0xc], 0
push ebx
push edi
mov edi, ecx
je 0x421b2e
cmp dword [ebp + 0x10], 0
je 0x421b2e
push dword [ebp + 0x10]
call fcn.0044790a
mov ebx, eax
pop ecx
test ebx, ebx
je 0x421b3b
mov ecx, edi
call fcn.0041a8c2
test eax, eax
je 0x421b3b
lea eax, [ebp - 0x210]
push esi
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x108]
push eax
push 1
lea eax, [ebp - 0x210]
push 0x41324c
push eax
call esi
lea eax, [ebp - 0x318]
push eax
push 0
lea eax, [ebp - 0x210]
push 0x413e7c
push eax
call esi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x318]
push eax
call fcn.004474af
mov edx, dword [ebp + 0xc]
mov ecx, dword [edi]
call fcn.0041dd28
push dword [ebp + 0x10]
push ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll__lread]
mov esi, eax
or edi, 0xffffffff
test esi, esi
lea eax, [esi - 1]
mov dword [ebp + 0xc], eax
jle 0x421ade
mov edx, esi
mov ecx, ebx
call fcn.0041dd08
lea eax, [ebp - 0x108]
push 2
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
mov edi, eax
cmp edi, 0xffffffff
je 0x421ade
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll__lwrite]
push edi
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll__lclose]
push ebx
call fcn.00447933
xor ebx, ebx
cmp edi, 0xffffffff
pop ecx
je 0x421b02
test esi, esi
jle 0x421b02
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x108]
mov edx, dword [eax]
call fcn.0041f5af
mov ebx, eax
lea ecx, [ebp - 0x108]
call fcn.0042f58e
test ebx, ebx
je 0x421b29
test esi, esi
jle 0x421b29
cmp esi, dword [ebp + 0x10]
jne 0x421b29
cmp edi, 0xffffffff
je 0x421b29
cmp dword [ebp + 0xc], esi
jne 0x421b29
push 1
pop eax
jmp 0x421b2b
xor eax, eax
pop esi
jmp 0x421b3d
mov ecx, dword [ebp + 8]
push 0x4639cc
call fcn.004474af
xor eax, eax
pop edi
pop ebx
leave
ret 0xc