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

Disassembly:
sub esp, 0x40
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x50]
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
cmp esi, 0x40
rep stosd dword es:[edi], eax
jbe 0x100c15ee
mov ecx, ebx
call fcn.100dfc70
mov edx, dword [esp + 0x50]
push esi
mov ecx, ebx
call fcn.100df950
lea edx, [esp + 0xc]
mov ecx, ebx
call fcn.100e0290
jmp 0x100c1606
mov ecx, esi
mov esi, dword [esp + 0x50]
mov eax, ecx
lea edi, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0xc]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x36363636
dec ecx
mov dword [eax - 4], edi
jne 0x100c160f
mov ecx, ebx
call fcn.100dfc70
push 0x40
lea edx, [esp + 0x10]
mov ecx, ebx
call fcn.100df950
lea eax, [esp + 0xc]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edi
jne 0x100c163d
lea esi, [ebx + 0x80]
mov ecx, esi
call fcn.100dfc70
push 0x40
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.100df950
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x100c1c70
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
sub esp, 0xac
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.100dfc70
mov ebp, 0x3e8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.100df950
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.100df950
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x100c1d0b
push str.SystemFunction036
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100c1d04
lea ecx, [esp + 0x9c]
push 0x20
push ecx
call eax
test al, al
je 0x100c1d04
push 0x20
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x20]
mov ebp, 0x64
call fcn.100df950
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x100c1d2f
push 8
lea edx, [esp + 0x18]
lea ecx, [esp + 0x20]
call fcn.100df950
call ebx
push 4
lea edx, [esp + 0x14]
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], eax
call fcn.100df950
mov edi, 0x64
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.100e0290
lea ecx, [esp + 0x1c]
call fcn.100dfc70
push 0x20
mov edx, esi
lea ecx, [esp + 0x20]
call fcn.100df950
dec edi
jne 0x100c1d49
dec ebp
jne 0x100c1d11
mov edx, esi
lea ecx, [esp + 0x1c]
call fcn.100e0290
mov byte [esi + 0x20], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret
Function at 0x100c1ef0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov ebp, ecx
mov ecx, dword [esp + 0x10]
push edi
xor edi, edi
xor eax, eax
lea edx, [ebp + 0x100]
lea esi, [edi + ecx]
xor ebx, ebx
add edx, 4
mov bl, byte [esi + eax]
mov ebx, dword [ebx*4 + 0x101129e0]
xor dword [edx - 4], ebx
inc eax
cmp eax, 4
jb 0x100c1f07
add edi, 4
cmp edi, 0x10
jb 0x100c1efc
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100c2730
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x124
push esi
add ecx, 0x7c
push 0x20
push ecx
lea ecx, [esp + 0x30]
call fcn.100c15b0
mov eax, dword [esp + 0x12c]
push 4
lea edx, [esp + 8]
lea ecx, [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.100df950
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x2c]
call fcn.100c1680
xor eax, eax
lea ecx, [esp + 8]
mov edx, 8
mov esi, dword [ecx]
add ecx, 4
xor eax, esi
dec edx
jne 0x100c2779
pop esi
add esp, 0x124
ret 4
Function at 0x100c3700
Capabilities:
Encode data using xor

Disassembly:
mov eax, edx
sub esp, 0xc0
and eax, 0xff
mov dl, al
push ebx
mov dh, dl
push esi
mov eax, edx
mov esi, ecx
shl eax, 0x10
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
mov ax, dx
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
xor ecx, ecx
sub esi, eax
mov bl, byte [esp + ecx + 0xc]
lea eax, [esp + ecx + 0xc]
mov dl, byte [esi + eax]
xor bl, dl
inc ecx
cmp ecx, 0x14
mov byte [eax], bl
jb 0x100c3731
lea ecx, [esp + 0x4c]
call fcn.100df250
lea edx, [esp + 0xc]
lea ecx, [esp + 0x4c]
push 0x40
call fcn.100df950
lea ecx, [esp + 0x4c]
mov edx, dword [esp + 0xd0]
call fcn.100df9e0
pop edi
pop esi
pop ebx
add esp, 0xc0
ret 4
Function at 0x100c4bf0
Capabilities:
Encode data using xor
Hash data using sha256

Disassembly:
push ecx
mov eax, ecx
push esi
xor esi, esi
mov dword [esp + 4], eax
mov dword [eax + 0x400], esi
xor edx, edx
add eax, 0x10
mov ecx, 0x1f83d9ab
lea ebx, [ebx]
mov dword [eax - 0x10], 0x6a09e667
mov dword [eax - 0xc], 0xbb67ae85
mov dword [eax - 8], 0x3c6ef372
mov dword [eax - 4], 0xa54ff53a
mov dword [eax], 0x510e527f
mov dword [eax + 4], 0x9b05688c
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0x5be0cd19
xor dword [eax - 8], edx
xor dword [eax - 0x10], 0x2080020
xor dword [eax - 4], 0x20000000
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x60], esi
mov dword [eax + 0x64], esi
inc edx
sub eax, 0xffffff80
cmp edx, 8
jb 0x100c4c10
mov eax, dword [esp + 4]
mov dword [eax + 0x3f4], 0xffffffff
pop esi
pop ecx
ret

Function at 0x100c51b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [eax]
push edi
mov ebp, ecx
xor edi, edi
and esi, 7
mov dword [esp + 0xc], ebp
cmp edx, 5
jae 0x100c51d7
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 8
ret 0xc
add dword [esp + 0x18], 5
push ebx
lea ebx, [edx - 4]
add ebx, ebp
mov dword [esp + 0x14], ebx
lea edx, [edi + ebp]
cmp edx, ebx
jae 0x100c51ff
lea ecx, [ecx]
mov cl, byte [edx]
and cl, 0xfe
cmp cl, 0xe8
je 0x100c51ff
inc edx
cmp edx, ebx
jb 0x100c51f0
mov ecx, edx
sub ecx, edi
mov edi, edx
sub ecx, ebp
sub edi, ebp
cmp edx, ebx
jae 0x100c52eb
cmp ecx, 2
jbe 0x100c5257
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x100c52dc
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
mov ecx, dword [esp + 0x1c]
lea ebp, [edi + ecx]
add edi, 5
cmp dword [esp + 0x24], 0
je 0x100c5280
add eax, ebp
jmp 0x100c5282
shr esi, cl
test esi, esi
je 0x100c5218
cmp esi, 4
ja 0x100c5275
cmp esi, 3
je 0x100c5275
mov ecx, esi
shr ecx, 1
movzx eax, byte [ecx + edx + 1]
inc eax
test al, 0xfe
jne 0x100c5218
or esi, 8
shr esi, 1
inc edi
jmp 0x100c51e6
sub eax, ebp
test esi, esi
je 0x100c52b6
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x100c52b0
mov ebx, 0x100
shl ebx, cl
dec ebx
xor eax, ebx
cmp dword [esp + 0x24], 0
je 0x100c52ae
add eax, ebp
jmp 0x100c52b0
sub eax, ebp
mov ebx, dword [esp + 0x14]
xor esi, esi
mov ebp, dword [esp + 0x10]
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 0x100c51e6
mov ebp, dword [esp + 0x10]
or esi, 8
shr esi, 1
inc edi
jmp 0x100c51e6
pop ebx
cmp ecx, 2
jbe 0x100c5304
mov edx, dword [esp + 0x1c]
xor esi, esi
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret 0xc
mov edx, dword [esp + 0x1c]
shr esi, cl
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret 0xc
Function at 0x100c66b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
or eax, 0xffffffff
push esi
mov dword [ecx + 0x34], edx
mov byte [ecx + 0x1f], dl
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x468], eax
mov dword [ecx + 0x46c], eax
mov dword [ecx + 0x30], 0x20
mov dword [ecx + 0x48], 4
mov word [ecx + 0x1d], 1
lea esi, [ecx + 0x60]
mov eax, edx
and eax, 1
neg eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x100c66e2
pop esi
ret

Function at 0x100c8ba0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, edx
mov esi, ecx
jmp 0x100c8bb0
cmp dword [esi + 0x10], 3
jae 0x100c8bc0
mov eax, esi
call fcn.100c6e60
dec edi
jmp 0x100c8c32
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
sub eax, edx
mov ecx, edi
mov dword [esp + 0x10], ecx
cmp edi, eax
jbe 0x100c8bd8
mov ecx, eax
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x14]
mov ebx, dword [esi + 0x24]
sub edi, ecx
mov dword [esp + 0x14], edi
mov edi, dword [esi + 0x28]
lea edi, [edi + eax*4]
add eax, ecx
mov ecx, dword [esi]
mov dword [esi + 0x14], eax
movzx ebp, byte [ecx]
movzx eax, byte [ecx + 2]
shl ebp, 8
or eax, ebp
movzx ebp, byte [ecx + 1]
xor eax, dword [esi + ebp*4 + 0x60]
inc ecx
and eax, 0xffff
mov ebp, dword [ebx + eax*4]
mov dword [ebx + eax*4], edx
mov dword [edi], ebp
inc edx
add edi, 4
dec dword [esp + 0x10]
jne 0x100c8bf1
mov dword [esi], ecx
mov dword [esi + 4], edx
cmp edx, dword [esi + 8]
jne 0x100c8c2e
mov eax, esi
call fcn.100c6c90
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x100c8bb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x100cf2a0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
or edx, 0x100
push ebx
lea esp, [esp]
mov ecx, edx
and ecx, 1
shr edx, 1
movzx ebx, word [edi + edx*2]
neg ecx
shr ecx, 4
shr ebx, 4
and ecx, 0x7f
xor ebx, ecx
add eax, dword [esi + ebx*4]
cmp edx, 2
jae 0x100cf2b0
pop ebx
ret

Function at 0x100cf2e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
shr ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x100cf2f0
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100cf5f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor edx, edx
push esi
mov esi, edx
shr esi, 1
mov ebp, esi
and ebp, 1
mov eax, edx
shr eax, 2
movzx ecx, word [ebx + eax*2 + 4]
neg ebp
shr ebp, 4
neg eax
shr ecx, 4
and ebp, 0x7f
xor ecx, ebp
movzx ebp, word [ebx + 2]
mov ecx, dword [edi + ecx*4]
and eax, 0x7f0
xor eax, ebp
shr eax, 4
add ecx, dword [edi + eax*4]
movzx eax, word [ebx + esi*2 + 8]
add ecx, dword [esp + 0xc]
mov esi, eax
shr esi, 4
mov ebp, dword [edi + esi*4]
mov esi, dword [esp + 0x10]
xor eax, 0x7f0
add ebp, ecx
shr eax, 4
mov dword [esi + edx*4], ebp
mov eax, dword [edi + eax*4]
add eax, ecx
mov dword [esi + edx*4 + 4], eax
add edx, 2
cmp edx, 8
jb 0x100cf5f4
pop esi
pop ebp
ret 8
Function at 0x100cf670
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov edi, eax
movzx eax, word [ebp]
mov ecx, eax
xor ecx, 0x7f0
shr ecx, 4
mov edx, dword [edi + ecx*4]
movzx ecx, word [ebp + 0x10]
shr eax, 4
mov eax, dword [edi + eax*4]
mov dword [esp + 0x18], eax
shr ecx, 4
mov eax, dword [edi + ecx*4]
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], edx
test eax, eax
je 0x100cf6f5
mov esi, dword [esp + 0x24]
add esi, 4
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x18]
push esi
push edx
mov ebx, ebp
call fcn.100cf5f0
mov ecx, dword [esp + 0x1c]
lea eax, [esi + 0x20]
push eax
push ecx
lea ebx, [ebp + 0x10]
call fcn.100cf5f0
add esi, 0x440
add ebp, 0x20
dec dword [esp + 0x14]
jne 0x100cf6c0
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov esi, dword [eax]
cmp esi, 0x10
jbe 0x100cf7c7
movzx ecx, word [ebp + 0x10]
xor ecx, 0x7f0
add esi, 0xfffffff1
shr esi, 1
shr ecx, 4
add edx, dword [edi + ecx*4]
lea eax, [ebp + esi*2 + 0x300]
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], eax
jmp 0x100cf734
mov edx, dword [esp + 0x10]
dec esi
sub dword [esp + 0x2c], 2
lea ecx, [esi + 0x80]
mov eax, ecx
and eax, 1
shr ecx, 1
movzx ebx, word [ebp + ecx*2 + 0x200]
neg eax
shr eax, 4
shr ebx, 4
and eax, 0x7f
xor ebx, eax
add edx, dword [edi + ebx*4]
cmp ecx, 2
jae 0x100cf740
mov ecx, dword [esp + 0x2c]
movzx eax, word [ecx]
mov ebx, dword [esp + 0x24]
mov ecx, eax
shr ecx, 4
mov ecx, dword [edi + ecx*4]
xor eax, 0x7f0
add ebx, 0x44
add ecx, edx
shr eax, 4
mov dword [ebx + esi*8], ecx
mov eax, dword [edi + eax*4]
add eax, edx
mov dword [ebx + esi*8 + 4], eax
test esi, esi
jne 0x100cf730
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ebp, dword [ecx]
lea ebp, [ebp*4 - 0x40]
cmp eax, 1
jbe 0x100cf7c7
lea esi, [ecx + 0x484]
lea edi, [eax - 1]
push ebp
push ebx
push esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add esi, 0x440
dec edi
jne 0x100cf7b3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x100d22a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
xor ebx, ebx
mov dword [edx + 0x2c], ebx
push esi
push edi
mov edi, 1
mov dword [edx + 0x44], edi
mov dword [edx + 0x40], edi
mov dword [edx + 0x3c], edi
mov dword [edx + 0x38], edi
mov eax, dword [edx + 0x78]
mov dword [edx + 0x70], eax
mov eax, 0x400
movzx ecx, ax
mov dword [edx + 0x58], 0xffffffff
mov dword [edx + 0x5c], ebx
mov dword [edx + 0x60], ebx
mov dword [edx + 0x64], ebx
mov dword [edx + 0x68], ebx
mov dword [edx + 0x6c], ebx
mov dword [edx + 0x80], ebx
mov dword [edx + 0x84], ebx
mov dword [edx + 0x88], ebx
mov eax, ecx
shl ecx, 0x10
or eax, ecx
mov dword [edx + 0x1e30], eax
mov dword [edx + 0x1e34], eax
mov dword [edx + 0x1e38], eax
mov dword [edx + 0x1e3c], eax
mov dword [edx + 0x1e40], eax
mov dword [edx + 0x1e44], eax
mov dword [edx + 0x1e48], eax
mov dword [edx + 0x1e4c], eax
lea ecx, [edx + 0x1e68]
lea eax, [edx + 0x2030]
mov dword [esp + 0xc], 0xc
push ebp
lea esp, [esp]
mov esi, 0x10
jmp 0x100d2350
mov ebp, 0x400
mov word [eax - 0x180], bp
mov word [eax], bp
add eax, 2
sub esi, edi
jne 0x100d2350
mov esi, ebp
mov word [ecx - 0x18], si
mov word [ecx], si
mov word [ecx + 0x18], si
mov word [ecx + 0x30], si
add ecx, 2
sub dword [esp + 0x10], edi
jne 0x100d2340
mov eax, esi
movzx esi, ax
mov eax, esi
shl esi, 0x10
or eax, esi
lea edi, [edx + 0x21b0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov eax, ebp
movzx esi, ax
mov eax, esi
shl esi, 0x10
or eax, esi
lea edi, [edx + 0x23b0]
mov ecx, 0x40
rep stosd dword es:[edi], eax
mov ecx, dword [edx + 0x98]
add ecx, dword [edx + 0x94]
mov edi, dword [edx + 0x50]
mov eax, 0x300
shl eax, cl
cmp eax, ebx
jbe 0x100d23e3
mov ecx, eax
mov eax, ebp
movzx esi, ax
mov eax, esi
shl esi, 0x10
or eax, esi
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, ebp
movzx ebp, ax
mov eax, ebp
shl ebp, 0x10
or eax, ebp
mov ecx, 0x80
lea edi, [edx + 0x24b0]
rep stosd dword es:[edi], eax
mov eax, 0x400
movzx esi, ax
mov eax, esi
shl esi, 0x10
or eax, esi
lea edi, [edx + 0x26b0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov eax, 0x400
movzx ebp, ax
mov eax, ebp
shl ebp, 0x10
or eax, ebp
mov ecx, 0x80
lea edi, [edx + 0x28b0]
rep stosd dword es:[edi], eax
mov eax, 0x400
movzx esi, ax
mov eax, esi
shl esi, 0x10
or eax, esi
lea edi, [edx + 0x2ab0]
mov ecx, 0x80
rep stosd dword es:[edi], eax
mov dword [edx + 0x1c], ebx
mov dword [edx + 0x18], ebx
lea eax, [edx + 0xbcb8]
mov ecx, 0x800
pop ebp
mov dword [eax], 0x40000000
add eax, 0x20
dec ecx
jne 0x100d2462
mov ecx, dword [edx + 0x9c]
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x98]
mov esi, 0x100
pop edi
dec eax
mov dword [edx + 0x4c], eax
mov eax, 0x100
shl eax, cl
mov ecx, dword [edx + 0x94]
shr esi, cl
mov dword [edx + 0x34], ebx
sub eax, esi
pop esi
mov dword [edx + 0x48], eax
pop ebx
pop ecx
ret
Function at 0x100d3600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x100d366b
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x100d36ac
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x100d3691
mov ecx, ebx
call fcn.100d32f0
add ebx, 0x28
dec ebp
jne 0x100d3685
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x100d36a7
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.100d31c0
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.100d3750
mov ebx, eax
cmp ebx, edi
jne 0x100d370f
lea ecx, [ebp + 0x20]
call fcn.100d87e0
mov ebx, eax
cmp ebx, edi
jne 0x100d370f
lea ecx, [ebp + 0x1c]
call fcn.100d87e0
mov ebx, eax
cmp ebx, edi
jne 0x100d370f
push ebp
call fcn.100d37a0
mov ebx, eax
cmp ebx, edi
je 0x100d3724
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.100d3780
cmp ebx, edi
jle 0x100d371f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x100d3724
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x100d3736
cmp dword [esi + 0x40], edi
jne 0x100d3736
cmp dword [esi + 0x3c], edi
jne 0x100d3736
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret
Function at 0x100d3602
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x100d366b
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x100d36ac
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x100d3691
mov ecx, ebx
call fcn.100d32f0
add ebx, 0x28
dec ebp
jne 0x100d3685
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x100d36a7
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.100d31c0
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.100d3750
mov ebx, eax
cmp ebx, edi
jne 0x100d370f
lea ecx, [ebp + 0x20]
call fcn.100d87e0
mov ebx, eax
cmp ebx, edi
jne 0x100d370f
lea ecx, [ebp + 0x1c]
call fcn.100d87e0
mov ebx, eax
cmp ebx, edi
jne 0x100d370f
push ebp
call fcn.100d37a0
mov ebx, eax
cmp ebx, edi
je 0x100d3724
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.100d3780
cmp ebx, edi
jle 0x100d371f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x100d3724
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x100d3736
cmp dword [esi + 0x40], edi
jne 0x100d3736
cmp dword [esi + 0x3c], edi
jne 0x100d3736
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret
Function at 0x100d47c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push edi
push 0x98
xor ebx, ebx
lea eax, [esi + 0x110]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 0x34]
add eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x28]
lea edi, [ecx + eax]
mov dword [esi + 0x40], eax
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
mov eax, dword [esi + 0x18]
shr edx, 3
imul edx, edx, 0x54
mov ecx, edi
sub ecx, edx
add esp, 0xc
mov dword [esi + 0x3c], edi
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0xc], eax
mov edx, eax
cmp eax, 0xc
jb 0x100d481b
mov edx, 0xc
or eax, 0xffffffff
sub eax, edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
lea eax, [edi - 0xc]
lea edx, [ecx + 0x600]
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 8], ecx
mov edx, 0x100
mov word [eax], dx
mov edx, 0x101
mov word [eax + 2], dx
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
xor edx, edx
lea eax, [ecx + 2]
lea esp, [esp]
xor ecx, ecx
mov byte [eax - 2], dl
mov byte [eax - 1], 1
mov word [eax], cx
mov word [eax + 2], cx
inc edx
add eax, 6
cmp edx, 0x100
jb 0x100d4860
lea edx, [esi + 0x9fc]
mov dword [esp + 8], edx
push ebp
jmp 0x100d4890
mov edi, dword [esp + 0xc]
xor ebp, ebp
jmp 0x100d48a0
movzx eax, word [ebp + 0x100f89e0]
xor edx, edx
lea ecx, [ebx + 2]
div ecx
mov edx, 0x4000
sub edx, eax
movzx ecx, dx
xor eax, eax
lea ebx, [ebx]
mov word [edi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x100d48c0
add ebp, 2
add edi, 2
cmp ebp, 0x10
jb 0x100d48a0
sub dword [esp + 0xc], 0xffffff80
inc ebx
cmp ebx, 0x80
jb 0x100d4890
mov ecx, 0x50
lea edi, [esi + 0x3bc]
lea ebx, [ecx - 0x4c]
pop ebp
mov eax, edi
mov edx, 0x10
jmp 0x100d4900
mov word [eax], cx
mov word [eax + 2], 0x403
add eax, ebx
dec edx
jne 0x100d4900
add ecx, 0x28
add edi, 0x40
cmp ecx, 0x438
jb 0x100d48f4
pop edi
mov dword [esi + 0x3b8], 0x40070000
pop ebx
pop ecx
ret