joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b0d4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45b0eb
add esp, 0xfffffff0
call fcn.00403b40
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b224
mov eax, dword [0x46e804]
cmp word [eax + 2], 0
jne 0x45b113
mov eax, dword [0x46e804]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045c7c4
mov eax, dword [0x46e90c]
cmp word [eax + 2], 0
jne 0x45b12d
mov eax, dword [0x46e90c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045c9bc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412648]
call fcn.004037ec
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412648]
call fcn.004037ec
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41d780]
call fcn.00424c84
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45b2b4
mov eax, dword [0x46e6a8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00425054
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45cf5c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46e6a8]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d04c
test eax, eax
je 0x45b222
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004091fc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d074
test eax, eax
je 0x45b236
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404860
mov eax, dword [0x46e4cc]
cmp byte [eax], 0
jne 0x45b26a
mov eax, ebx
call fcn.0045b3dc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045d138
mov eax, ebx
call fcn.0045dafc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45b2aa
call fcn.00403b98
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45b65c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46fbbc]
cmp dword [eax + 0x30], 0
je 0x45b706
cmp dword [ebx + 0x94], 0
jne 0x45b700
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45b5ec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45b700
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45b6c6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45b700
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414bbc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45b6d5
inc dword [ebx + 0x94]
pop ecx
pop edx

Function at 0x45c268
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45c29d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004046e0
jmp 0x45c2aa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404644
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45d314
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45d355
mov eax, esi
call fcn.004435a4
test al, al
je 0x45d355
mov eax, dword [ebx + 0x84]
call fcn.004432a0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45d355
push 0
mov eax, dword [ebx + 0x84]
call fcn.004432a0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x467e28
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x467f62
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00415870
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x467ea4
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x467ea4
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004084f4
mov edx, dword [ebp - 0x14]
mov ebx, dword [0x46e558]
mov ebx, dword [ebx]
mov eax, 0x467f78
call ebx
dec eax
jne 0x467ea4
mov ebx, 1
jmp 0x467ea6
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
sub eax, ebx
jl 0x467f47
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00467938
test al, al
jne 0x467f3b
mov eax, dword [ebp - 4]
call fcn.00467e1c
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
call fcn.00404644
xor edx, edx
push ebp
push 0x467f29
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
test al, al
je 0x467f1f
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0046823c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x467f3b
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x467ebe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467f69
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404614
ret
Function at 0x46b060
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc24
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x3d4], ebx
mov dword [ebp - 0x3d8], ebx
mov dword [ebp - 0x3dc], ebx
mov dword [ebp - 4], ebx
mov esi, ecx
lea edi, [ebp - 0x304]
xor ecx, ecx
mov cl, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
mov esi, edx
lea edi, [ebp - 0x204]
xor ecx, ecx
mov cl, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
mov esi, eax
lea edi, [ebp - 0x104]
xor ecx, ecx
mov cl, byte [esi]
inc ecx
rep movsb byte es:[edi], byte [esi]
xor eax, eax
push ebp
push 0x46b18d
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea eax, [ebp - 0x3d4]
lea edx, [ebp - 0x104]
call fcn.00404854
push dword [ebp - 0x3d4]
push 0x46b1a8
lea eax, [ebp - 0x3d8]
lea edx, [ebp - 0x204]
call fcn.00404854
push dword [ebp - 0x3d8]
push 0x46b1a8
lea eax, [ebp - 0x3dc]
lea edx, [ebp - 0x304]
call fcn.00404854
push dword [ebp - 0x3dc]
lea eax, [ebp - 4]
mov edx, 5
call fcn.00404970
lea eax, [ebp - 0x3cd]
mov edx, dword [ebp - 4]
call fcn.00409258
mov eax, dword [ebp + 8]
sub eax, 1
jb 0x46b139
je 0x46b149
dec eax
je 0x46b159
jmp 0x46b167
push 2
lea eax, [ebp - 0x3cd]
push eax
call sub.kernel32.dll_WinExec
jmp 0x46b167
push 1
lea eax, [ebp - 0x3cd]
push eax
call sub.kernel32.dll_WinExec
jmp 0x46b167
push 3
lea eax, [ebp - 0x3cd]
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b194
lea eax, [ebp - 0x3dc]
mov edx, 3
call fcn.00404614
lea eax, [ebp - 4]
call fcn.004045f0
ret
Function at 0x41eb0a
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c5a0
push 0x42c598
push str.FlsAlloc
push 0x1f
call fcn.0041e9a6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41eb3e
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281d0]
call esi
jmp 0x41eb44
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41eb88
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c5b0
push 0x42c5a8
push str.FlsGetValue
push 0x21
call fcn.0041e9a6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41ebbf
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281d0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41ebc7
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c5b8
push 0x42c5b0
push str.FlsSetValue
push 0x22
call fcn.0041e9a6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41ec01
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4281d0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x417c13
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x4c6b5c]
push ebx
push eax
call dword [sym.imp.USER32.dll_HideCaret]
adc eax, sym.imp.USER32.dll_HideCaret
mov ecx, dword [0x4c6b5c]
push ecx
call sub.WINSPOOL.DRV_StartPagePrinter
lea edx, [esp + 8]
mov ebx, 1
add byte [eax], al
push edx
push ebx
push 0
push str.CLSID4be8a061_c73b_4f23_8114_317aae3e8698InProcServer32
xor byte [eax + eax + 0x68], cl
add byte [eax], al
invalid
invalid

