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

Disassembly:
push ebp
lea ebp, [esp - 0x238]
sub esp, 0x238
push 0xffffffffffffffff
push 0x100bf51d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100e1f80]
xor eax, ebp
mov dword [ebp + 0x234], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
push 0x10ea1658
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push 0x10ea1658
call fcn.1000272f
push 0x103
add eax, 2
push 0x10ea1658
mov dword [0x10ea1650], eax
lea eax, [ebp]
push 0x119
push eax
call fcn.100053e9
mov esi, dword [str.TextractorConfig.txt]
lea eax, [ebp]
push 0x5c
push eax
call fcn.1000272f
push esi
add eax, 2
push 0x15
push eax
call fcn.100035d0
add esp, 0x2c
lea eax, [ebp]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x1003f3b4
cmp esi, 0xffffffff
je 0x1003f3b4
push 0
push 0x100e3448
push 0x3e7
push 0x10ea1860
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 7
push str.Engine:
push 0x10ea1860
call fcn.10005f88
add esp, 0xc
test eax, eax
jne 0x1003f376
push 0xa
push 0x10ea1860
call fcn.10001df7
add esp, 8
mov dword [0x100e1620], eax
test eax, eax
je 0x1003f34f
mov byte [eax], 0
inc dword [0x100e1620]
push 0x10ea1867
push str.Textractor:_Engine___s
mov dword [0x100e18c0], 0x10ea1867
call fcn.100039f4
mov eax, dword [0x100e1620]
add esp, 8
test eax, eax
je 0x1003f385
jmp 0x1003f380
mov eax, 0x10ea1860
mov dword [0x100e1620], eax
cmp byte [eax], 0
je 0x1003f3aa
push str.https:__
push 0x10ea1860
call fcn.10003fd5
add esp, 8
test eax, eax
jne 0x1003f3aa
push str.Textractor:_game_configuration_loaded
call fcn.100039f4
add esp, 4
jmp 0x1003f3b4
mov dword [0x100e1620], 0
mov dword [ebp - 4], 1
test esi, esi
je 0x1003f3cb
cmp esi, 0xffffffff
je 0x1003f3cb
push esi
call dword [0x100c3fb4]
push 0
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ecx, eax
mov dword [0x10ea164c], ecx
mov dword [0x10ea1648], ecx
nop
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push ecx
call esi
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
add ecx, edx
cmp dword [ebp - 0x18], 1
mov dword [0x10ea164c], ecx
ja 0x1003f3f0
mov eax, dword [0x10ea1648]
sub ecx, edx
push ecx
push eax
push str.Textractor:_hijacking_process_located_from_0x_p_to_0x_p
mov dword [0x10ea164c], ecx
mov dword [0x100e1078], eax
mov dword [0x100e107c], ecx
call fcn.100039f4
add esp, 0xc
call fcn.1000478c
mov eax, dword [0x10ea1648]
add eax, 0x40000
cmp eax, dword [0x10ea164c]
jbe 0x1003f458
push str.Textractor:_WARNING_injected_process_is_very_small__possibly_a_dummy_
call fcn.100039f4
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp + 0x234]
xor ecx, ebp
call fcn.10002d8d
lea esp, [ebp + 0x238]
pop ebp
ret
Function at 0x100491a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push esi
imul esi, dword [esp + 0xc], 0x2c
push edi
add esi, dword [0x10ea3d20]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebp, [eax*2 + 5]
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100491e2
pop edi
pop esi
mov eax, 0xa
pop ebp
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x10049208
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10049229
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10049229
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10049223
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10049229
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov byte [esi + 0x14], bl
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x10049300
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x20
mov eax, dword [0x100e1f80]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
mov esi, dword [esp + 0x2c]
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100493ef
lea eax, [esp + 8]
mov dword [esp + 8], 0x1c
push eax
push ebx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100493e8
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
nop dword [eax + eax]
cmp dword [esp + 0x10], 0x10
jb 0x100493cb
call ebp
cmp dword [esp + 0x1c], eax
jne 0x100493cb
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esp + 0x18], eax
je 0x100493cb
mov eax, dword [esi]
test eax, eax
jne 0x10049395
push 0x200
push eax
mov dword [esi + 4], 0x80
push dword [0x10ea23b4]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
je 0x100493e6
lea edi, [esi + 8]
jmp 0x100493c0
mov ecx, dword [esi + 4]
lea edi, [esi + 8]
cmp dword [edi], ecx
jb 0x100493c0
shl ecx, 3
push ecx
push eax
push 0
push dword [0x10ea23b4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x100493e6
mov ecx, dword [esi + 4]
add ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov edx, dword [edi]
mov ecx, dword [esp + 0x18]
mov dword [eax + edx*4], ecx
inc dword [edi]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x1c
push eax
push ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10049350
pop edi
pop ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
pop esi
pop ebx
xor ecx, esp
call fcn.10002d8d
add esp, 0x20
ret
Function at 0x10049530
Capabilities:
Suspend thread

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.10049300
add esp, 4
cmp dword [esi], 0
je 0x1004959f
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1004959e
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10049596
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push ebp
push dword [esp + 0x1c]
push ebx
call fcn.10049cd0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10049565
pop ebp
pop ebx
pop edi
pop esi
ret

Function at 0x10049e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
xor ebp, ebp
call fcn.100492a0
cmp dword [0x10ea23b4], ebp
je 0x10049eae
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10049e6d
xor esi, esi
cmp dword [0x10ea3d28], esi
jbe 0x10049eb3
push ebx
mov bl, byte [esp + 0x14]
push edi
shl bl, 2
xor edi, edi
mov edx, dword [0x10ea3d20]
lea edi, [edi + 0x2c]
inc esi
mov cl, byte [edx + edi - 0x18]
xor cl, bl
and cl, 4
xor byte [edx + edi - 0x18], cl
cmp esi, dword [0x10ea3d28]
jb 0x10049e42
pop edi
pop ebx
call fcn.100495c0
pop esi
mov eax, ebp
pop ebp
ret
push eax
call fcn.10049440
add esp, 4
cmp eax, 0xffffffff
je 0x10049e9f
mov cl, byte [esp + 0x10]
imul edx, eax, 0x2c
mov eax, dword [0x10ea3d20]
shl cl, 2
xor cl, byte [edx + eax + 0x14]
and cl, 4
xor byte [edx + eax + 0x14], cl
call fcn.100495c0
pop esi
mov eax, ebp
pop ebp
ret
mov ebp, 4
call fcn.100495c0
pop esi
mov eax, ebp
pop ebp
ret
mov ebp, 2
call fcn.100495c0
pop esi
mov eax, ebp
pop ebp
ret

Function at 0x10049ef0
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi], 0
je 0x10049f48
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x10049f37
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
nop word [eax + eax]
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10049f2f
push ebx
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10049f10
pop ebp
pop ebx
push dword [edi]
push 0
push dword [0x10ea23b4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
ret

Function at 0x1004a010
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10ea3d10]
test eax, eax
je 0x1004a02c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x1004a07f
mov eax, dword [eax]
test eax, eax
jne 0x1004a020
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test edx, edx
je 0x1004a07d
push esi
push edi
xor edi, edi
mov dword [edx + 8], 0
lea ecx, [edx + 0x20]
lea esi, [edi + 0x20]
mov dword [ecx], edi
mov eax, ecx
mov dword [edx + 4], ecx
add esi, 0x20
add ecx, 0x20
mov edi, eax
cmp esi, 0xfe0
jbe 0x1004a057
mov eax, dword [0x10ea3d10]
pop edi
mov dword [edx], eax
pop esi
mov dword [0x10ea3d10], edx
mov eax, edx
ret
Function at 0x1004a500
Capabilities:
Check for software breakpoints

Disassembly:
mov edx, dword [esp + 4]
push esi
mov cl, byte [edx]
test cl, cl
je 0x1004a515
cmp cl, 0x90
je 0x1004a515
cmp cl, 0xcc
jne 0x1004a533
mov esi, dword [esp + 0xc]
mov eax, 1
cmp esi, eax
jbe 0x1004a52c
cmp byte [eax + edx], cl
jne 0x1004a533
inc eax
cmp eax, esi
jb 0x1004a522
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x10091208
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10091247
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10091247
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10091247
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10091247
cmp dword [ecx + 0x74], 0xe
jbe 0x10091247
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100a0bc4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x100e1f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x100a0c0f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.100a10c5
test al, al
jne 0x100a0c09
sub edx, 2
cmp edx, edi
jne 0x100a0bef
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x100a0c31
lea eax, [edi + 2]
cmp edx, eax
je 0x100a0c31
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.100a07bd
add esp, 0x10
jmp 0x100a0d2b
push esi
lea ecx, [ebp - 0x255]
call fcn.100a10c5
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100a0c74
push dword [ebp - 0x25c]
jmp 0x100a0c21
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x100a0cb1
cmp word [ebp - 0x226], 0
je 0x100a0cd2
cmp word [ebp - 0x226], ax
jne 0x100a0cb1
cmp word [ebp - 0x224], 0
je 0x100a0cd2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.100a07bd
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x100a0d1e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x100a0c8b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x100a0d06
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x100a0d2b
push 0x100a00a3
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.10004fb6
add esp, 0x10
jmp 0x100a0cfb
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002d8d
leave
ret

