joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c2434
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x104]
call fcn.00409d58
mov esp, ebp
pop ebp
ret

Function at 0x4c2464
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c24f1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x108]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x108]
call fcn.00409d58
mov eax, dword [ebp - 8]
call fcn.004049f8
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
jne 0x4c24d0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.004049f8
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404c58
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004c1114
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c24f8
lea eax, [ebp - 8]
call fcn.00404738
ret

Function at 0x4c24fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 5
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [ebp - 8]
push eax
call sub.ole32.dll_CoTaskMemFree
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.004049a8
mov esp, ebp
pop ebp
ret

Function at 0x4c26ac
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c27a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404738
mov eax, dword [0x4d0618]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff6
sub eax, 2
jae 0x4c2767
xor eax, eax
push ebp
push 0x4c2754
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x20019
mov dl, 1
mov eax, dword [0x435408]
call fcn.0043554c
mov dword [ebp - 8], eax
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.004355e4
xor ecx, ecx
mov edx, 0x4c27b8
mov eax, dword [ebp - 8]
call fcn.00435648
lea ecx, [ebp - 0x10]
mov edx, 0x4c2804
mov eax, dword [ebp - 8]
call fcn.00435960
mov eax, dword [ebp - 8]
call fcn.004355b4
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.0040478c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2785
cmp dword [ebp - 0xc], 0xb
jle 0x4c2785
lea eax, [ebp - 0x14]
call fcn.004c2620
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, 0x4c281c
call fcn.00404a44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c27a7
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040475c
ret
Function at 0x4c2844
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c28fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404738
xor eax, eax
push ebp
push 0x4c28cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x20019
mov dl, 1
mov eax, dword [0x435408]
call fcn.0043554c
mov dword [ebp - 8], eax
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.004355e4
xor ecx, ecx
mov edx, 0x4c2914
mov eax, dword [ebp - 8]
call fcn.00435648
lea ecx, [ebp - 0xc]
mov edx, 0x4c2960
mov eax, dword [ebp - 8]
call fcn.00435960
mov eax, dword [ebp - 8]
call fcn.004355b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c28dc
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.0040478c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2904
lea eax, [ebp - 0xc]
call fcn.00404738
ret
Function at 0x4c35c4
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_IsIconic
test eax, eax
je 0x4c35e5
push 9
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
call sub.user32.dll_GetForegroundWindow
cmp eax, dword [ebp - 4]
jne 0x4c35f8
mov byte [ebp - 5], 1
jmp 0x4c370e
mov eax, dword [0x4cecac]
cmp dword [eax], 2
jne 0x4c360c
mov eax, dword [0x4ce8f8]
cmp dword [eax], 4
jg 0x4c3640
mov eax, dword [0x4cecac]
cmp dword [eax], 1
jne 0x4c36f0
mov eax, dword [0x4ce8f8]
cmp dword [eax], 4
jg 0x4c3640
mov eax, dword [0x4ce8f8]
cmp dword [eax], 4
jne 0x4c36f0
mov eax, dword [0x4ceb44]
cmp dword [eax], 0
jle 0x4c36f0
mov byte [ebp - 5], 0
push 0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov dword [ebp - 0x10], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x4c36a2
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_BringWindowToTop
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetForegroundWindow
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetForegroundWindow
cmp eax, dword [ebp - 4]
sete byte [ebp - 5]
cmp byte [ebp - 5], 0
jne 0x4c3702
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0x2000
call sub.user32.dll_SystemParametersInfoA
push 2
push 0
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_BringWindowToTop
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetForegroundWindow
push 2
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0x2001
call sub.user32.dll_SystemParametersInfoA
jmp 0x4c3702
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_BringWindowToTop
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetForegroundWindow
call sub.user32.dll_GetForegroundWindow
cmp eax, dword [ebp - 4]
sete byte [ebp - 5]
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetFocus
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4c3870
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov byte [ebp - 1], al
mov byte [ebp - 2], 0
cmp byte [ebp - 1], 0
je 0x4c388f
mov dword [ebp - 0xc], 2
jmp 0x4c3896
mov dword [ebp - 0xc], 3
xor eax, eax
push ebp
push 0x4c391d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.004027a4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4c390c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
mov edx, dword [ebp - 8]
call fcn.00404930
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3913
mov eax, dword [ebp - 8]
call fcn.004027c4
ret
Function at 0x1001d7f
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push esi
mov byte [0x1004099], 1
call fcn.01002c6d
xor ecx, ecx
cmp word [eax], cx
push ecx
push 0x10017a7
push dword [0x1004090]
je 0x1001da5
push 0x66
jmp 0x1001da7
push 0x65
push dword [0x1004088]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov esi, eax
call fcn.0100294f
mov eax, esi
dec eax
pop esi
je 0x1001dc7
dec eax
je 0x1001de7
dec eax
jne 0x1001de7
ret
call fcn.01002b74
push 5
mov ecx, 0x10011bc
push ecx
push ecx
push eax
push 0x10011b0
push dword [0x1004090]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp fcn.01001649
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
jge 0x415397
mov edi, 0xcbfcfe60
push ebp
aas
xchg dword [edx], esp
or dword es:[eax], ecx
dec ecx
iretd
retf
fldenv [ebp + edx*4 - 0x69c741fb]
xor eax, 0xfb29e722
xor eax, 0x355996cf
fcom dword [esi + 0x24032221]
sti
xor eax, 0xca047d9f
xchg ebp, eax
dec esi
pushfd
fadd dword [edx + 0x48d8deef]
mov dword fs:[0xd7ec7d66], eax
in al, dx
xlatb
cdq
cmp ebx, 0x4f
out 9, eax
add dword [edx], esp
xor ebp, dword [edx]
sti
xor eax, 0xca08bfee
jb 0x4153d6
loope 0x4153f0
and bl, byte [ebp + 0x7c278b65]
insb byte es:[edi], dx
sbb ah, byte [ebp - 0x2e5ffbca]
xchg ebp, eax
pop esi
jbe 0x4153ce
rcl dword [ebp - 0x7d2689a2]
push esp
and ah, byte [ebx - 0x61ca0540]
jge 0x4153a3
adc byte [edx - 0x5d], 0xc0
cli
xor eax, 0x81a47d9e
daa
mov dword [eax], 0xbc7d6c6a
and dword [edi], 0x6c6a00c7
jge 0x4153c3
mov dl, byte [edi + 0x3c]
add al, 0x22
ja 0x415390
sti
xor eax, 0x35fb26cf
fadd st(5)
and al, 0xba
jge 0x415407
cmp ebx, dword [edx - 0x7e]
sti
add esp, esp
jge 0x415427
retf 0x7d27
retf 0x7d27
Function at 0x3000c2fb
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x3000e730
call fcn.3000c781
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x30012128
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x3000c09a
cmp eax, esi
jne 0x3000c08d
xor esi, esi
inc esi
mov ebx, esi
jmp 0x3000c09d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x3000c074
xor esi, esi
inc esi
mov eax, dword [0x30012124]
cmp eax, esi
jne 0x3000c0b0
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x3000c0df
mov eax, dword [0x30012124]
test eax, eax
jne 0x3000c0d9
mov dword [0x30012124], esi
push 0x30001290
push 0x30001288
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x3000c0df
jmp 0x3000c207
mov dword [0x30011ddc], esi
mov eax, dword [0x30012124]
cmp eax, esi
jne 0x3000c103
push 0x30001284
push 0x30001278
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x30012124], 2
test ebx, ebx
jne 0x3000c10f
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x30012134], 0
je 0x3000c133
push 0x30012134
call fcn.3000c709
pop ecx
test eax, eax
je 0x3000c133
push 0
push 2
push 0
call dword [0x30012134]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x3000c18f
test al, al
je 0x3000c14d
cmp dword [ebp - 0x1c], 0
jne 0x3000c18f
mov al, byte [esi]
test al, al
je 0x3000c15d
cmp al, 0x20
ja 0x3000c15d
inc esi
mov dword [ebp - 0x20], esi
jmp 0x3000c14d
test byte [ebp - 0x3c], 1
je 0x3000c169
movzx eax, word [ebp - 0x38]
jmp 0x3000c16c
push 0xa
pop eax
push eax
push esi
push 0
push 0x30000000
call main
mov dword [0x30011dd8], eax
cmp dword [0x30011dcc], 0
jne 0x3000c1e3
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x3000c19e
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x3000c1b1
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x3000c13a
cmp dword [0x30011ddc], 0
jne 0x3000c1f2
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x30011dd8]
jmp 0x3000c213
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.301b8000
ret
call fcn.3000bf21
jmp 0x3000c03a
Function at 0x1011620e
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 dword [0x10125e80], 0
mov byte [0x10125e84], 0
mov dword [0x10125e7c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x10116301
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10125e88], 0
mov edx, dword [0x10125e80]
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 [0x10125e88], edi
mov dword [0x10125e78], 0x16c0
mov eax, edi
cdq
idiv ecx
mov dword [0x10125e80], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10125e84], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x10125e84]
mov edx, dword [0x10125e80]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x10125e7c]
add edx, 1
mov dword [0x10125e7c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1011624e
jmp 0x10116333
xor eax, eax
mov dword [0x10125e7c], 0
mov dword [ebp - 0x20], eax
jmp 0x1011624e
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10125e78], 0x2469
mov eax, dword [0x10125e7c]
add eax, 1
mov dword [0x10125e7c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10116301
jmp 0x101162ed
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10116619
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
lea esi, [ebp - 0x2c]
mov edi, dword [0x10125e78]
mov ebx, edi
add ebx, 0x24c6
mov dword [0x10125e74], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1011834f]
mov dh, byte [eax + 0x10118320]
sub dh, dl
mov byte [ebp + eax - 0x2c], dh
cmp ecx, 0xe
mov dword [ebp - 0x40], ecx
je 0x10116696
jmp 0x10116650
mov eax, dword [ebp - 0x44]
add eax, 0x24e9
mov dword [0x10125e74], 0x1875
mov dword [ebp - 0x48], eax
jmp 0x10116781
mov eax, dword [ebp - 0x38]
add eax, 0xffff0b38
mov dword [0x10125e78], eax
mov dword [0x10125e74], 0xec8
call fcn.10117434
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.10115fa1
xor ecx, ecx
mov dword [0x10125e74], 0x753
cmp eax, 0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
je 0x10116781
mov eax, dword [ebp - 0x4c]
mov dword [0x10125e74], 0xdeb
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 dword [0x10125e78], 0x228e
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1011610e
xor eax, eax
mov ecx, dword [0x10125e78]
add ecx, 0xffffe96a
mov dword [0x10125e74], ecx
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x54], ecx
mov dword [0x10125e78], 0x1302
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x38], ecx
cmp ecx, 0
mov dword [ebp - 0x48], eax
jne 0x1011667c
mov eax, dword [ebp - 0x48]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10116806
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x10125e7c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
xor eax, eax
mov dword [0x10125e80], 0
mov dword [0x10125e8c], 0
mov dword [0x10125e74], 0x18c4
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x1011696a
jmp 0x1011688b
mov eax, dword [0x10125e7c]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x10125e80]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, ecx
add edi, 1
add eax, 1
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10125e7c], edx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x34]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x10125e80], edx
mov dword [0x10125e78], 0xa8e
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x10125e84], cl
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10125e84]
mov edx, dword [0x10125e80]
mov byte [ebx + edx], cl
mov dword [0x10125e74], 0x16e8
mov edx, dword [0x10125e7c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10125e80]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10125e8c], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x38]
mov ch, byte [edx + esi]
mov dword [0x10125e78], 0x1e0e
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov edx, dword [0x10125e78]
add edx, 0xfffff1cc
mov dword [0x10125e74], edx
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x30], edi
jne 0x1011686f
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10116cf7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x58
mov eax, dword [ebp + 8]
mov dword [0x10125e74], 0x14d0
mov dword [ebp - 0x10], eax
call fcn.10115e2c
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 0x10116d3d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10125e78], 0x23c3
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x10125e74], 0x2361
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x10116e88
jmp 0x10116db5
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x10125e74], 0x14d0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
jmp 0x10116dcf
mov al, byte [ebp - 0x49]
test al, 1
jne 0x10116e63
jmp 0x10116e22
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
add eax, dword [eax + ecx + 0x24]
mov dword [ebp - 0x50], eax
xor eax, eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jmp 0x10116d82
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
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 - 0x54], eax
mov byte [ebp - 0x55], bh
mov byte [ebp - 0x49], cl
je 0x10116da8
mov eax, dword [ebp - 0x54]
add eax, 1
mov cl, byte [ebp - 0x55]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x49]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x10116dcf
jmp 0x10116da8
mov eax, dword [ebp - 0x40]
add eax, 2
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
setb bl
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
mov byte [ebp - 0x61], bl
xor eax, eax
mov cl, byte [ebp - 0x61]
test cl, 1
mov edx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], eax
jne 0x10116d82
jmp 0x10116e88
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 ecx, dword [edx + ecx*4]
mov dword [0x10125e74], 0x14fc
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10116e93
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 + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x10125e74], 0x37a
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.1011633b
lea ecx, [0x101171e2]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], 0x13d800
mov edx, dword [0x10125e60]
mov dword [esp + 0x3c], edx
mov edx, dword [0x10125e64]
mov dword [esp + 0x64], edx
mov edx, dword [0x10125e68]
mov dword [esp + 0x78], edx
mov edx, dword [0x10125e6c]
mov dword [esp + 0x38], edx
mov edx, dword [0x10125e70]
mov dword [esp + 0x68], edx
mov dword [0x10125e74], 0x1fc2
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x10116f55
lea eax, [esp + 0x38]
mov dword [0x10125e74], 0x9c2
mov ecx, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10116619
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 0x18], eax
jmp 0x10116fdc
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x14], eax
jne 0x10116f88
mov eax, dword [esp + 0x14]
add eax, 0x3c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [esp + 0x14]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10116f9c
mov eax, dword [esp + 0x14]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x10116f55
mov eax, dword [esp + 0x14]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x58], edx
mov dword [0x10125e78], 0x8ac
call fcn.10117068
mov dword [esp + 8], eax
xor eax, eax
mov ecx, dword [esp + 8]
cmp ecx, 0
mov dword [esp + 0x18], eax
je 0x10116f1c
mov eax, dword [esp + 0x18]
mov esp, ebp
pop ebp
ret