joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410fc5
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp dword [esi], ebp
jbe 0x411040
push ebx
push edi
lea edi, [esi + 4]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x410f67
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x41101c
push str.CreateThread_failed
push 0x4325ac
call fcn.004063ad
pop ecx
pop ecx
mov ecx, 0x4325ac
call fcn.00401000
push 2
mov ecx, 0x4325ac
call fcn.00406353
mov dword [edi], ebx
inc dword [esi + 0x84]
mov eax, dword [0x44e58c]
test eax, eax
je 0x411036
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebp
add edi, 4
cmp ebp, dword [esi]
jb 0x410fd5
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret

Function at 0x4173ff
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x42965d
call fcn.0041a250
push ecx
push ebx
push esi
mov esi, ecx
push 1
lea ecx, [esi + 4]
mov dword [ebp - 0x10], esi
call fcn.00409640
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
lea ecx, [esi + 0x4b38]
call fcn.00412274
lea ecx, [esi + 0x98d0]
call fcn.00412c8d
lea ecx, [esi + 0xe65c]
mov byte [ebp - 4], 5
call fcn.0040a9da
push 1
lea ecx, [esi + 0xe694]
mov byte [ebp - 4], 6
call fcn.00409640
lea eax, [esi + 0xe6a4]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0xe6b4]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0xe6c4]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xa
mov dword [esi], eax
mov dword [esi + 0x4b34], ebx
mov byte [esi + 0x4c38], bl
mov byte [esi + 0x4c48], bl
mov byte [esi + 0x4c49], bl
mov byte [esi + 0x4c4a], bl
mov dword [esi + 0x1c], 1
call fcn.00410e3e
push ebx
mov ecx, esi
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0xe6d8], ebx
mov dword [esi + 0xe6dc], ebx
call fcn.0041555c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4193b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x48]
test eax, eax
jl 0x4193e4
cmp dword [ebp - 4], esi
jne 0x419425
call ebx
sub eax, dword [ebp - 0xc]
cmp eax, 0x7d0
ja 0x419425
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4193ce
push esi
push esi
push esi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4193ce
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x48]
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x419490
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x419486
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x42b0e8
push eax
call dword [ecx]
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x41947d
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
cmp eax, esi
mov dword [ebp + 8], eax
jl 0x419474
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp + 8], esi
jl 0x419490
cmp dword [ebp - 4], esi
jne 0x4194df
cmp dword [edi + 8], esi
je 0x4194df
cmp dword [edi + 0x18], esi
jne 0x4194df
mov eax, dword [edi + 0x14]
cmp eax, esi
je 0x4194df
push eax
mov ecx, edi
call fcn.004191f2
mov ebx, eax
cmp ebx, esi
je 0x4194df
push 0x204
push esi
push esi
push esi
push esi
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
call fcn.0041a27a
pop ecx
xor eax, eax
cmp dword [ebp + 8], esi
pop edi
pop esi
setge al
pop ebx
leave
ret 8
Function at 0x419812
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0x18]
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0
push edi
mov dword [esi + 8], edi
mov byte [esi + 0x25], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, esi
call fcn.004197ab
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push 2
lea eax, [ebp - 0x10]
push eax
push edi
call ebx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
test eax, eax
je 0x419879
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 8]
push esi
push dword [esi]
sub edi, eax
push 0
push dword [ebp + 0xc]
lea ecx, [eax + 1]
dec edi
mov dword [ebp + 0x18], ecx
dec edi
call ebx
push eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
push eax
push edi
push dword [ebp - 0xc]
xor edi, edi
push dword [ebp + 0x18]
push 0x40000000
push edi
push str.RarHtmlClassName
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 4], eax
cmp dword [esi + 0x10], edi
jne 0x4198fb
cmp dword [ebp + 0xc], edi
je 0x41991e
cmp dword [esi + 0x18], edi
jne 0x41991e
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x41991e
push eax
mov ecx, esi
call fcn.004191f2
mov esi, eax
cmp esi, edi
je 0x41991e
push 5
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.0041a27a
pop ecx
jmp 0x41991e
cmp eax, edi
je 0x419911
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [esi + 0x20], 0x64
jbe 0x41991e
mov ecx, esi
call fcn.00419045
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x419925
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x42b0d8
push 1
xor ebx, ebx
push ebx
push 0x42b188
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4199f6
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x42b178
push eax
call dword [ecx]
test eax, eax
jl 0x4199ed
cmp byte [ebp + 8], bl
je 0x419978
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x419995
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x4199a7
push 0x42a724
jmp 0x4199aa
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x4199bf
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x4199d0
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x4199e4
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x419a10
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8

Function at 0x41e48e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42f298]
jne 0x41e498
repz ret
jmp fcn.00423c33
Function at 0x4254c5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041e50f
and dword [ebp - 4], 0
cmp dword [0x44f1f0], 0
mov ebx, eax
jne 0x425576
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x425627
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x425627
push eax
call fcn.0041e49d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44f1f0], eax
call esi
push eax
call fcn.0041e49d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44f1f4], eax
call esi
push eax
call fcn.0041e49d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44f1f8], eax
call esi
push eax
call fcn.0041e49d
pop ecx
mov dword [0x44f200], eax
test eax, eax
je 0x425576
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041e49d
pop ecx
mov dword [0x44f1fc], eax
mov eax, dword [0x44f1fc]
cmp eax, ebx
je 0x4255ce
cmp dword [0x44f200], ebx
je 0x4255ce
push eax
call fcn.0041e518
push dword [0x44f200]
mov esi, eax
call fcn.0041e518
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4255ce
test edi, edi
je 0x4255ce
call esi
test eax, eax
je 0x4255c5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4255c5
test byte [ebp - 0xc], 1
jne 0x4255ce
or dword [ebp + 0x10], 0x200000
jmp 0x425607
mov eax, dword [0x44f1f4]
cmp eax, ebx
je 0x425607
push eax
call fcn.0041e518
pop ecx
test eax, eax
je 0x425607
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x425607
mov eax, dword [0x44f1f8]
cmp eax, ebx
je 0x425607
push eax
call fcn.0041e518
pop ecx
test eax, eax
je 0x425607
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44f1f0]
call fcn.0041e518
pop ecx
test eax, eax
je 0x425627
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425629
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4040ce
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ecx + 0x10]
push edi
cmp esi, 0x40
jb 0x404132
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x404132
mov edx, dword [ecx + 0x3c]
lea eax, [edx + 0xf8]
cmp esi, eax
jb 0x404132
cmp dword [edx + ecx], 0x4550
jne 0x404132
movzx eax, word [edx + ecx + 4]
mov edi, 0x14c
cmp ax, di
je 0x404117
mov edi, 0x8664
cmp ax, di
je 0x404132
add ecx, 0x98
add ecx, edx
mov eax, dword [ecx]
test eax, eax
je 0x404132
add eax, 0xc
cmp esi, eax
sbb eax, eax
not eax
and eax, ecx
jmp 0x404134
xor eax, eax
pop edi
pop esi
pop ebp
ret 4

Function at 0x4081f0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40822f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40822f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40822f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40822f
cmp dword [ecx + 0x74], 0xe
jbe 0x40822f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x418680
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4186ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4186ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4053c9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x7bcce8], 0x44
push eax
xor eax, eax
push 0x7bcce8
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405404
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x40548e
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.0040573d
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x4054c2
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x7c5768], eax
jmp 0x405656
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x4054e0
test eax, eax
je 0x405601
test byte [ebp + 0xc], 2
je 0x405601
mov esi, 0x7b84e8
push edi
push esi
call fcn.00405b69
test ebx, ebx
je 0x4054fd
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x405503
push edi
call fcn.004056a3
cmp byte [edi], 0
jne 0x405511
cmp byte [0x7b84e8], 0x5c
jne 0x40551c
push 0x409010
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x4055f7
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.00405687
cmp byte [eax], 0
je 0x405562
cmp byte [ebp - 0x18], 0
je 0x405562
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x405578
mov al, byte [esi + 1]
test al, al
je 0x4055d6
cmp al, 0x2e
jne 0x405578
cmp byte [esi + 2], 0
je 0x4055d6
push esi
push ebx
call fcn.00405b69
test byte [ebp - 0x148], 0x10
je 0x40559d
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4055d6
push dword [ebp + 0xc]
push edi
call fcn.0040548e
jmp 0x4055d6
push edi
call fcn.00405821
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4055ce
test byte [ebp + 0xc], 4
je 0x4055c6
push edi
push 0xfffffffffffffff1
call fcn.00404f07
push 0
push edi
call fcn.004058b7
jmp 0x4055d6
inc dword [0x7c5768]
jmp 0x4055d6
push edi
push 0xfffffffffffffff2
call fcn.00404f07
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405540
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x405601
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x405656
cmp dword [ebp - 8], esi
jne 0x405616
inc dword [0x7c5768]
jmp 0x405656
push edi
call fcn.00405e64
test eax, eax
je 0x405656
push edi
call fcn.0040565c
push edi
call fcn.00405821
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x40564e
test byte [ebp + 0xc], 4
je 0x40560e
push edi
push 0xfffffffffffffff1
call fcn.00404f07
push esi
push edi
call fcn.004058b7
jmp 0x405656
push edi
push 0xffffffffffffffe5
call fcn.00404f07
pop edi
pop esi
leave
ret 8
Function at 0x10005170
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [edx - 2]
cmp ecx, 0xa
ja case.default.0x1000517c
jmp dword [ecx*4 + 0x100052d8]
cmp al, 0x40
jne 0x1000518d
mov eax, 4
ret
mov cl, al
or cl, 0x20
cmp cl, 0x61
jb 0x1000519c
cmp cl, 0x7a
jbe 0x100051ec
cmp al, 0x30
jl 0x100051a4
cmp al, 0x39
jle 0x100051ec
cmp al, 0x2d
je 0x100051ec
cmp al, 0x5f
je 0x100051ec
cmp al, 0x2e
je 0x100051ec
cmp al, 0x21
je 0x100051ec
cmp al, 0x7e
je 0x100051ec
cmp al, 0x2a
je 0x100051ec
cmp al, 0x27
je 0x100051ec
cmp al, 0x28
je 0x100051ec
cmp al, 0x29
je 0x100051ec
cmp al, 0x25
je 0x100051ec
cmp al, 0x3b
je 0x100051ec
cmp al, 0x3a
je 0x100051ec
cmp al, 0x26
je 0x100051ec
cmp al, 0x3d
je 0x100051ec
cmp al, 0x2b
je 0x100051ec
cmp al, 0x24
je 0x100051ec
cmp al, 0x2c
jne case.default.0x1000517c
mov eax, 3
ret
cmp al, 0x5b
jne 0x100051fc
mov eax, 5
ret
mov cl, al
or cl, 0x20
cmp cl, 0x61
jb 0x1000520b
cmp cl, 0x7a
jbe 0x1000521f
cmp al, 0x30
jl 0x10005213
cmp al, 0x39
jle 0x1000521f
cmp al, 0x2e
je 0x1000521f
cmp al, 0x2d
jne case.default.0x1000517c
mov eax, 6
ret
mov cl, al
or cl, 0x20
cmp cl, 0x61
jb 0x10005234
cmp cl, 0x7a
jbe 0x1000521f
cmp al, 0x30
jl 0x1000523c
cmp al, 0x39
jle 0x1000521f
cmp al, 0x2e
je 0x1000521f
cmp al, 0x2d
je 0x1000521f
cmp al, 0x3a
jne case.default.0x1000517c
mov eax, 0xb
ret
cmp al, 0x5d
jne case.0x1000517c.5
mov eax, 8
ret
cmp al, 0x30
jl 0x10005264
cmp al, 0x39
jle 0x1000528a
mov cl, al
or cl, 0x20
cmp cl, 0x61
jb 0x10005273
cmp cl, 0x66
jbe 0x1000528a
cmp al, 0x3a
je 0x1000528a
cmp al, 0x2e
je 0x1000528a
cmp edx, 7
jne case.default.0x1000517c
cmp al, 0x25
jne case.default.0x1000517c
mov eax, 9
ret
mov eax, 7
ret
cmp al, 0x5d
je 0x10005256
mov cl, al
or cl, 0x20
cmp cl, 0x61
jb 0x100052a3
cmp cl, 0x7a
jbe 0x100052bf
cmp al, 0x30
jl 0x100052ab
cmp al, 0x39
jle 0x100052bf
cmp al, 0x25
je 0x100052bf
cmp al, 0x2e
je 0x100052bf
cmp al, 0x2d
je 0x100052bf
cmp al, 0x5f
je 0x100052bf
cmp al, 0x7e
jne case.default.0x1000517c
mov eax, 0xa
ret
sub al, 0x30
cmp al, 9
mov eax, 0xc
jbe 0x100052d5
mov eax, 1
ret
Function at 0x100071f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test ecx, ecx
jne 0x100071fb
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
pop ebp
jmp fcn.10007210
Function at 0x1000dbe0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013675a
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x101b2070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
test byte [0x101b8204], 1
mov dword [edi], vtable.CTcpServer.0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], 0x2710
jne 0x1000dc6d
mov esi, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
or dword [0x101b8204], 1
lea eax, [ebp - 0x30]
push eax
call esi
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1f4
jae 0x1000dc63
lea eax, [ebp - 0x54]
push eax
call esi
mov ecx, dword [ebp - 0x40]
lea edx, [ecx + ecx + 2]
mov dword [0x101b8200], edx
jmp 0x1000dc6d
mov dword [0x101b8200], 0x1f4
mov eax, dword [0x101b8200]
mov edx, 0x4e20
mov ecx, 0x258
mov dword [edi + 0x10], eax
mov dword [edi + 0x20], edx
mov dword [edi + 0x24], ecx
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x38], edx
mov edx, dword [ebp + 0xc]
mov eax, 0x400
mov dword [edi + 0x14], closesocket
mov dword [edi + 0x18], 0x12c
mov dword [edi + 0x1c], 0x1000
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], 0xea60
mov dword [edi + 0x3c], 1
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
xor ecx, ecx
mov word [edi + 0x4c], cx
mov dword [edi + 0x50], edx
mov dword [edi + 0x54], 0xffffffff
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], 3
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0x6c], ebx
push ebx
mov byte [ebp - 4], 1
push ebx
push 4
mov dword [edi + 0x78], 4
mov dword [edi + 0x7c], ebx
mov dword [edi + 0x80], ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [edi + 0x74], eax
cmp ecx, ebx
jne 0x1000dd21
push 0x80004005
call fcn.10002670
lea esi, [edi + 0x84]
mov byte [ebp - 4], 2
call fcn.10014490
lea edx, [edi + 0x168]
mov byte [ebp - 4], 3
mov dword [edi + 0x164], ebx
push edx
call fcn.100146f0
mov dword [edi + 0x2b4], ebx
mov eax, dword [edi + 0x2b4]
mov dword [edi + 0x2b0], ebx
mov dword [edi + 0x2f4], ebx
mov dword [edi + 0x334], ebx
cmp eax, ebx
je 0x1000dd89
push eax
call fcn.1011bc28
mov dword [edi + 0x2b4], ebx
mov dword [edi + 0x2b0], ebx
mov dword [edi + 0x2f4], ebx
add esp, 4
mov dword [edi + 0x334], ebx
mov byte [ebp - 4], 5
mov dword [edi + 0x374], ebx
mov dword [edi + 0x378], ebx
push 8
mov dword [edi + 0x384], ebx
call fcn.1011bb14
add esp, 4
cmp eax, ebx
je 0x1000ddb4
mov dword [eax], ebx
mov dword [eax + 4], ebx
jmp 0x1000ddb6
xor eax, eax
mov dword [edi + 0x380], eax
mov dword [edi + 0x37c], eax
mov dword [edi + 0x388], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1000e220
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10137180
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101b2070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [edi + 4], ecx
mov dword [edi], vtable.CTcpClient.0
mov dword [edi + 8], 1
mov dword [edi + 0xc], 5
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xffffffff
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 0x1000
mov dword [edi + 0x2c], 0xea60
mov dword [edi + 0x30], 0x4e20
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov ecx, 0x3c
mov dword [edi + 0x24], ecx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 3
lea esi, [edi + 0x50]
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
push eax
xor ebx, ebx
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.100191e0
mov byte [ebp - 4], 1
mov edx, dword [0x101b1c00]
mov eax, dword [edx + 0xc]
mov ecx, 0x101b1c00
call eax
add eax, 0x10
mov dword [edi + 0x5c], eax
xor ecx, ecx
mov byte [ebp - 4], 2
lea esi, [edi + 0x64]
mov word [edi + 0x60], cx
call fcn.100141f0
lea eax, [edi + 0x148]
push ebx
mov byte [ebp - 4], 3
push eax
mov dword [edi + 0x144], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
neg eax
sbb eax, eax
neg eax
jne 0x1000e317
push 0x80004005
call fcn.10002670
mov dword [edi + 0x164], ebx
mov dword [edi + 0x168], ebx
mov dword [edi + 0x160], ebx
mov dword [edi + 0x16c], esi
push ebx
push ebx
push ebx
mov byte [ebp - 4], 5
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
call esi
xor edx, edx
cmp eax, ebx
setne dl
mov dword [edi + 0x170], eax
cmp edx, ebx
jne 0x1000e35a
push 0x80004005
call fcn.10002670
push ebx
push ebx
push ebx
push ebx
mov byte [ebp - 4], 6
call esi
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [edi + 0x174], eax
cmp ecx, ebx
jne 0x1000e37f
push 0x80004005
call fcn.10002670
push ebx
push ebx
push ebx
push ebx
mov byte [ebp - 4], 7
call esi
mov dword [edi + 0x178], eax
cmp eax, ebx
jne 0x1000e39d
push 0x80004005
call fcn.10002670
mov dword [edi + 0x17c], ebx
mov dword [edi + 0x180], ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4