joyce8/EMBER2024-capa huggingface dataset:
Function at 0x69d570
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [ebx]
push edi
call dword [eax + 0x14]
mov esi, dword [ebx + 0x11c]
push edi
push dword [esp + 0x18]
push dword [ebx + 0x118]
push esi
push 1
call fcn.00694d80
mov eax, dword [esi]
add esp, 0x14
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
nop word [eax + eax]
mov ebp, dword [esi + 4]
mov edi, ebp
mov edx, dword [esi + 0x38]
mov eax, ebp
ror eax, 7
mov ecx, edx
ror edi, 0x12
xor edi, eax
ror ecx, 0x13
mov eax, ebp
shr eax, 3
xor edi, eax
mov eax, edx
ror eax, 0x11
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add edi, ecx
mov ecx, dword [esp + 0x18]
add edi, dword [esi + 0x24]
add edi, dword [esp + 0x14]
mov dword [esi + 0x40], edi
mov eax, dword [ecx + 0x71b5b0]
add ecx, 4
add eax, dword [esp + 0x14]
mov dword [esi], eax
add esi, 4
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebp
cmp ecx, 0xc0
jb 0x69d5b0
mov ecx, 0xc0
mov eax, dword [ecx + 0x71b5b0]
lea esi, [esi + 0x10]
add dword [esi - 0x10], eax
mov eax, dword [ecx + 0x71b5b4]
add dword [esi - 0xc], eax
mov eax, dword [ecx + 0x71b5b8]
add dword [esi - 8], eax
mov eax, dword [ecx + 0x71b5bc]
add ecx, 0x10
add dword [esi - 4], eax
cmp ecx, 0x100
jb 0x69d611
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x69d730
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [ecx + 0x2c]
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
xor edi, edi
bswap esi
bswap eax
test ebp, ebp
je 0x69d7b5
mov ecx, dword [ecx + 0x28]
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x20], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov edx, eax
mov ecx, eax
shr edx, 5
sub edi, 0x61c88647
shl ecx, 4
add edx, ebx
add ecx, dword [esp + 0x10]
xor edx, ecx
lea ecx, [edi + eax]
xor edx, ecx
add esi, edx
mov edx, esi
mov ecx, esi
shr edx, 5
add edx, dword [esp + 0x14]
shl ecx, 4
add ecx, dword [esp + 0x18]
xor edx, ecx
lea ecx, [edi + esi]
xor edx, ecx
add eax, edx
cmp edi, ebp
jne 0x69d773
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
bswap esi
bswap eax
test edx, edx
je 0x69d7df
mov ecx, dword [edx]
xor ecx, esi
mov dword [ebx], ecx
xor ecx, ecx
add edx, 4
je 0x69d7e3
mov ecx, dword [edx]
xor eax, ecx
pop edi
pop esi
pop ebp
mov dword [ebx + 4], eax
pop ebx
add esp, 0xc
ret 0xc
mov dword [ebx], esi
xor ecx, ecx
pop edi
pop esi
xor eax, ecx
pop ebp
mov dword [ebx + 4], eax
pop ebx
add esp, 0xc
ret 0xc
Function at 0x1000b2bd
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1000b327
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1000b2fb
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1000b2f9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x1000b325
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1000b33f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0x2982
push 0
call fcn.1000a89a
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x100220f3
Capabilities:
Get disk information
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cc74
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10022162
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x10022139
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
jmp 0x1002215d
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1002215d
push 0x5c5
push 0
push 0x865
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringW]
jmp 0x1002227b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0x73fb
mov dword [ebp - 0x38], 0x10007ce4
cmp dword [ebp - 0x28], 0x7636
jle 0x1002221c
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
and dword [ebp - 0x20], 0
jmp 0x1002219e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x53cc
jge 0x1002221c
and dword [ebp - 0x24], 0
jmp 0x100221b4
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x24ab
jge 0x10022217
and dword [ebp - 0x18], 0
jmp 0x100221ca
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6b96
jge 0x10022215
and dword [ebp - 0x1c], 0
jmp 0x100221e0
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x26e
jge 0x10022213
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x24]
xor edx, ecx
mov eax, edx
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov ecx, 0x106142f8
call fcn.1001e69c
jmp 0x100221d9
jmp 0x100221c3
jmp 0x100221ad
jmp 0x10022197
push dword [ebp - 0x30]
push 0xb6d
push 0x7979
push dword [ebp - 0x34]
push 0x3419
push 0
call fcn.10021fce
add esp, 0x18
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x7173
jge 0x10022255
mov edx, dword [ebp - 0x38]
mov ecx, 0x106142f8
call fcn.10020f77
jmp 0x10022271
or dword [ebp - 4], 0xffffffff
jmp 0x1002227b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100346d1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x10034738
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
push 0x6b17
push 1
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.1003478f
add esp, 0x28
jmp 0x1003478b
lea eax, [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1003477e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1003477c
push 0xf9a
push 0
push 0
push 0
push 0
push 0xe9d
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1003478b
push 0
push 0x382
call dword [sym.imp.USER32.dll_ValidateRect]
mov esp, ebp
pop ebp
ret
Function at 0x1003557e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100355ed
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x100355ba
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x100355eb
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100355eb
push 0x6419
push 0x64d6
push 0
push 0
push 0x3983
call fcn.10033adb
add esp, 0x14
jmp 0x1003560e
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x18]
push 0x1d81
call fcn.10021df1
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x10036421
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100364a7
lea eax, [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10036451
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
jmp 0x100364a5
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x100364a5
push 0
push 0x5c89
push 0x2ded
push 0x3505
push 0x6eed
push 0x376f
push 0x1079
push 0x71c
push 1
push 0x7281
push 0x742b
push 0x50af
call fcn.1002dc18
add esp, 0x30
jmp 0x100364d1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x68fe
call fcn.100220d5
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x10037e19
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10037e77
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10037e69
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10037e67
push 0x7224
push 0
push 0x2cbd
call fcn.1003805b
add esp, 0xc
jmp 0x10037e75
push 0
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringByteLen]
jmp 0x10037ee8
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10037ee0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10037ec1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x10037ede
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.1001e97a
mov dword [eax], 0x1928c176
jmp 0x10037eb6
jmp 0x10037ee8
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esp, ebp
pop ebp
ret

Function at 0x10038078
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003810b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100380f3
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100380d4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x100380f1
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1001e97a
mov dword [eax], 0x35c22c92
jmp 0x100380c9
jmp 0x10038109
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10038137
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
push 0
push 0x68a6
push 0x290f
push 0x76e4
push 0x4f4
push 0x3dfd
push dword [ebp - 0x20]
call fcn.1002c694
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x10038408
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10038485
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10038467
mov byte [ebp - 1], 0
push 1
push 0x3e80
lea eax, [ebp - 1]
push eax
push 1
push 1
push 0x3178
push 0x6ecd
push 0x50f1
push 0x7d5f
push 0x22cf
push 0x3092
call fcn.10035fef
add esp, 0x2c
jmp 0x10038483
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10038483
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x100384cf
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
push 0
push dword [ebp - 0x18]
push 0xdf9
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x75ba
call fcn.10024453
add esp, 0x24
mov esp, ebp
pop ebp
ret
Function at 0x100455b5
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10045634
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1004562c
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1004560d
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 4
jge 0x1004562a
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.1001e97a
mov dword [eax], 7
jmp 0x10045602
jmp 0x10045632
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x1004565a
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
push 0xd37
push 1
push dword [ebp - 0x20]
push 0x6eaa
push dword [ebp - 0x24]
call fcn.1003f4e5
add esp, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x100457da
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004581b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
push 0x1d62
push 0x3030
push 1
push 0x71d9
push dword [ebp - 4]
push 0x46d9
push 0x6cb9
push 0x7fa4
call fcn.10045865
add esp, 0x20
jmp 0x10045861
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x1004583f
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0x10045861
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1004d9f7
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d6fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1004db88
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], 0x7f2d
mov dword [ebp - 0x4c], 0x10008ba0
cmp dword [ebp - 0x28], 0x7fae
jle 0x1004dad8
push 0x1c2
push 0x2219
push 0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
and dword [ebp - 0x18], 0
jmp 0x1004da7b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2ce9
jge 0x1004dad8
and dword [ebp - 0x1c], 0
jmp 0x1004da91
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x76c9
jge 0x1004dad6
and dword [ebp - 0x20], 0
jmp 0x1004daa7
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x63b4
jge 0x1004dad4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
shl eax, cl
or eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
push dword [ebp - 0x54]
push dword [ebp - 0x58]
mov ecx, 0x106142f8
call fcn.1001e69c
jmp 0x1004daa0
jmp 0x1004da8a
jmp 0x1004da74
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x1004dafb
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x1004db46
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1004db29
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 2
jge 0x1004db46
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x48]
call fcn.1001e97a
mov dword [eax], 0xb3380f2f
jmp 0x1004db1e
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x7e69
jge 0x1004db60
mov edx, dword [ebp - 0x4c]
mov ecx, 0x106142f8
call fcn.10020f77
jmp 0x1004db7c
or dword [ebp - 4], 0xffffffff
jmp 0x1004db86
jmp 0x1004dba5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
push 0x25ea
push 0x3c28
push 1
push dword [ebp - 0x50]
call fcn.1004a650
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10068755
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10071740]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10059648
mov dword [ebp - 0x14], eax
cmp dword [0x1061540c], esi
jne 0x10068848
push 0x800
push esi
push 0x10007598
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100687d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10068928
push esi
push esi
push 0x10007598
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10068928
push 0x100075b0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10068928
push eax
call ebx
push 0x100075bc
push edi
mov dword [0x1061540c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100075cc
push edi
mov dword [0x10615410], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100075e0
push edi
mov dword [0x10615414], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1061541c], eax
test eax, eax
je 0x10068845
push 0x100075fc
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10615418], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006886d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10068860
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10068882
push 4
pop eax
jmp 0x1006892a
cmp dword [ebp - 0x14], esi
je 0x10068882
push dword [0x1061540c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10068867
mov eax, dword [0x10615418]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100688e0
cmp dword [0x1061541c], edi
je 0x100688e0
push eax
call ebx
push dword [0x1061541c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100688e0
test eax, eax
je 0x100688e0
call ecx
test eax, eax
je 0x100688d5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100688d5
test byte [ebp - 8], 1
jne 0x100688e0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10068910
mov eax, dword [0x10615410]
cmp eax, edi
je 0x1006890d
push eax
call ebx
test eax, eax
je 0x1006890d
call eax
mov esi, eax
test esi, esi
je 0x1006890d
mov eax, dword [0x10615414]
cmp eax, edi
je 0x1006890d
push eax
call ebx
test eax, eax
je 0x1006890d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1061540c]
call ebx
test eax, eax
je 0x10068928
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1006892a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100566ae
mov esp, ebp
pop ebp
ret