joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002d26
Capabilities:
Hash data using fnv

Disassembly:
mov al, byte [ecx]
test al, al
je 0x10002d3f
movsx eax, al
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
call fcn.10002d26
mov edx, eax
mov eax, edx
ret

Function at 0x10002d42
Capabilities:
Hash data using fnv

Disassembly:
mov edx, 0x811c9dc5
jmp fcn.10002d26

Function at 0x10002d4c
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
mov eax, 0x5a4d
push edi
cmp word [esi], ax
jne 0x10002dc1
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x10002dc1
cmp word [eax + 0x14], 0x60
jb 0x10002dc1
xor edi, edi
cmp dword [eax + 0x74], edi
je 0x10002dc1
mov eax, dword [eax + 0x78]
test eax, eax
je 0x10002dc1
mov ebx, dword [eax + esi + 0x24]
mov edx, dword [eax + esi + 0x20]
add ebx, esi
mov ecx, dword [eax + esi + 0x1c]
add edx, esi
mov eax, dword [eax + esi + 0x18]
add ecx, esi
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x10002dc1
mov ecx, dword [edx + edi*4]
add ecx, esi
call fcn.10002d42
cmp eax, dword [ebp - 4]
je 0x10002dc8
mov edx, dword [ebp - 0xc]
inc edi
cmp edi, dword [ebp - 8]
jb 0x10002da9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
movzx eax, word [ebx + edi*2]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax*4]
add eax, esi
jmp 0x10002dc3
Function at 0x100031fd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x100a5364]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x41
pop eax
push 0x56
pop ecx
push 0x2e
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1d], al
pop eax
push 0x6c
pop ebx
push 0x65
mov byte [ebp - 0x1e], cl
pop ecx
push 0x4f
mov byte [ebp - 0x18], al
pop eax
push 0x70
mov byte [ebp - 0xd], al
pop eax
push 0x6e
mov byte [ebp - 0xc], al
pop eax
mov byte [ebp - 0xa], al
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 0x1f], 0x44
push eax
mov dword [ebp - 0x1c], 0x32334950
mov byte [ebp - 0x17], 0x64
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x10], 0x52
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xe], 0x67
mov byte [ebp - 0xb], cl
mov byte [ebp - 9], 0x4b
mov byte [ebp - 8], cl
mov word [ebp - 7], 0x5779
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5c
pop ecx
push 0x41
mov word [ebp - 0x68], cx
mov word [ebp - 0x66], cx
pop ecx
push 0x70
mov word [ebp - 0x64], cx
pop ecx
push 0x69
pop edx
push 0x63
mov word [ebp - 0x62], cx
mov word [ebp - 0x60], cx
pop ecx
push 0x61
pop esi
push 0x74
mov word [ebp - 0x5e], bx
pop ebx
push 0x6f
pop edi
push 0x6e
mov word [ebp - 0x5a], cx
pop ecx
push 0x73
mov word [ebp - 0x5c], dx
mov word [ebp - 0x54], dx
pop edx
mov word [ebp - 0x58], si
mov word [ebp - 0x56], bx
mov word [ebp - 0x52], di
mov word [ebp - 0x50], cx
mov word [ebp - 0x4e], dx
push 0x5c
pop ecx
push 0x56
mov word [ebp - 0x4c], cx
mov word [ebp - 0x4a], cx
pop ecx
push 0x4d
mov word [ebp - 0x48], cx
pop ecx
push 0x77
mov word [ebp - 0x46], cx
pop ecx
push 0x72
mov word [ebp - 0x44], cx
pop ecx
push 0x65
mov word [ebp - 0x40], cx
mov word [ebp - 0x42], si
pop esi
push 0x48
pop ecx
push 0x4f
mov word [ebp - 0x3c], cx
pop ecx
push 0x70
mov word [ebp - 0x34], cx
pop ecx
push 0x6e
mov word [ebp - 0x32], cx
pop ecx
push 0x2e
mov word [ebp - 0x2e], cx
pop ecx
push 0x78
mov word [ebp - 0x2c], cx
pop ecx
mov word [ebp - 0x28], cx
xor ecx, ecx
mov word [ebp - 0x24], cx
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x68]
mov word [ebp - 0x3e], si
push ecx
push bind
mov word [ebp - 0x3a], di
mov word [ebp - 0x38], dx
mov word [ebp - 0x36], bx
mov word [ebp - 0x30], si
mov word [ebp - 0x2a], si
mov word [ebp - 0x26], si
call eax
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
pop esi
inc eax
pop ebx
call fcn.1005e116
leave
ret
Function at 0x1000337d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x100a5364]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x41
pop ecx
push 0x56
pop eax
push 0x64
mov byte [ebp - 0x1e], al
pop eax
push 0x6c
mov byte [ebp - 0x17], al
pop eax
push 0x52
mov byte [ebp - 0x16], al
mov byte [ebp - 0x15], al
pop eax
push 0x65
mov byte [ebp - 0x20], cl
mov byte [ebp - 0x1d], cl
pop ecx
push 0x4f
mov byte [ebp - 0x10], al
pop eax
push 0x6e
mov byte [ebp - 0xd], al
pop eax
push 0x57
mov byte [ebp - 0xa], al
lea eax, [ebp - 0x10]
pop ebx
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 0x1f], 0x44
push eax
mov dword [ebp - 0x1c], 0x32334950
mov byte [ebp - 0x18], 0x2e
mov byte [ebp - 0x14], 0
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xe], 0x67
mov byte [ebp - 0xc], 0x70
mov byte [ebp - 0xb], cl
mov byte [ebp - 9], 0x4b
mov byte [ebp - 8], cl
mov byte [ebp - 7], 0x79
mov byte [ebp - 6], bl
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x53
pop ecx
push 0x4f
pop esi
push 0x46
mov word [ebp - 0x7c], cx
pop ecx
push 0x54
mov word [ebp - 0x78], cx
pop ecx
push 0x41
mov word [ebp - 0x76], cx
pop ecx
push 0x52
mov word [ebp - 0x72], cx
pop ecx
push 0x45
mov word [ebp - 0x70], cx
pop ecx
push 0x5c
pop edx
push 0x72
mov word [ebp - 0x7a], si
mov word [ebp - 0x68], si
pop esi
mov word [ebp - 0x74], bx
mov word [ebp - 0x6e], cx
mov word [ebp - 0x6c], dx
mov word [ebp - 0x6a], dx
mov word [ebp - 0x66], si
push 0x61
pop edi
push 0x63
pop ecx
push 0x6c
mov word [ebp - 0x62], cx
pop ecx
push 0x65
mov word [ebp - 0x60], cx
pop ecx
push 0x56
mov word [ebp - 0x5e], cx
pop ecx
push 0x69
mov word [ebp - 0x58], cx
pop ecx
push 0x74
pop ebx
push 0x75
mov word [ebp - 0x56], cx
mov word [ebp - 0x54], si
pop esi
push 0x6c
pop ecx
push 0x42
mov word [ebp - 0x4c], cx
pop ecx
push 0x6f
mov word [ebp - 0x4a], cx
mov word [ebp - 0x64], di
mov word [ebp - 0x4e], di
pop edi
push 0x78
pop ecx
push 0x20
mov word [ebp - 0x5c], dx
mov word [ebp - 0x5a], dx
pop edx
push 0x47
mov word [ebp - 0x46], cx
pop ecx
push 0x65
mov word [ebp - 0x42], cx
pop ecx
push 0x73
mov word [ebp - 0x3e], cx
pop ecx
push 0x41
mov word [ebp - 0x44], dx
mov word [ebp - 0x38], dx
pop edx
push 0x64
mov word [ebp - 0x36], dx
pop edx
push 0x69
mov word [ebp - 0x3c], cx
mov word [ebp - 0x34], dx
mov word [ebp - 0x32], dx
pop edx
mov word [ebp - 0x26], cx
xor ecx, ecx
push 0x6e
mov word [ebp - 0x24], cx
lea ecx, [ebp - 0x80]
mov word [ebp - 0x30], dx
mov word [ebp - 0x2c], dx
pop edx
push ecx
lea ecx, [ebp - 0x7c]
mov word [ebp - 0x52], bx
push ecx
push reloc.WS2_32.dll_bind
mov word [ebp - 0x50], si
mov word [ebp - 0x48], di
mov word [ebp - 0x40], si
mov word [ebp - 0x3a], bx
mov word [ebp - 0x2e], bx
mov word [ebp - 0x2a], di
mov word [ebp - 0x28], dx
call eax
neg eax
sbb eax, eax
mov ecx, dword [ebp - 4]
inc eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005e116
leave
ret
Function at 0x10003541
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100a5364]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100a0190]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x6e72654b
push eax
mov dword [ebp - 0xc], 0x32336c65
mov byte [ebp - 8], 0
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x74
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.1005e116
leave
ret

Function at 0x1000435a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1000438c
cmp dword [0x100a7a30], 0
jne 0x1000438c
xor eax, eax
push eax
push eax
push eax
push 0x100042aa
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x100a7a30], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
inc eax
pop ebp
ret 0xc

Function at 0x1000478f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, ecx
mov dword [esp + 0xc], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
jg 0x100047ba
jl 0x100047b1
test edi, edi
jne 0x100047ba
xor eax, eax
xor edx, edx
jmp 0x100048a1
cmp dword [eax + 0x38], 0
je 0x100047cf
push ebx
push edi
push dword [ebp + 8]
call fcn.100053fd
jmp 0x100048a1
mov esi, edi
mov dword [esp + 0x10], esi
call fcn.1000689b
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10004828
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.10002c7c
pop ecx
pop ecx
mov ecx, dword [esp + 0x14]
mov esi, dword [eax]
push esi
call fcn.1000691e
push eax
push dword [ebp + 8]
call fcn.10006d66
mov eax, dword [ebp + 8]
add esp, 0xc
sub dword [esp + 0x10], esi
add eax, esi
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
push esi
call fcn.100068f9
mov esi, dword [esp + 0x10]
jmp 0x10004833
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
cmp dword [ecx + 0x4c], 0
je 0x10004898
call fcn.10006535
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, 0xfff
cmp esi, eax
jbe 0x1000487f
push dword [ecx + 0x4c]
push eax
push 1
push edx
call fcn.10066f3c
mov edx, dword [esp + 0x28]
add esp, 0x10
mov esi, dword [esp + 0x10]
add edx, eax
sub esi, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], esi
cmp eax, 0xfff
jne 0x10004898
mov ecx, dword [esp + 0x14]
jmp 0x10004846
test esi, esi
je 0x10004898
push dword [ecx + 0x4c]
push esi
push 1
push edx
call fcn.10066f3c
mov esi, dword [esp + 0x20]
add esp, 0x10
sub esi, eax
sub edi, esi
mov eax, edi
sbb ebx, 0
mov edx, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10014cf0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x10014d7c
push esi
call fcn.10026870
add esp, 4
test al, al
jne 0x10014d7c
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x10014d13
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.10031fb0
add esp, 0xc
test eax, eax
je 0x10014d47
sub eax, esi
push eax
push 0x2e
push esi
call fcn.10031fb0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10014d49
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x10014d75
mov al, byte [esi]
push eax
call fcn.10023680
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x10014d57
pop edi
movzx eax, bl
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x100199b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov eax, 0x180
mov edx, 0x140
push esi
push edi
cmp dword [ebp], 0x100a50ac
mov ecx, dword [ebp + 8]
cmovne eax, edx
mov dword [esp + 0x20], ecx
add eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x100199e8
mov byte [eax], 0
mov ebx, dword [esp + 0x30]
mov esi, dword [ebx + 0x8d8]
test esi, esi
je 0x10019b9c
push dword [ecx + 8]
mov edi, dword [esi + 0x14]
call dword [0x100a5068]
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x10019a41
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x1c9], 0
je 0x10019a4e
push dword [eax + 0x64]
call dword [0x100a5068]
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x10019a56
mov edi, dword [esp + 0x30]
push edi
call dword [0x100a5060]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x18
ret
mov dword [esp + 0x10], 0
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x1ca], 0
je 0x10019a6e
mov ecx, dword [eax + 0x444]
mov dword [esp + 0x14], ecx
jmp 0x10019a76
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x10019a8c
test byte [eax + 4], 0x10
je 0x10019a8c
lea edx, [eax + 0x78]
mov dword [esp + 0x2c], edx
jmp 0x10019a96
lea eax, [ebx + 0x8dc]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x4a4]
mov ecx, 1
cmp eax, ecx
jbe 0x10019ae3
mov eax, dword [ebx + 0x8d8]
add eax, 0x74
nop
cmp dword [eax - 8], 0
mov edx, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
je 0x10019add
mov edi, dword [eax]
lea esi, [eax - 0x14]
cmp edi, edx
cmovge esi, dword [esp + 0x1c]
inc ecx
add eax, 0x60
cmp edi, edx
cmovge edi, edx
cmp ecx, dword [ebx + 0x4a4]
jb 0x10019ab0
mov eax, dword [ebx + 0x4a4]
cmp ecx, eax
jne 0x10019af2
push esi
call fcn.1001a430
add esp, 4
jmp 0x10019afe
lea esi, [ecx + ecx*2]
shl esi, 5
add esi, dword [ebx + 0x8d8]
mov eax, dword [esp + 0x34]
push dword [esi]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esi + 0x14], eax
call dword [0x100a5060]
push dword [esi + 4]
call dword [0x100a5060]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
lea ebp, [esi + 0x20]
push ebp
push dword [esp + 0x30]
mov eax, dword [eax + 0x1e0]
mov eax, dword [eax]
mov dword [esi + 8], eax
call fcn.100191f0
add esp, 0x10
test al, al
jne 0x10019b91
push ebp
call fcn.10019470
push edi
mov dword [esi + 0xc], 0
call dword [0x100a5060]
push ebx
call dword [0x100a5060]
add esp, 0xc
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10019b9c
mov byte [eax], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x1001a170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, 0x180
mov eax, dword [ecx]
cmp eax, 0x100a50ac
mov edx, dword [ecx + 8]
push esi
mov esi, 0x140
mov dword [esp + 0x10], edx
cmovne ebx, esi
mov byte [esp + 0xf], 1
add ebx, dword [ecx + 0xc]
mov esi, 0x3cc
cmp eax, 0x100a50ac
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x28]
mov ecx, 0x434
cmovne ecx, esi
mov dword [eax], 0
add ecx, ebp
je 0x1001a30d
cmp byte [ecx + 0x3c], 0
je 0x1001a30d
cmp dword [ebp + 0x8d8], 0
je 0x1001a30d
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x1001a1f2
test byte [eax + 4], 0x10
je 0x1001a1f2
add eax, 0x78
jmp 0x1001a1f8
lea eax, [ebp + 0x8dc]
push edi
xor edi, edi
mov dword [esp + 0x18], eax
cmp dword [ebp + 0x4a4], edi
jbe 0x1001a2d6
xor ebx, ebx
nop dword [eax]
mov esi, dword [ebp + 0x8d8]
add esi, ebx
cmp dword [esi + 0xc], 0
je 0x1001a2c6
push dword [esi]
push dword [edx + 8]
call fcn.100237c0
add esp, 8
test eax, eax
je 0x1001a2c2
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 4]
cmp byte [ecx + 0x1c9], 0
jne 0x1001a250
test eax, eax
je 0x1001a264
jmp 0x1001a2c2
test eax, eax
je 0x1001a2c2
push eax
push dword [ecx + 0x64]
call fcn.100237c0
add esp, 8
test eax, eax
je 0x1001a2c2
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x1c]
cmp byte [ecx + 0x1ca], 0
jne 0x1001a27e
cmp eax, 0xffffffff
je 0x1001a28b
jmp 0x1001a2c2
cmp eax, 0xffffffff
je 0x1001a2c2
cmp dword [ecx + 0x444], eax
jne 0x1001a2c2
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
cmp eax, dword [esi + 0x18]
jne 0x1001a2c6
mov eax, dword [ecx + 0x1e0]
push dword [esi + 8]
push dword [eax]
call fcn.100237c0
add esp, 8
test eax, eax
je 0x1001a2c2
lea eax, [esi + 0x20]
push eax
push dword [esp + 0x20]
call fcn.10019da0
add esp, 8
test al, al
jne 0x1001a2e2
mov edx, dword [esp + 0x14]
inc edi
add ebx, 0x60
cmp edi, dword [ebp + 0x4a4]
jb 0x1001a210
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
inc dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1001a303
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
Function at 0x100219c0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x10089bbc
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100219da
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x10089bd8
push esi
call fcn.1006e820
add esp, 8
test eax, eax
je 0x10021a22
test ebp, ebp
je 0x10021a13
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x10021a48
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10021a48
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x10021aff
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021a65
sub ecx, ebx
lea eax, [ecx + 1]
add eax, edx
push eax
call dword [0x100a505c]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10021af5
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x10021af5
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021a97
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10021ab0
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x10021ac0
test ebp, ebp
je 0x10021aec
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x100a5060]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x100a5060]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x100269d0
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x10026a0e
mov eax, dword [esi + 0x70]
cmp byte [eax + 0xe8], 0
jne 0x100269ff
push 0
call fcn.100269d0
add esp, 4
test al, al
mov eax, dword [esi + 0x70]
setne cl
inc cl
mov byte [eax + 0xe8], cl
mov eax, dword [esi + 0x70]
pop esi
cmp byte [eax + 0xe8], 2
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x10026a23
xor al, al
pop esi
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
ret
Function at 0x10032700
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.10015070
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.10073e58
push dword [esp + 0x40]
mov edi, eax
call fcn.10073e58
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x10032795
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.10015070
movups xmm0, xmmword [esp + 0x14]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.10015120
add esp, 0x20
test edx, edx
ja 0x100327b9
jb 0x10032787
cmp eax, 0x3e8
ja 0x100327b9
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x10032750
test edi, edi
je 0x100327a2
push edi
call fcn.10066aac
add esp, 4
test esi, esi
je 0x100327af
push esi
call fcn.10066aac
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x100327c6
push edi
call fcn.10066aac
add esp, 4
test esi, esi
je 0x100327d3
push esi
call fcn.10066aac
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
Function at 0x10032bd0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x20]
push edi
xor edi, edi
mov dword [esp + 0xc], edi
mov dword [eax], edi
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [esp + 4], eax
test eax, eax
jne 0x10032d5f
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x10032d4a
push ebx
push ebp
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10032c2c
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10032c20
sub eax, edx
inc eax
jmp 0x10032c2e
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x14], eax
cmp ecx, 2
jne 0x10032c3f
lea ebp, [ecx + 0xe]
jmp 0x10032c4b
cmp ecx, 0x17
jne 0x10032cec
lea ebp, [ecx + 5]
cmp dword [esi + 0x18], 0
je 0x10032cec
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x10032cec
cmp ecx, ebp
jb 0x10032cec
add eax, 0x20
add eax, ebp
push eax
call dword [0x100a505c]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10032d3b
mov ecx, dword [esi]
mov dword [ebx], ecx
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x20]
push ebp
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], eax
push dword [esi + 0x18]
push eax
call fcn.1005f8c0
mov ecx, dword [esp + 0x20]
add esp, 0xc
test ecx, ecx
je 0x10032cd8
mov eax, dword [ebx + 0x18]
add eax, ebp
push ecx
mov dword [ebx + 0x14], eax
push dword [esi + 0x14]
push eax
call fcn.1005f8c0
add esp, 0xc
mov eax, dword [esp + 0x18]
test edi, edi
cmove edi, ebx
test eax, eax
je 0x10032ce8
mov dword [eax + 0x1c], ebx
mov dword [esp + 0x18], ebx
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x10032c12
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
pop ebp
pop ebx
test eax, eax
je 0x10032d0c
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
test esi, esi
je 0x10032d46
test edi, edi
je 0x10032d2b
mov esi, dword [edi + 0x1c]
push edi
call dword [0x100a5060]
add esp, 4
mov edi, esi
test esi, esi
jne 0x10032d14
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x28]
xor edi, edi
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret
mov esi, 8
mov dword [esp + 0x10], esi
jmp 0x10032cfb
test edi, edi
jne 0x10032d56
mov esi, 0x2af9
push esi
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov eax, esi
pop esi
pop edi
add esp, 0x10
ret

Function at 0x10033160
Capabilities:
Create thread

Disassembly:
push 0
push 0
push dword [esp + 0x10]
push dword [esp + 0x10]
push 0
push 0
call fcn.100682ad
mov ecx, eax
add esp, 0x18
xor eax, eax
test ecx, ecx
je 0x10033186
cmp ecx, 0xffffffff
cmovne eax, ecx
ret