joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1042da0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1083d7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x2c]
push esi
mov esi, ecx
push 0xffffffffffffff9b
push eax
lea ecx, [esp + 0x10]
call fcn.010087b8
push 0xffffffffffffff9b
push 0x109a4ec
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
call fcn.010087b8
mov ecx, dword [esp + 0x28]
push 0xffffffffffffff9b
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call fcn.010087b8
mov edx, dword [0x1098824]
mov dword [esp + 0x30], edx
push 0x1098370
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 3
call fcn.010091ec
cmp eax, 0xffffffff
setne al
test al, al
mov byte [esp + 0x28], al
je 0x1042e31
push str.POST
lea ecx, [esp + 8]
call fcn.01008a50
mov eax, dword [esp + 0x20]
lea ecx, [esp + 8]
push ecx
mov dword [esi + 0x10], eax
call fcn.01026d1c
mov ecx, eax
call fcn.01025dba
mov edx, dword [esp + 0x28]
push 0
lea eax, [esp + 0x34]
push edx
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.0101c1ff
push 0x94
call fcn.0105b249
add esp, 0x14
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x18], 4
je 0x1042e9a
test esi, esi
je 0x1042e8c
lea edx, [esi + 0xc]
push 1
push edx
mov ecx, eax
call fcn.01040b17
jmp 0x1042e9c
xor edx, edx
push 1
push edx
mov ecx, eax
call fcn.01040b17
jmp 0x1042e9c
xor eax, eax
test eax, eax
mov byte [esp + 0x18], 3
pop esi
je 0x1042eee
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push 0
push 0
push 0
push 0
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ecx
mov ecx, eax
call fcn.0104114d
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1042eee
push eax
call fcn.01026d1c
mov ecx, eax
call fcn.01025d29
push 0
push 0
call fcn.01026d1c
mov ecx, eax
call fcn.01025da7
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x1042f0d
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x1042f0d
push eax
call fcn.0105b157
add esp, 4
mov eax, dword [esp + 8]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x1042f2b
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x1042f2b
push eax
call fcn.0105b157
add esp, 4
mov ecx, dword [esp]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x1042f4a
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x1042f4a
push eax
call fcn.0105b157
add esp, 4
mov edx, dword [esp + 4]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x1042f69
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x1042f69
push eax
call fcn.0105b157
add esp, 4
mov ecx, dword [esp + 0xc]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x18
ret 0x18
Function at 0x10486f8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x1048713
push eax
call fcn.0105ad60
and dword [esi + 0xbc], 0
pop ecx
push 0x100
call fcn.0105b249
pop ecx
mov dword [esi + 0xbc], eax
push eax
push 0xff
push 0xd
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xbc]
pop esi
ret
Function at 0x104e610
Capabilities:
Change the wallpaper

Disassembly:
push 0xffffffffffffffff
push 0x1084980
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push 0
push str.Control_Panel
push SysReAllocStringLen
lea ecx, [esp + 0x18]
call fcn.01016e3e
mov eax, dword [0x1098824]
mov dword [esp + 0x24], 0
mov dword [esp + 8], eax
mov bl, byte [esp + 0x18]
mov byte [esp + 0x24], 1
test bl, bl
je 0x104e6b1
mov esi, dword [esp + 0x30]
mov edx, dword [str.originaltheme]
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x30]
push esi
push edx
call fcn.01016f4e
mov bl, al
test bl, bl
je 0x104e6b1
mov eax, dword [esp + 8]
mov ecx, dword [str.Desktop]
push 1
push eax
push esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.01016fa1
mov bl, al
mov eax, dword [str.Wallpaper]
cmp esi, eax
jne 0x104e6b1
mov edx, dword [esp + 8]
push 3
push edx
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xc]
call fcn.01016e68
mov eax, dword [esp + 8]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x104e6d8
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x104e6d8
push eax
call fcn.0105b157
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.01016e63
mov ecx, dword [esp + 0x1c]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8

Function at 0x104e8d0
Capabilities:
Read .ini file

Disassembly:
push esi
push edi
push 0x104
call fcn.0105b249
mov esi, eax
mov ecx, 0x41
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
add esp, 4
call fcn.0100972d
mov ecx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
push 0x104
push esi
push 0x10a40b8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [esp + 0x18]
push esi
mov ecx, edi
call fcn.01008a50
push esi
call fcn.0105ad60
mov edx, dword [edi]
add esp, 4
xor eax, eax
mov ecx, dword [edx - 8]
pop edi
test ecx, ecx
setne al
pop esi
ret 0x10
Function at 0x104ed80
Capabilities:
Change the wallpaper

Disassembly:
push 0xffffffffffffffff
push 0x1084a80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push 0
push str.Control_Panel
push SysReAllocStringLen
lea ecx, [esp + 0x2c]
call fcn.01016e3e
mov eax, dword [0x1098824]
mov dword [esp + 0x38], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov edx, dword [str.Control_PanelDesktop]
lea eax, [esp + 0xc]
push eax
push ecx
push ebp
push edx
mov ecx, esi
mov byte [esp + 0x48], 2
call fcn.0104e8d0
mov bl, al
test bl, bl
je 0x104eeb1
cmp ebp, dword [str.Wallpaper]
jne 0x104ee8f
mov ecx, dword [0x10a41bc]
lea eax, [esp + 0x14]
push eax
call fcn.0100c8ff
lea ecx, [esp + 0x10]
push 1
lea edx, [esp + 0x10]
push ecx
push edx
push eax
mov ecx, esi
mov byte [esp + 0x48], 3
call fcn.0104f060
lea ecx, [esp + 0x14]
mov bl, al
mov byte [esp + 0x38], 2
call fcn.010095e5
test bl, bl
je 0x104ee4a
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
call fcn.01008a01
mov ecx, dword [esp + 0xc]
push edi
mov eax, dword [ecx - 8]
inc eax
push eax
call fcn.0105b249
mov esi, dword [esp + 0x14]
mov ebx, eax
mov edi, ebx
add esp, 4
mov eax, dword [esi - 8]
push 3
push ebx
lea ecx, [eax + 1]
push 0
mov edx, ecx
push 0x14
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push ebx
call fcn.0105ad60
add esp, 4
pop edi
mov bl, byte [esp + 0x2c]
test bl, bl
je 0x104eeb1
mov eax, dword [esp + 0xc]
mov ecx, dword [str.Desktop]
push 1
push eax
push ebp
push ecx
lea ecx, [esp + 0x30]
call fcn.01016fa1
mov bl, al
lea ecx, [esp + 0x20]
call fcn.01016e68
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x104eed9
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x104eed9
push eax
call fcn.0105b157
add esp, 4
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x104eef7
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x104eef7
push eax
call fcn.0105b157
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
call fcn.01016e63
mov ecx, dword [esp + 0x30]
pop esi
mov al, bl
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 8
Function at 0x1052d90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1084f96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x10a4694]
push ebx
push esi
mov esi, ecx
mov ecx, dword [eax - 8]
xor ebx, ebx
cmp ecx, ebx
push edi
mov dword [esp + 0x18], esi
jne 0x1052dca
mov eax, dword [0x1098824]
mov dword [esp + 0xc], eax
jmp 0x1052dda
mov dword [esp + 0xc], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x1052dda
inc ecx
mov dword [eax - 0xc], ecx
push 0xffffffffffffff9b
push str.flashplayerwindowcommand
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], ebx
call fcn.010087b8
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov byte [esp + 0x30], 1
call fcn.01008b0c
add esp, 0xc
mov eax, dword [eax]
mov ecx, esi
push eax
mov byte [esp + 0x28], 2
call fcn.010445d9
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x1052e33
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x1052e33
push eax
call fcn.0105b157
add esp, 4
mov ecx, dword [esp + 0x14]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x1052e52
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x1052e52
push eax
call fcn.0105b157
add esp, 4
mov edx, dword [esp + 0xc]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x1052e71
dec ecx
cmp ecx, ebx
mov dword [eax], ecx
jne 0x1052e71
push eax
call fcn.0105b157
add esp, 4
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov eax, dword [0x1098824]
mov dword [esi + 0x1c], eax
mov byte [esi + 0x30], bl
mov byte [esi + 0x31], bl
mov byte [esi + 0x32], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x40], ebx
mov byte [esi + 0x45], 1
mov byte [esi + 0x46], bl
mov ecx, dword [0x1098824]
mov dword [esi + 0x48], ecx
mov dword [esi], 0x108a250
mov edx, dword [0x10a4694]
push edx
mov byte [esp + 0x28], 8
call fcn.0105b81b
add esp, 4
mov ecx, 0x10a4694
mov edi, eax
push 0x10a40b8
call fcn.01008a50
inc edi
mov ecx, 0x10a4694
push edi
call fcn.0100920b
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x1053e70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1085139
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
mov dword [esp + 0x14], edi
mov dword [esi + 0x20], edi
mov edx, dword [0x1098824]
lea ecx, [esi + 0x24]
mov dword [ecx], edx
mov dword [esi + 0x28], edi
push str.Window
mov byte [esp + 0x18], 3
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov byte [esi + 0x38], 1
mov dword [esi], 0x108a258
call fcn.01008a50
push edi
push edi
push edi
lea eax, [esi + 0x3c]
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1056380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1085422
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea eax, [esi + 0x34]
mov dword [esi], 0x108aa14
mov dword [esi + 0x20], 0x108a9f0
mov dword [esi + 0x24], 0x108a9cc
mov dword [esi + 0x28], 0x108a954
mov dword [esi + 0x2c], 0x108a92c
mov dword [esi + 0x30], 0x108a914
mov dword [esp + 8], eax
mov dword [eax], 0x108a900
mov dword [esi + 0x3c], 0x108a8f0
mov dword [esi + 0x40], 0x108a8d0
mov dword [esi + 0x44], 0x108a888
mov dword [esi + 0x48], 0x108a7fc
mov dword [esi + 0xd8], 0x108a7dc
mov dword [esi + 0xdc], 0x108a7bc
mov eax, dword [esi + 0x164]
mov dword [esp + 0x1c], 2
cmp eax, 0xffffffff
je 0x1056420
mov byte [eax + 0x10a46bc], 0
push ebx
mov ebx, dword [esi + 0x140]
push ebp
lea ebp, [esi + 0x13c]
mov edi, dword [ebx]
cmp edi, ebx
je 0x1056449
mov eax, edi
mov edi, dword [edi]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.010077b0
cmp edi, ebx
jne 0x1056434
mov eax, dword [ebp + 4]
push eax
call fcn.0105ad60
xor eax, eax
add esp, 4
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov ebx, dword [esi + 0x134]
lea ebp, [esi + 0x130]
mov byte [esp + 0x24], 1
mov edi, dword [ebx]
cmp edi, ebx
je 0x1056489
mov eax, edi
mov edi, dword [edi]
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, ebp
call fcn.010583a0
cmp edi, ebx
jne 0x1056474
mov eax, dword [ebp + 4]
push eax
call fcn.0105ad60
xor edi, edi
add esp, 4
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov eax, dword [esi + 0x108]
pop ebp
cmp eax, edi
mov byte [esp + 0x20], 0
pop ebx
je 0x10564b4
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esi + 0xd4]
mov dword [esp + 0x1c], 0xd
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 0xc8]
cmp eax, edi
je 0x10564d9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0xc4]
mov byte [esp + 0x1c], 0xc
cmp eax, edi
je 0x10564ee
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esi + 0x6c]
mov byte [esp + 0x1c], 0xb
cmp eax, edi
je 0x1056500
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x68]
mov byte [esp + 0x1c], 0xa
cmp eax, edi
je 0x1056512
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esi + 0x64]
mov byte [esp + 0x1c], 9
cmp eax, edi
je 0x1056524
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 8
call fcn.01033d90
lea ecx, [esi + 0x5c]
mov byte [esp + 0x1c], 7
call fcn.01033d90
lea ecx, [esi + 0x58]
mov byte [esp + 0x1c], 6
call fcn.01033d90
lea ecx, [esi + 0x54]
mov byte [esp + 0x1c], 5
call fcn.01033d90
mov eax, dword [esi + 0x50]
mov byte [esp + 0x1c], 4
cmp eax, edi
je 0x105656a
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov edx, dword [esp + 8]
mov byte [esp + 0x1c], 3
neg esi
sbb esi, esi
and esi, edx
mov eax, dword [esi + 4]
cmp eax, edi
pop edi
pop esi
je 0x1056588
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x1059e00
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x1b8]
push edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
lea ebx, [esi + 0x16c]
push edi
lea eax, [esp + 0x14]
push ebx
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov edi, dword [sym.imp.GDI32.dll_CreateRectRgn]
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
call edi
mov ecx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_SetWindowRgn]
push 1
push eax
push ecx
call ebp
mov edx, dword [esi + 4]
push edx
push 0x1058af0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esi + 0x178]
mov ecx, dword [esi + 0x174]
mov edx, dword [esi + 0x170]
push eax
mov eax, dword [ebx]
push ecx
push edx
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push eax
push ecx
call ebp
mov edx, dword [esi + 0x28]
lea eax, [esi + 0x28]
push 0
push 0
push eax
call dword [edx + 0x64]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x1066ca6
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x1066cc6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [esi + 8], 0
pop esi
ret

Function at 0x1069190
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp ecx, edx
jl 0x10691ba
push esi
call fcn.010690f0
mov eax, dword [esi + 8]
add esp, 4
test eax, eax
mov ecx, dword [eax + 8]
je 0x10691d8
cmp ecx, dword [eax + 4]
jge 0x10691a2
mov edx, dword [esi + 8]
push ebx
xor ebx, ebx
mov eax, dword [edx]
mov bl, byte [eax + ecx]
mov eax, ebx
mov ebx, dword [esi + 0xc]
dec ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edx + 8]
inc ecx
pop ebx
mov dword [edx + 8], ecx
pop esi
ret
push 1
call fcn.0105d547
nop

Function at 0x1069510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
and eax, 0xffff
push 0xa
push eax
push edi
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x106954b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop edi
pop esi
ret
pop edi
xor eax, eax
pop esi
ret
Function at 0x1069f50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push 0x10078
call fcn.0105c396
push 0xbd0
mov dword [0x10ad880], eax
call fcn.0105c396
push 0x800
mov dword [0x10ad884], eax
call fcn.0105c396
push 0x400
mov dword [0x10ad890], eax
call fcn.0105c396
mov esi, dword [esp + 0x18]
add esp, 0x10
mov dword [0x10a7d78], eax
push 0xa
push 0x7e0
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x106a070
push ebx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [0x10ad888], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0x510
mov esi, eax
call fcn.0105c396
add esp, 4
mov dword [0x10ad88c], eax
mov edx, 0x5a
lea eax, [edx - 0x5a]
mov ecx, 0x17
mov ebx, dword [0x10ad88c]
mov di, word [esi]
add esi, 2
mov word [eax + ebx], di
add eax, 2
dec ecx
jne 0x1069fe1
lea eax, [edx - 0x2c]
mov ecx, 0x16
mov ebx, dword [0x10ad88c]
mov di, word [esi]
add esi, 2
mov word [eax + ebx], di
add eax, 2
dec ecx
jne 0x1069fff
mov eax, edx
mov ecx, 0xe
mov ebx, dword [0x10ad88c]
mov di, word [esi]
add esi, 2
mov word [eax + ebx], di
add eax, 2
dec ecx
jne 0x106a01c
lea eax, [edx + 0x1c]
mov ecx, 0xd
mov ebx, dword [0x10ad88c]
mov di, word [esi]
add esi, 2
mov word [eax + ebx], di
add eax, 2
dec ecx
jne 0x106a03a
add edx, 0x90
cmp edx, 0x56a
jl 0x1069fd9
mov eax, dword [0x10ad888]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
pop esi
ret
Function at 0x106a430
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x20]
xor eax, eax
cmp ebx, 3
setne al
push ebp
dec eax
push esi
push edi
and eax, 4
push 9
mov dword [esp + 0x18], eax
call fcn.0106cd10
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
add esp, 4
cmp edi, 1
mov dword [ebx], eax
jne 0x106a468
push 5
jmp 0x106a46a
push 3
call fcn.0106cd70
add esp, 4
mov dword [ebx + 4], eax
test edi, edi
jle 0x106a49b
lea esi, [ebx + 0x70]
or ebp, 0xffffffff
push 4
mov dword [esi - 0x68], ebp
call fcn.0106cd70
mov dword [esi], eax
add esp, 4
add esi, 0xd0
dec edi
jne 0x106a47f
mov edi, dword [esp + 0x20]
lea esi, [ebx + 0x10]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], esi
test edi, edi
mov dword [esp + 0x2c], 0
jle 0x106a62a
push 0xc
call fcn.0106cd10
push 9
mov dword [esi - 4], eax
call fcn.0106cd70
add esp, 8
cmp eax, 0x120
mov dword [esi], eax
jbe 0x106a4dd
mov dword [esi], 0x120
push 8
call fcn.0106cd70
mov ecx, dword [esp + 0x18]
mov edx, dword [0x10ad884]
sub ecx, eax
xor ebp, ebp
add esp, 4
lea eax, [edx + ecx*8 + 0x800]
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
mov dword [esi + 0x5c], eax
je 0x106a50d
add eax, 0x10
mov dword [esi + 0x5c], eax
push 4
call fcn.0106cd70
add esp, 4
mov dword [esi + 4], eax
call fcn.0106cdc0
test eax, eax
je 0x106a58a
push 2
call fcn.0106cd70
mov dword [esi + 8], eax
call fcn.0106cdc0
push 5
mov dword [esi + 0xc], eax
call fcn.0106cd70
push 5
mov dword [esi + 0x10], eax
call fcn.0106cd70
add esp, 0xc
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebp
lea edi, [esi + 0x50]
mov ebx, 3
push 3
call fcn.0106cd70
mov edx, dword [esi + 0x5c]
add esp, 4
shl eax, 6
add eax, edx
mov dword [edi], eax
add edi, 4
dec ebx
jne 0x106a557
cmp dword [esi + 8], ebp
je 0x106a64f
mov dword [esi + 0x3c], 0x12
mov dword [esi + 0x40], 0x120
jmp 0x106a5f5
lea edi, [esi + 0x10]
mov ebx, 3
push 5
call fcn.0106cd70
mov dword [edi], eax
add esp, 4
add edi, 4
dec ebx
jne 0x106a592
push 4
call fcn.0106cd70
push 3
mov edi, eax
call fcn.0106cd70
mov ecx, dword [esp + 0x30]
mov ebx, dword [0x10ad88c]
add esp, 8
lea ecx, [ecx + ecx*8]
shl ecx, 3
lea edx, [ecx + edi]
add ecx, eax
add ecx, edi
mov dx, word [ebx + edx*2 + 2]
sar dx, 1
movsx edx, dx
mov dword [esi + 0x3c], edx
mov eax, dword [0x10ad88c]
mov cx, word [eax + ecx*2 + 4]
mov dword [esi + 8], ebp
sar cx, 1
movsx edx, cx
mov dword [esi + 0x40], edx
mov dword [esi + 0xc], ebp
call fcn.0106cdc0
mov dword [esi + 0x44], eax
call fcn.0106cdc0
mov dword [esi + 0x48], eax
call fcn.0106cdc0
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x2c]
add esi, 0xd0
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x106a4ba
mov edi, ecx
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
inc eax
add esi, 0x68
cmp eax, 2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], esi
jl 0x106a4aa
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 1
call fcn.0105d547
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x106a660
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x1c]
xor eax, eax
cmp ebx, 3
setne al
push ebp
dec eax
push esi
push edi
and eax, 4
push 8
mov dword [esp + 0x14], eax
call fcn.0106cd10
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
add esp, 4
cmp edi, 1
mov dword [esi], eax
jne 0x106a699
call fcn.0106cdc0
jmp 0x106a6a3
push 2
call fcn.0106cd70
add esp, 4
test edi, edi
mov dword [esi + 4], eax
mov dword [esp + 0x28], 0
jle 0x106a857
mov ebp, dword [esp + 0x24]
add esi, 0x10
push 0xc
call fcn.0106cd10
push 9
mov dword [esi - 4], eax
call fcn.0106cd70
add esp, 8
cmp eax, 0x120
mov dword [esi], eax
jbe 0x106a6e0
mov dword [esi], 0x120
push 8
call fcn.0106cd70
mov ecx, dword [esp + 0x14]
mov edx, dword [0x10ad884]
sub ecx, eax
add esp, 4
lea eax, [edx + ecx*8 + 0x800]
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov dword [esi + 0x5c], eax
je 0x106a70e
add eax, 0x10
mov dword [esi + 0x5c], eax
push 9
call fcn.0106cd10
add esp, 4
mov dword [esi + 4], eax
call fcn.0106cdc0
test eax, eax
je 0x106a7c2
push 2
call fcn.0106cd70
mov dword [esi + 8], eax
call fcn.0106cdc0
push 5
mov dword [esi + 0xc], eax
call fcn.0106cd70
push 5
mov dword [esi + 0x10], eax
call fcn.0106cd70
add esp, 0xc
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0
lea edi, [esi + 0x50]
mov ebx, 3
push 3
call fcn.0106cd70
mov edx, dword [esi + 0x5c]
add esp, 4
shl eax, 6
add eax, edx
mov dword [edi], eax
add edi, 4
dec ebx
jne 0x106a760
mov eax, dword [esi + 8]
test eax, eax
je 0x106a85d
cmp eax, 2
jne 0x106a79d
mov dword [esi + 0x3c], 0x12
mov dword [esi + 0x40], 0x120
jmp 0x106a82c
cmp ebp, 8
jne 0x106a7b2
mov dword [esi + 0x3c], 0x36
mov dword [esi + 0x40], 0x120
jmp 0x106a82c
mov dword [esi + 0x3c], 0x1b
mov dword [esi + 0x40], 0x120
jmp 0x106a82c
lea edi, [esi + 0x10]
mov ebx, 3
push 5
call fcn.0106cd70
mov dword [edi], eax
add esp, 4
add edi, 4
dec ebx
jne 0x106a7ca
push 4
call fcn.0106cd70
push 3
mov edi, eax
call fcn.0106cd70
mov ebx, dword [0x10ad88c]
lea ecx, [ebp + ebp*8]
shl ecx, 3
add esp, 8
lea edx, [ecx + edi]
add ecx, eax
add ecx, edi
mov dx, word [ebx + edx*2 + 2]
sar dx, 1
movsx edx, dx
mov dword [esi + 0x3c], edx
mov eax, dword [0x10ad88c]
mov cx, word [eax + ecx*2 + 4]
sar cx, 1
movsx edx, cx
xor eax, eax
mov dword [esi + 0x40], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.0106cdc0
mov dword [esi + 0x48], eax
call fcn.0106cdc0
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x28]
add esi, 0xd0
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x106a6bd
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 1
call fcn.0105d547
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop