joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10090fc0
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100ef900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10084aa9
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10084aa9
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10091037
cmp word [ecx], dx
je 0x10091037
mov eax, dword [0x100da8e4]
push edi
dec eax
push eax
push 0x100da7d0
call fcn.10090f5f
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100910aa
cmp word [eax], dx
je 0x100910aa
mov eax, dword [edi]
test eax, eax
je 0x1009105b
cmp word [eax], dx
je 0x1009105b
lea eax, [ebp - 0x10]
push eax
call fcn.10090942
jmp 0x10091064
lea eax, [ebp - 0x10]
push eax
call fcn.100909dd
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100910d4
mov eax, dword [0x100da7cc]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100da4c0
call fcn.10090f5f
add esp, 0xc
test al, al
je 0x100910d4
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1009109f
cmp word [eax], di
je 0x1009109f
lea eax, [ebp - 0x10]
push eax
call fcn.10090942
pop ecx
jmp 0x100910d6
lea eax, [ebp - 0x10]
push eax
call fcn.100909dd
jmp 0x1009109c
mov eax, dword [edi]
test eax, eax
je 0x100910c1
cmp word [eax], dx
je 0x100910c1
lea eax, [ebp - 0x10]
push eax
call fcn.100908f7
pop ecx
jmp 0x100910d4
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x1009119f
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10090de4
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1009119f
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1009119f
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1009119f
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1009112c
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1008814c
test ebx, ebx
je 0x1009119a
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1008814c
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1009119f
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1009119f
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100964f6
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100911a1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006bae9
leave
ret
Function at 0x10096711
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1009668d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10096880
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10096880
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10096835
jg 0x1009676d
test eax, eax
je 0x1009682b
push 1
push 0x1000
call fcn.10087223
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10096790
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10096822
push 0x8000
push ebx
call fcn.100965be
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100967b9
jg 0x100967b4
cmp ecx, 0x1000
jb 0x100967b9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10089888
add esp, 0x10
cmp eax, 0xffffffff
je 0x100967fe
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100967b4
jl 0x100967e5
test ecx, ecx
jne 0x100967a6
push dword [ebp - 0xc]
push ebx
call fcn.100965be
push esi
call fcn.1008747d
add esp, 0xc
xor ebx, ebx
jmp 0x1009688e
cmp byte [edi + 0x24], 0
je 0x10096815
cmp dword [edi + 0x20], 5
jne 0x10096815
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10096820
mov ebx, dword [edi + 0x18]
jmp 0x10096822
xor ebx, ebx
push esi
call fcn.1008747d
pop ecx
jmp 0x1009688e
test ecx, ecx
jg 0x100967f7
jl 0x10096835
test eax, eax
jae 0x100967f7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100846e1
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10096855
cmp byte [edi + 0x1c], 0
je 0x100967f7
jmp 0x10096886
push ebx
call fcn.1007f189
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100967f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1009688e
cmp byte [edi + 0x1c], 0
je 0x1009688b
mov ebx, dword [edi + 0x18]
jmp 0x1009688e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100846e1
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100976a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100976cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100976cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402013
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
push 0x401477
push 0
push 0xf003f
push 0
push 0
push 0
push 0x401125
push 0x80000001
call dword [sym.imp.ADVAPI32_RegCreateKeyExA]
push 0x40147b
push 0x40146b
push 4
push 0
push section..slip
push dword [0x401477]
call dword [sym.imp.ADVAPI32_RegQueryValueExA]
push dword [0x401477]
call dword [sym.imp.ADVAPI32_RegCloseKey]
ret

Function at 0x402063
Capabilities:
Set registry value

Disassembly:
push 0
push 0x401477
push 0
push 0xf003f
push 0
push 0
push 0
push 0x401125
push 0x80000001
call dword [sym.imp.ADVAPI32_RegCreateKeyExA]
push 4
push 0x40146b
push 4
push 0
push section..slip
push dword [0x401477]
call dword [sym.imp.ADVAPI32_RegSetValueExA]
push dword [0x401477]
call dword [sym.imp.ADVAPI32_RegCloseKey]
ret
Function at 0x161025
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi], eax
xor eax, eax
push edi
mov edi, dword [ebp + 0x18]
mov dword [esi + 8], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea eax, [ebp + 8]
push eax
push 0x40
push dword [ebp + 0x1c]
mov dword [esi + 0xc], edx
mov edx, dword [ebp + 0x14]
push edi
mov dword [esi + 4], ecx
mov dword [esi + 0x10], edx
call dword [ecx + 0x54]
test eax, eax
jne 0x16107d
mov dword [esi + 8], 9
jmp 0x161156
push ebx
mov ebx, dword [esi + 0x10]
cmp ebx, 0x40
jae 0x161092
mov dword [esi + 8], 1
jmp 0x161155
mov eax, dword [esi + 0xc]
mov ecx, 0x5a4d
mov dword [esi + 0x14], eax
cmp word [eax], cx
je 0x1610ae
mov dword [esi + 8], 2
jmp 0x161155
mov ecx, dword [eax + 0x3c]
lea edx, [ecx + 0xf8]
cmp ebx, edx
jae 0x1610c7
mov dword [esi + 8], 3
jmp 0x161155
add ecx, eax
mov dword [esi + 0x18], ecx
cmp dword [ecx], 0x4550
je 0x1610dd
mov dword [esi + 8], 4
jmp 0x161155
mov edx, dword [esi + 0x18]
mov ecx, edi
and ecx, 0xfff
sub edi, ecx
lea ecx, [edi + 0x1000]
mov dword [esi + 0x20], ecx
mov edx, dword [edx + 0x54]
add edx, dword [eax + 0x3c]
cmp ebx, edx
jae 0x161106
mov dword [esi + 8], 7
jmp 0x161155
push edx
push eax
push ecx
call section..text
mov eax, dword [esi + 0x18]
movzx ecx, word [eax + 0x14]
xor edx, edx
add esp, 0xc
xor ebx, ebx
lea ecx, [ecx + eax + 0x18]
cmp dx, word [eax + 6]
jae 0x161155
lea edi, [ecx + 0x10]
mov eax, dword [edi]
test eax, eax
je 0x161146
push eax
mov eax, dword [edi + 4]
add eax, dword [esi + 0xc]
push eax
mov eax, dword [edi - 4]
add eax, dword [esi + 0x20]
push eax
call section..text
add esp, 0xc
mov eax, dword [esi + 0x18]
movzx eax, word [eax + 6]
inc ebx
add edi, 0x28
cmp ebx, eax
jl 0x161129
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x161181
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
lea ecx, [ecx + eax + 0x78]
cmp dword [ecx + 4], 0
push ebx
push edi
jne 0x16119c
xor eax, eax
jmp 0x16120c
push esi
mov esi, dword [ecx]
add esi, eax
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x161209
cmp dword [esi + 0x14], 0
je 0x161209
mov edi, dword [esi + 0x20]
mov ebx, dword [esi + 0x24]
or dword [ebp - 8], 0xffffffff
add edi, eax
add ebx, eax
test ecx, ecx
je 0x161209
mov dword [ebp - 4], ecx
jmp 0x1611c8
mov eax, dword [ebp + 8]
mov ecx, dword [edi]
add ecx, eax
push ecx
push dword [ebp + 0xc]
call fcn.001618c0
pop ecx
pop ecx
test eax, eax
jne 0x1611e1
movzx eax, word [ebx]
mov dword [ebp - 8], eax
add edi, 4
add ebx, 2
dec dword [ebp - 4]
jne 0x1611c5
mov eax, dword [ebp - 8]
cmp eax, 0xffffffff
je 0x161209
cmp eax, dword [esi + 0x14]
jg 0x161209
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx]
add eax, ecx
jmp 0x16120b
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x16195e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
and dword [esi + 0x30], 0
push edi
call fcn.00161825
mov eax, dword [eax + 0x30]
mov edi, dword [eax + 0xc]
add edi, 0xc
mov ebx, dword [edi]
jmp 0x1619a4
push 0xa
push 0xa
push 0x6ba2fc
push 0x3114b604
call fcn.001621c7
add esp, 0xc
push eax
push dword [ebx + 0x30]
call fcn.00161894
add esp, 0xc
test eax, eax
je 0x1619ad
mov ebx, dword [ebx]
cmp ebx, edi
jne 0x16197c
jmp 0x161a3f
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x161a3f
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax + ebx + 0x78]
and dword [esp + 0xc], 0
add edi, ebx
mov eax, dword [edi + 0x1c]
add eax, ebx
push ebp
mov ebp, dword [edi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x24]
add eax, ebx
add ebp, ebx
cmp dword [edi + 0x18], 0
mov dword [esp + 0x18], eax
jbe 0x161a3b
mov eax, dword [esp + 0x10]
mov eax, dword [ebp + eax*4]
push 0x16
add eax, ebx
push 0x6ba2e4
push 0x40704011
mov dword [esp + 0x20], eax
call fcn.00162179
push eax
push dword [esp + 0x24]
call fcn.001618c0
add esp, 0x14
test eax, eax
je 0x161a23
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x18]
jb 0x1619e4
jmp 0x161a3b
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + eax*4]
add eax, ebx
mov dword [esi + 4], eax
mov dword [esi + 0x30], ebx
pop ebp
cmp dword [esi + 0x30], 0
je 0x161ba6
push 0xa
push 0x6ba2d8
push 0x29a1a909
call fcn.00162179
add esp, 0xc
push eax
push esi
mov ecx, esi
call fcn.00161936
push 0xc
push 0x6ba2c8
push 0x13cbcee9
call fcn.00162179
add esp, 0xc
push eax
lea eax, [esi + 8]
push eax
mov ecx, esi
call fcn.00161936
push 0x18
push 0x6ba2ac
push 0x17ce53be
call fcn.00162179
add esp, 0xc
push eax
lea eax, [esi + 0xc]
push eax
mov ecx, esi
call fcn.00161936
push 0xf
push 0x6ba29c
push 0x26b30b69
call fcn.00162179
add esp, 0xc
push eax
lea eax, [esi + 0x10]
push eax
mov ecx, esi
call fcn.00161936
push 0x12
push 0x6ba288
push 0x3d924530
call fcn.00162179
add esp, 0xc
push eax
lea eax, [esi + 0x14]
push eax
mov ecx, esi
call fcn.00161936
push 7
push 0x6ba280
push 0x2236409a
call fcn.00162179
add esp, 0xc
push eax
lea eax, [esi + 0x18]
push eax
mov ecx, esi
call fcn.00161936
push 0x14
push 0x6ba268
push 0x149ccd04
call fcn.00162179
add esp, 0xc
push eax
lea eax, [esi + 0x1c]
push eax
mov ecx, esi
call fcn.00161936
push 0x11
push 0x6ba254
push 0x673ebfe9
call fcn.00162179
add esp, 0xc
push eax
lea eax, [esi + 0x20]
push eax
mov ecx, esi
call fcn.00161936
push 0x11
push 0x6ba240
push 0x68d29b96
call fcn.00162179
add esp, 0xc
push eax
lea eax, [esi + 0x24]
push eax
mov ecx, esi
call fcn.00161936
push 0x16
push 0x6ba228
push 0x7db65c79
call fcn.00162179
add esp, 0xc
push eax
lea eax, [esi + 0x28]
push eax
mov ecx, esi
call fcn.00161936
push 0x13
push 0x6ba214
push 0x65fa79df
call fcn.00162179
add esp, 0xc
push eax
lea eax, [esi + 0x2c]
push eax
mov ecx, esi
call fcn.00161936
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x161c4d
Capabilities:
Encode data using xor

Disassembly:
push esi
mov eax, section..data
mov ecx, 0x5557
mov esi, 0x1a74f5
imul ecx, ecx, 0x19660d
add ecx, 0x3c6ef35f
mov edx, ecx
shr edx, 0xc
xor byte [eax], dl
inc eax
dec esi
jne 0x161c5d
pop esi
ret

Function at 0x161db9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and dword [ebp - 4], 0
push ebx
mov ebx, eax
push esi
mov esi, dword [ebx + 0x3c]
add esi, ebx
movzx eax, word [esi + 0x14]
push edi
lea edi, [eax + esi + 0x18]
xor eax, eax
cmp ax, word [esi + 6]
jae 0x161e00
push 7
push str..custom
push edi
call fcn.00161894
add esp, 0xc
test eax, eax
je 0x161e07
movzx eax, word [esi + 6]
inc dword [ebp - 4]
add edi, 0x28
cmp dword [ebp - 4], eax
jl 0x161ddd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [edi + 0xc]
mov esi, dword [eax + ebx]
lea edi, [eax + ebx + 8]
mov ebx, dword [eax + ebx + 4]
push esi
call fcn.00162225
and dword [ebp - 8], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 8]
push ecx
push 1
push 5
push edi
lea ecx, [ebp - 0xc]
push ecx
add edi, 5
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], 0x161c76
mov dword [ebp - 0x14], 0x161c81
call fcn.00163b6c
add esp, 0x28
test eax, eax
je 0x161e67
push dword [ebp - 4]
call fcn.0016223c
pop ecx
jmp 0x161e00
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
jmp 0x161e02

Function at 0x162179
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
xor esi, esi
test ebx, ebx
je 0x1621b8
push edi
mov edi, dword [esp + 0x14]
sub edi, str.loader_entry_thread_thunk
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov eax, edx
shr eax, 0xc
xor al, byte [edi + esi + str.loader_entry_thread_thunk]
inc esi
mov byte [esi + 0x862507], al
cmp esi, ebx
jb 0x162194
pop edi
pop esi
mov byte [ebx + str.loader_entry_thread_thunk], 0
mov eax, str.loader_entry_thread_thunk
pop ebx
ret

Function at 0x1621c7
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
test edi, edi
je 0x162205
mov eax, dword [esp + 0x10]
sub eax, str.loader_entry_thread_thunk
push ebx
imul edx, edx, 0x19660d
add edx, 0x3c6ef35f
mov ebx, edx
shr ebx, 0xc
xor bl, byte [eax + esi + str.loader_entry_thread_thunk]
inc esi
mov byte [esi + 0x862507], bl
cmp esi, edi
jb 0x1621e1
pop ebx
mov byte [edi + str.loader_entry_thread_thunk], 0
mov byte [edi + 0x862509], 0
pop edi
mov eax, str.loader_entry_thread_thunk
pop esi
ret
Function at 0x1622bc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x1622d5
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x1622f8
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x1622fd
inc edi
cmp edi, dword [ebp - 4]
jb 0x1622ef
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x1623f5
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x162354
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x162328
cmp cl, 0xff
jne 0x16237f
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x16238d
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x162394
dec ecx
shl edx, cl
and edx, 7
je 0x162319
movzx ecx, byte [edx + 0x6ba39c]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x6ba394], 0
mov cl, byte [ebx + 4]
je 0x16237c
test cl, cl
je 0x16237c
cmp cl, 0xff
jne 0x162319
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x1622ea
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x1623c8
movzx esi, byte [edx + 0x6ba39c]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x1623b3
cmp al, 0xff
jne 0x1623c5
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x162346
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x1622ea
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret
Function at 0x10079880
Capabilities:
Packed with generic packer
Resolve function by parsing pe exports

Disassembly:
jmp 0x1007989e
cmp byte [esp + 8], 1
jne 0x1007d2af
jmp 0x100798cf
pushal
mov esi, section..text
jmp 0x10079907
lea edi, [esi - 0x53000]
lea eax, [edi + 0x6d46c]
push dword [eax]
jmp 0x10079947
mov dword [eax], 0xfced8eec
push eax
push edi
jmp 0x10079979
jmp 0x1007c45c
push eax
push esi
push edi
mov eax, 0x25872
add eax, 2
push eax
push esi
call fcn.1007c296
add esp, 8
pop edi
pop esi
push esi
push edi
mov edi, esi
mov esi, dword [eax + 4]
mov ecx, dword [eax]
rep movsb byte es:[edi], byte [esi]
mov edx, dword [eax]
sub edx, 2
pop edi
pop esi
pop eax
mov ebp, esp
lea ebx, [esp - 0x3e80]
xor eax, eax
push eax
cmp esp, ebx
jne 0x1007c491
jmp 0x1007c4e0
inc esi
inc esi
push ebx
push 0x77108
push edi
add ebx, 4
jmp 0x1007c542
push ebx
push edx
push esi
add ebx, 4
push ebx
push eax
mov dword [ebx], 0x20003
jmp fcn.1007c5a6
jmp fcn.10034f77
Function at 0x1007ad05
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x64
mov dword [ebp - 0x24], 0xa
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], 0xe
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x28], 8
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + eax*4 - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + eax*4 - 0x24]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x1000000
mov dword [ebp - 0x54], 0x2000000
mov dword [ebp - 0x50], 0x4000000
mov dword [ebp - 0x4c], 0x8000000
mov dword [ebp - 0x48], 0x10000000
mov dword [ebp - 0x44], 0x20000000
mov dword [ebp - 0x40], 0x40000000
mov dword [ebp - 0x3c], 0x80000000
mov dword [ebp - 0x38], 0x1b000000
mov dword [ebp - 0x34], 0x36000000
mov dword [ebp - 8], 0
jmp 0x1007ae12
mov eax, dword [ebp - 8]
shl eax, 2
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov al, byte [eax]
movzx eax, al
shl eax, 0x18
mov edx, eax
mov eax, dword [ebp - 8]
shl eax, 2
lea ecx, [eax + 1]
mov eax, dword [ebp + 8]
add eax, ecx
mov al, byte [eax]
movzx eax, al
shl eax, 0x10
or edx, eax
mov eax, dword [ebp - 8]
shl eax, 2
lea ecx, [eax + 2]
mov eax, dword [ebp + 8]
add eax, ecx
mov al, byte [eax]
movzx eax, al
shl eax, 8
mov ecx, edx
or ecx, eax
mov eax, dword [ebp - 8]
shl eax, 2
lea edx, [eax + 3]
mov eax, dword [ebp + 8]
add eax, edx
mov al, byte [eax]
movzx edx, al
mov eax, dword [ebp - 8]
lea ebx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, ebx
or edx, ecx
mov dword [eax], edx
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x14]
jl 0x1007ada0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x1007aec7
mov eax, dword [ebp - 0xc]
add eax, 0x3fffffff
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x14]
mov eax, edx
test eax, eax
jne 0x1007ae72
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.1007997e
mov dword [esp], eax
call fcn.1007a8b8
mov ecx, eax
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x5c]
xor eax, ecx
mov dword [ebp - 0x10], eax
jmp 0x1007ae9c
cmp dword [ebp - 0x14], 8
sete cl
mov eax, dword [ebp - 0xc]
cdq
idiv dword [ebp - 0x14]
mov eax, edx
cmp eax, 4
sete al
and eax, ecx
test al, al
je 0x1007ae9c
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.1007a8b8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
add eax, edx
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
lea ecx, [edx*4]
mov edx, dword [ebp + 0xc]
add edx, ecx
xor eax, dword [ebp - 0x10]
mov dword [edx], eax
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
inc eax
shl eax, 2
cmp dword [ebp - 0xc], eax
jl 0x1007ae25
nop
nop
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x401510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41c7e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x1c]
push edi
mov dword [esp + 0x3c], 0
call fcn.0041c1fc
mov eax, dword [edi + 0x20]
mov byte [esp + 0x38], 1
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CDC::SelectObject
mov edx, dword [esp + 0x44]
lea ecx, [esp + 8]
push edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
lea esi, [esp + 0x1c]
neg esi
sbb esi, esi
sub edx, eax
sub edx, 5
and esi, ecx
push edx
push 0x104
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_PathCompactPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [esp + 8]
mov ecx, edi
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CClientDC::CClientDC
lea ecx, [esp + 8]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 8