joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455b24
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x476bb8]
cmp dword [eax + 0x30], 0
je 0x455bce
cmp dword [ebx + 0x94], 0
jne 0x455bc8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455ab4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455bc8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x455b8e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455bc8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413be4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455b9d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x456730
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x456765
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f80
jmp 0x456772
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ee4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4577c4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x457805
mov eax, esi
call fcn.0043df90
test al, al
je 0x457805
mov eax, dword [ebx + 0x84]
call fcn.0043dc8c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x457805
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043dc8c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46044c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46047a
mov eax, ebx
call fcn.00460f00
cmp dword [ebx + 0x40], 0
je 0x460473
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4604eb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4604dd
cmp dword [ebx + 8], 0
je 0x46049c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4604ae
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4604dd
cmp dword [ebx + 8], 0
je 0x46048f
cmp eax, 3
je 0x4604c1
dec eax
jne 0x46048f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46048f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46048f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x460509
cmp dword [ebx + 0x14], 0xcc
je 0x460509
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00460514
pop ebx
ret
Function at 0x7629f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x232000]
mov dword [edi + 0x2943c4], 0x536bf878
push edi
jmp 0x762a1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x762a21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x762a10
mov eax, 1
add ebx, ebx
jne 0x762a33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x762a44
jne 0x762a63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x762a63
dec eax
add ebx, ebx
jne 0x762a50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x762a28
add ebx, ebx
jne 0x762a5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x762ab5
xor ecx, ecx
sub eax, 3
jb 0x762a7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x762aea
sar eax, 1
mov ebp, eax
jmp 0x762a86
add ebx, ebx
jne 0x762a86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x762a54
inc ecx
add ebx, ebx
jne 0x762a94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x762a54
add ebx, ebx
jne 0x762aa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x762a96
jne 0x762ab2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x762a96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x762ad4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x762ac6
jmp 0x762a16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x762ad4
add edi, ecx
jmp 0x762a16
pop esi
mov edi, esi
mov ecx, 0xd9e1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x762af2
cmp byte [edi], 0x27
jne 0x762af2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x762af7
lea edi, [esi + 0x352000]
mov eax, dword [edi]
or eax, eax
je 0x762b6f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3d79a8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3d7b40]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x762b24
mov ecx, edi
jns 0x762b53
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3d7b48]
or eax, eax
je 0x762b69
mov dword [ebx], eax
add ebx, 4
jmp 0x762b41
call dword [esi + 0x3d7b44]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x762ba0
cmp al, 0xef
ja 0x762b93
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x762b75
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x762b82
mov ebp, dword [esi + 0x3d7b4c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x26f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x762bd4
sub esp, 0xffffff80
jmp 0x5a4b40
Function at 0x4704d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5c000]
push edi
jmp 0x4704ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4704f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4704e0
mov eax, 1
add ebx, ebx
jne 0x470503
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x470514
jne 0x470533
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x470533
dec eax
add ebx, ebx
jne 0x470520
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4704f8
add ebx, ebx
jne 0x47052f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x470585
xor ecx, ecx
sub eax, 3
jb 0x47054b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4705ba
sar eax, 1
mov ebp, eax
jmp 0x470556
add ebx, ebx
jne 0x470556
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x470524
inc ecx
add ebx, ebx
jne 0x470564
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x470524
add ebx, ebx
jne 0x470571
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x470566
jne 0x470582
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x470566
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4705a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x470596
jmp 0x4704e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4705a4
add edi, ecx
jmp 0x4704e6
pop esi
mov edi, esi
mov ecx, 0x22c6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4705c2
cmp byte [edi], 4
jne 0x4705c2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4705c7
lea edi, [esi + 0x6d000]
mov eax, dword [edi]
or eax, eax
je 0x47063f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x70000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x70118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4705f4
mov ecx, edi
jns 0x470623
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7011c]
or eax, eax
je 0x470639
mov dword [ebx], eax
add ebx, 4
jmp 0x470611
call dword [esi + 0x7012c]
mov ebp, dword [esi + 0x70120]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x470673
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x10001fe0
Capabilities:
Create directory
Read .ini file

