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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x553bbd
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x553ba1
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x553af3
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x553ad1
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18

Function at 0x554605
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.oleaut32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x55465c
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey_1]
test esi, esi
pop esi
jne 0x55465c
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x55465c
xor eax, eax
inc eax
jmp 0x55465e
xor eax, eax
leave
ret 0x10
Function at 0x554687
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push reloc.oleaut32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x5546f5
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x95915c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5546ec
cmp dword [ebp - 0xc], 4
jne 0x5546ec
cmp dword [ebp - 0x10], edi
je 0x5546ec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey_1]
mov dword [0x9e8340], edi
xor eax, eax
jmp 0x554734
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey_1]
cmp dword [0x9e8340], edi
jge 0x55472f
lea eax, [ebp - 0x34]
push eax
mov dword [0x9e8340], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x55472f
cmp word [ebp - 0x14], 5
jb 0x55472f
call fcn.00554662
test eax, eax
je 0x55472f
emms
mov dword [0x9e8340], 1
mov eax, dword [0x9e8340]
pop edi
leave
ret

Function at 0x5672fd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x56731d
call dword [sym.imp.KERNEL32.dll_GetLastError_1]
push eax
call fcn.0056585a
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x567340
test byte [esp + 8], 2
je 0x567340
call fcn.005658cd
mov dword [eax], 0xd
call fcn.005658d6
mov dword [eax], 5
jmp 0x567319
xor eax, eax
ret

Function at 0x57b04b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x57b083
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA_1]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005790d8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA_1]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005790b0
jmp 0x57b08f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x57c73d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x57c77f
call fcn.005824b1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA_1]
cmp eax, edi
je 0x57c77f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource_1]
cmp eax, edi
jne 0x57c776
xor eax, eax
jmp 0x57c787
push eax
call dword [sym.imp.KERNEL32.dll_LockResource_1]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0057c78d
pop edi
pop esi
pop ebx
ret 4
Function at 0x5829e1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection_1]
cmp dword [esp + 0x10], 0
jne 0x582a0f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue_1]
test eax, eax
je 0x582a2d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00582947
jmp 0x582a2d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x582a2d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00582947
test edi, edi
mov eax, edi
jne 0x582a17
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection_1]
pop esi
pop ebx
ret 8
Function at 0x1000168a
Capabilities:
Check for software breakpoints
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov eax, esp
mov dword [eax + 8], 0xe25
mov dword [eax + 4], 0xe6c
mov dword [eax], 0x922
mov eax, dword [sym.imp.USER32.dll_AttachThreadInput]
call eax
sub esp, 0xc
xor ecx, ecx
lea edx, [esp + 0x58]
lea esi, [esp + 0x68]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov dword [esp + 0x44], eax
call ecx
xor ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x3c]
mov ecx, eax
and ecx, 0xf
cmp ecx, 6
mov dword [esp + 0x38], eax
jne 0x10001716
mov eax, esp
mov dword [eax], 0x386
mov eax, dword [sym.imp.KERNEL32.dll_IsValidCodePage]
call eax
sub esp, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
add eax, 1
cmp eax, 0xcc
mov dword [esp + 0x3c], eax
jne 0x100016e8
mov eax, dword [esp + 0x44]
sub eax, 0x13
mov dword [esp + 0x30], eax
je 0x10001779
jmp 0x10001739
mov eax, dword [esp + 0x44]
sub eax, 0x5a
mov dword [esp + 0x2c], eax
jne 0x10001804
jmp 0x1000174c
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov eax, esp
mov ecx, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov dword [eax], 0x72df44
mov eax, dword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
call eax
sub esp, 8
mov dword [esp + 0x28], eax
xor eax, eax
mov ecx, 0xc
mov edx, 0x673f15
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
call fcn.1005cba0
mov eax, esp
lea ecx, [esp + 0x64]
mov dword [eax + 0x14], ecx
lea ecx, [esp + 0x58]
mov dword [eax + 8], ecx
mov dword [eax + 0x10], 0x4aa
mov dword [eax + 0xc], 0x17d
mov dword [eax + 4], 0x7c5
mov dword [eax], 0x673f15
mov eax, dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
call eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 4], 0xeb8
mov dword [ecx], 0xade793
mov ecx, dword [sym.imp.GDI32.dll_SetICMMode]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
add eax, 1
cmp eax, 0x9e
mov dword [esp + 0x48], eax
jne 0x100016ce
lea esp, [ebp - 4]
pop esi
pop ebp
ret

