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

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
push esi
push 0x1002fe5d
push ebx
push ebx
call fcn.100968b3
add esp, 0x18
test eax, eax
je 0x10030461
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.10018b24
add eax, 4
push ebx
push str.target
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edi, eax
call fcn.1001be19
add eax, 4
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
test eax, eax
je 0x10030496
mov ecx, esi
call fcn.1003041e
push 1
mov ecx, esi
jmp 0x100304c9
cmp dword [esi + 0x1a8], ebx
jne 0x100304d0
cmp edi, 1
jne 0x100304d0
mov ecx, esi
call fcn.1003041e
call fcn.10018b24
add eax, 4
push ebx
push 0x100f7288
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov ecx, esi
cmp eax, 3
jne 0x100304c8
push edi
jmp 0x100304c9
push ebx
call fcn.10031aa8
jmp 0x100304de
push ebx
mov ecx, esi
call fcn.10031aa8
mov dword [esi + 0x1bc], ebx
pop edi
pop esi
pop ebx
ret

Function at 0x1003068f
Capabilities:
Create process on windows

Disassembly:
push 0x244
mov eax, 0x100c05bd
call fcn.1008bbf4
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x220], ebx
call fcn.10018b24
add eax, 4
push ebx
push str.bShowPacketInstallProgross
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edi, eax
call fcn.1001be19
add eax, 4
lea edx, [ebp - 0x220]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov ecx, dword [ebp - 0x220]
cmp ecx, 1
jne 0x10030814
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x240], ebx
mov word [ebp - 0x250], ax
push 0x20a
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.1008e420
lea eax, [ebp - 0x21c]
mov edx, str.InstallDir
push eax
mov ecx, str.SOFTWARETencentQQPCMgr
call fcn.1001aa5e
add esp, 0x10
test eax, eax
je 0x100307f2
call fcn.10018b24
add eax, 4
lea edx, [ebp - 0x238]
mov ebx, 0x100d1a34
push ebx
push edx
mov ecx, dword [eax]
push str.NewVersionRunExe
push eax
call dword [ecx + 8]
call fcn.10018b24
add eax, 4
lea edx, [ebp - 0x250]
push ebx
push edx
push str.NewVersionRunExeParam
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x228], 0
je 0x100307f0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.10096511
add esp, 0xc
lea eax, [ebp - 0x250]
cmp dword [ebp - 0x23c], 8
cmovae eax, dword [ebp - 0x250]
xor ebx, ebx
push 1
push ebx
push eax
lea eax, [ebp - 0x21c]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x100307f2
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x250]
call fcn.10001f43
push ebx
push 1
lea ecx, [ebp - 0x238]
call fcn.10001f43
mov ecx, dword [ebp - 0x220]
cmp dword [esi + 0x1a8], ebx
jne 0x10030836
cmp dword [esi + 0x1d4], ebx
jne 0x10030836
test edi, edi
je 0x1003082d
cmp ecx, 1
jne 0x10030836
push 1
mov ecx, esi
call fcn.10031aa8
call fcn.1008bb9e
ret
Function at 0x1003083c
Capabilities:
Get disk size

Disassembly:
push 0x44c
mov eax, 0x100c047e
call fcn.1008bbf4
mov ebx, ecx
mov esi, 0x20a
lea eax, [ebp - 0x428]
push esi
xor edi, edi
push edi
push eax
call fcn.1008e420
push esi
lea eax, [ebp - 0x21c]
push edi
push eax
call fcn.1008e420
add esp, 0x18
jmp 0x1002fb8d
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1002fce6
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x42c], edi
push eax
lea ecx, [ebp - 0x42c]
call fcn.1000563a
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x42c]
cmp dword [eax - 0xc], 2
jl 0x1002fb61
push 2
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], edi
push eax
lea ecx, [ebp - 0x42c]
call fcn.10005585
mov esi, dword [ebp - 0x430]
lea eax, [ebp - 0x438]
push edi
push edi
push eax
push esi
mov dword [ebp - 0x438], edi
mov dword [ebp - 0x434], edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [ebp - 0x434], edi
ja 0x1002fbef
jb 0x1002fb59
cmp dword [ebp - 0x438], 0x6400000
jae 0x1002fbef
lea ecx, [esi - 0x10]
call fcn.100018e3
push 0x40
push 0x100f5ba8
push 0x100f723c
mov ecx, ebx
call fcn.10052480
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx - 0x10]
call fcn.100018e3
push 7
mov dword [ebp - 0x458], edi
xor eax, eax
pop ecx
lea edi, [ebp - 0x454]
rep stosd dword es:[edi], eax
mov ecx, ebx
call fcn.10052480
mov dword [ebp - 0x458], eax
xor edi, edi
lea eax, [ebp - 0x428]
mov dword [ebp - 0x454], edi
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x458]
push eax
mov dword [ebp - 0x44c], 0x100f722c
mov dword [ebp - 0x448], 0x43
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
jne 0x1002fac2
jmp 0x1002fce6
lea ecx, [esi - 0x10]
call fcn.100018e3
mov dword [ebp - 0x430], edi
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 1
call fcn.1001b413
push eax
lea ecx, [ebp - 0x42c]
call fcn.100055ec
push edi
push str.qqpcmgr
lea ecx, [ebp - 0x42c]
call fcn.1000b030
cmp eax, 0xffffffff
lea eax, [ebp - 0x21c]
push eax
jne 0x1002fc7e
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x1002fc44
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.10005c27
push 7
push str.QQPCMgr
lea ecx, [ebp - 0x42c]
call fcn.10003981
push dword [ebp - 0x42c]
lea ecx, [ebp - 0x430]
call fcn.10030e30
call fcn.1001be19
push dword [ebp - 0x430]
add eax, 4
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
push edi
push 0x1010e758
push 0x1010e524
push edi
push 0x68
mov ecx, ebx
call fcn.10052490
push eax
call fcn.100bafcd
add esp, 0x14
test eax, eax
je 0x1002fccc
push dword [ebp - 0x430]
mov ecx, eax
call fcn.10054980
push dword [ebp - 0x430]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x42c]
lea ecx, [ecx - 0x10]
call fcn.100018e3
call fcn.1008bb9e
ret
mov dword [ecx + 0x1d4], 1
jmp 0x1002fa86
Function at 0x1003314e
Capabilities:
Terminate process

