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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x47ac54
je 0x45f359
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45f341
mov esi, dword [ebx + 4]
jmp 0x45f33b
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45f32b
cmp dword [ebp - 0xc], 4
jne 0x45f32b
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x45f323
or dword [eax + 0x9c], ecx
jmp 0x45f32b
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x45f2ef
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x45f2d2
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x45f8a7
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x463d1f
call fcn.0042d51c
sub esp, 0x220
mov eax, dword [0x47b6dc]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x228]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov esi, eax
test esi, esi
jne 0x45f9a0
push 0x104
lea eax, [ebp - 0x220]
push eax
push 0
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, eax
test esi, esi
jne 0x45f974
and dword [ebp - 4], eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
call fcn.00402b10
lea eax, [ebp - 0x224]
push eax
push dword [ebp - 0x228]
mov byte [ebp - 4], 1
call fcn.0045f8a7
mov ecx, dword [ebp - 0x224]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401200
test bl, bl
jne 0x45f974
or dword [ebp - 4], 0xffffffff
jmp 0x45f8e5
cmp esi, 0x103
je 0x45f984
cmp esi, 0x3f2
jne 0x45f994
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
push dword [ebp - 0x228]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.0042a4a0
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x460a6f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x460aa4
cmp edi, dword [esi + 0xc]
jge 0x460aa4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x460aa4
cmp edi, dword [eax + 8]
jge 0x460aa4
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x460aa6
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x460baa
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x460bde
jmp fcn.00454b66
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x460c4f
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x460d48
cmp eax, dword [edi + 0xc]
jge 0x460d48
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x460ca0
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x460d31
cmp dword [ebp + 0xc], ebx
je 0x460d31
jmp 0x460cca
push 0x10
call fcn.0046093b
cmp eax, ebx
je 0x460cb6
mov ecx, eax
call fcn.00460ba1
mov esi, eax
jmp 0x460cb8
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x460ce1
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x460cf1
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x460d03
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00454b66
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.0042da00
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x460d43
cmp ecx, dword [esi + 8]
jge 0x460d43
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x460d49
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1001695
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push edi
push 4
pop edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
xor esi, esi
push esi
push 0x2001f
push esi
push esi
push esi
push 0x10011f8
push 0x80000001
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100180b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
push 0x10011e0
push dword [ebp - 8]
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0xc], esi
jne 0x10016ff
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100180b
mov edi, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push esi
push esi
push 0x146
push 0x6a
push dword [ebp + 8]
call edi
mov ecx, dword [ebp - 0xc]
cmp ecx, eax
mov dword [ebp - 4], eax
jae 0x1001720
mov dword [ebp - 4], ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push esi
lea eax, [ebp - 0x48]
push 0x10011d0
push eax
call ebx
add esp, 0xc
push dword [ebp + 0xc]
xor esi, esi
inc esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x105
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x48]
push esi
xor esi, esi
push esi
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x14c
push 0x6a
push dword [ebp + 8]
call edi
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
jne 0x1001789
cmp eax, 0xffffffff
jne 0x1001789
dec dword [ebp - 4]
cmp dword [ebp - 4], esi
mov dword [ebp + 0xc], esi
jbe 0x1001801
mov esi, 0x10040e0
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x10017a3
cmp dword [ebp + 0xc], eax
je 0x10017f6
push esi
push dword [ebp + 0xc]
push 0x148
push 0x6a
push dword [ebp + 8]
call edi
cmp word [0x10040e0], 0
je 0x1001801
push dword [ebp - 0x14]
lea eax, [ebp - 0x48]
push 0x10011d0
push eax
call ebx
add esp, 0xc
push esi
mov dword [ebp - 0x10], 0x105
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
inc dword [ebp - 0x14]
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 4]
jb 0x1001796
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x1001811
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
push edi
push 8
pop ecx
mov esi, 0x1001294
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
push 0x1004da0
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 0x13
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x1001862
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
mov edi, dword [ebp + 8]
push 0x20
pop ebx
jmp 0x100186c
inc edi
inc edi
cmp word [edi], bx
je 0x100186a
cmp word [edi], 0x22
mov esi, edi
jne 0x100188f
push 0x22
pop ebx
lea esi, [edi + 2]
jmp 0x100188f
cmp ax, bx
je 0x1001897
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x1001881
cmp word [esi], 0x22
jne 0x100189f
inc esi
inc esi
xor eax, eax
cmp word [esi], ax
je 0x10018ab
mov word [esi], ax
inc esi
inc esi
cmp esi, eax
jne 0x10018b4
mov esi, 0x10011cc
push eax
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0xf4]
push eax
push dword [ebp + 0x10]
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push esi
push edi
push ebx
push dword [0x1004d88]
call sub.SHELL32.dll_RealShellExecuteW
movzx eax, ax
cmp eax, 0xf
jg 0x100195f
je 0x10019b7
cmp eax, 5
jg 0x100193d
je 0x1001933
sub eax, ebx
je 0x1001958
dec eax
dec eax
je 0x1001929
dec eax
je 0x100191f
dec eax
jne 0x10019b7
mov esi, 0xcf
jmp 0x10019c0
mov esi, 0xce
jmp 0x10019c0
mov esi, 0xcd
jmp 0x10019c0
mov esi, pe_nt_image_headers32
jmp 0x10019c0
sub eax, 8
je 0x1001958
dec eax
dec eax
je 0x1001951
dec eax
dec eax
jne 0x10019b7
mov esi, 0xd2
jmp 0x10019c0
mov esi, 0xd1
jmp 0x10019c0
mov esi, 0xcc
jmp 0x10019c0
cmp eax, 0x1a
jg 0x1001998
je 0x1001991
sub eax, 0x10
je 0x100198a
dec eax
dec eax
je 0x1001983
dec eax
je 0x100197c
dec eax
jne 0x10019b7
mov esi, 0xd6
jmp 0x10019c0
mov esi, 0xd5
jmp 0x10019c0
mov esi, 0xd4
jmp 0x10019c0
mov esi, 0xd3
jmp 0x10019c0
mov esi, 0xd7
jmp 0x10019c0
cmp eax, 0x1b
je 0x10019bb
jle 0x10019b7
cmp eax, 0x1e
jle 0x10019b0
cmp eax, 0x1f
jne 0x10019b7
mov esi, 0xda
jmp 0x10019c0
mov esi, 0xd9
jmp 0x10019c0
xor esi, esi
jmp 0x10019c0
mov esi, 0xd8
push 0x13
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x10019de
mov edi, dword [sym.imp.USER32.dll_ShowCursor]
push ebx
call edi
cmp eax, 0xffffffff
je 0x10019de
push 1
call edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetCursor]
push 0x1004b80
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop edi
mov ax, si
pop esi
pop ebx
leave
ret 0xc
Function at 0x1001b73
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xac
push esi
push edi
push 6
pop ecx
mov esi, 0x1001334
lea edi, [ebp + 0x48]
rep movsd dword es:[edi], dword [esi]
push 0x1e
pop ecx
movsw word es:[edi], word [esi]
mov esi, 0x10012b8
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor esi, esi
push esi
lea eax, [ebp + 0x70]
push eax
push esi
push 0x2001f
push esi
lea eax, [ebp - 0x34]
push eax
push esi
lea eax, [ebp - 0x34]
push eax
push 0x80000001
mov dword [ebp + 0x70], esi
mov dword [ebp + 0x74], esi
mov dword [ebp + 0x6c], esi
call edi
test eax, eax
jne 0x1001c32
push esi
lea eax, [ebp + 0x74]
push eax
push esi
push 0x20019
push esi
lea eax, [ebp - 0x34]
push eax
push esi
lea eax, [ebp + 0x48]
push eax
push dword [ebp + 0x70]
call edi
cmp dword [ebp + 0x74], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x1001c23
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 0x64]
push eax
push esi
push str.NoRun
push dword [ebp + 0x74]
mov dword [ebp + 0x68], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp + 0x74], esi
je 0x1001c23
push dword [ebp + 0x74]
call edi
mov dword [ebp + 0x74], esi
push dword [ebp + 0x70]
call edi
xor eax, eax
cmp dword [ebp + 0x6c], esi
sete al
jmp 0x1001c34
xor eax, eax
pop edi
pop esi
add ebp, 0x78
leave
ret
Function at 0x1002703
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001370
call fcn.010028a0
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x100273e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100273e
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1002756
cmp eax, 0x20b
je 0x1002743
mov dword [ebp - 0x1c], edi
jmp 0x100276a
cmp dword [ecx + 0x84], 0xe
jbe 0x100273e
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1002764
cmp dword [ecx + 0x74], 0xe
jbe 0x100273e
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x10051d0], 0xffffffff
or dword [0x10051d4], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1004304]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1004300]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x10051d8], eax
call fcn.0100289c
cmp dword [0x10040d0], edi
jne 0x10027c5
push fcn.0100289c
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100288a
push 0x10011a0
push 0x100119c
call sub.msvcrt.dll__initterm
mov eax, dword [0x10042fc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x10042f8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x1001198
push 0x1001194
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.010024e0
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x100283c
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1002871
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010028d9
ret

Function at 0x430003
Capabilities:
Authenticate hmac
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x365c7e20
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x172e00aa
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x100035b2
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x10029ae3
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x100035e6
push 6
call fcn.1000ec7c
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x1000372c
push 0x10029a6b
call fcn.10003732
mov eax, 0x10029399
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.10003442
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10003621
push ebx
call fcn.1000ec8e
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x10029ae7], eax
push OleUIBusyA
push 0
push 0x10029399
push 1
mov ebx, 0x194
call fcn.10010170
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 4]
push eax
push 0x40
push dword [ebp - 8]
push dword [0x10029ae7]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000367b
push 6
call fcn.1000ec7c
add esp, 4
fild dword [0x10029ae7]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x100294c7]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.100029cc
push eax
push 0x20
push dword [0x10029ae7]
call fcn.100037f2
push OleUIBusyA
push 0
push 0x10029399
push 1
mov ebx, 0x194
call fcn.10010170
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.10010180
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
mov eax, 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [0x10029ae7]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000372c
push 6
call fcn.1000ec7c
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x10007ae5
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
push 0x10029b17
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10007b19
push 6
call fcn.1000ec7c
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x10007c5f
push 0x10029b1b
call fcn.10007c65
mov eax, 0x10029399
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.10007d25
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10007b54
push ebx
call fcn.1000ec8e
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x10029b1f], eax
push OleUIBusyA
push 0
push 0x10029399
push 1
mov ebx, 0x194
call fcn.10010170
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
lea eax, [ebp - 4]
push eax
push 0x40
push dword [ebp - 8]
push dword [0x10029b1f]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10007bae
push 6
call fcn.1000ec7c
add esp, 4
fild dword [0x10029b1f]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fadd qword [0x100294c7]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
call fcn.100029cc
push eax
push 0x20
push dword [0x10029b1f]
call fcn.10007d4c
push OleUIBusyA
push 0
push 0x10029399
push 1
mov ebx, 0x194
call fcn.10010170
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc8
call fcn.10010180
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
mov eax, 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [0x10029b1f]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10007c5f
push 6
call fcn.1000ec7c
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x1001f4cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x1001f50e
call fcn.100225a6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1001f50e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1001f505
xor eax, eax
jmp 0x1001f516
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1001f51c
pop edi
pop esi
pop ebx
ret 4