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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10013b94
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10013adc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10013aa9
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffea
jge 0x10013ad7
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10013acb
push 0x3b7
push 0
call fcn.1001af24
pop ecx
pop ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10013ad5
jmp 0x10013ad7
jmp 0x10013a9e
jmp 0x10013b92
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0xf889e022
je 0x10013b32
mov eax, dword [ebp - 0xc]
imul eax, dword [eax], 0
test eax, eax
jne 0x10013b32
and dword [ebp - 0x10], 0
jmp 0x10013b39
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
add esi, dword [ebp - 0x10]
neg esi
push 3
mov ecx, dword [ebp - 0x14]
call fcn.1000e5c2
cmp esi, dword [eax]
jle 0x10013b5a
mov dword [ebp - 0x4c], 1
jmp 0x10013b5e
and dword [ebp - 0x4c], 0
mov eax, 0xc1094d0e
test eax, eax
jne 0x10013b76
mov eax, 0x2a77b69c
test eax, eax
jne 0x10013b76
and dword [ebp - 0x18], 0
jmp 0x10013b7d
mov dword [ebp - 0x18], 1
push 3
mov ecx, dword [ebp - 0x14]
call fcn.1000e5c2
mov ecx, dword [ebp - 0x18]
imul ecx, dword [eax]
mov eax, dword [ebp - 0x50]
mov dword [eax], ecx
jmp 0x10013bf8
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x58], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10013bd1
mov byte [ebp - 2], 0
push 0x423f
push 1
push 1
push 0x73c3
lea eax, [ebp - 2]
push eax
push 0
push 0x5fc5
call fcn.100216e2
add esp, 0x1c
jmp 0x10013bf8
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x10013bf8
push 0x25a7
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10017b3d
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069d6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10017c7c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x168
mov dword [ebp - 0x34], 0x10007bb8
cmp dword [ebp - 0x20], 0x525
jle 0x10017be1
and dword [ebp - 0x18], 0
jmp 0x10017b9b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1576
jge 0x10017bdb
and dword [ebp - 0x1c], 0
jmp 0x10017bb1
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x51f5
jge 0x10017bd9
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov ecx, 0x10612258
call fcn.10027c6e
jmp 0x10017baa
jmp 0x10017b94
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x10017c0b
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x10017c09
push 0
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
jmp 0x10017c3a
mov byte [ebp - 0x11], 0
push 0x6f42
lea eax, [ebp - 0x11]
push eax
push 0x78c7
push 0xbd6
push 0
push 1
push 0x7bd5
push 0xbf6
push 0
call fcn.10013a46
add esp, 0x24
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0xfffffd8c
jge 0x10017c54
mov edx, dword [ebp - 0x34]
mov ecx, 0x10612258
call fcn.1002b17d
jmp 0x10017c70
or dword [ebp - 4], 0xffffffff
jmp 0x10017c7a
jmp 0x10017c94
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
push 1
push 0x242
push dword [ebp - 0x38]
call fcn.10013ec8
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10019f70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1001a00b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10019fe4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
push 1
push dword [ebp - 0x1c]
push 0x4123
push 0
mov eax, dword [ebp - 0x20]
push dword [eax]
push 1
push 0x2452
call fcn.10016ee9
add esp, 0x1c
jmp 0x1001a009
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
jmp 0x1001a085
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1001a074
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001a055
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1001a072
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x50]
call fcn.1000e5c2
mov dword [eax], 0x41e55969
jmp 0x1001a04a
jmp 0x1001a085
push 0x25a7
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esp, ebp
pop ebp
ret
Function at 0x10021621
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10021675
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10021655
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10021653
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x10021673
mov byte [ebp - 2], 0
push 0x3c74
push 0x2a4d
push 1
lea eax, [ebp - 2]
push eax
push 0
call fcn.10013874
add esp, 0x14
jmp 0x100216bc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x100216b4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 1
push 1
push 0x50a2
mov eax, dword [ebp - 0x18]
push dword [eax]
push 0x447e
call fcn.100104f5
add esp, 0x14
jmp 0x100216bc
push 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov esp, ebp
pop ebp
ret
Function at 0x1002e9a7
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002e9cb
push 0x2991
push 1
push 0x6528
call fcn.1002ea49
add esp, 0xc
jmp 0x1002ea45
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1002ea34
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002ea15
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1002ea32
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1000e5c2
mov dword [eax], 0x90ac204e
jmp 0x1002ea0a
jmp 0x1002ea45
push 0x25a7
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esp, ebp
pop ebp
ret
Function at 0x10065b45
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006f740]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.100581a8
mov dword [ebp - 0x14], eax
cmp dword [0x10613374], esi
jne 0x10065c38
push 0x800
push esi
push 0x100075ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10065bc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10065d18
push esi
push esi
push 0x100075ac
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10065d18
push 0x100075c4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10065d18
push eax
call ebx
push 0x100075d0
push edi
mov dword [0x10613374], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100075e0
push edi
mov dword [0x10613378], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100075f4
push edi
mov dword [0x1061337c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10613384], eax
test eax, eax
je 0x10065c35
push 0x10007610
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10613380], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10065c5d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10065c50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10065c72
push 4
pop eax
jmp 0x10065d1a
cmp dword [ebp - 0x14], esi
je 0x10065c72
push dword [0x10613374]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10065c57
mov eax, dword [0x10613380]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10065cd0
cmp dword [0x10613384], edi
je 0x10065cd0
push eax
call ebx
push dword [0x10613384]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10065cd0
test eax, eax
je 0x10065cd0
call ecx
test eax, eax
je 0x10065cc5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10065cc5
test byte [ebp - 8], 1
jne 0x10065cd0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10065d00
mov eax, dword [0x10613378]
cmp eax, edi
je 0x10065cfd
push eax
call ebx
test eax, eax
je 0x10065cfd
call eax
mov esi, eax
test esi, esi
je 0x10065cfd
mov eax, dword [0x1061337c]
cmp eax, edi
je 0x10065cfd
push eax
call ebx
test eax, eax
je 0x10065cfd
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10613374]
call ebx
test eax, eax
je 0x10065d18
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10065d1a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10055146
mov esp, ebp
pop ebp
ret
Function at 0x1000c377
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10024d58]
jne 0x1000c381
repz ret
jmp fcn.1000e49b

Function at 0x1000f5ef
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.1000c3f8
and dword [ebp - 4], 0
cmp dword [0x100261a8], 0
mov ebx, eax
jne 0x1000f6a0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000f751
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000f751
push eax
call fcn.1000c386
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100261a8], eax
call esi
push eax
call fcn.1000c386
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100261ac], eax
call esi
push eax
call fcn.1000c386
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100261b0], eax
call esi
push eax
call fcn.1000c386
pop ecx
mov dword [0x100261b8], eax
test eax, eax
je 0x1000f6a0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000c386
pop ecx
mov dword [0x100261b4], eax
mov eax, dword [0x100261b4]
cmp eax, ebx
je 0x1000f6f8
cmp dword [0x100261b8], ebx
je 0x1000f6f8
push eax
call fcn.1000c401
push dword [0x100261b8]
mov esi, eax
call fcn.1000c401
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000f6f8
test edi, edi
je 0x1000f6f8
call esi
test eax, eax
je 0x1000f6ef
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000f6ef
test byte [ebp - 0xc], 1
jne 0x1000f6f8
or dword [ebp + 0x10], 0x200000
jmp 0x1000f731
mov eax, dword [0x100261ac]
cmp eax, ebx
je 0x1000f731
push eax
call fcn.1000c401
pop ecx
test eax, eax
je 0x1000f731
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000f731
mov eax, dword [0x100261b0]
cmp eax, ebx
je 0x1000f731
push eax
call fcn.1000c401
pop ecx
test eax, eax
je 0x1000f731
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100261a8]
call fcn.1000c401
pop ecx
test eax, eax
je 0x1000f751
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000f753
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10011510
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
mov eax, dword [0x100247e4]
add eax, 0x1b0d
mov dword [0x100247e0], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 8], eax
mov eax, dword [0x100247e0]
sub eax, 0x26d
mov dword [0x100247e0], eax
mov dword [ebp - 0xc], 0
jmp 0x100115d7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
je 0x100115b1
jmp 0x1001165a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
je 0x1001159d
jmp 0x1001159b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
je 0x10011573
jmp 0x100115ac
jmp 0x100115ac
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
add esp, 0x10
pop ebp
ret
jmp 0x10011656
mov eax, dword [0x100247e4]
sub eax, 0x27d
mov dword [0x100247e0], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
je 0x10011636
jmp 0x10011658
cmp dword [ebp - 0xc], 0x104
jge 0x1001160c
mov dword [0x100247e4], 0xb09
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
cmp eax, 0
jne 0x100115fd
jmp 0x1001160c
jmp 0x100115ff
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x100115d7
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + eax*2 - 0x1a]
cmp eax, 0x6c
jne 0x1001165e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
movzx eax, word [ecx + eax*2 - 0x18]
cmp eax, 0x6f
je 0x1001155c
jmp 0x1001165c
mov dword [0x100247e4], 0xd6f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
je 0x10011587
jmp 0x10011658
jmp 0x1001165a
jmp 0x1001165c
jmp 0x1001165e
mov dword [ebp - 0x10], 0
jmp 0x100115a4

Function at 0x100119b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.100119b0]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100119d6
jmp 0x100119f2
mov eax, dword [ebp - 4]
add esp, 8
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x100119f0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x100119ce
jmp 0x100119f2
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov dword [0x100247e0], 0x6b9
mov al, 1
test al, 1
jne 0x100119bf
jmp 0x10011a14
mov eax, dword [0x100247e0]
add eax, 0x1c7d
mov dword [0x100247e4], eax
mov dword [ebp - 4], 0
jmp 0x100119ce
Function at 0x47d4a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4d000]
mov dword [edi + 0x65118], 0x400eea94
push edi
jmp 0x47d4ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47d4d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d4c0
mov eax, 1
add ebx, ebx
jne 0x47d4e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47d4f4
jne 0x47d513
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d513
dec eax
add ebx, ebx
jne 0x47d500
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47d4d8
add ebx, ebx
jne 0x47d50f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47d565
xor ecx, ecx
sub eax, 3
jb 0x47d52b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47d59a
sar eax, 1
mov ebp, eax
jmp 0x47d536
add ebx, ebx
jne 0x47d536
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d504
inc ecx
add ebx, ebx
jne 0x47d544
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d504
add ebx, ebx
jne 0x47d551
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47d546
jne 0x47d562
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47d546
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47d584
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47d576
jmp 0x47d4c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47d584
add edi, ecx
jmp 0x47d4c6
pop esi
mov edi, esi
mov ecx, 0x21ad
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47d5a2
cmp byte [edi], 0x11
jne 0x47d5a2
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 0x47d5a7
lea edi, [esi + 0x78000]
mov eax, dword [edi]
or eax, eax
je 0x47d61f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8894c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x88a64]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47d5d4
mov ecx, edi
jns 0x47d603
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 + 0x88a68]
or eax, eax
je 0x47d619
mov dword [ebx], eax
add ebx, 4
jmp 0x47d5f1
call dword [esi + 0x88a78]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x47d650
cmp al, 0xef
ja 0x47d643
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x47d625
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x47d632
mov ebp, dword [esi + 0x88a6c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x47d684
sub esp, 0xffffff80
jmp 0x41307d
Function at 0x100017b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100017c7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100017f8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x100017f4
cmp esi, eax
jae 0x100017f8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x100017e4
cmp esi, eax
jb 0x100017fe
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x1000c290
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100bfdca
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100fc018]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, edx
mov dword [esp + 0x38], 0
mov edi, dword [ebx + 0x10]
mov ebp, dword [ebx + 0xc]
mov ecx, edi
sub ecx, ebp
mov eax, 0x30c30c31
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x1000c318
cmp ebp, edi
jbe 0x1000c2ec
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
push edi
push eax
lea eax, [esp + 0x48]
push eax
mov eax, 0x30c30c31
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub esi, ecx
push esi
mov ecx, ebx
call fcn.1000cb50
jmp 0x1000c369
jae 0x1000c369
cmp ebp, edi
jbe 0x1000c324
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebp, dword [ebx + 0xc]
mov edx, dword [ebx]
mov dword [esp + 0x18], edx
cmp ebp, dword [ebx + 0x10]
jbe 0x1000c338
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
lea eax, [esp + 0x24]
mov dword [esp + 0x28], ebp
call fcn.1000cfd0
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 4]
push edi
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
call fcn.1000cab0
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x3c], 0xffffffff
call fcn.1000bc70
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xa8