Function at 0x1005e0f5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101a1440]
jne 0x1005e0ff
repz ret
jmp fcn.1005f16c
Function at 0x1006033b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1005d694
and dword [ebp - 4], 0
cmp dword [0x101a2974], 0
mov ebx, eax
jne 0x100603ec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1006049d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1006049d
push eax
call fcn.1005d622
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101a2974], eax
call esi
push eax
call fcn.1005d622
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101a2978], eax
call esi
push eax
call fcn.1005d622
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101a297c], eax
call esi
push eax
call fcn.1005d622
pop ecx
mov dword [0x101a2984], eax
test eax, eax
je 0x100603ec
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1005d622
pop ecx
mov dword [0x101a2980], eax
mov eax, dword [0x101a2980]
cmp eax, ebx
je 0x10060444
cmp dword [0x101a2984], ebx
je 0x10060444
push eax
call fcn.1005d69d
push dword [0x101a2984]
mov esi, eax
call fcn.1005d69d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10060444
test edi, edi
je 0x10060444
call esi
test eax, eax
je 0x1006043b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1006043b
test byte [ebp - 0xc], 1
jne 0x10060444
or dword [ebp + 0x10], 0x200000
jmp 0x1006047d
mov eax, dword [0x101a2978]
cmp eax, ebx
je 0x1006047d
push eax
call fcn.1005d69d
pop ecx
test eax, eax
je 0x1006047d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1006047d
mov eax, dword [0x101a297c]
cmp eax, ebx
je 0x1006047d
push eax
call fcn.1005d69d
pop ecx
test eax, eax
je 0x1006047d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101a2974]
call fcn.1005d69d
pop ecx
test eax, eax
je 0x1006049d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1006049f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10061a78
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101a0c88]
add eax, 0xfffffd5c
mov dword [0x101a0c88], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101a0c84], 0x2650
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101a0c88], 0x129
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x10061b0d
mov eax, dword [ebp - 0x14]
add esp, 0x24
pop ebp
ret
mov eax, 0xfffff9e7
mov dword [0x101a0c84], 0xffffe3d2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
je 0x10061ba0
jmp 0x10061bf3
mov eax, 1
mov dword [0x101a0c88], 0xfa2
mov dword [ebp - 0x14], eax
jmp 0x10061ac7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x10061b3a
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x24], eax
jl 0x10061b0d
mov eax, dword [ebp - 0x24]
mov ecx, 0x35f0
mov dword [0x101a0c84], 0x1fdb
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jne 0x10061bf3
mov eax, 0x199d
mov dword [0x101a0c84], 0x388
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
jne 0x10061bf3
mov eax, 0x199d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x1c], eax
je 0x10061acf
jmp 0x10061bf3
mov eax, 0x29da
mov dword [0x101a0c84], 0x13c5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
jne 0x10061bf3
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x10061bf3
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x10061af9
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x101a0c84], eax
mov dword [ebp - 0x14], ecx
jmp 0x10061ac7
Function at 0x10061cfd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101a0c90], 0
mov byte [0x101a0c94], 0
mov dword [0x101a0c88], 0xdd8
mov dword [0x101a0c84], 0x1867
mov dword [0x101a0c8c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101a0c8c]
add eax, 1
mov dword [0x101a0c8c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10061d4c
mov eax, 0x1c52
xor ecx, ecx
mov dword [0x101a0c84], 0x1c52
mov dword [0x101a0c8c], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
add ecx, 0xfffff22e
mov dword [0x101a0c98], 0
mov edi, dword [0x101a0c90]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101a0c98], esi
mov dword [0x101a0c84], ecx
mov eax, esi
cdq
mov ecx, dword [ebp - 0x2c]
idiv ecx
mov dword [0x101a0c90], edx
mov esi, dword [ebp - 0x28]
mov cl, byte [ebx + esi]
mov byte [0x101a0c94], cl
mov dword [0x101a0c84], 0x1300
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101a0c94]
mov edx, dword [0x101a0c90]
mov byte [ebx + edx], cl
mov edx, dword [0x101a0c88]
mov ecx, edx
add ecx, 0xfffff3f9
mov dword [0x101a0c84], ecx
mov esi, dword [0x101a0c8c]
add esi, 1
mov dword [0x101a0c8c], esi
cmp esi, 0x100
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x24], esi
jl 0x10061d93
mov eax, dword [ebp - 0x30]
add eax, 0xffffef7b
mov dword [0x101a0c84], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10062116
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101a0c88], 0xbaf
mov dword [0x101a0c84], 0x77a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1010c812]
mov dh, byte [eax + 0x1010c7e3]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
je 0x10062208
jmp 0x10062141
mov eax, dword [ebp - 0x30]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x101a0c84]
add ecx, 0xffffee8b
mov dword [0x101a0c84], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x34], eax
call fcn.10061e6d
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101a0c88], 0x322
mov dword [ecx + 0xd0], 0x4550
mov dword [0x101a0c84], 0xfb1
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x30], ecx
mov ecx, dword [ebp - 0x34]
mov dword [edx + 0x24], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x10062267
jmp 0x1006224a
lea eax, [ebp - 0x20]
mov dword [0x101a0c88], 0x8c2
mov dword [0x101a0c84], 0x2310
mov dword [ebp - 0x3c], eax
call fcn.1006226f
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.100612c3
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ecx
je 0x10062267
jmp 0x10062171
mov eax, dword [ebp - 0x34]
add eax, 0x1580
mov ecx, dword [0x101a0c88]
add ecx, 0xfffff237
mov dword [0x101a0c84], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x10062344
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10062513
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x101a0c84], 0xda3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101a0c88], 0xffffecc6
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1006247a
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
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 - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x10062418
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x100623c7
mov al, byte [ebp - 0x42]
test al, 1
jne 0x1006244b
jmp 0x10062421
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x30]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
jb 0x100623ad
jmp 0x1006247a
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101a0c84], 0x47ea
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x101a0c88], 0x114b
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100626af
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101a0c8c], 0
mov dword [0x101a0c90], 0
mov dword [0x101a0c9c], 0
mov dword [0x101a0c84], 0x2bc
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x10062716
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, edx
add edi, 1
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101a0c8c], edx
mov dword [0x101a0c84], 0x97e
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101a0c90], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101a0c94], cl
mov ebx, dword [0x101a0c88]
add ebx, 0xfffff27d
mov dword [0x101a0c84], ebx
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101a0c94]
mov edx, dword [0x101a0c90]
mov byte [ebx + edx], cl
mov edx, dword [0x101a0c8c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101a0c90]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x101a0c9c], ecx
mov dword [0x101a0c84], 0x2e2
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
xor cl, byte [edx + esi]
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov dword [0x101a0c84], 0x130b
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x1006270e
mov eax, dword [0x101a0c90]
mov ecx, dword [0x101a0c8c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
jmp 0x10062716
Function at 0x10062812
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x101a0c84], 0x1b4a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10061442
lea ecx, [0x10061c9c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], edx
mov dword [esp + 0x4c], 0x155800
mov dword [0x101a0c88], 0x894
mov edx, dword [0x101a0c70]
mov dword [esp + 0x30], edx
mov edx, dword [0x101a0c74]
mov dword [esp + 0x44], edx
mov edx, dword [0x101a0c78]
mov dword [esp + 0x78], edx
mov edx, dword [0x101a0c7c]
mov dword [esp + 0x40], edx
mov edx, dword [0x101a0c80]
mov dword [esp + 0x58], edx
mov dword [0x101a0c84], 0x1e0a
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x100628d8
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10062116
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101a0c88], 0x5b1
mov dword [esp + 0x10], eax
jmp 0x1006294d
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x100628fb
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x1006290f
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x100628d8
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov dword [0x101a0c88], 0xe2d
mov dword [0x101a0c84], 0xf67
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x48], edx
call fcn.10061a78
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
je 0x100628a2
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret