joyce8/EMBER2024-capa huggingface dataset:
Function at 0xfb3058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00fb31a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xfb307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfb306a
add dl, dl
jne 0xfb3089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfb30dc
xor eax, eax
add dl, dl
jne 0xfb3096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfb317d
add dl, dl
jne 0xfb30a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfb30b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfb30bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfb30c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xfb30d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xfb3075
mov eax, 1
add dl, dl
jne 0xfb30ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfb30f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfb30e1
sub eax, ebx
mov ebx, 1
jne 0xfb3128
mov ecx, 1
add dl, dl
jne 0xfb310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfb3119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfb3105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfb3075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xfb313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfb314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfb3136
cmp eax, 0x7d00
jae 0xfb316d
cmp eax, 0x500
jb 0xfb3168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfb3075
cmp eax, 0x7f
ja 0xfb3170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfb3075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xfb319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xfb3075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x588f6e05
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x465f4c44
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4015dd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42907c]
jne 0x4015e7
repz ret
jmp fcn.00401fb4

Function at 0x407acc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42907c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405794
and dword [ebp - 0x14], 0
cmp dword [0x42be50], 0
mov dword [ebp - 0x18], eax
jne 0x407b7f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407c27
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407c27
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42be50], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42be54], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42be58], eax
call edi
push eax
call esi
mov dword [0x42be60], eax
test eax, eax
je 0x407b7f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42be5c], eax
mov eax, dword [0x42be5c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407bd8
cmp dword [0x42be60], ecx
je 0x407bd8
push eax
call esi
push dword [0x42be60]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407bd8
test ebx, ebx
je 0x407bd8
call edi
test eax, eax
je 0x407bcf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407bcf
test byte [ebp - 8], 1
jne 0x407bd8
or dword [ebp + 0x10], 0x200000
jmp 0x407c0b
mov eax, dword [0x42be54]
cmp eax, dword [ebp - 0x18]
je 0x407c0b
push eax
call esi
test eax, eax
je 0x407c0b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407c0b
mov eax, dword [0x42be58]
cmp eax, dword [ebp - 0x18]
je 0x407c0b
push eax
call esi
test eax, eax
je 0x407c0b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42be50]
call esi
test eax, eax
je 0x407c27
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407c29
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004015dd
leave
ret
Function at 0x40115a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x40e010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 8
lea eax, [ebp - 0x14]
push 0x40b160
push eax
mov edi, ecx
call fcn.00404d40
push 8
lea eax, [ebp - 0xc]
push 0x40b168
push eax
call fcn.00404d40
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 0x2c]
add eax, dword [edi]
mov esi, dword [ecx + 0x1c]
add esi, eax
add esp, 0x18
mov dword [ebp - 0x20], esi
mov ebx, eax
mov dword [ebp - 0x18], eax
cmp eax, esi
jae 0x4012b3
lea eax, [ebp - 0x14]
push eax
push ebx
mov ecx, edi
call fcn.00401108
test eax, eax
je 0x4012a4
add ebx, 8
jmp 0x4011c9
inc ebx
lea eax, [ebp - 0xc]
push eax
push ebx
mov ecx, edi
call fcn.00401108
test eax, eax
je 0x4011c8
mov esi, ebx
sub esi, dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push eax
sub esi, 8
push 0x40
lea eax, [esi + 0x10]
push eax
push dword [ebp - 0x18]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
push 0
push ebx
add eax, 8
push eax
mov ecx, edi
call fcn.00401039
push 4
push 0x1000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
push esi
add eax, 8
push eax
push dword [ebp - 0x1c]
call fcn.00404d40
add esp, 0xc
push esi
push dword [ebp - 0x1c]
mov ecx, edi
call fcn.004010d5
mov eax, dword [ebp - 0x18]
push esi
push dword [ebp - 0x1c]
add eax, 8
push eax
call fcn.00404d40
mov eax, dword [ebp - 0x18]
add esp, 0xc
push 1
push ebx
add eax, 8
push eax
mov ecx, edi
call fcn.00401039
mov ecx, dword [ebp - 0x18]
push 8
mov eax, ebx
sub ecx, ebx
pop edx
mov byte [ecx + eax], 0x90
mov byte [eax], 0x90
inc eax
dec edx
jne 0x401261
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
add esi, 0x14
push esi
push dword [ebp - 0x18]
call dword [edi + 0xc]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push 0x8000
push 0
push dword [ebp - 0x1c]
call dword [edi + 0x10]
mov esi, dword [ebp - 0x20]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
inc ebx
mov dword [ebp - 0x18], ebx
cmp ebx, esi
jb 0x4011af
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004050a5
leave
ret
Function at 0x4013c9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x40e010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esi], eax
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [esi + 8], ecx
add eax, 0xffc00000
push edi
lea ecx, [ebp - 0x30]
mov dword [esi + 4], eax
call fcn.004012c2
lea ecx, [ebp - 0x50]
call fcn.00401317
lea ecx, [ebp - 0x18]
call fcn.00401384
xor ecx, ecx
mov eax, 0xda1e
mov edx, eax
xor word [ebp + ecx*2 - 0x50], dx
inc ecx
cmp ecx, 0xe
jl 0x401412
xor ecx, ecx
mov edx, eax
xor word [ebp + ecx*2 - 0x18], dx
inc ecx
cmp ecx, 8
jl 0x401421
xor ecx, ecx
mov edx, eax
xor word [ebp + ecx*2 - 0x30], dx
inc ecx
cmp ecx, 0xb
jl 0x401430
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x401453
xor eax, eax
jmp 0x40146c
lea edi, [eax + eax]
mov eax, edi
call fcn.004050c0
mov eax, esp
push 3
push edi
lea ecx, [ebp - 0x30]
push ecx
push eax
call section..text
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
lea eax, [ebp - 0x18]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [esi + 0x10], eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x40149b
xor eax, eax
jmp 0x4014b6
add eax, eax
mov dword [ebp - 0x54], eax
call fcn.004050c0
mov eax, esp
push 3
push dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
push ecx
push eax
call section..text
push eax
lea eax, [ebp - 0x18]
push eax
call edi
push eax
call ebx
mov dword [esi + 0xc], eax
mov eax, esi
lea esp, [ebp - 0x60]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004050a5
leave
ret 4

Function at 0x4050a5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e010]
jne 0x4050af
repz ret
jmp fcn.00405b81
Function at 0x408d46
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.00407b44
and dword [ebp - 4], 0
cmp dword [0x40fd00], 0
mov ebx, eax
jne 0x408df7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408ea8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408ea8
push eax
call fcn.00407ad2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40fd00], eax
call esi
push eax
call fcn.00407ad2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40fd04], eax
call esi
push eax
call fcn.00407ad2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40fd08], eax
call esi
push eax
call fcn.00407ad2
pop ecx
mov dword [0x40fd10], eax
test eax, eax
je 0x408df7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407ad2
pop ecx
mov dword [0x40fd0c], eax
mov eax, dword [0x40fd0c]
cmp eax, ebx
je 0x408e4f
cmp dword [0x40fd10], ebx
je 0x408e4f
push eax
call fcn.00407b4d
push dword [0x40fd10]
mov esi, eax
call fcn.00407b4d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408e4f
test edi, edi
je 0x408e4f
call esi
test eax, eax
je 0x408e46
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408e46
test byte [ebp - 0xc], 1
jne 0x408e4f
or dword [ebp + 0x10], 0x200000
jmp 0x408e88
mov eax, dword [0x40fd04]
cmp eax, ebx
je 0x408e88
push eax
call fcn.00407b4d
pop ecx
test eax, eax
je 0x408e88
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408e88
mov eax, dword [0x40fd08]
cmp eax, ebx
je 0x408e88
push eax
call fcn.00407b4d
pop ecx
test eax, eax
je 0x408e88
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40fd00]
call fcn.00407b4d
pop ecx
test eax, eax
je 0x408ea8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408eaa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10007753
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x102b1904], 0x37a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000893a
lea ecx, [0x10007875]
mov edx, dword [0x102b1904]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x68], esi
add edx, 0xffffdcc0
mov dword [0x102b1904], edx
mov dword [esp + 0x70], 0x14d400
mov edx, dword [0x102b18f0]
mov dword [esp + 0x7c], edx
mov edx, dword [0x102b18f4]
mov dword [esp + 0x4c], edx
mov edx, dword [0x102b18f8]
mov dword [esp + 0x74], edx
mov edx, dword [0x102b18fc]
mov dword [esp + 0x60], edx
mov edx, dword [0x102b1900]
mov dword [esp + 0x40], edx
mov dword [0x102b1908], 0x1a2
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 0x1000780d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10007821
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x100077ea
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], ecx
mov dword [0x102b1904], 0xd16
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.100087c5
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x102b1904], 0x4fd
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10007ea6
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x102b1908]
add edi, 0x1064
mov dword [0x102b1904], edi
mov dword [0x102b1910], 0
mov byte [0x102b1914], 0
mov dword [0x102b1908], 0x1215
mov dword [0x102b190c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102b190c]
add eax, 1
mov dword [0x102b190c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10007efd
xor eax, eax
mov dword [0x102b1904], 0x1408
mov dword [0x102b190c], 0
mov ecx, dword [0x102b1908]
add ecx, 0xffffd9c5
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0xffffdcb5
mov esi, 0x100
mov edi, dword [0x102b1910]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov eax, ebx
cdq
idiv esi
mov dword [0x102b1910], edx
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x28]
mov bl, byte [esi + ebx]
mov byte [0x102b1914], bl
mov dword [0x102b1908], ecx
mov bl, byte [esi + edx]
mov ecx, dword [ebp - 0x28]
mov byte [esi + ecx], bl
mov edx, dword [0x102b1904]
add edx, 0x2328
mov dword [0x102b1904], edx
mov bl, byte [0x102b1914]
mov edx, dword [0x102b1910]
mov byte [esi + edx], bl
mov dword [0x102b1908], 0x2f0
mov edx, dword [0x102b190c]
add edx, 1
mov dword [0x102b190c], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
jl 0x10007f4b
mov dword [0x102b1908], 0x2133
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000801c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x2c87
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, 0x1d5a
mov dword [0x102b190c], 0
mov dword [0x102b1910], 0
mov dword [0x102b1918], 0
mov dword [0x102b1904], 0x1d5a
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, ebx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
jne 0x100080a4
mov eax, dword [ebp - 0x30]
mov dword [0x102b1904], eax
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov edi, 0x100
add edx, 0xfffff6df
add esi, 1
mov ebx, ecx
add ebx, 1
mov dword [ebp - 0x38], eax
mov eax, esi
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x102b190c], edx
mov esi, dword [ebp - 0x2c]
movzx esi, byte [esi + edx]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x38]
add esi, ecx
mov eax, esi
mov dword [ebp - 0x44], edx
cdq
idiv edi
mov dword [0x102b1910], edx
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x44]
mov cl, byte [ecx + esi]
mov byte [0x102b1914], cl
mov edi, dword [ebp - 0x3c]
mov dword [0x102b1904], edi
mov edi, dword [ebp - 0x2c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x102b1908], 0x63b
mov cl, byte [0x102b1914]
mov edx, dword [0x102b1910]
mov byte [edi + edx], cl
mov dword [0x102b1904], 0xbac
mov edx, dword [0x102b190c]
movzx edx, byte [edi + edx]
mov ecx, dword [0x102b1910]
movzx ecx, byte [edi + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102b1918], ecx
mov dword [0x102b1904], 0x1236
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x40]
mov dl, byte [edx + esi]
xor dl, byte [edi + ecx]
mov ecx, dword [ebp - 0x28]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp ebx, ecx
mov dword [ebp - 0x48], ebx
je 0x100081a8
mov eax, dword [0x102b1904]
mov ecx, dword [0x102b190c]
mov edx, dword [0x102b1910]
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], edx
jmp 0x100080a4
mov eax, dword [0x102b1904]
add eax, 0xf2d
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x30], eax
jmp 0x10008094
Function at 0x100082ec
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 [ebp - 0x10], eax
call fcn.100081c0
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov esi, ecx
add esi, edx
cmp dword [eax + edx], 0x4550
sete bl
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x19], bl
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 0x19]
test dl, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jne 0x10008335
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x78]
mov dword [0x102b1904], 0xfffff751
mov ecx, dword [ebp - 0x18]
add ecx, dword [ecx + eax + 0x20]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx + eax + 0x24]
mov dword [0x102b1908], 0xffffe77b
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
je 0x10008465
jmp 0x1000839d
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
xor edx, edx
mov esi, dword [ebp - 0x2c]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edx
jmp 0x100083af
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
add ecx, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], eax
jmp 0x10008381
mov eax, dword [ebp - 0x50]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
add ecx, edx
mov esi, dword [ebp - 0x18]
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 - 0x56], cl
je 0x10008411
mov eax, dword [ebp - 0x54]
add eax, 1
mov cl, byte [ebp - 0x55]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x56]
and ch, dl
cmp eax, 0x20
setb dl
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x5d], ch
mov byte [ebp - 0x5e], dl
mov al, byte [ebp - 0x5d]
mov cl, byte [ebp - 0x5e]
and al, cl
test al, 1
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], edx
jne 0x100083af
mov al, byte [ebp - 0x56]
test al, 1
jne 0x10008444
jmp 0x1000841a
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 2
mov edx, dword [ebp - 0x44]
add edx, 1
mov esi, dword [ebp - 0x34]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], eax
jb 0x10008381
jmp 0x10008465
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x64]
add eax, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100087c5
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 [0x102b1908]
add esi, 0xfffff0b4
mov dword [0x102b1908], esi
mov dword [0x102b1904], 0x13ed
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x100088be
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, dword [0x102b1904]
add ecx, 0xffffe855
mov dword [0x102b1904], ecx
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 [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.10007be7
xor eax, eax
mov dword [0x102b1908], 0x26a5
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 - 0x2c]
mov dword [edx + 0x14], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x34], ecx
mov esi, dword [0x102b1908]
add esi, 0x236
mov dword [0x102b1904], esi
add ecx, 0x2673
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x100088b5
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 + 0x10277856]
mov dh, byte [eax + 0x10277827]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x100088be
lea eax, [ebp - 0x24]
mov dword [0x102b1908], 0x18e3
mov dword [ebp - 0x44], eax
call fcn.1000858c
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.1000867a
cmp eax, 0
mov dword [ebp - 0x34], eax
je 0x100087fe
jmp 0x10008806