Disassembly:
push 0x24
mov eax, 0x100c0a2f
call fcn.1008bbf4
mov esi, 0x10110d40
mov dword [ebp - 0x28], 3
mov ebx, 0x1010cc84
push 0x40
call fcn.1008b26a
pop ecx
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
mov ecx, eax
push dword [ebx + 4]
push dword [ebx]
push dword [ebx - 4]
call fcn.1003bc7f
or dword [ebp - 4], 0xffffffff
mov edi, eax
mov ecx, dword [esi]
cmp edi, ecx
je 0x100331a1
test ecx, ecx
je 0x1003319f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi], edi
and dword [ebp - 0x24], 0
lea edi, [ebp - 0x20]
mov ecx, dword [esi]
lea edx, [ebp - 0x24]
xor eax, eax
stosd dword es:[edi], eax
push edx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ecx]
call dword [eax + 0xc]
test al, al
je 0x100331f5
mov ecx, dword [esi]
lea eax, [ebp - 0x2c]
push eax
call fcn.10033035
mov dword [ebp - 4], 1
lea ecx, [esi + 0x10]
push dword [eax]
call fcn.10033344
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100331ef
lea ecx, [eax + 4]
call fcn.10008112
or dword [ebp - 4], 0xffffffff
jmp 0x10033204
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
add ebx, 0xc
add esi, 4
sub dword [ebp - 0x28], 1
jne 0x1003316b
xor eax, eax
inc eax
call fcn.1008bb9e
ret
Function at 0x10036aa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 4
push eax
push str.DebugBeacon
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp eax, dword [ebp - 4]
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret
Function at 0x10036f60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101110f0]
test eax, eax
jne 0x100370f0
push 0x114
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.1008e420
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x108]
cmp eax, 2
jne 0x100370c1
call fcn.10036ee0
test eax, eax
je 0x10036fdc
mov eax, 9
mov dword [0x101110f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x114]
cmp eax, 5
jne 0x10037043
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x10037009
mov eax, 2
mov dword [0x101110f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10037026
mov eax, 3
mov dword [0x101110f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x100370a9
mov eax, 4
mov dword [0x101110f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x100370a9
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x1003706a
mov eax, 5
mov dword [0x101110f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x10037087
mov eax, 6
mov dword [0x101110f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
cmp eax, 2
je 0x10037091
cmp eax, 3
jne 0x100370a9
mov eax, 7
mov dword [0x101110f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
mov eax, 0x14
mov dword [0x101110f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x100370eb
cmp dword [ebp - 0x114], 4
jne 0x100370a9
cmp dword [ebp - 0x110], 0
jne 0x100370a9
mov dword [0x101110f0], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101110f0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret

Function at 0x1003b30b
Capabilities:
Set thread local storage value

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x88]
mov dword [esi], vtable.qmbase::MessageLoopForIO.0
test eax, eax
je 0x1003b32c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x88], 0
lea ecx, [esi + 0x94]
call fcn.1003b56b
lea ecx, [esi + 0x8c]
call fcn.1003b5a8
mov ecx, esi
pop esi
jmp fcn.1003a84f
Function at 0x1003bd93
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor eax, eax
mov edi, ecx
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, dword [ebp + 8]
mov dword [edi + 0x38], eax
test esi, esi
je 0x1003bdb9
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi], ecx
push ebx
lea ebx, [edi + 0x10]
test ebx, ebx
je 0x1003bdde
xor eax, eax
push eax
push eax
push edi
push 0x1003bc07
push eax
push eax
call fcn.100968b3
add esp, 0x18
mov dword [ebx], eax
test eax, eax
setne al
jmp 0x1003bde0
xor al, al
pop ebx
test al, al
jne 0x1003be14
test esi, esi
je 0x1003be03
mov dword [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xc], eax
call fcn.10095c7f
mov eax, dword [eax]
mov dword [esi + 0x10], eax
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x38], 0
xor al, al
jmp 0x1003be4b
test esi, esi
je 0x1003be1c
and dword [esi + 4], 0
push 0xffffffffffffffff
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
je 0x1003be35
xor ecx, ecx
test eax, eax
setne cl
mov dword [esi + 8], ecx
push dword [edi + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x38], 0
mov al, 1
mov dword [edi + 4], 1
pop edi
pop esi
pop ebp
ret 4

Function at 0x10040810
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, ecx
mov dword [ebp - 0x18], edx
push edi
mov dword [ebp - 0x20], eax
push dword [esi]
call ebx
push dword [esi + 4]
mov dword [ebp - 0x1c], eax
call ebx
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x14]
xor esi, esi
sub edi, eax
nop dword [eax]
lea eax, [edi + esi*4]
push dword [ebp + eax - 0x14]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + esi*4 - 0x14], eax
inc esi
cmp esi, 4
jl 0x10040850
mov edi, dword [ebp - 0x1c]
xor edx, edx
lea esi, [edx + 0x10]
nop
mov ecx, ebx
lea edx, [edx - 0x61c88647]
shl ecx, 4
mov eax, ebx
add ecx, dword [ebp - 0x14]
shr eax, 5
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
add edi, ecx
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp - 0xc]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
add ebx, ecx
sub esi, 1
jne 0x10040870
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push edi
call esi
mov edi, dword [ebp - 0x20]
push ebx
mov dword [edi], eax
call esi
mov ecx, dword [ebp - 4]
mov dword [edi + 4], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x100408e0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, ecx
mov dword [ebp - 0x18], edx
push edi
mov dword [ebp - 0x20], eax
push dword [esi]
call ebx
push dword [esi + 4]
mov edi, eax
call ebx
mov ebx, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
sub ebx, eax
nop dword [eax]
lea eax, [ebx + esi*4]
push dword [ebp + eax - 0x14]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + esi*4 - 0x14], eax
inc esi
cmp esi, 4
jl 0x10040920
mov ebx, dword [ebp - 0x1c]
mov edx, 0xe3779b90
mov esi, 0x10
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp - 0xc]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
sub ebx, ecx
mov ecx, ebx
mov eax, ebx
shl ecx, 4
add ecx, dword [ebp - 0x14]
shr eax, 5
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
lea edx, [edx + 0x61c88647]
sub edi, ecx
sub esi, 1
jne 0x10040944
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push edi
call esi
mov edi, dword [ebp - 0x20]
push ebx
mov dword [edi], eax
call esi
mov ecx, dword [ebp - 4]
mov dword [edi + 4], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1008aeea
mov esp, ebp
pop ebp
ret

