joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002afa0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1007b958]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
sub eax, 0
je 0x1002b0fe
sub eax, 1
jne 0x1002b16a
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp dword [0x100802ac], 0
mov dword [ebp - 0x118], 0
jne 0x1002b0d6
lea eax, [ebp - 0x118]
push eax
push ecx
lea ecx, [ebp - 0x114]
call fcn.1002cb20
add esp, 8
test eax, eax
jne 0x1002b050
push 1
call fcn.1002c760
push 0x10080278
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x100802a0
push 0
push 0
push 0
push 0
push 0x10002160
push 0
mov dword [0x10080298], 1
push 0x1002cf90
mov dword [0x1008029c], 1
call dword [sym.imp.ADVAPI32.dll_RegisterTraceGuidsW]
jmp 0x1002b0d6
cmp dword [0x10080290], 0
lea eax, [ebp - 0x114]
mov dword [0x100788b0], eax
mov byte [ebp - 7], 0
jne 0x1002b072
mov dword [0x10080290], 0xfff
cmp dword [0x100802ac], 0
jne 0x1002b095
mov ecx, 0x23fa
call fcn.1002c870
cmp dword [0x1007d040], 0xffffffff
jne 0x1002b095
push 1
call fcn.1002c760
cmp dword [0x10078008], 0x1002c570
jne 0x1002b0cc
cmp dword [ebp - 0x118], 0
je 0x1002b0cc
push 0x1000bb08
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push dword [0x100788b0]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x1000bb10
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [0x100788b0], 0x1000bb34
push 0
push 0x100800c4
mov dword [0x100800b0], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
test eax, eax
jne 0x1002b16a
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100720f0
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0x10], 0
jne 0x1002b16a
push 0x100800c4
mov dword [0x10080094], 0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.1002c810
mov ecx, dword [0x100802a0]
mov eax, ecx
mov edx, dword [0x100802a4]
or eax, edx
je 0x1002b14c
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_UnregisterTraceGuids]
mov dword [0x100802a0], 0
mov dword [0x100802a4], 0
cmp dword [0x10080298], 0
je 0x1002b16a
push 0x10080278
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [0x10080298], 0
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.100720f0
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1002cac0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
push 0
push 2
mov dword [esi + 0x14], 0
mov byte [edi], 0
push dword [esi + 8]
push 0
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov edx, eax
test edx, edx
jne 0x1002cb0a
cmp dword [ebp - 4], 1
jbe 0x1002cb0a
xor ecx, ecx
cmp byte [edi], 0x3a
setne cl
mov dword [esi + 0x14], ecx
xor eax, eax
test edx, edx
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002cec0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1007b958]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x114]
mov byte [ebp - 0x114], 0
push eax
push 0
push 2
push edx
push 0
push ecx
mov dword [esi], 0
mov dword [ebp - 0x228], 0x10e
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x1002cf21
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100720f0
mov esp, ebp
pop ebp
ret
push 0x10e
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1002cf79
cmp eax, 0x10e
jae 0x1002cf79
mov edx, 0x10e
lea ecx, [ebp - 0x224]
push 0x1000baa0
sub edx, eax
add ecx, eax
call fcn.1002d290
test eax, eax
js 0x1002cf79
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.msvcrt.dll__stricmp]
add esp, 8
neg eax
sbb eax, eax
inc eax
mov dword [esi], eax
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.100720f0
mov esp, ebp
pop ebp
ret

Function at 0x1002d170
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1007b958]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x10080278
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1008029c], 0
je 0x1002d272
mov ecx, dword [0x100802a0]
mov eax, ecx
mov edx, dword [0x100802a4]
or eax, edx
je 0x1002d1cb
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_UnregisterTraceGuids]
mov dword [0x100802a0], 0
mov dword [0x100802a4], 0
push 0x10e
lea eax, [ebp - 0x114]
mov dword [0x10080290], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1002d268
cmp eax, 0x10e
jae 0x1002d268
mov edx, 0x10e
lea ecx, [ebp - 0x114]
push 0x1000baa0
sub edx, eax
add ecx, eax
call fcn.1002d290
test eax, eax
js 0x1002d268
mov ecx, dword [0x10080290]
mov eax, ecx
not eax
mov dword [0x100802b0], 1
and eax, 0xfff
xor ecx, eax
cmp dword [0x100802ac], 0
lea eax, [ebp - 0x114]
mov dword [0x10080290], ecx
mov dword [0x100788b0], eax
jne 0x1002d25e
mov ecx, 0x23fa
call fcn.1002c870
cmp dword [0x1007d040], 0xffffffff
jne 0x1002d25e
push 1
call fcn.1002c760
mov dword [0x100788b0], 0x1000bb34
mov dword [0x1008029c], 0
push 0x10080278
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100720f0
mov esp, ebp
pop ebp
ret
Function at 0x100399c0
Capabilities:
Terminate process

Disassembly:
lea eax, [edx - 1]
cmp eax, edx
ja 0x100399d3
dec edx
add edx, ecx
cmp edx, ecx
jb 0x100399d3
not eax
and eax, edx
ret
jmp fcn.100399b0
Function at 0x10072570
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x100725ae
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x100725a6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x100725b0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10072596
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10072680
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10072696
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x100726b1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x47eb26
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047e70d

Function at 0x47f054
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0043e3a0
mov eax, dword [0x4ac200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00479c21
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x47f096
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x47f1f2
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00494e90
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x502888]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00480e72
mov ecx, dword [esi*4 + 0x502888]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x47f1eb
cmp eax, dword [edi + ecx + 0x24]
jne 0x47f1eb
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47f1eb
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00480e72
add esp, 0x14
test edx, edx
jl 0x47f1eb
jg 0x47f161
test eax, eax
jb 0x47f1eb
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x47f1eb
jl 0x47f17b
cmp dword [ebp - 0x1008], eax
ja 0x47f1eb
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x47f199
test ebx, ebx
je 0x47f1d2
cmp ecx, edi
jae 0x47f1d2
mov al, byte [ecx]
cmp al, 0xd
jne 0x47f1b3
lea eax, [edi - 1]
cmp ecx, eax
jae 0x47f1bf
cmp byte [ecx + 1], 0xa
jne 0x47f1bf
inc ecx
jmp 0x47f1bf
movzx eax, al
movsx eax, byte [eax + 0x4ac4e0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x47f199
cmp edx, ebx
jne 0x47f199
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x47f1f0
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0043ccc7
leave
ret
Function at 0x47fffb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x502888]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48003b
cmp byte [ebx], 0xa
jne 0x48003b
or byte [eax + edi + 0x28], 4
jmp 0x480040
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x48013e
mov al, byte [edx]
cmp al, 0x1a
je 0x480120
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x48006f
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x480094
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x48009e
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x480051
jmp 0x48013e
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48011b
cmp dword [ebp - 0xc], 0
je 0x48011b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x502888]
test byte [eax + edi + 0x28], 0x48
je 0x4800f5
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4800e0
mov byte [esi], dl
jmp 0x4800f1
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x502888]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x48013e
cmp byte [ebp - 1], 0xa
jne 0x480104
cmp esi, ebx
jne 0x480104
mov byte [esi], 0xa
jmp 0x48013d
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00480e90
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x48013e
mov byte [esi], 0xd
jmp 0x48013d
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x502888]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x48013a
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x48013e
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x480147
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x502888]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x48018a
cmp word [esi], dx
jne 0x48018a
or byte [edi + eax + 0x28], 4
jmp 0x48018f
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4802e2
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4802c2
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4801d1
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x480207
cmp eax, edx
jae 0x480213
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4801a9
jmp 0x4802e2
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4802be
cmp dword [ebp - 0x14], 0
je 0x4802be
mov eax, dword [ebx*4 + 0x502888]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x480296
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x48025f
mov word [esi], cx
jmp 0x480292
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x502888]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x502888]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x502888]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4802e2
pop ebx
cmp word [ebp - 4], bx
jne 0x4802a7
cmp esi, dword [ebp + 0xc]
jne 0x4802a7
mov word [esi], bx
jmp 0x4802df
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00480e90
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4802e2
push 0xd
jmp 0x4802db
mov ecx, dword [ebx*4 + 0x502888]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4802d9
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4802e2
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x101a0993
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x101aa2b4], 0x132a
mov dword [0x101aa2b0], 0x3614
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x101a0ae3
lea eax, [ebp - 0x12c]
mov dword [0x101aa2b4], 0x156a
mov dword [ebp - 0x13c], eax
call fcn.101a122d
mov dword [esp], eax
mov eax, dword [ebp - 0x13c]
mov dword [esp + 4], eax
call fcn.101a1b07
mov ecx, eax
mov dword [0x101aa2d0], eax
mov eax, esp
mov edx, dword [ebp - 0x140]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
lea edx, section..data
imul esi, eax, 0x3c
mov edi, edx
add edi, esi
add edi, 0x38
mov esi, dword [edi]
imul edi, eax, 0x3c
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x3c
add edx, ebx
add edx, 4
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x144]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x158], edx
call fcn.101a14f9
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
add eax, ecx
mov edx, dword [ebp - 0x150]
add edx, 1
cmp edx, 0x1e9
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
je 0x101a0b87
jmp 0x101a0a3f
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x3c
mov edi, edx
add edi, esi
add edi, 0x38
mov esi, dword [edi]
imul edi, eax, 0x3c
add edx, edi
add edx, 4
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x1e9
mov ecx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
jne 0x101a0ae3
xor eax, eax
mov dword [0x101aa2b0], 0x1177
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101a209c]
mov dh, byte [eax + 0x101a206d]
sub dh, dl
mov byte [ebp + eax - 0x12c], dh
cmp ecx, 0xe
mov dword [ebp - 0x15c], ecx
je 0x101a09d1
jmp 0x101a0b4e
lea eax, [0x101a207b]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.101a0f89
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x140]
mov dword [esp + 0xc], edx
call fcn.101a1585
xor eax, eax
mov ecx, dword [ebp - 0x144]
add ecx, 0xddd73
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x121000
mov ecx, dword [ebp - 0x144]
add ecx, 0xa9b4b
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x1f70
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101a0c1c
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
call fcn.1000108e
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x101a0cd2
mov eax, dword [esp + 0x24]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x101a0d15
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.101a0993
lea ecx, [0x101a1d31]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x50], edx
mov dword [esp + 0x5c], 0x121000
mov dword [0x101aa2b0], 0x15a6
mov edx, dword [0x101aa29c]
mov dword [esp + 0x38], edx
mov edx, dword [0x101aa2a0]
mov dword [esp + 0x3c], edx
mov edx, dword [0x101aa2a4]
mov dword [esp + 0x4c], edx
mov edx, dword [0x101aa2a8]
mov dword [esp + 0x48], edx
mov edx, dword [0x101aa2ac]
mov dword [esp + 0x78], edx
mov dword [0x101aa2b4], 0x109b
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jmp 0x101a0d15
lea eax, [esp + 0x38]
mov ecx, dword [0x101aa2b0]
add ecx, 0xffffefd3
mov dword [0x101aa2b0], ecx
mov dword [esp + 0x14], eax
call fcn.101a10f3
cmp eax, 0
sete dl
mov byte [esp + 0x13], dl
xor eax, eax
mov cl, byte [esp + 0x13]
test cl, 1
mov dword [esp + 0xc], eax
jne 0x101a0c60
jmp 0x101a0da0
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
jne 0x101a0c49
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
jne 0x101a0c49
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x88], ecx
mov dword [0x101aa2b0], 0xfffff682
mov edx, dword [esp + 8]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.101a17d4
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x101aa2b0]
add ecx, 0xffffe5c3
mov dword [0x101aa2b4], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], eax
jmp 0x101a0c3f
Function at 0x101a0e22
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.101a18fa
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x101a0e5e
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101aa2b4], 0x370c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x101aa2b0], 0x1fed
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
jne 0x101a0eaf
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jmp 0x101a0f1a
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101aa2b0], 0x1415
mov dword [ebp - 0x34], edi
jmp 0x101a0ea4
mov al, byte [ebp - 0x41]
test al, 1
jne 0x101a0ec1
jmp 0x101a0f60
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x41], cl
je 0x101a0ee6
jmp 0x101a0f36
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x48], edx
jmp 0x101a0eef
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x41]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x101a0eef
jmp 0x101a0ee6
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 2
mov edx, dword [ebp - 0x58]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edx
jb 0x101a0f1a
jmp 0x101a0ea4
Function at 0x101a0f89
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x101aa2b4]
add edi, 0x53c
mov dword [0x101aa2b4], edi
mov dword [0x101aa2bc], 0
mov byte [0x101aa2c0], 0
mov dword [0x101aa2b8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101a1084
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101aa2c4], 0
mov edx, dword [0x101aa2bc]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x101aa2c4], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x101aa2bc], edx
mov dword [0x101aa2b0], 0x918
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x101aa2c0], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x101aa2b0], 0x16c8
mov cl, byte [0x101aa2c0]
mov edx, dword [0x101aa2bc]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x101aa2b8]
add edx, 1
mov dword [0x101aa2b8], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101a0fdb
jmp 0x101a10e1
mov eax, dword [ebp - 0x1c]
mov dword [0x101aa2b4], 0x1e35
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101aa2b4]
add eax, 0x325
mov dword [0x101aa2b4], eax
mov eax, dword [0x101aa2b8]
add eax, 1
mov dword [0x101aa2b8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101a1084
xor eax, eax
mov dword [0x101aa2b0], 0x182
mov dword [0x101aa2b8], 0
mov dword [ebp - 0x20], eax
jmp 0x101a0fdb
mov dword [0x101aa2b0], 0x26c
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret