joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452774
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45291f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x452900
mov dl, 1
mov eax, dword [0x41175c]
call fcn.004030e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ed4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4528ef
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004407a8
test al, al
je 0x4528e2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x452930
lea eax, [ebp - 0x254]
call fcn.004088bc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4528e2
xor eax, eax
push ebp
push 0x4528db
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x452968
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4528c4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404144
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4528c4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404144
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4528e2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4527e5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415238
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452926
lea eax, [ebp - 0x260]
call fcn.00403ed4
ret

Function at 0x453254
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45f5d8]
cmp byte [eax + 0xa5], 0
jne 0x4532c5
cmp dword [0x45f5f0], 0
jne 0x453286
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453210
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45f5f0], eax
cmp dword [0x45f5ec], 0
jne 0x4532a1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45f5ec], eax
cmp dword [0x45f5f4], 0
jne 0x4532c5
push esp
push 0
push 0
push 0x4531b4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45f5f4], eax
pop edx
ret
Function at 0x4533bc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4533d3
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419048
mov eax, dword [0x45db5c]
cmp word [eax + 2], 0
jne 0x4533fb
mov eax, dword [0x45db5c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454928
mov eax, dword [0x45dc20]
cmp word [eax + 2], 0
jne 0x453415
mov eax, dword [0x45dc20]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454b20
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411340]
call fcn.004030e4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411340]
call fcn.004030e4
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 [0x424844]
call fcn.0042a48c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45359c
mov eax, dword [0x45da78]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a85c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4550c0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45da78]
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.0040bef8
test eax, eax
je 0x45350a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040829c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bf20
test eax, eax
je 0x45351e
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.00404144
mov eax, dword [0x45d954]
cmp byte [eax], 0
jne 0x453552
mov eax, ebx
call fcn.004536c4
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.0045529c
mov eax, ebx
call fcn.00455c60
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453592
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x453944
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45f5d8]
cmp dword [eax + 0x30], 0
je 0x4539ee
cmp dword [ebx + 0x94], 0
jne 0x4539e8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4538d4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4539e8
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 0x4539ae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4539e8
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.004136a8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4539bd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454550
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 0x454585
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.00403fc4
jmp 0x454592
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f28
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455478
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4554b9
mov eax, esi
call fcn.0043bfb0
test al, al
je 0x4554b9
mov eax, dword [ebx + 0x84]
call fcn.0043bd50
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4554b9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043bd50
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x455d30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
xor edx, edx
test ebx, ebx
jne 0x455d42
cmp dword [ebx + 0x3c], 0
je 0x455da5
mov edi, ebx
mov eax, dword [edi + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x455da5
cmp word [eax + 0x14], 0
je 0x455d7d
mov esi, dword [eax + 0x54]
push esp
push 0x40
push esi
push edi
call sub.kernel32.dll_VirtualProtect
mov edx, esi
mov eax, edi
call fcn.004067dc
push esp
mov eax, dword [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_VirtualProtect
jmp 0x455da2
mov esi, 0x58
push esp
push 0x40
push esi
push edi
call sub.kernel32.dll_VirtualProtect
mov edx, esi
mov eax, edi
call fcn.004067dc
push esp
mov eax, dword [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_VirtualProtect
or edx, 0xffffffff
mov eax, edx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4562c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
xor eax, eax
push ebp
push 0x4563aa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
call fcn.00456234
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408144
lea eax, [ebp - 4]
mov edx, 0x4563c0
call fcn.0040419c
mov eax, dword [ebp - 4]
call fcn.00404394
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45f674], eax
cmp dword [0x45f674], 0
je 0x45638f
push 0x4563cc
mov eax, dword [0x45f674]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45f614], eax
push 0x4563d8
mov eax, dword [0x45f674]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45f618], eax
push 0x4563e4
mov eax, dword [0x45f674]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45f61c], eax
push 0x4563f0
mov eax, dword [0x45f674]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45f620], eax
push 0x4563fc
mov eax, dword [0x45f674]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45f624], eax
push 0x456408
mov eax, dword [0x45f674]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45f628], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4563b1
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403ef8
ret

Function at 0x4567c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404384
xor eax, eax
push ebp
push 0x456866
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [0x45d9f8]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jbe 0x456843
push 0xff
lea eax, [ebp - 0x104]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.0040844c
mov edx, dword [ebp - 0x108]
mov eax, dword [ebp - 4]
call fcn.004044d8
test eax, eax
jne 0x456845
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
ja 0x456800
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45686d
lea eax, [ebp - 0x108]
call fcn.00403ed4
lea eax, [ebp - 4]
call fcn.00403ed4
ret