Disassembly:
sub esp, 0xb24
push esi
push edi
push str.C:xfsconfigSysConfig.ini
push 0
push str.DEBUGLOG
push str.Server1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x1000213f
push 0
push str.d:_szztlog
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, 0x17c
xor eax, eax
lea edi, [esp + 0x539]
mov byte [esp + 0x538], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x139]
mov byte [esp + 0x138], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [esp + 0xe]
mov edx, dword [esp + 0xa]
mov eax, dword [esp + 8]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
lea ecx, [esp + 0x24]
push str._04d_02d_02d
push ecx
call fcn.10002ba0
lea edx, [esp + 0x2c]
lea eax, [esp + 0x4c]
push edx
push str.d:_szztlogBrowser_s.log
push eax
call fcn.10002ba0
lea ecx, [esp + 0x58]
push 0x10019674
push ecx
call fcn.10003169
mov esi, eax
add esp, 0x28
test esi, esi
je 0x1000213f
mov eax, dword [esp + 0xb30]
lea edx, [esp + 0xb34]
push edx
push eax
lea edi, [esp + 0x140]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ecx, [esp + ecx + 0x140]
push ecx
call fcn.100030e7
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1e]
lea edx, [esp + 0x144]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x20]
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x554]
push str._02d:_02d:_02d___s
push eax
call fcn.10002ba0
lea ecx, [esp + 0x55c]
push esi
push ecx
call fcn.10003099
push esi
push 0x1001965c
call fcn.10003099
push esi
call fcn.1000301c
add esp, 0x38
pop edi
pop esi
add esp, 0xb24
ret
Function at 0x10007acd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1001a5e8
cmp edx, dword [eax]
je 0x10007aef
add eax, 8
inc ecx
cmp eax, 0x1001a678
jl 0x10007ae0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1001a5e8]
jne 0x10007c1d
mov eax, dword [0x1001c9d4]
cmp eax, 1
je 0x10007bf7
test eax, eax
jne 0x10007b20
cmp dword [0x1001c9d8], 1
je 0x10007bf7
cmp edx, 0xfc
je 0x10007c1d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10007b57
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10008fa0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10006fb0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10007b9a
lea eax, [ebp - 0x1a4]
push eax
call fcn.10006fb0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10015884
push edi
call fcn.1000a400
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10008fa0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10008fb0
lea eax, [ebp - 0xa0]
push 0x10015864
push eax
call fcn.10008fb0
push dword [esi + 0x1001a5ec]
lea eax, [ebp - 0xa0]
push eax
call fcn.10008fb0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1000a36c
add esp, 0x2c
pop edi
jmp 0x10007c1d
lea eax, [ebp + 8]
lea esi, [esi + 0x1001a5ec]
push 0
push eax
push dword [esi]
call fcn.10006fb0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x10010d63
Capabilities:
Create http request

Disassembly:
mov eax, 0x10013530
call fcn.10003744
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x10010d9b
call fcn.100127ea
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x10010dc0
push eax
push dword [esi + 4]
call fcn.10011b51
jmp 0x10010dcc
push esi
push eax
mov ecx, 0x1001aa88
call fcn.10010ddd
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x10010f5c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x1001356b
call fcn.10003744
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.1000c46a
mov eax, dword [0x100196e0]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x1001aa88
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.10010ddd
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.1000bdc0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.100023d5
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.1000bd70
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.1000bc83
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x10005211
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [esi + 0x3c]
and dword [ebp - 0x10], 0
and dword [ebp - 4], 0
lea ecx, [eax + esi + 0x78]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ebx
mov dword [ebp - 0x18], eax
add eax, esi
mov ebx, dword [eax + 0x1c]
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x20]
push edi
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
add edx, esi
add ecx, esi
add ebx, esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
test edi, edi
je 0x100052ba
mov eax, dword [ebp - 4]
movsx edi, word [edx + eax*2]
mov dword [ebp - 0xc], edi
cmp eax, dword [ebp - 8]
jae 0x100052d0
mov eax, edi
cmp eax, dword [ebp - 0x14]
jae 0x100052d0
mov eax, dword [ebx + eax*4]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp eax, edi
jb 0x10005287
mov eax, dword [ebp - 0x1c]
add eax, edi
cmp dword [ebp - 0x20], eax
jb 0x100052af
mov eax, dword [ebp - 4]
mov ecx, dword [ecx + eax*4]
add ecx, esi
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10005294
sub eax, edi
mov edi, eax
call fcn.1001230d
cmp eax, dword [ebp + 8]
je 0x100052c3
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x1000525a
mov eax, dword [ebp - 0x10]
pop edi
pop ebx
leave
ret 4
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebx + eax*4]
add ebx, esi
mov dword [ebp - 0x10], ebx
jmp 0x100052ba
xor eax, eax
jmp 0x100052bd

Function at 0x100052d4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
push ebx
push esi
mov esi, dword [eax + 0xc]
push edi
mov dl, 0x19
movzx ecx, word [esi + 0x24]
test cx, cx
je 0x1000535a
and dword [ebp - 4], 0
mov eax, dword [esi + 0x28]
mov edi, ecx
test edi, edi
jle 0x1000535a
cmp word [eax], 0x5c
jne 0x1000534f
add eax, 2
mov cl, byte [eax]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x10005314
sub cl, 0x20
cmp cl, 0x4b
jne 0x1000534f
mov cl, byte [eax + 2]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x10005326
sub cl, 0x20
cmp cl, 0x45
jne 0x1000534f
mov cl, byte [eax + 4]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x10005338
sub cl, 0x20
cmp cl, 0x52
jne 0x1000534f
mov cl, byte [eax + 6]
lea ebx, [ecx - 0x61]
cmp bl, dl
ja 0x1000534a
sub cl, 0x20
cmp cl, 0x4e
je 0x10005367
add eax, 2
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x100052ff
mov esi, dword [esi]
test esi, esi
jne 0x100052e9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [esi + 0x18]
jmp 0x10005362
Function at 0x1000736f
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
lea eax, [esp + 0x20]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10007418
cmp byte [esp + 0x20], 2
jne 0x10007418
mov eax, dword [esp + 0x20]
shr eax, 8
cmp al, 2
jne 0x10007418
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x10007418
push 0
push 0
mov eax, 0xddf3
mov word [esp + 0x18], ax
lea eax, [esp + 0x24]
push eax
push 4
push 0x1002d44c
push 0x10
lea eax, [esp + 0x24]
push eax
push 0xc8000006
push esi
mov dword [esp + 0x30], 0x25a207b9
mov dword [esp + 0x36], 0xe98e4660
mov dword [esp + 0x3a], 0x748ce576
mov word [esp + 0x3e], 0x3e06
call dword [sym.imp.WS2_32.dll_]
push esi
mov ebx, eax
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
test ebx, ebx
sete al
jmp 0x1000741a
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000d3d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x1002e040], ecx
inc edx
cmp edx, 0x100
jb 0x1000d3d3
cmp edx, 0x800
jae 0x1000d4a9
lea ecx, [ecx]
mov eax, dword [edx*4 + 0x1002dc40]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x1002e040]
inc edx
mov dword [edx*4 + 0x1002e03c], eax
cmp edx, 0x800
jb 0x1000d480
mov dword [0x10030040], 0x1000ddb0
call fcn.1000df70
test eax, eax
jne 0x1000d4c6
mov dword [0x10030040], 0x1000de60
pop ecx
ret
Function at 0x1000e3f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 8
push ebx
push esi
mov esi, dword [ecx]
xor ebx, ebx
and esi, 7
cmp eax, 5
jae 0x1000e411
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
mov edi, dword [ebp + 8]
sub eax, 4
add edi, eax
mov dword [ebp - 4], edi
lea ecx, [ecx]
mov eax, dword [ebp + 8]
lea edx, [ebx + eax]
cmp edx, edi
jae 0x1000e43f
lea ebx, [ebx]
mov cl, byte [edx]
and cl, 0xfe
cmp cl, 0xe8
je 0x1000e43f
inc edx
cmp edx, edi
jb 0x1000e430
mov ecx, edx
sub ecx, ebx
mov ebx, edx
sub ecx, eax
sub ebx, eax
cmp edx, edi
jae 0x1000e51d
cmp ecx, 2
jbe 0x1000e4dd
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x1000e50f
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or eax, ecx
lea edi, [ebx + 5]
mov ebx, edi
sub eax, edi
mov dword [ebp - 8], ebx
test esi, esi
je 0x1000e4b8
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x1000e4b3
mov ebx, 0x100
shl ebx, cl
dec ebx
xor eax, ebx
sub eax, edi
mov ebx, dword [ebp - 8]
xor esi, esi
mov edi, dword [ebp - 4]
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0x1000e420
shr esi, cl
test esi, esi
je 0x1000e45c
cmp esi, 4
ja 0x1000e504
cmp esi, 3
je 0x1000e504
mov eax, esi
shr eax, 1
movzx ecx, byte [eax + edx + 1]
inc ecx
test cl, 0xfe
jne 0x1000e45c
or esi, 8
shr esi, 1
inc ebx
jmp 0x1000e420
mov edi, dword [ebp - 4]
or esi, 8
shr esi, 1
inc ebx
jmp 0x1000e420
pop edi
cmp ecx, 2
jbe 0x1000e534
mov edx, dword [ebp + 0xc]
xor esi, esi
mov dword [edx], esi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
shr esi, cl
mov eax, ebx
mov dword [edx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x10011553
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
test ebx, ebx
je 0x1001156e
mov esi, edx
mov ecx, eax
sub esi, eax
mov edi, ebx
mov dl, byte [esi + ecx]
xor dl, byte [esp + 0xc]
mov byte [ecx], dl
inc ecx
dec edi
jne 0x10011561
xor edx, edx
mov byte [ebx + eax], dl
cmp ebx, edx
jbe 0x100115be
lea esi, [edx + eax]
cmp byte [esi], 0x5c
jne 0x100115b9
lea edi, [edx + eax + 1]
mov cl, byte [edi]
cmp cl, 0x5c
je 0x100115af
cmp cl, 0x72
jne 0x10011594
mov byte [esi], 0xd
jmp 0x100115af
cmp cl, 0x6e
jne 0x1001159e
mov byte [esi], 0xa
jmp 0x100115af
cmp cl, 0x74
jne 0x100115a8
mov byte [esi], 9
jmp 0x100115af
cmp cl, 0x22
jne 0x100115b9
mov byte [esi], cl
mov ecx, ebx
sub ecx, edx
lea esi, [edx + eax + 2]
rep movsb byte es:[edi], byte [esi]
inc edx
cmp edx, ebx
jb 0x10011577
pop edi
pop esi
ret 4