Function at 0x100410f0
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x1004113f
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x10000
push eax
push 0x1002
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 4]
push eax
push 0x1001
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x10041320
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, ecx
call fcn.10041300
mov ecx, esi
call fcn.10041470
test al, al
je 0x100413a8
call fcn.100410f0
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x1004139b
mov ecx, eax
call fcn.100410c0
push dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.100410a0
add esp, 4
mov eax, ecx
push 0x10
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x1004138a
cmp eax, 0xffffffff
jne 0x1004139b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1004139b
push 1
mov ecx, esi
call fcn.10041490
test al, al
je 0x1004139b
mov byte [esi + 4], 1
cmp byte [esi + 4], 0
jne 0x100413a8
mov ecx, esi
call fcn.10041300
mov ecx, dword [ebp - 8]
mov al, byte [esi + 4]
xor ecx, ebp
pop esi
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10041490
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi], 0xffffffff
je 0x10041549
mov bl, byte [ebp + 8]
imul esi, dword [edi + 0xc], 0x3e8
test bl, bl
jne 0x100414c1
add esi, esi
test esi, esi
jle 0x10041549
mov edx, dword [sym.imp.WS2_32.dll_select]
nop
mov ecx, edi
call fcn.10041470
test al, al
je 0x10041549
mov eax, dword [edi]
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x218], eax
inc eax
mov dword [ebp - 0x114], 1
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xc350
push ecx
lea ecx, [ebp - 0x114]
test bl, bl
je 0x1004152f
push ecx
push 0
jmp 0x10041532
push 0
push ecx
push eax
call edx
test eax, eax
jg 0x1004155e
mov edx, dword [sym.imp.WS2_32.dll_select]
sub esi, 0xc350
test esi, esi
jg 0x100414d0
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x114]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov ecx, dword [ebp - 8]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
pop esi
neg eax
pop ebx
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 4
Function at 0x10042dd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 0x14], 0x10
jb 0x10042df1
mov ecx, dword [esi]
jmp 0x10042df3
mov ecx, esi
call fcn.10042d40
test eax, eax
je 0x10042e91
mov ecx, dword [eax + 0xc]
cmp dword [ecx], 0
je 0x10042e91
mov dword [edi + 0x468], 0
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100463f0
push eax
push ecx
push esi
lea ecx, [edi + 0x2c]
call fcn.10043c20
add esp, 4
mov ecx, eax
call fcn.10043c50
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
call fcn.10041150
mov eax, dword [ebp - 0xc]
cmp eax, 0x10
jb 0x10042ed3
mov ecx, dword [ebp - 0x20]
inc eax
cmp eax, 0x1000
jb 0x10042e86
test cl, 0x1f
jne 0x10042ee8
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10042eed
sub ecx, eax
cmp ecx, 4
jb 0x10042ef2
cmp ecx, 0x23
ja 0x10042ef7
mov ecx, eax
push ecx
call fcn.1008aee5
add esp, 4
jmp 0x10042ed3
inc dword [edi + 0x468]
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x38]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10046410
push eax
push ecx
push esi
lea ecx, [edi + 0x2c]
call fcn.10043c20
add esp, 4
mov ecx, eax
call fcn.10043c50
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
xor ecx, ebp
pop edi
pop esi
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 4
call fcn.10090e61
call fcn.10090e61
call fcn.10090e61
call fcn.10090e61
int3
Function at 0x100441d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
lea ecx, [ebp - 4]
push ecx
push 0
mov dword [esi + 8], esi
lea eax, [esi + 8]
mov byte [esi + 0x18], 0
push eax
push 0x10044c10
push 0
push 0
mov dword [esi + 0xc], 0
call fcn.100968b3
xor ecx, ecx
add esp, 0x18
cmp eax, 0xffffffff
cmove eax, ecx
mov dword [esi + 4], eax
test eax, eax
jne 0x1004421c
mov byte [esi + 0x18], 1
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1004c23b
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x1010c070]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x1004c2a5
test edx, edx
jle 0x1004c2a5
test esi, esi
je 0x1004c2a5
and dword [esp + 0x1c], 0
and dword [esp + 0x18], 0
push edx
mov edx, ecx
mov dword [esp + 0xc], 0x67452301
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.1004c516
pop ecx
lea edx, [esp + 8]
mov ecx, esi
call fcn.1004c5d0
mov al, 1
jmp 0x1004c2a7
xor al, al
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret

Function at 0x1004c360
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c2026
mov eax, dword fs:[0]
push eax
mov eax, 0x217c
call fcn.1008c2a0
mov eax, dword [0x1010c070]
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 dword [ebp - 0x2188], edx
xor ebx, ebx
mov dword [ebp - 0x2184], ebx
mov dword [ebp - 0x2180], ebx
sub esp, 0x14
mov dword [ebp - 4], ebx
push closesocket
push ecx
lea ecx, [ebp - 0x2184]
call fcn.10008ff5
mov esi, dword [ebp - 0x2184]
test eax, eax
js 0x1004c4ed
mov byte [ebp - 0x20], bl
lea edi, [ebp - 0x1f]
xor eax, eax
mov dword [ebp - 0x2164], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x2168], ebx
mov dword [ebp - 0x2178], 0x67452301
mov dword [ebp - 0x2174], 0xefcdab89
stosd dword es:[edi], eax
mov dword [ebp - 0x2170], 0x98badcfe
mov dword [ebp - 0x216c], 0x10325476
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x217c]
mov dword [ebp - 0x217c], ebx
push eax
push 0x2000
lea eax, [ebp - 0x2120]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1004c437
call fcn.100113b1
cmp dword [ebp - 0x217c], 0
je 0x1004c45a
push dword [ebp - 0x217c]
lea edx, [ebp - 0x2120]
lea ecx, [ebp - 0x2178]
call fcn.1004c516
pop ecx
jmp 0x1004c40d
test esi, esi
je 0x1004c46d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
mov dword [ebp - 0x2184], esi
lea edx, [ebp - 0x2178]
lea ecx, [ebp - 0x20]
call fcn.1004c5d0
push 0x100
lea eax, [ebp - 0x120]
push ebx
push eax
call fcn.1008e420
add esp, 0xc
lea esi, [ebp - 0x120]
mov edi, ebx
movzx eax, byte [ebp + edi - 0x20]
push eax
push str._.2x
push 0xffffffffffffffff
push 3
push esi
call fcn.10001ea4
add esp, 0x14
add esi, 4
inc edi
cmp edi, 0x10
jb 0x1004c498
mov esi, dword [ebp - 0x2184]
lea edx, [ebp - 0x120]
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x1004c4c8
mov ecx, dword [ebp - 0x2188]
lea eax, [ebp - 0x120]
sub edx, edi
sar edx, 1
push edx
push eax
call fcn.10005c27
xor ebx, ebx
inc ebx
test esi, esi
je 0x1004c4f8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
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.1008aeea
mov esp, ebp
pop ebp
ret