joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100949c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1010dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x10094a0d
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x10094a0d
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x10094a0d
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x10094a1d
add eax, 4
cmp eax, ecx
jb 0x10094a02
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b1dd0
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x10094a0d
mov cl, byte [ebp + 0x1c]
test cl, cl
je 0x10094a31
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x10094a37
mov word [ebp - 0xc], 0x15ff
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
je 0x10094aa5
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x10094a90
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
nop dword [eax]
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x10094a71
cmp dl, 0x11
jne 0x10094a8a
inc eax
cmp eax, 6
jl 0x10094a60
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b1dd0
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x10094a57
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b1dd0
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push 6
push eax
call fcn.10095160
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.100b1dd0
mov esp, ebp
pop ebp
ret

Function at 0x10094ad0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, 0x5a4d
sub esp, 0xc
cmp ax, word [edx]
jne 0x10094b13
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x10094b13
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x10094b13
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x10094b2e
add eax, 4
cmp eax, ecx
jb 0x10094b08
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x10094b13
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x10094b42
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x10094b48
mov word [ebp - 0xc], 0x15ff
push dword [ebp + 0x18]
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push 6
push eax
push dword [ebp + 8]
call fcn.10094560
mov eax, dword [ebp + 8]
add esp, 0x18
mov esp, ebp
pop ebp
ret

Function at 0x10095240
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.10095190
add esp, 0x18
test eax, eax
je 0x10095269
inc eax
cmp byte [eax], 0xcc
je 0x10095263
pop ebp
ret
Function at 0x10095470
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.100953b0
add esp, 0x18
test eax, eax
je 0x10095499
inc eax
cmp byte [eax], 0xcc
je 0x10095493
pop ebp
ret

Function at 0x10097790
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10097940
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1009785d
mov edx, dword [ebp - 4]
cmp edx, dword [0x1010df60]
jb 0x100977da
mov eax, dword [ebp - 4]
cmp eax, dword [0x1010df64]
ja 0x100977da
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100977aa
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b3290
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10097800
jmp 0x1009785d
cmp dword [ebp - 0x14], 0x10000
jne 0x10097843
cmp dword [ebp - 0x18], 0x10000
jb 0x10097843
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10097836
mov eax, dword [ebp - 8]
jmp 0x1009785f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10097858
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10097940
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100977aa
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10097870
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10097970
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10097935
mov edx, dword [ebp - 4]
cmp edx, dword [0x1010df60]
jb 0x100978b5
mov eax, dword [ebp - 4]
cmp eax, dword [0x1010df64]
ja 0x100978b5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10097885
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b3290
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100978db
jmp 0x10097935
cmp dword [ebp - 0x14], 0x10000
jne 0x1009791e
cmp dword [ebp - 0x18], 0x10000
jb 0x1009791e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10097911
mov eax, dword [ebp - 8]
jmp 0x10097937
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10097930
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10097970
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10097885
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1009f6fb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1009f722
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1009f725
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1009f6d7
pop esi
leave
ret 8

Function at 0x100a4b8f
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x100a4bb2
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x100a4ba0
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x100b1a0d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.100c89aa
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100b1a50
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x100b1a50
sub eax, 1
je 0x100b1a4b
sub eax, 1
je 0x100b1a47
xor eax, eax
leave
ret
push 3
jmp 0x100b1a52
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x100d0ad5
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100f8a4c
push 0x100f8a44
push str.FlsAlloc
push 0x1e
call fcn.100d0902
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100d0b09
push dword [ebp + 8]
mov ecx, esi
call dword [0x100e733c]
call esi
jmp 0x100d0b0f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100d0b53
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100f8a5c
push 0x100f8a54
push str.FlsGetValue
push 0x20
call fcn.100d0902
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100d0b8a
push dword [ebp + 8]
mov ecx, esi
call dword [0x100e733c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100d3fbe
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100d405b
push ebx
push esi
call fcn.100d3f87
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100d26ee
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d4008
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d405a
push edi
push eax
call fcn.100cf2b0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100d4028
call fcn.100cf276
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d4059
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100d26ee
add esp, 0x20
test eax, eax
jne 0x100d4047
push edi
call fcn.100cf276
jmp 0x100d404f
push ebx
call fcn.100cf276
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100d405e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100d406f
pop esi
ret
push ebx
push edi
push esi
call fcn.100d3f87
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100cf2b0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100d4097
push ebx
push esi
push edi
call fcn.100b35b0
add esp, 0xc
push 0
call fcn.100cf276
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100d445b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d40ac
Function at 0x100dc200
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100dc22d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100dc22d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10005da0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100073b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x10008298
lea edi, [esi + 4]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_1
push 0x1000a7b8
mov ecx, edi
mov byte [esp + 0x1c], 1
mov dword [esi], 0x100082ac
mov byte [esi + 0x10], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x14], 3
mov dword [esi + 0x18], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x38], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x100065e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x10007453
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x10008298
lea edi, [esi + 8]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_1
mov eax, 1
push 0x1000a7b8
mov ecx, edi
mov byte [esp + 0x1c], al
mov dword [esi], 0x100082f8
mov byte [esi + 0x30], bl
mov dword [esi + 0x18], 3
mov dword [esi + 4], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x14], ebx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x2c], ebx
mov dword [esi + 0xc], 2
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4311b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2c000]
push edi
or ebp, 0xffffffff
jmp 0x4311d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4311d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4311c8
mov eax, 1
add ebx, ebx
jne 0x4311eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4311e0
jne 0x4311fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4311e0
xor ecx, ecx
sub eax, 3
jb 0x431210
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x431282
mov ebp, eax
add ebx, ebx
jne 0x43121b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x431228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43124c
inc ecx
add ebx, ebx
jne 0x431238
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43122d
jne 0x431249
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43122d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43126c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43125d
jmp 0x4311ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43126c
add edi, ecx
jmp 0x4311ce
pop esi
mov edi, esi
mov ecx, 0x240
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43128a
cmp byte [edi], 1
jne 0x43128a
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 eax, ebx
loop 0x43128f
lea edi, [esi + 0x2f000]
mov eax, dword [edi]
or eax, eax
je 0x431307
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31684]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x31738]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4312bc
mov ecx, edi
jns 0x4312eb
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 + 0x3173c]
or eax, eax
je 0x431301
mov dword [ebx], eax
add ebx, 4
jmp 0x4312d9
call dword [esi + 0x31740]
popal
jmp 0x403161
Function at 0x56cdf0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbb000]
push edi
or ebp, 0xffffffff
jmp 0x56ce12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x56ce19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56ce08
mov eax, 1
add ebx, ebx
jne 0x56ce2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x56ce3c
jne 0x56ce5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56ce5b
dec eax
add ebx, ebx
jne 0x56ce48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x56ce20
add ebx, ebx
jne 0x56ce57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x56cead
xor ecx, ecx
sub eax, 3
jb 0x56ce73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56cee2
sar eax, 1
mov ebp, eax
jmp 0x56ce7e
add ebx, ebx
jne 0x56ce7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56ce4c
inc ecx
add ebx, ebx
jne 0x56ce8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x56ce4c
add ebx, ebx
jne 0x56ce99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x56ce8e
jne 0x56ceaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x56ce8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x56cecc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x56cebe
jmp 0x56ce0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x56cecc
add edi, ecx
jmp 0x56ce0e
pop esi
mov edi, esi
mov ecx, 0x45e2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x56ceea
cmp byte [edi], 0x12
jne 0x56ceea
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 0x56ceef
lea edi, [esi + 0x169000]
mov eax, dword [edi]
or eax, eax
je 0x56cf67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x16d718]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16d7e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x56cf1c
mov ecx, edi
jns 0x56cf4b
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 + 0x16d7e4]
or eax, eax
je 0x56cf61
mov dword [ebx], eax
add ebx, 4
jmp 0x56cf39
call dword [esi + 0x16d7f4]
mov ebp, dword [esi + 0x16d7e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x56cf9b
sub esp, 0xffffff80
jmp 0x405c2f
Function at 0x100913d6
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address

Disassembly:
push ecx
imul edx, dword [edi + 0x6b51ca3b], 0xffffff97
bswap edx
push ecx
imul edx, dword [edi + 0x6bf70f40], 0xffffff97
add eax, 0x976b51ca
adc edx, dword [ecx + 0x2f]
insb byte es:[edi], dx
xchg edi, eax
sbb dword [ebx + esi*2 + 0x6a], edi
xchg edi, eax
cmp ch, al
add ebp, dword [ebp]
test ebp, eax
ret 0xe2a2
jl 0x10091263
sub byte [ebp - 0x4ecd8338], ah
xor ebp, eax
jl 0x1009125f
sub byte [ebp - 0x5dc58338], ah
loop 0x10091224
mov byte [0x407cc2e2], al
jl 0x100912a4
inc eax
mov cl, 0x31
lds edi, [edi + ecx + 0x63]
push ss
jl 0x10091278
arpl word [esi], dx
sbb bh, byte [ebx + edi + 0x6a]
invalid
or al, 0xc4
jl 0x100912b7
push ecx
das
insb byte es:[edi], dx
xchg edi, eax
cmp ah, byte [esi - 0x71]
jo 0x1009121c
cmp bl, byte [edx - 0xc]
les edi, [ecx + ecx + 0x4f]
xor eax, 0xfab4c22b
insb byte es:[edi], dx
fcomp dword [ebx - 0x483677cd]
dec edi
push 0xffffffffffffff97
hlt
wait
xor ecx, dword [eax + 0x6a4fb7c9]
xchg edi, eax
or ebp, edx
push es
add ecx, 0xd86c2866
mov word [ebx - 0x452f3673], fs
jne 0x1009124e
arpl word [esi], dx
sbb bh, byte [edx + esi + 0x4f]
add al, 0xdd
fcmovnu st(0), st(3)
sahf
mov al, 0xfd
xor esp, dword [esi]
rcl dword [esi + 0x22736f32], 0xe5
dec edi
outsd dx, dword [esi]
jae 0x100912e4
in eax, 0x4f
xor eax, 0x2866c22b
insb byte es:[edi], dx
fcom dword [edi - 0x6c36778f]
xchg esp, eax
movsb byte es:[edi], byte [esi]
loope 0x100912bf
push ebx
test edi, esi
aaa
jno 0x10091267
leave
push ebx
sbb dword [ecx], 0x7c
or dword [edx + edx + 0x3c], ebx
salc
cmp al, 0xd6
or ecx, ebx
sub edx, dword [esi - 0x4b]
or byte [eax - 0x46], 0x99
or dword [edx + 0x24b048ba], esp
mov eax, 0x9d64280
mov byte [ebp - 0x2bf6833d], ah
test al, 0xf7
loopne 0x10091287
aam 0xa8
mul eax
test dword [edi - 0x19], eax
clc
inc edi
out 0xf8, eax
cmpsb byte [esi], byte es:[edi]
sub byte [edx + 0x1535ce1], ah
je 0x100912e2
test al, 0xf7
loopne 0x10091293
mov esp, ds
clc
js 0x1009138e
mov dword [0x27454e1], eax
je 0x10091358
xor dword [ebx], ebp
ret 0x9edb
invalid
jbe 0x100912fd
jbe 0x10091377
pushfd
mov dword [esp], ecx
jmp 0x10b89333
mov eax, 0x7000af7f
lea esp, [esp + 4]
push edi
jmp 0x10b90e81
add cl, ch
cmp edi, esp
lodsb al, byte [esi]
add byte [eax + 0x56], dh
pop eax
sub eax, dword [edi + 4]
add eax, dword [esi + 4]
call fcn.1009ee1a
jnp 0x1009140a
mov dword [esi + 0x38], eax
mov dword [esi + 0x18], ebx
mov eax, dword [edi + 0x28]
add eax, ebx
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x30]
movzx eax, word [eax]
push eax
call dword [sym.imp.ntdll.dll_RtlUpcaseUnicodeChar]
movzx edi, ax
dec edi
and edi, 0x1f
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
push ebx
call fcn.100913d6
call 0x74a4a135
pop ebx
lea ebx, [ebx + 0xafae64]
call ebx
jge 0x1009136e
pop ebx
lea ebx, [ebx + 0xafae64]
call ebx
jge 0x1009136e
and al, 4
push esi
pushfd
push ebp
push edi
jmp 0x10b90e81
in eax, 0xd5
push es
add ecx, 0xd86c2866
vpaddusw xmm1, xmm1, xmm0
inc ebp
ret 0xe1a3
Function at 0x100ba9b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x1018c630]
xor eax, esp
mov dword [esp + 0x10], eax
xor eax, eax
push eax
mov byte [esp + 4], al
mov dword [esp + 5], eax
mov dword [esp + 9], eax
mov dword [esp + 0xd], eax
mov word [esp + 0x11], ax
mov byte [esp + 0x13], al
push 2
lea eax, [esp + 8]
push eax
push ecx
call sub.WS2_32.dll_recv
cmp eax, 2
jne 0x100baa0a
cmp byte [esp], 0xd
jne 0x100baa0a
cmp byte [esp + 1], 0xa
jne 0x100baa0a
mov al, 1
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.1010ccf3
add esp, 0x14
ret
mov ecx, dword [esp + 0x10]
xor ecx, esp
xor al, al
call fcn.1010ccf3
add esp, 0x14
ret
Function at 0x100bee60
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x14]
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [edi + 4]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x10], ebx
mov ebx, dword [edi]
mov dword [esp + 0xc], ebx
mov ebx, dword [edi + 8]
mov edi, dword [edi + 0xc]
xor edx, edx
lea esi, [edx + 0x20]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov edi, ecx
shl edi, 4
add edi, dword [esp + 0xc]
mov ebx, ecx
shr ebx, 5
add ebx, dword [esp + 0x10]
sub edx, 0x61c88647
xor edi, ebx
lea ebx, [edx + ecx]
xor edi, ebx
add eax, edi
mov edi, eax
shr edi, 5
add edi, dword [esp + 0x14]
mov ebx, eax
shl ebx, 4
add ebx, dword [esp + 0x18]
dec esi
xor edi, ebx
lea ebx, [edx + eax]
xor edi, ebx
add ecx, edi
test esi, esi
ja 0x100bee91
mov edx, dword [esp + 0x20]
pop edi
pop esi
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
add esp, 0x10
ret 4

Function at 0x100beef0
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [edi + 8]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], ebx
mov ebx, dword [edi + 0xc]
mov dword [esp + 0xc], ebx
mov ebx, dword [edi + 4]
mov edi, dword [edi]
mov esi, 0x20
mov edx, 0xc6ef3720
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edi
mov edi, ecx
shr edi, 5
add edi, dword [esp + 0xc]
mov ebx, ecx
shl ebx, 4
add ebx, dword [esp + 0x10]
dec esi
xor edi, ebx
lea ebx, [edx + ecx]
xor edi, ebx
sub eax, edi
mov edi, eax
shl edi, 4
add edi, dword [esp + 0x14]
mov ebx, eax
shr ebx, 5
add ebx, dword [esp + 0x18]
xor edi, ebx
lea ebx, [edx + eax]
xor edi, ebx
sub ecx, edi
add edx, 0x61c88647
test esi, esi
ja 0x100bef26
mov edx, dword [esp + 0x20]
pop edi
pop esi
mov dword [edx], ecx
mov dword [edx + 4], eax
pop ebx
add esp, 0x10
ret 4