Function at 0x45b508
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
mov eax, 0x45b2a0
call fcn.00405d14
mov ebx, dword [0x45dd44]
mov eax, dword [0x45db40]
push eax
call sub.kernel32.dll_InitializeCriticalSection_1
mov eax, dword [0x45dcc0]
mov edx, 0x45b5a0
call fcn.00403f28
mov byte [ebx + 0xc], 0
mov byte [ebx], 0
mov byte [ebx + 1], 0
mov byte [ebx + 2], 0
mov byte [ebx + 3], 0
mov byte [ebx + 4], 0
mov byte [ebx + 5], 0
mov byte [ebx + 6], 0
mov byte [ebx + 7], 0
mov byte [ebx + 8], 0
mov byte [ebx + 9], 0
mov byte [ebx + 0xa], 0
mov byte [ebx + 0xb], 0
mov eax, dword [0x45d9d8]
mov byte [eax], 0
push 0x45fe3c
push 0
push 0
push 0x456b58
push 0
push 0
call sub.kernel32.dll_CreateThread
call fcn.0045b090
pop ebx
call fcn.00403de4
add byte [eax], al
Function at 0x10085c5b
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
xor edx, edx
mov ecx, 0x811c9dc5
cmp dword [ebp + 0xc], edx
jbe 0x10085c83
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [edx + esi]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x10085c70
pop esi
mov eax, ecx
pop ebp
ret

Function at 0x10094200
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1009423e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10094236
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10094240
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10094226
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10094310
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x10094341
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x10094341
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x10094341
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x100aa16a
Capabilities:
Encode data using xor

Disassembly:
call 0x100aa0e3
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x100aa113
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100aa12f
xor edx, 0
jmp 0x100aa13a
xor edx, edx
jmp 0x100aa151
jmp 0x100aa15d
xor eax, eax
push 0x8427d7c0
call 0x100aa16a
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100aa1a6
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100aa17f
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x100aa1bd
add eax, 0
jno 0x100aa1c2
add esi, 0
ret 0x10
Function at 0x100aaf2b
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x100aaf4d
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x100ab0ef
cmp edi, dword [ebp + 0x10]
jb 0x100ab0ef
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.100aaa17
inc edi
jmp 0x100aafd6
jmp 0x100aafe3
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100aaa17
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.100aaa17
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x100ab037
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x100ab01b
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100ab065
add dword [eax], 0x39
jle 0x100ab041
sub al, 0xf5
mov ch, al
call fcn.100ab07a
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x100acd52
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x100acd68
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x100acd79
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100acdba
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x100af126
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x100af06f
add ebx, 0
push ecx
call 0x100af084
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6dc261ac
sub ebx, dword [0x6dc459eb]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6dc459db
call fcn.100aab4e
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.100aa05c
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100af1e2
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100af1e2
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x100af199
mov eax, 1
lock xchg dword [0x6dc459e7], eax
push 0x3dd1fc71
call 0x100af126
push esi
add esp, 8
cmp eax, 0
jne 0x100af10f
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100af135
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100af14a
cmp ecx, edx
cmp eax, 0
je 0x100af16f
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x100af159
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100af188
dec eax
loope 0x100af18b
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6dc459e7], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x100af1bf
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100af1d4
jmp 0x100af1df
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100af0cd
Function at 0x100b6247
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x100b651d
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6dc3265f
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6dc29625
push 0xffffffffffffffff
call fcn.100ad447
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x100b62b1
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100b62c9
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x100b6511
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100b64e5
Function at 0x100c5d17
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100c5d39
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100c5d39
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100c5d39
ret
cmp word [ebx + 4], 0x14c
jne 0x100c5d39
test word [ebx + 0x16], 2
je 0x100c5d39
test word [ebx + 0x16], 0x100
je 0x100c5d39
cmp word [ebx + 0x18], 0x10b
jne 0x100c5d39
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100c5d39
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100c5dc5
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100c5d59
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100acca4
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100c5d39
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x100c5dc5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x100c5d39
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100c5d39
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100c5d39
ret
cmp word [ebx + 4], 0x14c
jne 0x100c5d39
test word [ebx + 0x16], 2
je 0x100c5d39
test word [ebx + 0x16], 0x100
je 0x100c5d39
cmp word [ebx + 0x18], 0x10b
jne 0x100c5d39
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100c5d39
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100c5dc5
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100c5d59
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100acca4
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100c5d39
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x100c5e7c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100c5ed5
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100c5e7c
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100c5e8b
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x104cbb2e
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100c5edc
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.100acd52
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100c5f7b
add edi, 4
add eax, 2
dec ecx
jne 0x100c5ec1
call 0x100c5f28
loope 0x100c5f1e
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100c5f78
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x100c5f89
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x100c5f3c
cmp eax, ecx
ja 0x100c5f3c
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100c5fc6
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100c5fbc
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100ad231
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]