Function at 0x417c4b
Capabilities:
Query or enumerate registry value

Disassembly:
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [0x4c7f8c], eax
jg 0x417ca1
add byte [ecx + 0x4c6b5c], ah

Function at 0x417c5b
Capabilities:
Query or enumerate registry value

Disassembly:
push eax
call dword [sym.imp.GDI32.dll_GetBkMode]
mov dword [esp + 4], eax
inc esp
and al, 4
mov eax, dword [0x4c7f8c]

Function at 0x42ecab
Capabilities:
Encode data using xor

Disassembly:
lcall 0x1175, 0x95aa45cb
mov bl, 0x39
cmp dword [edx + 0x2818df5a], ecx
xchg dword [edi - 0x1e], esp
dec edx
les edx, [edx]
fisubr dword [esi]
xchg ecx, eax
sub esi, dword [ecx - 0x8c41b9e]
mov cl, 0x62
in al, 0x3b
mul esi
invalid
sbb dh, byte [ecx - 0x6e]
jno 0x42ec47
invalid
dec eax
salc
xor eax, 0xc1f94eca
leave
jle 0x42ecac
xchg esp, eax
push 0x28e
add byte [eax], al
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
and al, 0x24
mov edx, dword [esp + 0x2c]
movq mm5, qword [esp + 0x34]
insb byte es:[edi], dx
and al, 0x34

Function at 0x44e08f
Capabilities:
Encode data using xor

Disassembly:
add al, 0x1e
sub al, byte [ebp + ebx*4 - 0x2b2e5b28]
out dx, al
lahf
adc dl, cl
xor dword [esi + eax], esp
out dx, eax
fisub word [esi + ebp*2]
das
daa
push edi
dec ecx
xchg edi, eax
adc eax, 0x36a70237
push edi
pop ds
invalid

Function at 0x45c4eb
Capabilities:
Encode data using xor

Disassembly:
aaa
les edx, [0xb7481c7c]
das
pushfd
cmp al, 7
jo fcn.0045c4ab
invalid
Function at 0x4baab1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c3418
cmp edx, dword [eax]
je 0x4baad3
add eax, 8
inc ecx
cmp eax, 0x4c34a8
jl 0x4baac4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c3418]
jne 0x4bac01
mov eax, dword [0x4c7fa0]
cmp eax, 1
je 0x4babdb
test eax, eax
jne 0x4bab04
cmp dword [0x4c3340], 1
je 0x4babdb
cmp edx, 0xfc
je 0x4bac01
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bab3b
lea eax, [ebp - 0x1a4]
push 0x4bfba0
push eax
call fcn.004bb490
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb920
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bab7e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb920
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bfb9c
push edi
call fcn.004bd7f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4bfb80
push eax
call fcn.004bb490
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bb4a0
lea eax, [ebp - 0xa0]
push 0x4bfb7c
push eax
call fcn.004bb4a0
push dword [esi + 0x4c341c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bb4a0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4bfb54
push eax
call fcn.004bd764
add esp, 0x2c
pop edi
jmp 0x4bac01
lea eax, [ebp + 8]
lea esi, [esi + 0x4c341c]
push 0
push eax
push dword [esi]
call fcn.004bb920
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x6d37396
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x65ad429d
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40b85a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x40b869
pop dword [ebp - 0x30]
mov eax, 0x121eac44
sub eax, 0x11ddf3db
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x524ebe68
add dword [ebp - 0x40], 0xfc0386e3
mov dword [ebp - 0x3c], 0x47035f94
add dword [ebp - 0x3c], 0xeb2fecb1
mov dword [ebp - 0x38], 0xe27145fe
add dword [ebp - 0x38], 0x69dafe30
mov dword [ebp - 0x34], 0x375d3b90
add dword [ebp - 0x34], 0xc8a2c470
lea eax, [ebp - 0x40]
push eax
mov eax, 0xf7bfa287
sub eax, 0xf77f91db
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xc03e5552
add dword [ebp - 0x40], 0xb4341404
mov dword [ebp - 0x3c], 0x329d2d9e
add dword [ebp - 0x3c], 0xecf33d7
mov dword [ebp - 0x38], 0x8f77fad4
sub dword [ebp - 0x38], 0x2c088e68
mov dword [ebp - 0x34], 0x94464da
add dword [ebp - 0x34], 0xf6bb9b26
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x39e78
push 0
call eax
mov ecx, 0x4df9
mov esi, eax
mov edx, 0x413e00
add edx, dword [ebp - 0x30]
mov ebx, 0x2b7c4939
sub ebx, 0xbf63d600
sub dword [ebp - 0x2c], 0xda515fb0
mov edi, dword [edx]
sub dword [ebp - 0x24], ebx
xor edi, ebx
mov dword [ebp - 0x2c], 0x4fdea97c
mov dword [esi], edi
mov dword [ebp - 4], 0x486c338b
add esi, 0xe92dc437
add esi, 0x16d23bcd
add edx, 4
loop 0x40b97a
add eax, 0x12ab7
xor ebx, ebx
add ebx, eax
add eax, 0x3882b9ed
sub eax, 0x3882b9e8
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x40153b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esp
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [esp + 0x2c], 1
je 0x401554
movzx esi, word [esp + 0x30]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x4044e0], eax
mov dword [ebp - 0x4c], 0x30
call fcn.0040152b
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x40120e
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.Trick
mov dword [ebp - 0x20], eax
call fcn.0040151e
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test eax, eax
je 0x401626
mov eax, 0x80000000
push edi
push dword [ebp - 0x38]
push edi
push edi
push eax
push eax
push eax
push eax
push 0x80
push str.Qindom
push str.Trick
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x4044e8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4044e8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401626
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40160a
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x100016a1
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, 0xbb40e64e
cmp dword [0x1000f7ac], eax
je 0x10010d4a
cmp dword [0x1000f7ac], ebx
je 0x10010d4a
pop ebx
leave
ret
push esi
push eax
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [ebp - 8]
xor esi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
xor esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x1000f7ac
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x1000f7ac], esi
test esi, esi
jne 0x10010db9
mov dword [0x1000f7ac], ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
mov esi, 0x1000f7ac
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push esi
call sub.KERNEL32.dll_WerRegisterMemoryBlock
mov eax, dword [0x1000f7ac]
not eax
mov dword [0x10139680], eax
pop esi
jmp 0x100016c7

Function at 0x10002059
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000f7ac]
jne fcn.100c25a4
ret
Function at 0x100037b7
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x1000f7ac]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x29c], eax
mov eax, dword [0x1010366c]
push ebx
mov ebx, dword [ebp + 8]
cmp eax, 0xffffffff
jne 0x10011452
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10002059
leave
ret 0x10
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov dword [ebp - 0x2a0], edi
test edi, edi
je 0x100115fe
push esi
xor esi, esi
cmp dword [edi], esi
jne 0x100115fd
mov dword [edi], 1
cmp ebx, 0x7e
ja 0x100115fb
mov ebx, dword [edi + ebx*4 + 4]
mov dword [ebp - 0x2a4], ebx
test ebx, ebx
je 0x100115fb
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp + 0x14]
and eax, 3
add esp, 0xc
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x298], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push ebx
mov dword [ebp - 0x294], eax
call fcn.100cba59
cmp eax, dword [ebx + 0x24]
jg 0x10011520
mov ecx, dword [ebx + 0x48]
cmp ecx, dword [ebx + 0x44]
jae 0x10011520
test byte [ebx + 4], 1
jne 0x10011520
test dword [ebx + 4], 0x400
jne 0x10011520
test byte [ebp + 0x14], 0x10
jne 0x10011520
cmp dword [0x1013e4a8], esi
je 0x10011520
push esi
lea eax, [ebp - 0x28c]
push eax
push 0x20
push 1
call dword [sym.imp.KERNEL32.dll_RtlCaptureStackBackTrace]
movzx eax, ax
mov dword [ebp - 0x290], eax
jmp 0x10011522
mov eax, esi
mov edi, dword [ebp - 0x298]
mov esi, ebx
mov ebx, dword [ebp - 0x29c]
push ebx
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x294]
push dword [ebp + 0xc]
push edi
call fcn.100cbb4e
test byte [esi + 4], 2
jne 0x10011561
mov esi, dword [esi]
mov eax, dword [ebp - 0x290]
test esi, esi
jne 0x10011530
mov ebx, dword [ebp - 0x2a4]
test edi, edi
mov edi, dword [ebp - 0x2a0]
jne 0x100115a8
test byte [0x10103580], 2
je 0x100115a8
push dword [ebp - 0x29c]
push dword [ebp - 0x294]
push dword [ebp + 0xc]
push dword [ebx + 8]
push dword [ebx + 0x38]
push dword [ebx + 0x34]
push 0x10011608
push dword [0x10103e64]
push dword [0x10103e60]
call fcn.100cb940
mov esi, dword [ebx + 0xc]
cmp esi, 0xffffffff
je 0x100115f6
mov esi, dword [edi + esi*4 + 4]
test esi, esi
je 0x100115f6
mov edi, dword [ebp - 0x298]
mov ebx, dword [ebp - 0x290]
push 0
push ebx
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x294]
push dword [ebp + 0xc]
push edi
call fcn.100cbb4e
test byte [esi + 4], 2
jne 0x100115f0
mov esi, dword [esi]
test esi, esi
jne 0x100115c4
mov edi, dword [ebp - 0x2a0]
and dword [edi], 0
jmp 0x100115fd
mov dword [edi], esi
pop esi
pop edi
jmp 0x100037e5
Function at 0x10003841
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1000f7ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor bl, bl
call fcn.10003873
test eax, eax
jne 0x10012a22
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.10002059
leave
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 0x214]
push eax
push 0x20019
xor edi, edi
push edi
push 0x10012b28
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], edi
call esi
test eax, eax
jne 0x10012af2
lea eax, [ebp - 0x218]
push eax
push 0x20119
push edi
push 0x10012b28
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x10012af2
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push 0x10028e20
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], 0x20a
call esi
test eax, eax
jne 0x10012af2
cmp dword [ebp - 0x220], 1
jne 0x10012af2
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x220]
push eax
push edi
push 0x10028e20
push dword [ebp - 0x218]
mov dword [ebp - 0x21c], 0x20a
call esi
test eax, eax
jne 0x10012af2
cmp dword [ebp - 0x220], 1
jne 0x10012af2
inc bl
mov eax, dword [ebp - 0x218]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10012b0b
push eax
mov dword [ebp - 0x218], edi
call esi
mov ecx, dword [ebp - 0x214]
test ecx, ecx
je 0x10012b1e
push ecx
mov dword [ebp - 0x214], edi
call esi
pop edi
pop esi
jmp 0x10003864