joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406b90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x410
xor edi, edi
lea esi, [ebx + 0x28]
push edi
push esi
call fcn.00415d50
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, edi
je 0x406bc9
cmp word [eax], di
je 0x406bc9
push 0x40f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebx], edi
mov dword [ebx + 4], edi
lea eax, [ebx + 0x10]
mov ecx, 4
xor edx, edx
mov word [eax - 8], dx
mov word [eax], dx
add eax, 2
dec ecx
jne 0x406bd6
push 0x410
lea eax, [ebx + 0x438]
push edi
push eax
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], edi
mov dword [ebp - 8], eax
call fcn.00415d50
push 0x410
lea eax, [ebx + 0x848]
push edi
push eax
mov dword [ebp - 0x10], eax
call fcn.00415d50
push 0x410
lea eax, [ebx + 0xc58]
push edi
push eax
mov dword [ebp - 0xc], eax
call fcn.00415d50
add esp, 0x24
lea eax, [ebp - 4]
push eax
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
cmp esi, edi
je 0x406d43
lea edi, [esi + 1]
push edi
call fcn.00410f89
push edi
push 0
push eax
mov dword [ebx], eax
call fcn.00415d50
mov ecx, dword [ebx]
mov edx, dword [ebp - 4]
add esp, 0x10
push ecx
push esi
push edx
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x406d43
mov eax, dword [ebx]
mov dword [ebp + 0xc], 0
test eax, eax
je 0x406d43
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 0xc]
push edx
push 0x430afc
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x406d43
mov esi, dword [ebp + 0xc]
mov ecx, 0xd
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x40]
mov esi, dword [ebp + 8]
mov ecx, eax
mov word [ebx + 0xa], ax
mov eax, dword [ebp - 0x3c]
mov edx, eax
mov word [ebx + 0xe], ax
mov eax, dword [ebp - 0x38]
shr ecx, 0x10
mov word [ebx + 8], cx
shr edx, 0x10
mov ecx, eax
mov word [ebx + 0x12], ax
mov eax, dword [ebp - 0x34]
mov word [ebx + 0xc], dx
mov edx, eax
mov word [ebx + 0x16], ax
mov eax, dword [ebp - 0x2c]
shr ecx, 0x10
shr edx, 0x10
mov word [ebx + 0x10], cx
mov ecx, dword [ebp - 0x28]
mov word [ebx + 0x14], dx
mov edx, dword [ebp - 0x24]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x1c], ecx
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], eax
mov ebx, dword [ebp - 8]
mov edi, 0x430b00
call fcn.00406d50
mov ebx, dword [ebp - 0xc]
mov edi, str.FileDescription
call fcn.00406d50
mov ebx, dword [ebp - 0x10]
mov edi, str.ProductName
call fcn.00406d50
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10013074
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10013083
pop dword [ebp - 0x10]
mov eax, 0x10013083
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x7b74a52e
sub dword [ebp - 0x20], 0x2d225fe3
mov dword [ebp - 0x1c], 0xd60d15b4
sub dword [ebp - 0x1c], 0xa3d9c96f
mov dword [ebp - 0x18], 0x8d7c106e
sub dword [ebp - 0x18], 0x412fcc40
mov dword [ebp - 0x14], 0x17ac3244
add dword [ebp - 0x14], 0xe853cdbc
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xe2aaa83e
sub dword [ebp - 0x20], 0x6e383ee8
mov dword [ebp - 0x1c], 0x3035dc69
sub dword [ebp - 0x1c], 0xeec97af4
mov dword [ebp - 0x18], 0xd8ace77a
sub dword [ebp - 0x18], 0x753d7b0e
mov dword [ebp - 0x14], 0xbe5cc02
add dword [ebp - 0x14], 0xf41a33fe
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xa58b75ad
add eax, 0x6a75daef
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x38368
push 0
call eax
mov ecx, 0xd17f261a
add ecx, 0x2e812034
xor edi, edi
add edi, eax
mov ebx, 0x249cc836
sub ebx, 0x1498ac36
add ebx, dword [ebp - 0x10]
mov esi, 0x6b45c007
sub esi, 0x87a57a41
add dword [ebp - 8], 0xa76c8f2c
mov edx, dword [ebx]
add dword [ebp - 4], ecx
sub edx, esi
add dword [ebp - 0xc], eax
mov dword [edi], edx
xor dword [ebp - 4], 0x9cf01db
add edi, 4
add ebx, 0x55483562
sub ebx, 0x5548355e
loop 0x1001319d
add eax, 0xb39f5d08
sub eax, 0xb39e50fd
xor ebx, ebx
add ebx, eax
add eax, 0x96752950
add eax, 0x698ad6b5
mov ecx, 0x9a1ecfc4
add ecx, 0x75e1303c
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
mov eax, dword [0x432cd0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00413c1b
lea eax, [ebp - 0x108]
push 0x4285ac
push eax
call fcn.00413a80
push 0x200
lea eax, [ebp - 0x308]
push 0
push eax
call fcn.004139f0
lea eax, [ebp - 0x308]
push str.kingtec_::
push eax
call fcn.00413a80
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.00413a80
add esp, 0x34
lea eax, [ebp - 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00413c38
leave
ret

Function at 0x40182f
Capabilities:
Delete directory

Disassembly:
push 0x28
mov eax, 0x426bea
call fcn.00414453
and dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00404c28
push 0x4285b0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.004017b9
add esp, 0xc
push 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00404cbd
test eax, eax
je 0x4018e9
lea ecx, [ebp - 0x34]
call fcn.00404a91
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.00404bed
test eax, eax
jne 0x4018e5
mov eax, dword [ebp - 0x34]
push 0x10
lea ecx, [ebp - 0x34]
call dword [eax + 0x38]
lea ecx, [ebp - 0x34]
test eax, eax
je 0x4018c8
lea eax, [ebp - 0x14]
push eax
call fcn.00404eb0
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 3
call fcn.004014ca
call fcn.0040182f
pop ecx
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
jmp 0x4018dd
lea eax, [ebp - 0x18]
push eax
call fcn.00404eb0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040117d
test esi, esi
jne 0x401875
lea ecx, [ebp - 0x34]
call fcn.004049ab
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
test eax, eax
jne 0x40192a
call fcn.0040117d
xor esi, esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.00404c4e
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040117d
mov eax, esi
call fcn.0041452b
ret
call fcn.0040117d
xor esi, esi
inc esi
jmp 0x40190b

Function at 0x401a6d
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.004139f0
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
mov dword [ebp - 0x54], esi
call fcn.004139f0
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401ad6
cmp byte [ebp + 0xc], bl
je 0x401ac3
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
Function at 0x401b6f
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x432cd0]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push ebx
mov ebx, dword [ebp + 0xa0]
push esi
mov esi, dword [ebp + 0x98]
push edi
mov edi, dword [ebp + 0x9c]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x7c]
push eax
push 0x42c9f0
push 1
push 0
push 0x42ca10
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x401bc7
xor eax, eax
jmp 0x401c30
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
lea edx, [ebp - 0x80]
push edx
push 0x42ca00
push eax
call dword [ecx]
test eax, eax
jl 0x401bc3
push 0x104
lea eax, [ebp - 0x78]
push eax
push 0xffffffffffffffff
push ebx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
push 2
lea edx, [ebp - 0x78]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x8c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00413c38
add ebp, 0x90
leave
ret 0xc

Function at 0x401d34
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x432cd0]
xor eax, ebp
mov dword [ebp - 4], eax
or dword [ebp - 0x28], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.00403f53
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
test ebx, ebx
jne 0x401d69
or eax, 0xffffffff
jmp 0x401de5
push edi
push 3
pop edi
mov dword [ebp - 0x2c], 0x17
xor eax, eax
inc eax
mov ecx, edi
shl eax, cl
test ebx, eax
je 0x401ddb
lea eax, [edi + 0x41]
push eax
lea eax, [ebp - 0x24]
push 0x428750
push eax
call fcn.0041455d
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
jne 0x401ddb
inc dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push dword [esi + 8]
mov ecx, esi
call fcn.00404316
lea eax, [ebp - 0x24]
push eax
push 0
push 0x143
push dword [0x434b98]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x24]
push eax
push str.find_the_DRIVE_REMOVABLE___s
call fcn.00401000
pop ecx
pop ecx
inc edi
dec dword [ebp - 0x2c]
jne 0x401d74
mov eax, dword [ebp - 0x28]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00413c38
leave
ret
Function at 0x4038a0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, esi
jne 0x4038ed
xor eax, eax
jmp 0x40391c
push esi
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4038e9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x408bd4
cmp dword [edi + 0x54], 0
jne 0x408bd4
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040f423
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00408b71
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40ea5f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40eaa6
call fcn.0040f423
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40eaa6
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40eac2
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040e5d9
mov esi, eax
test edi, edi
je 0x40eac0
test ebx, ebx
je 0x40eac0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x413c38
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432cd0]
jne 0x413c42
repz ret
jmp fcn.004199fb
Function at 0x423058
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041a57b
and dword [ebp - 4], 0
cmp dword [0x437440], 0
mov ebx, eax
jne 0x423109
push 0x42c9bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4231ba
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42c9b0
push edi
call esi
test eax, eax
je 0x4231ba
push eax
call fcn.0041a509
mov dword [esp], 0x42c9a0
push edi
mov dword [0x437440], eax
call esi
push eax
call fcn.0041a509
mov dword [esp], 0x42c98c
push edi
mov dword [0x437444], eax
call esi
push eax
call fcn.0041a509
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x437448], eax
call esi
push eax
call fcn.0041a509
pop ecx
mov dword [0x437450], eax
test eax, eax
je 0x423109
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041a509
pop ecx
mov dword [0x43744c], eax
mov eax, dword [0x43744c]
cmp eax, ebx
je 0x423161
cmp dword [0x437450], ebx
je 0x423161
push eax
call fcn.0041a584
push dword [0x437450]
mov esi, eax
call fcn.0041a584
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423161
test edi, edi
je 0x423161
call esi
test eax, eax
je 0x423158
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423158
test byte [ebp - 0xc], 1
jne 0x423161
or dword [ebp + 0x10], 0x200000
jmp 0x42319a
mov eax, dword [0x437444]
cmp eax, ebx
je 0x42319a
push eax
call fcn.0041a584
pop ecx
test eax, eax
je 0x42319a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42319a
mov eax, dword [0x437448]
cmp eax, ebx
je 0x42319a
push eax
call fcn.0041a584
pop ecx
test eax, eax
je 0x42319a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x437440]
call fcn.0041a584
pop ecx
test eax, eax
je 0x4231ba
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4231bc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001aee9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100d0db4
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100dbeac
mov dword [esi + 8], 0x100d97c0
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], eax
push fcn.1000b96d
push 0x1001b0f6
push 6
lea eax, [esi + 0x160]
push 8
push eax
mov byte [ebp - 4], 7
call fcn.10038065
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dbe78
mov dword [esi + 4], 0x100dbe5c
mov dword [esi + 8], 0x100dbe4c
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100248ea
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push esi
mov ecx, dword [esp + 8]
lea esi, [edx + ecx]
cmp edx, esi
je 0x10024919
push edi
movzx edi, byte [edx]
mov ecx, eax
and ecx, 0xff
xor ecx, edi
shr eax, 8
movzx ecx, word [ecx*2 + 0x100f75d0]
xor eax, ecx
inc edx
cmp edx, esi
jne 0x100248f9
pop edi
pop esi
ret 4

Function at 0x10029218
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d1c35
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100d9c7c
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.1000250f
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dd620
mov dword [esi + 4], 0x100dd610
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x10036873
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d2a11
call fcn.100cece0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100dee40
mov dword [esi + 4], 0x100dee30
lea ecx, [esi + 0x158]
mov dword [ebp - 4], 0xf
call fcn.100c98e0
mov eax, dword [esi + 0x85c]
test eax, eax
je 0x100368b3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x850]
call fcn.100034b3
mov eax, dword [esi + 0x154]
pop ecx
test eax, eax
mov byte [ebp - 4], 0xd
je 0x100368d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x14c]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x100368e7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x144]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x100368fb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x128]
call fcn.100034b3
push dword [esi + 0x11c]
call fcn.100034b3
push dword [esi + 0x110]
call fcn.100034b3
mov eax, dword [esi + 0xf8]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 7
je 0x10036933
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [esi + 0x7c]
call fcn.100034b3
pop ecx
mov byte [ebp - 4], 5
lea ecx, [esi + 0x5c]
call fcn.10036984
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call fcn.10036984
push dword [esi + 0x30]
call fcn.100034b3
push dword [esi + 0x24]
call fcn.100034b3
push dword [esi + 0x18]
call fcn.100034b3
push dword [esi + 0xc]
call fcn.100034b3
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x10038065
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10038074
pop dword [ebp - 0x40]
mov eax, 0x9a2d4f56
add eax, 0x75d6311e
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x49e1f
push 0
mov eax, 0xdc4cb929
add eax, 0x33c0d6ff
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x1ef99c81
sub ecx, 0x1ef93c80
xor ebx, ebx
add ebx, eax
mov esi, 0x6b4e86cc
sub esi, 0x5b3c68cc
add esi, dword [ebp - 0x40]
mov edx, 0x5bde2c48
mov edi, dword [esi]
add dword [ebp - 0x14], 0x3c573a8c
add edi, edx
add dword [ebp - 0x20], 0x86cf3ee8
mov dword [ebx], edi
xor dword [ebp - 8], 0xc110d5da
add ebx, 4
add esi, 0x1e1a2e65
add esi, 0xe1e5d19f
loop 0x100380cf
add eax, 0x172d7
mov ebx, eax
add eax, 0xc0d606a3
sub eax, 0xc0d6069e
mov ecx, 0x54be58eb
sub ecx, 0x44be58eb
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x1007f713
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x100d7204
call fcn.100cece0
sub esp, 0x64
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov ecx, dword [ebp + 8]
push esi
mov dword [esi + 0x10], eax
mov al, byte [ebx + 0x2c]
mov byte [esi + 0x69], al
cmp dword [ebx], 0x10900
mov edx, ebx
sete al
mov byte [esi + 0x68], al
call fcn.1007f8eb
xor edi, edi
cmp eax, edi
jne 0x1007f8da
mov ecx, dword [ebx + 0x80]
lea eax, [ebx + 0x80]
or ecx, dword [eax + 4]
jne 0x1007f76b
push 1
pop eax
jmp 0x1007f76d
xor eax, eax
test al, al
lea ecx, [ebp - 0x70]
mov dword [ebp + 0xc], edi
sete byte [ebp + 0x17]
call fcn.100786d5
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], edi
cmp eax, edi
mov dword [ebp - 0x14], edi
jbe 0x1007f8bf
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x20]
add eax, dword [ebp - 0x10]
cmp word [ebx + 0x20], 1
mov dword [ebp - 0x1c], eax
jne 0x1007f892
cmp word [eax + 0x20], 1
jne 0x1007f892
cmp byte [esi + 0x68], 0
mov eax, dword [esi + 0x60]
sete cl
movzx edi, cl
lea ecx, [esi + 0x5c]
add edi, eax
call fcn.10080f40
mov ecx, eax
mov edx, edi
mov dword [ebp - 0x18], ecx
call fcn.10038065
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x70]
push dword [ebp - 0x18]
push esi
push ebx
push edi
push dword [ebp + 8]
call fcn.1007e9a8
test eax, eax
jne 0x1007f8aa
add edi, 0x2c
push 0x14
lea eax, [ebp - 0x30]
push edi
push eax
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x1007f826
cmp byte [ebx + 0x2c], 0
je 0x1007f8c5
xor eax, eax
cmp byte [edi + eax], 0
jne 0x1007f8c5
inc eax
cmp eax, 0x14
jb 0x1007f816
mov edi, dword [ebp - 0x18]
and dword [edi + 0x1c], 0
cmp dword [esi + 0x3c], 0
jne 0x1007f83e
push dword [ebp + 0x10]
lea ecx, [esi + 0x38]
call fcn.10080ecb
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.10038065
test eax, eax
jne 0x1007f8aa
cmp byte [ebp + 0x17], al
je 0x1007f892
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x78]
cmp ecx, dword [eax + 8]
jne 0x1007f8a6
mov ecx, dword [ebx + 0x7c]
cmp ecx, dword [eax + 0xc]
jne 0x1007f8a6
and byte [ebp + 0x17], 0
mov cl, 1
cmp byte [ebx + 0x2d], 0
je 0x1007f892
cmp dword [eax + 0x24], 1
jne 0x1007f892
inc dword [ebp + 0xc]
mov eax, dword [ebx + 0x28]
cmp eax, dword [ebp + 0xc]
sete al
test cl, cl
je 0x1007f88a
test al, al
je 0x1007f8c5
test al, al
je 0x1007f892
test cl, cl
je 0x1007f8ae
inc dword [ebp - 0x14]
add dword [ebp - 0x10], 0x40
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x24]
jae 0x1007f8bf
jmp 0x1007f792
xor cl, cl
jmp 0x1007f86a
mov esi, eax
jmp 0x1007f8cc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1007dfbb
push 1
pop eax
jmp 0x1007f8da
cmp byte [ebp + 0x17], 0
je 0x1007f8ca
push 1
pop esi
jmp 0x1007f8cc
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.1007dfbb
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10