Function at 0x100a6e1c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10003f0d
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100a6e8b
cmp esi, dword [ebp - 4]
je 0x100a6e86
cmp dword [ebp + 0xc], 0
je 0x100a6e86
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100a6e63
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100a6844
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100a6e8d
xor eax, eax
inc eax
jmp 0x100a6e8d
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100b1784
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10ea3178]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100b17c4
cmp byte [ebx], 0xa
jne 0x100b17c4
or byte [edi + eax + 0x28], 4
jmp 0x100b17c9
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x100b18c8
mov dl, byte [eax]
cmp dl, 0x1a
je 0x100b18ab
inc eax
cmp dl, 0xd
je 0x100b17f5
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100b181b
cmp eax, ecx
jae 0x100b1829
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x100b17dd
jmp 0x100b18c8
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b18a6
cmp dword [ebp - 0x10], 0
je 0x100b18a6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10ea3178]
test byte [eax + edi + 0x28], 0x48
je 0x100b1880
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100b186b
mov byte [esi], dl
jmp 0x100b187c
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10ea3178]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100b18c8
cmp byte [ebp - 1], 0xa
jne 0x100b188f
cmp esi, ebx
jne 0x100b188f
mov byte [esi], 0xa
jmp 0x100b18c7
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10001875
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100b18c8
mov byte [esi], 0xd
jmp 0x100b18c7
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10ea3178]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100b18c5
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100b18c8
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100b1924
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10ea3178]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100b196a
cmp word [ebx], dx
jne 0x100b196a
or byte [eax + edi + 0x28], 4
jmp 0x100b196f
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x100b1ad2
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x100b1ab2
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x100b19b0
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100b19e6
cmp eax, edx
jae 0x100b19f4
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100b198b
jmp 0x100b1ad2
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b1aad
cmp dword [ebp - 0x18], 0
je 0x100b1aad
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10ea3178]
test byte [eax + edi + 0x28], 0x48
je 0x100b1a83
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x100b1a47
mov word [esi], cx
jmp 0x100b1a7e
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10ea3178]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10ea3178]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10ea3178]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x100b1ad2
pop eax
cmp word [ebp - 4], ax
jne 0x100b1a93
cmp esi, ebx
jne 0x100b1a93
mov word [esi], ax
jmp 0x100b1acf
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10001875
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100b1ad2
push 0xd
pop eax
jmp 0x100b1a8e
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10ea3178]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x100b1acc
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x100b1ad2
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1000a7d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x1000a7f5
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x1000a868
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x1000a82a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x1000a85d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x1000a85b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x1000a821
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x1000a7ec
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x410414
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x410423
pop dword [ebp - 0x10]
mov eax, 0x410423
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x626d24cb
add dword [ebp - 0x20], 0xebe52080
mov dword [ebp - 0x1c], 0x4334eaa2
add dword [ebp - 0x1c], 0xeefe61a3
mov dword [ebp - 0x18], 0x71683313
add dword [ebp - 0x18], 0xdae4111b
mov dword [ebp - 0x14], 0xd93bae99
sub dword [ebp - 0x14], 0xd93bae99
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x1c0cddbb
sub dword [ebp - 0x20], 0xa79a7465
mov dword [ebp - 0x1c], 0x4e198fa8
sub dword [ebp - 0x1c], 0xcad2e33
mov dword [ebp - 0x18], 0xfcdd3789
add dword [ebp - 0x18], 0x669234e3
mov dword [ebp - 0x14], 0x46551418
sub dword [ebp - 0x14], 0x46551418
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x28de8c4
add eax, 0xfdb44860
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x40392
push 0
call eax
mov ecx, 0xe2bb752f
sub ecx, 0xe2bb2340
mov esi, eax
mov edx, 0x434400
add edx, dword [ebp - 0x10]
mov ebx, 0xbe6cd5f8
add ebx, 0xa00ce439
mov dword [ebp - 0xc], 0x6b53dcf7
mov edi, dword [edx]
sub dword [ebp - 4], edx
add edi, ebx
sub dword [ebp - 8], 0xb08a0cc2
mov dword [esi], edi
xor dword [ebp - 4], edx
add esi, 4
add edx, 0x6c1fe8f5
add edx, 0x93e0170f
loop 0x410535
add eax, 0xc54af421
sub eax, 0xc549b992
mov ebx, eax
add eax, 0x3040cdef
add eax, 0xcfbf3216
mov ecx, 0x365184f1
add ecx, 0xc9ee7b0f
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x401010
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x5675c8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x401060
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x40105a
shr eax, 8
cmp al, 2
jne 0x40105a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff7f3
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 2
call fcn.004ff7f3
mov esp, ebp
pop ebp
ret
Function at 0x40b700
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
call fcn.0040b950
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edx
cmp dword [ebp + 8], esi
je 0x40b759
mov eax, dword [ebp + 0x14]
push eax
push ebx
call fcn.0040b5e0
mov edi, eax
add esp, 8
cmp edi, 1
je 0x40b751
mov esi, dword [ebx + 4]
test esi, esi
je 0x40b751
lea ebx, [ebx]
push ebx
mov ecx, esi
call fcn.0040a410
mov esi, dword [esi]
add esp, 4
test esi, esi
jne 0x40b740
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], 0xffffffff
je 0x40b8a5
mov edx, dword [ebx + 0x2c]
push 4
lea ecx, [ebp + 0xc]
push ecx
push edx
call fcn.00411e50
add esp, 0xc
test eax, eax
je 0x40b838
mov esi, dword [eax]
cmp dword [esi + 0x87cc], 0xc0dedbad
je 0x40b796
pop edi
mov eax, 4
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0x10]
test ecx, ecx
je 0x40b7d2
test dl, 2
je 0x40b7ba
mov eax, dword [ecx + 0x28c]
test eax, eax
je 0x40b7ba
cmp dword [eax], 0
je 0x40b7ba
mov eax, dword [eax]
mov esi, dword [eax]
jmp 0x40b7d2
test dl, 1
je 0x40b7d2
mov eax, dword [ecx + 0x290]
test eax, eax
je 0x40b7d2
cmp dword [eax], 0
je 0x40b7d2
mov ecx, dword [eax]
mov esi, dword [ecx]
mov eax, dword [esi + 8]
test eax, eax
je 0x40b7eb
mov ecx, dword [eax + 0x248]
test byte [ecx + 0x40], 8
jne 0x40b7eb
mov dword [eax + 0x4a8], edx
mov edx, dword [ebp - 0xc]
push edx
push edi
push ebx
call fcn.0040a830
mov ecx, dword [esi + 8]
add esp, 0xc
mov dword [ebp - 4], eax
test ecx, ecx
je 0x40b819
mov edx, dword [ecx + 0x248]
test byte [edx + 0x40], 8
jne 0x40b819
mov dword [ecx + 0x4a8], 0
test eax, eax
jg 0x40b828
push ebx
mov ecx, esi
call fcn.0040a410
add esp, 4
xor esi, esi
call fcn.0040b950
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edi, dword [ebp - 0x10]
test esi, esi
je 0x40b85c
mov eax, dword [ebp - 0xc]
push eax
push edi
push ebx
call fcn.0040a830
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jg 0x40b85c
push ebx
mov ecx, esi
call fcn.0040a410
add esp, 4
mov edx, dword [ebx + 0x28]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push ecx
push edx
push eax
push edi
call fcn.0042c030
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 8]
add esp, 0x10
test eax, eax
je 0x40b894
mov ecx, dword [ebp - 0xc]
mov esi, dword [eax + 0x14]
push ebx
push ecx
push edi
mov edi, esi
call fcn.004098b0
add esp, 0xc
cmp dword [ebp - 8], 0
jne 0x40b835
mov eax, dword [ebp + 0x14]
mov edx, dword [ebx + 0x10]
pop edi
mov dword [eax], edx
mov eax, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x68], eax
jmp 0x40b838