joyce8/EMBER2024-capa huggingface dataset:
Function at 0x39234c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x39234e9
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x392dea8]
test eax, eax
jne 0x392350d
mov ecx, 0xbb398380
call fcn.03923f20
mov edx, 0x97f883e
mov ecx, eax
call fcn.03923e80
mov dword [0x392dea8], eax
call eax
mov edi, eax
mov eax, dword [0x392dcec]
test eax, eax
jne 0x3923535
mov ecx, 0xbb398380
call fcn.03923f20
mov edx, 0xe9233692
mov ecx, eax
call fcn.03923e80
mov dword [0x392dcec], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x39235b5
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x39235aa
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0x3923570
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x39235c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0x39235ea
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x392dea8]
test eax, eax
jne 0x392360e
mov ecx, 0xbb398380
call fcn.03923f20
mov edx, 0x97f883e
mov ecx, eax
call fcn.03923e80
mov dword [0x392dea8], eax
call eax
mov edi, eax
mov eax, dword [0x392dcec]
test eax, eax
jne 0x3923636
mov ecx, 0xbb398380
call fcn.03923f20
mov edx, 0xe9233692
mov ecx, eax
call fcn.03923e80
mov dword [0x392dcec], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x39236a2
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0x392369a
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0x3923670
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x3923ba0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp + 4], 0x9c4e
add dword [esp + 4], 0x4464
shr dword [esp + 4], 1
add dword [esp + 4], 0xffff87db
add dword [esp + 4], 0xffff18d7
add dword [esp + 4], 0xffff529c
add dword [esp + 4], 0xffff507b
or dword [esp + 4], 0x3b9f69dc
xor dword [esp + 4], 0xfffffdfe
mov dword [esp], 0x31f8
imul eax, dword [esp], 0x75
push ebx
mov ebx, ecx
mov dword [esp + 4], eax
xor dword [esp + 4], 0x67893507
xor dword [esp + 4], 0x679fe359
mov dword [esp + 4], 0x4955
xor dword [esp + 4], 0xa8908194
shr dword [esp + 4], 8
add dword [esp + 4], 0xffffdf1d
add dword [esp + 4], 0xfffff42f
or dword [esp + 4], 0x2e6e862
add dword [esp + 4], 0xa6c2
xor dword [esp + 4], 0xe36c9a70
xor dword [esp + 4], 0xe1830958
cmp byte [ebx], 0
je 0x3923d02
push esi
push edi
lea esp, [esp]
mov edi, dword [esp + 0x10]
lea ebx, [ebx + 1]
mov dword [esp + 0xc], 0x31f8
imul eax, dword [esp + 0xc], 0x75
mov dword [esp + 0xc], eax
xor dword [esp + 0xc], 0x67893507
xor dword [esp + 0xc], 0x679fe359
movzx ecx, byte [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], 0x4955
xor dword [esp + 0xc], 0xa8908194
shr dword [esp + 0xc], 8
add dword [esp + 0xc], 0xffffdf1d
add dword [esp + 0xc], 0xfffff42f
or dword [esp + 0xc], 0x2e6e862
add dword [esp + 0xc], 0xa6c2
xor dword [esp + 0xc], 0xe36c9a70
xor dword [esp + 0xc], 0xe1830958
shl esi, cl
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x10]
movsx eax, byte [ebx - 1]
mov dword [esp + 0x10], eax
add dword [esp + 0x10], esi
shl edx, cl
add dword [esp + 0x10], edx
sub dword [esp + 0x10], edi
cmp byte [ebx], 0
jne 0x3923c60
pop edi
pop esi
mov eax, dword [esp + 8]
pop ebx
add esp, 8
ret
Function at 0x3923e80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x3923edc
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.03923ba0
xor eax, 0x4d4a679b
cmp eax, dword [esp + 0x10]
je 0x3923ee6
inc esi
cmp esi, dword [edi + 0x18]
jb 0x3923ec0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x3923f14
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x3923f14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x39240e0
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x3924106
cmp al, 0x2e
je 0x3924103
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x39240f3
jmp 0x3924106
mov byte [edx], 0
mov eax, dword [0x392e15c]
test eax, eax
jne 0x392412a
mov ecx, 0xbb398380
call fcn.03923f20
mov edx, 0xba72d8ac
mov ecx, eax
call fcn.03923e80
mov dword [0x392e15c], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x3924171
mov eax, dword [0x392dbfc]
test eax, eax
jne 0x392415b
mov ecx, 0xbb398380
call fcn.03923f20
mov edx, 0x9261dc77
mov ecx, eax
call fcn.03923e80
mov dword [0x392dbfc], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x3924171
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.03923ba0
xor eax, 0x4d4a679b
mov ecx, edi
mov edx, eax
call fcn.03923e80
pop edi
pop esi
add esp, 0x104
ret
Function at 0x3923f20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x30]
mov dword [esp + 0xc], ecx
push ebx
push ebp
mov ecx, dword [eax + 0xc]
add ecx, 0xc
push esi
push edi
mov dword [esp + 0x18], ecx
mov ebp, dword [ecx]
cmp ebp, ecx
je 0x39240cb
mov edx, dword [ebp + 0x30]
mov dword [esp + 0x14], 0x9c4e
add dword [esp + 0x14], 0x4464
shr dword [esp + 0x14], 1
add dword [esp + 0x14], 0xffff87db
add dword [esp + 0x14], 0xffff18d7
add dword [esp + 0x14], 0xffff529c
add dword [esp + 0x14], 0xffff507b
or dword [esp + 0x14], 0x3b9f69dc
xor dword [esp + 0x14], 0xfffffdfe
mov dword [esp + 0x10], 0x31f8
imul eax, dword [esp + 0x10], 0x75
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x67893507
xor dword [esp + 0x10], 0x679fe359
mov dword [esp + 0x10], 0x4955
xor dword [esp + 0x10], 0xa8908194
shr dword [esp + 0x10], 8
add dword [esp + 0x10], 0xffffdf1d
add dword [esp + 0x10], 0xfffff42f
or dword [esp + 0x10], 0x2e6e862
add dword [esp + 0x10], 0xa6c2
xor dword [esp + 0x10], 0xe36c9a70
xor dword [esp + 0x10], 0xe1830958
cmp word [edx], 0
je 0x39240b1
lea esp, [esp]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], 0x31f8
imul eax, dword [esp + 0x10], 0x75
mov dword [esp + 0x10], eax
xor dword [esp + 0x10], 0x67893507
xor dword [esp + 0x10], 0x679fe359
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], 0x4955
xor dword [esp + 0x10], 0xa8908194
shr dword [esp + 0x10], 8
add dword [esp + 0x10], 0xffffdf1d
add dword [esp + 0x10], 0xfffff42f
or dword [esp + 0x10], 0x2e6e862
add dword [esp + 0x10], 0xa6c2
xor dword [esp + 0x10], 0xe36c9a70
xor dword [esp + 0x10], 0xe1830958
shl esi, cl
movzx ecx, byte [esp + 0x10]
mov edi, dword [esp + 0x14]
movzx eax, word [edx]
shl edi, cl
cmp eax, 0x41
jb 0x3924090
cmp eax, 0x5a
ja 0x3924090
add eax, 0x20
mov dword [esp + 0x14], eax
add edx, 2
add dword [esp + 0x14], esi
add dword [esp + 0x14], edi
sub dword [esp + 0x14], ebx
cmp word [edx], 0
jne 0x3924000
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
xor eax, 0x344765f2
cmp eax, dword [esp + 0x1c]
je 0x39240d5
mov ebp, dword [ebp]
cmp ebp, ecx
jne 0x3923f45
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x39243a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0x392453e
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x392453e
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x392453e
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x392453e
mov eax, dword [0x392dd28]
test eax, eax
jne 0x392440b
mov ecx, 0xbb398380
call fcn.03923f20
mov edx, 0x749bc1d1
mov ecx, eax
call fcn.03923e80
mov dword [0x392dd28], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x3924535
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [0x392daac]
test eax, eax
jne 0x392446b
mov ecx, 0xe66945e6
call fcn.03923f20
mov edx, 0x70f7b8ec
mov ecx, eax
call fcn.03923e80
mov dword [0x392daac], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x39244ee
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x392daac]
test eax, eax
jne 0x39244d6
mov ecx, 0xe66945e6
call fcn.03923f20
mov edx, 0x70f7b8ec
mov ecx, eax
call fcn.03923e80
mov dword [0x392daac], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x3924495
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.03924670
mov edx, edi
mov ecx, ebx
call fcn.03924580
pop esi
test eax, eax
jne 0x3924535
mov eax, dword [0x392e29c]
test eax, eax
jne 0x3924529
mov ecx, 0xbb398380
call fcn.03923f20
mov edx, 0xb7b8b8cc
mov ecx, eax
call fcn.03923e80
mov dword [0x392e29c], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
Function at 0x10005a50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069b66
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1008b008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1002eb38
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.1002fcd2
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001c250
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x1008b008]
xor eax, esp
mov dword [esp + 0x194], eax
push 0x190
lea eax, [esp + 4]
push 0
push eax
call fcn.100344b0
add esp, 0xc
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.1002eb22
mov esp, ebp
pop ebp
ret
Function at 0x1001f7f0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069b08
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1008b008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov al, byte [esi + 0x161]
test al, al
je 0x1001f8c5
cmp byte [ebp + 0x18], 0
jne 0x1001f8c5
push edi
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
call fcn.100042b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push dword [esi + 0x184]
cmp dword [ebp - 0x18], 0x10
push dword [esi + 0x180]
cmovae ecx, dword [ebp - 0x2c]
push edi
push ecx
mov ecx, dword [esi + 0x16c]
call fcn.10023a90
mov eax, edi
cdq
add dword [esi + 0x180], eax
lea eax, [ebp - 0x2c]
push 0
adc dword [esi + 0x184], edx
cmp dword [ebp - 0x18], 0x10
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [ebp - 0x18]
mov esi, eax
cmp ecx, 0x10
jb 0x1001f8c1
inc ecx
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x2c]
call fcn.10004990
mov eax, esi
jmp 0x1001f8d2
push 0
push edi
push ecx
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002eb22
mov esp, ebp
pop ebp
ret 0x14

Function at 0x1001f8f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
push edi
push 0
push 0x1000
push dword [ebp + 0xc]
mov edi, ecx
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
test esi, esi
jle 0x1001f94d
mov cl, byte [edi + 0x161]
test cl, cl
je 0x1001f94d
push dword [edi + 0x17c]
mov ecx, dword [edi + 0x164]
push dword [edi + 0x178]
push 0x1000
push dword [ebp + 0xc]
call fcn.10023a90
mov eax, esi
cdq
add dword [edi + 0x178], eax
mov eax, esi
adc dword [edi + 0x17c], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x10023a45
mov ebx, dword [ebx]
or eax, 0xffffffff
xor edi, edi
test ecx, ecx
jle 0x10023a6b
mov esi, ecx
movzx edx, byte [ebx + edi]
inc edi
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1007e3b0]
cmp edi, esi
jl 0x10023a50
mov esi, dword [ebp - 4]
not eax
mov dword [esi + 8], 0
mov dword [esi + 4], eax
mov dword [esi], eax
mov eax, esi
pop edi
mov dword [esi + 0xc], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10023a90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov eax, edi
and eax, 3
mov dword [esp + 0x10], ecx
or eax, 0
mov dword [esp + 0xc], edx
je 0x10023b0e
nop word [eax + eax]
test ebx, ebx
je 0x10023b0a
mov eax, edx
mov ecx, edi
shrd ecx, eax, 2
shr eax, 2
shld eax, ecx, 2
shl ecx, 2
push eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.10023ba0
mov edx, dword [esp + 0xc]
dec ebx
mov dword [esp + 0x14], eax
mov eax, edi
and eax, 3
mov al, byte [esp + eax + 0x14]
xor byte [esi], al
inc esi
add edi, 1
mov eax, edi
adc edx, 0
and eax, 3
or eax, 0
mov dword [esp + 0xc], edx
jne 0x10023ac0
mov ecx, dword [esp + 0x10]
cmp ebx, 4
jb 0x10023b48
mov eax, ebx
shr eax, 2
mov dword [esp + 0x14], eax
nop dword [eax]
push edx
push edi
call fcn.10023ba0
xor dword [esi], eax
sub ebx, 4
mov edx, dword [esp + 0xc]
add esi, 4
mov ecx, dword [esp + 0x10]
add edi, 4
adc edx, 0
sub dword [esp + 0x14], 1
mov dword [esp + 0xc], edx
jne 0x10023b20
test ebx, ebx
je 0x10023b93
nop dword [eax]
mov eax, edx
mov ecx, edi
shrd ecx, eax, 2
shr eax, 2
shld eax, ecx, 2
shl ecx, 2
push eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.10023ba0
mov edx, dword [esp + 0xc]
lea esi, [esi + 1]
mov dword [esp + 0x14], eax
mov eax, edi
and eax, 3
mov al, byte [esp + eax + 0x14]
xor byte [esi - 1], al
add edi, 1
adc edx, 0
mov dword [esp + 0xc], edx
sub ebx, 1
jne 0x10023b50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10024160
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c7f5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1008b008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, edx
mov edi, ecx
mov dword [ebp - 4], 0
push 0x28
mov byte [ebp - 4], 1
call fcn.1002eb38
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x100241c3
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
push ebx
push edi
push esi
push 0x10024230
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp + 0x2c]
test ecx, ecx
je 0x100241f6
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10027a40
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x1008b008]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push ecx
push 0
push ecx
call fcn.1002d19a
push str.onlineTime
push 0x1007ef88
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
lea ecx, [esp + 0xc]
call fcn.1002b281
mov esi, eax
cmp dword [esi + 0x14], 0x10
jb 0x10027a86
mov esi, dword [esi]
test esi, esi
je 0x10027a93
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
jmp 0x10027a95
xor eax, eax
inc eax
push eax
push esi
push 1
push str.offlineTime
push 0x1007ef88
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov eax, dword [esp + 0x20]
cmp eax, 0x10
jb 0x10027ac7
inc eax
lea ecx, [esp + 0xc]
push eax
push dword [esp + 0x10]
call fcn.10004990
cmp dword [0x1008f598], 0
jne 0x10027afd
sub esp, 0x28
xor edx, edx
mov eax, esp
xor ecx, ecx
mov dword [eax], vtable.std::_Func_impl_class_std::_Binder_struct_std::_Unforced__unsigned_char____cdecl_OnlineManager::__unsigned_long_int__void___class_OnlineManager__const___class_std::allocator_int___unsigned_long_int___.0
mov dword [eax + 4], 0x100261b0
mov dword [eax + 8], 0x1008f580
mov dword [eax + 0x24], eax
call fcn.10024160
add esp, 0x28
mov dword [0x1008f598], eax
mov ecx, dword [esp + 0x24]
pop esi
xor ecx, esp
call fcn.1002eb22
mov esp, ebp
pop ebp
ret

Function at 0x10028600
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.100672d0
mov eax, dword [0x1008b008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str._OfflineThread
push 0x238
push str.ppsupport.cpp
push str._s._d:_s
lea eax, [ebp - 0x1004]
push 0x800
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x18
mov dword [ebp - 0x1008], 0
lea eax, [ebp - 0x1008]
push eax
push 0
push 0
push 0x100284d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10028685
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1008]
push str.thread__d_created:__s
call fcn.1002c5f5
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1002eb22
mov esp, ebp
pop ebp
ret
Function at 0x1002b36f
Capabilities:
Enumerate process modules

Disassembly:
push 0x430
mov eax, 0x1006d232
call fcn.10066e10
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x434]
push 0x424
push 0
push eax
call fcn.100344b0
add esp, 0xc
mov dword [ebp - 0x438], 0x428
push esi
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x43c], esi
and dword [ebp - 4], 0
test esi, esi
je 0x1002b3f4
cmp esi, 0xffffffff
je 0x1002b404
lea eax, [ebp - 0x438]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32FirstW]
jmp 0x1002b3f0
push edi
lea eax, [ebp - 0x438]
push eax
call fcn.1002b40c
test eax, eax
je 0x1002b3f4
lea eax, [ebp - 0x438]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x1002b3d1
cmp esi, 0xffffffff
je 0x1002b404
test esi, esi
je 0x1002b404
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.10066dcb
ret 4

Function at 0x1002b6fd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x818
mov eax, 0x1006d2ed
call fcn.10066e10
mov edi, ecx
mov dword [ebp - 0x818], edi
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
and dword [ebp - 0x820], 0
mov dword [ebp - 0x824], edi
mov dword [ebp - 0x81c], eax
call fcn.1002bc09
and dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x820], 1
test ebx, ebx
je 0x1002b81b
push 0x800
lea eax, [ebp - 0x810]
push esi
push eax
call fcn.100344b0
add esp, 0xc
lea eax, [ebp - 0x814]
xor ecx, ecx
mov dword [ebp - 0x814], ecx
mov dword [ebp - 0x818], ecx
push eax
push ecx
lea eax, [ebp - 0x818]
push eax
push dword [ebp - 0x81c]
push ebx
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x818], 1
je 0x1002b7a0
cmp dword [ebp - 0x818], 2
jne 0x1002b81b
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x1002b81b
cmp eax, 0x800
jbe 0x1002b7db
add eax, 2
push eax
call fcn.1003eb38
mov esi, eax
mov eax, dword [ebp - 0x814]
add eax, 2
push eax
push 0
push esi
call fcn.100344b0
add esp, 0x10
lea eax, [ebp - 0x814]
push eax
push esi
jmp 0x1002b7e9
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push dword [ebp - 0x81c]
push ebx
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test esi, esi
lea eax, [ebp - 0x810]
mov ecx, edi
cmovne eax, esi
push eax
call fcn.1001c8c0
test esi, esi
je 0x1002b81b
push esi
call fcn.10038d7d
pop ecx
mov eax, edi
call fcn.10066dcb
ret