joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011750
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10011b40
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x101422d0], 0
jne 0x1001178d
cmp dword [0x101422cc], 0
je 0x1001178d
mov eax, dword [0x101422cc]
mov dword [0x101422d0], eax
cmp dword [0x101422d0], 0
je 0x1001180a
mov ecx, dword [0x101422d0]
cmp dword [ecx + 8], 0
je 0x1001180a
mov edx, dword [0x101422d0]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1001180a
mov ecx, dword [0x101422d0]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1001180a
mov eax, dword [0x101422d0]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x100117d9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x100117e0
xor eax, eax
jmp 0x10011929
mov ecx, dword [0x101422d0]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call fcn.10017300
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10011929
mov edx, dword [0x101422cc]
mov dword [0x101422d0], edx
jmp 0x10011826
mov eax, dword [0x101422d0]
mov ecx, dword [eax + 4]
mov dword [0x101422d0], ecx
cmp dword [0x101422d0], 0
je 0x10011866
cmp dword [0x101422d0], 0
je 0x10011864
mov edx, dword [0x101422d0]
cmp dword [edx + 8], 0
je 0x10011864
mov eax, dword [0x101422d0]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10011864
mov edx, dword [0x101422d0]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10011864
jmp 0x100117be
jmp 0x10011818
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10011930
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10011927
mov eax, dword [ebp - 0x18]
mov dword [0x101422d0], eax
mov ecx, dword [0x101422d0]
mov dword [ecx], 0x52727464
mov edx, dword [0x101422d0]
mov dword [edx + 8], 0
mov eax, dword [0x101422d0]
mov ecx, dword [0x101422cc]
mov dword [eax + 4], ecx
mov edx, dword [0x101422d0]
mov dword [0x101422cc], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x101422d0]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x100118f7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10011917
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x100118ee
mov eax, dword [0x101422d0]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x100117be
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10022ff6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10022e75

Function at 0x100280f4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10027db4
Function at 0x42cb30
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x42ccf4
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
or ebp, 0xffffffff
jmp 0x42cb5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42cb61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42cb50
mov eax, 1
add ebx, ebx
jne 0x42cb73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42cb68
jne 0x42cb84
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42cb68
xor ecx, ecx
sub eax, 3
jb 0x42cb98
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42cc0a
mov ebp, eax
add ebx, ebx
jne 0x42cba3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42cbb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42cbd4
inc ecx
add ebx, ebx
jne 0x42cbc0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42cbb5
jne 0x42cbd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42cbb5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42cbf4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42cbe5
jmp 0x42cb56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42cbf4
add edi, ecx
jmp 0x42cb56
pop esi
mov edi, esi
mov ecx, 0xc8e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42cc12
cmp byte [edi], 6
jne 0x42cc12
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42cc17
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42cc86
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2c82c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2c8b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42cc44
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2c8b8]
or eax, eax
je 0x42cc80
mov dword [ebx], eax
add ebx, 4
jmp 0x42cc61
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x42ccb7
cmp al, 0xef
ja 0x42ccaa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x42cc8c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x42cc99
mov ebp, dword [esi + 0x2c8bc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42cceb
sub esp, 0xffffff80
jmp 0x419c20
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219

Function at 0x418180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x4181a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4181a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418198
mov eax, 1
add ebx, ebx
jne 0x4181bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4181b0
jne 0x4181cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181b0
xor ecx, ecx
sub eax, 3
jb 0x4181e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418252
mov ebp, eax
add ebx, ebx
jne 0x4181eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4181f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41821c
inc ecx
add ebx, ebx
jne 0x418208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4181fd
jne 0x418219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41823c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41822d
jmp 0x41819e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41823c
add edi, ecx
jmp 0x41819e
pop esi
mov edi, esi
mov ecx, 0x3b2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41825a
cmp byte [edi], 0
jne 0x41825a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41825f
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x4182ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x180b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18114]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41828c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18118]
or eax, eax
je 0x4182c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4182a9
call dword [esi + 0x1811c]
popal
jmp 0x40a630
Function at 0x100021f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 1
xor eax, eax
mov dl, byte [edi + eax + 0x3ed419b4]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xb
jb 0x10002201
pop edi
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100022a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x7bd60ae8]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x1a
jb 0x100022b1
pop edi
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100022e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 9
xor eax, eax
mov dl, byte [edi + eax - 0x1abd646a]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x28
jb 0x100022f1
pop edi
mov byte [esi + 0x28], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100023b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x15
xor eax, eax
mov dl, byte [edi + eax + 0x43f2140e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x100023c1
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100023f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x19
xor eax, eax
mov dl, byte [edi + eax + 0x1bf4bbef]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x88
jb 0x10002401
pop edi
mov byte [esi + 0x88], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x2d
xor eax, eax
mov dl, byte [edi + eax + 0x5d9825a0]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x25
jb 0x10002561
pop edi
mov byte [esi + 0x25], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x34
xor eax, eax
mov dl, byte [edi + eax + 0x32593faf]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0xf
jb 0x100025a1
pop edi
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100025d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x36
xor eax, eax
mov dl, byte [edi + eax - 0x5023d40c]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x3b
jb 0x100025e1
pop edi
mov byte [esi + 0x3b], 0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x10002810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0x70
xor eax, eax
mov dl, byte [edi + eax - 0x2a0c3c7f]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x2c
jb 0x10002821
pop edi
mov byte [esi + 0x2c], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x100028c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xaf
xor eax, eax
mov dl, byte [edi + eax + 0x1f0ff0d2]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x23
jb 0x100028d1
pop edi
mov byte [esi + 0x23], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002ae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xe8
xor eax, eax
mov dl, byte [edi + eax + 0x3566316e]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x2a
jb 0x10002af1
pop edi
mov byte [esi + 0x2a], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10002c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 0xf0
xor eax, eax
mov dl, byte [edi + eax + 0xab77782]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
inc eax
movzx ecx, cl
cmp eax, 0x17
jb 0x10002c81
pop edi
mov byte [esi + 0x17], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10004400
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 4]
cmp eax, 4
ja case.default.0x1000440f
jmp dword [eax*4 + 0x10004488]
pop ebp
jmp fcn.10006c70
cmp dword [0x10147b64], 0
jne case.default.0x1000440f
mov dword [0x10147b64], 1
jmp 0x1000446e
cmp dword [0x10147b64], 0
jne case.default.0x1000440f
mov dword [0x10147b64], 2
jmp 0x1000446e
cmp dword [0x10147b64], 0
jne case.default.0x1000440f
mov dword [0x10147b64], 3
jmp 0x1000446e
cmp dword [0x10147b64], 0
jne case.default.0x1000440f
mov dword [0x10147b64], 4
push 0
push 0
push 0
push 0x10004b40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x10004416
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 4]
cmp eax, 4
ja case.default.0x1000440f
jmp dword [eax*4 + 0x10004488]
pop ebp
jmp fcn.10006c70
cmp dword [0x10147b64], 0
jne case.default.0x1000440f
mov dword [0x10147b64], 1
jmp 0x1000446e
cmp dword [0x10147b64], 0
jne case.default.0x1000440f
mov dword [0x10147b64], 2
jmp 0x1000446e
cmp dword [0x10147b64], 0
jne case.default.0x1000440f
mov dword [0x10147b64], 3
jmp 0x1000446e
cmp dword [0x10147b64], 0
jne case.default.0x1000440f
mov dword [0x10147b64], 4
push 0
push 0
push 0
push 0x10004b40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x1000445b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 4]
cmp eax, 4
ja case.default.0x1000440f
jmp dword [eax*4 + 0x10004488]
pop ebp
jmp fcn.10006c70
cmp dword [0x10147b64], 0
jne case.default.0x1000440f
mov dword [0x10147b64], 1
jmp 0x1000446e
cmp dword [0x10147b64], 0
jne case.default.0x1000440f
mov dword [0x10147b64], 2
jmp 0x1000446e
cmp dword [0x10147b64], 0
jne case.default.0x1000440f
mov dword [0x10147b64], 3
jmp 0x1000446e
cmp dword [0x10147b64], 0
jne case.default.0x1000440f
mov dword [0x10147b64], 4
push 0
push 0
push 0
push 0x10004b40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x100059b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036998
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x101469e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10146430]
cmp eax, 0x927c0
jb 0x100059f5
call esi
mov dword [0x10146430], eax
cmp dword [edi + 4], 0
je 0x10005a89
push 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 1
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x28], 0
push eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call sub.gdiplus.dll_GdiplusStartup
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
push dword [edi + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.100105a0
mov esi, dword [ebp - 0x1c]
test al, al
je 0x10005a6e
cmp esi, dword [ebp - 0x18]
je 0x10005a6e
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.1000ca50
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x10]
call sub.gdiplus.dll_GdiplusShutdown
test esi, esi
je 0x10005a89
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
sub eax, esi
push eax
push esi
call fcn.1000f900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10005c70
Capabilities:
Connect socket
Create thread
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101469e4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 4], 0xffffffff
je 0x10005cfb
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x10005cd3
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10005cd3
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.1001b550
add esp, 0xc
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10005d0f
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x10005d0f
mov ecx, esi
call fcn.10006c30
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e82
mov esp, ebp
pop ebp
ret 8
push 0x23
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, 0xffffffff
jne 0x10005d68
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10005d38
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 4], 0xffffffff
mov eax, dword [esi + 8]
test eax, eax
je 0x10005d4d
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [esi + 8], 0
pop edi
mov byte [esi + 0x100038], 0
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018e82
mov esp, ebp
pop ebp
ret 8
push 0x80000
lea eax, [esi + 0xc]
push 0
push eax
call fcn.1001bad0
push 0x80000
lea eax, [esi + 0x80010]
mov dword [esi + 0x8000c], 0
push 0
push eax
call fcn.1001bad0
add esp, 0x18
mov dword [esi + 0x100010], 0
push 0
push 0
push esi
push 0x10005b20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
mov byte [esi + 0x100038], 1
xor ecx, ebp
pop esi
call fcn.10018e82
mov esp, ebp
pop ebp
ret 8
Function at 0x10006450
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036a06
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x101469e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x654], eax
mov eax, dword [0x100398f4]
mov dword [ebp - 0x18], eax
mov ax, word [0x100398f8]
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x620]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x100065b4
lea esi, [ebp - 0x620]
nop dword [eax]
mov ax, word [esi]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x220]
push 0x104
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x100065a0
xor eax, eax
mov dword [ebp - 0x624], 7
mov dword [ebp - 0x628], 0
mov word [ebp - 0x638], ax
cmp word [ebx], ax
je 0x1000651f
mov eax, ebx
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10006510
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x638]
call fcn.1000f5c0
cmp word [ebp - 0x220], 0
mov dword [ebp - 4], 0
jne 0x10006541
xor ecx, ecx
jmp 0x1000655f
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006550
sub ecx, edx
sar ecx, 1
push ecx
push 0
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x638]
call fcn.10010390
mov edi, eax
cmp edi, 0xffffffff
jne 0x100065d2
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x624]
cmp eax, 8
jb 0x100065a0
inc eax
lea ecx, [ebp - 0x638]
push eax
push dword [ebp - 0x638]
call fcn.1000f9c0
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100065a0
cmp word [esi], ax
jne 0x100064c0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10018e82
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x650]
call fcn.10002f20
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x638]
push esi
inc eax
mov byte [ebp - 4], 1
push eax
push edi
call fcn.10011a60
mov eax, dword [ebp - 0x63c]
cmp eax, 8
jb 0x10006618
inc eax
lea ecx, [ebp - 0x650]
push eax
push dword [ebp - 0x650]
call fcn.1000f9c0
cmp dword [ebp - 0x624], 8
lea eax, [ebp - 0x638]
cmovae eax, dword [ebp - 0x638]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x654]
call fcn.1001e33d
mov eax, dword [ebp - 0x624]
add esp, 0xc
cmp eax, 8
jb 0x1000665c
inc eax
lea ecx, [ebp - 0x638]
push eax
push dword [ebp - 0x638]
call fcn.1000f9c0
mov al, 1
jmp 0x100065b6
Function at 0x10006670
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, ecx
mov dword [ebp - 8], 0
push 0
mov eax, 0x80000
mov edx, dword [edi + 0x8000c]
sub eax, edx
push eax
lea eax, [edi + 0xc]
add eax, edx
push eax
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
jne 0x1000673a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x100066bc
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x100066d2
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [edi + 4], 0xffffffff
mov eax, dword [edi + 8]
test eax, eax
je 0x100066e7
push eax
call dword [sym.imp.WS2_32.dll_WSACloseEvent]
mov dword [edi + 8], 0
mov byte [edi + 0x100038], 0
cmp dword [0x100463ec], 0xffffffff
je 0x10006700
cmp byte [0x10146420], 0
jne 0x10006733
push 0x1000a1d0
mov ecx, 0x100463e8
call fcn.1000ad00
test al, al
je 0x10006733
movzx eax, word [0x10046004]
mov ecx, 0x100463e8
push eax
push 0x10046027
call fcn.10005c70
test al, al
je 0x10006733
call fcn.100044a0
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
add dword [edi + 0x8000c], eax
cmp dword [edi + 0x8000c], 4
jl 0x100066b5
push esi
xor ecx, ecx
push ebx
lea esi, [edi + 0xc]
lea eax, [esi + ecx]
mov dword [ebp - 0xc], eax
mov al, byte [eax]
cmp al, 0xc1
jne 0x10006769
movzx ebx, byte [ecx + edi + 0xd]
mov dl, al
jmp 0x10006786
cmp al, 0xc2
jne 0x10006833
mov dl, al
movzx eax, byte [ecx + edi + 0xd]
shl ax, 8
movzx ebx, ax
movzx eax, byte [ecx + edi + 0xe]
or ebx, eax
cmp ebx, 4
jl 0x10006833
cmp ebx, 0x80000
jg 0x10006833
cmp ebx, dword [edi + 0x8000c]
jg 0x10006801
cmp dl, 0xc1
jne 0x100067b6
movzx eax, byte [ecx + edi + 0xe]
lea esi, [edi + 0xf]
push eax
lea eax, [ebx - 3]
jmp 0x100067c2
movzx eax, byte [ecx + edi + 0xf]
lea esi, [edi + 0x10]
push eax
lea eax, [ebx - 4]
push eax
add esi, ecx
push esi
call fcn.1000bfb0
mov al, byte [esi]
add esp, 0xc
mov byte [ebp - 4], al
mov eax, dword [edi + 0x100014]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 4]
call eax
mov ecx, dword [ebp - 8]
add esp, 0xc
sub dword [edi + 0x8000c], ebx
add ecx, ebx
cmp dword [edi + 0x8000c], 0
mov dword [ebp - 8], ecx
jle 0x1000682a
jmp 0x10006751
test ecx, ecx
jle 0x1000682a
mov eax, dword [edi + 0x8000c]
test eax, eax
jle 0x1000682a
mov edx, 0x80000
sub edx, ecx
cmp eax, edx
jg 0x1000682a
push eax
lea eax, [edi + 0xc]
add eax, ecx
push eax
push esi
call fcn.1001a660
add esp, 0xc
pop ebx
pop esi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.10006c30
pop ebx
pop esi
xor al, al
pop edi
mov esp, ebp
pop ebp
ret