joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480c50
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0xc], eax
push 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 5
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x480cc0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push str.GlobalDTLUpdate0176DC6E_478F_10A7_8BA1_67160D9893C7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4cb2c8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push 0x4a5e94
push 0
push str.CheckPrevInstance
push str.d:dtl_deppcguojibandrivertalent7_dt8coreuimanualupdatedtlmanualupdatedtlmanualupdatedtlmanualupdate.cpp
mov ecx, dword [0x4c9024]
add ecx, 3
push ecx
call fcn.0047d350
push eax
call fcn.0047d8b0
add esp, 0x1c
cmp dword [ebp - 4], 0xb7
je 0x480d26
cmp dword [ebp - 4], 5
jne 0x480df0
push 0x4a5f34
push 0
push str.CheckPrevInstance
push str.d:dtl_deppcguojibandrivertalent7_dt8coreuimanualupdatedtlmanualupdatedtlmanualupdatedtlmanualupdate.cpp
mov eax, dword [0x4c9024]
add eax, 7
push eax
call fcn.0047d350
push eax
call fcn.0047d8b0
add esp, 0x18
cmp dword [0x4cb2c8], 0
je 0x480d6d
mov eax, dword [0x4cb2c8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4cb2c8], 0
push 0
push str.DTLManualUpdateMainWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x480dab
push 0x4a5f44
push 0
push str.CheckPrevInstance
push str.d:dtl_deppcguojibandrivertalent7_dt8coreuimanualupdatedtlmanualupdatedtlmanualupdatedtlmanualupdate.cpp
mov eax, dword [0x4c9024]
add eax, 0x12
push eax
call fcn.0047d350
push eax
call fcn.0047d8b0
add esp, 0x18
cmp dword [ebp - 8], 0
je 0x480dec
push 0x4a5f5c
push 0
push str.CheckPrevInstance
push str.d:dtl_deppcguojibandrivertalent7_dt8coreuimanualupdatedtlmanualupdatedtlmanualupdatedtlmanualupdate.cpp
mov eax, dword [0x4c9024]
add eax, 0x17
push eax
call fcn.0047d350
push eax
call fcn.0047d8b0
add esp, 0x18
push 0
push 0
push 0x467
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov al, 1
jmp 0x480df2
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x480e00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x480e3c
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jge 0x480f23
cmp dword [ebp - 0xc], 0
je 0x480f23
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
add ecx, 2
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x58]
mov ax, word [edx]
mov word [ebp - 0x5e], ax
add dword [ebp - 0x58], 2
cmp word [ebp - 0x5e], 0
jne 0x480e6d
mov ecx, dword [ebp - 0x58]
sub ecx, dword [ebp - 0x5c]
sar ecx, 1
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 1
ja 0x480e95
jmp 0x480e33
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + ecx]
cmp eax, 0x2d
je 0x480ebd
mov eax, 2
imul ecx, eax, 0
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + ecx]
cmp eax, 0x2f
jne 0x480f1e
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
push str.passtivemode
mov eax, dword [ebp - 0x14]
push eax
call fcn.0048fcc5
add esp, 8
test eax, eax
jne 0x480ee4
mov byte [0x4cb2cc], 1
jmp 0x480f1e
push str.autoinstall
mov eax, dword [ebp - 0x14]
push eax
call fcn.0048fcc5
add esp, 8
test eax, eax
jne 0x480f02
mov byte [0x4cb2cd], 1
jmp 0x480f1e
push str.forceinstall
mov eax, dword [ebp - 0x14]
push eax
call fcn.0048fcc5
add esp, 8
test eax, eax
jne 0x480f1e
mov byte [0x4cb2ce], 1
jmp 0x480e33
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x482c40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a426b
mov eax, dword fs:[0]
push eax
sub esp, 0x724
mov eax, dword [0x4c90b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x730], 0
push str.DriverTalent
lea ecx, [ebp - 0x424]
call fcn.0047e620
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x62c], ax
push 0x206
push 0
lea eax, [ebp - 0x62a]
push eax
call fcn.0048a4c0
add esp, 0xc
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x424]
call fcn.0047e6f0
push str.DriverTalent.exe
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x62c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x482d14
mov ecx, dword [ebp + 8]
call fcn.00479840
mov eax, dword [ebp - 0x730]
or eax, 1
mov dword [ebp - 0x730], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.0047fa00
mov eax, dword [ebp + 8]
jmp 0x482d47
lea eax, [ebp - 0x62c]
push eax
mov ecx, dword [ebp + 8]
call fcn.0047b7d0
mov ecx, dword [ebp - 0x730]
or ecx, 1
mov dword [ebp - 0x730], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x424]
call fcn.0047fa00
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00487e4e
mov esp, ebp
pop ebp
ret 4
Function at 0x484e40
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 8], eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x10], eax
push 1
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x486e60
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e4
mov eax, dword [0x4c90b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0048a4c0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov word [ebp - 0x418], ax
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.0048a4c0
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 0
push 0x4a6938
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x418]
add eax, 0xfffffffe
mov dword [ebp - 0x4e0], eax
mov ecx, dword [ebp - 0x4e0]
mov dx, word [ecx + 2]
mov word [ebp - 0x4e2], dx
add dword [ebp - 0x4e0], 2
cmp word [ebp - 0x4e2], 0
jne 0x486ef3
mov edi, dword [ebp - 0x4e0]
mov eax, dword [str..exe]
mov dword [edi], eax
mov ecx, dword [0x4a6944]
mov dword [edi + 4], ecx
mov dx, word [0x4a6948]
mov word [edi + 8], dx
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 8]
call fcn.00479b10
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x418]
push eax
push 0x4a694c
push 0
push str.CManualUpdateMgr::OnDownLoading
push str.d:dtl_deppcguojibandrivertalent7_dt8coreuimanualupdatedtlmanualupdatedtlmanualupdatemanualupdatemgr.cpp
mov ecx, dword [0x4c9094]
add ecx, 9
push ecx
call fcn.0047d350
push eax
call fcn.0047d8b0
add esp, 0x1c
mov ecx, dword [ebp - 8]
call fcn.0047c890
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x60
call fcn.0047c890
push eax
mov ecx, dword [ebp - 8]
call fcn.00486950
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x486fcb
mov ecx, dword [ebp - 8]
call fcn.0047c890
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x60
call fcn.0047c890
push eax
mov ecx, dword [ebp - 8]
call fcn.00486370
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00487e4e
mov esp, ebp
pop ebp
ret

Function at 0x487020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0xd8], 1
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x486340
push 0
push 0
call fcn.00491404
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx + 0xe8], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp

Function at 0x487070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0xdc], 1
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x486920
push 0
push 0
call fcn.00491404
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx + 0xe4], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4870c0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe8], 0
je 0x48711c
push 0x3e8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe8]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 0xe8], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x487130
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe4], 0
je 0x487199
mov eax, dword [ebp - 4]
mov dword [eax + 0xdc], 0
push 0x3e8
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov dword [eax + 0xe4], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49d630
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
push ecx
lea ecx, [esp + 8]
sub ecx, eax
and ecx, 0xf
add eax, ecx
sbb ecx, ecx
or eax, ecx
pop ecx
mov edx, edx
shr ecx, 9
ror ebx, 0xc
not ebx
call fcn.00488ab6
mov edi, 0xca0a2ad
dec edi
not ecx
neg ecx
sub ecx, ecx
cmp dword [0x4ca8b6], 0xf9b55d91
ja 0x49d669
dec edi
xor edi, 0x7b6570ec
or ecx, edi
call fcn.00438249
and ecx, 0x8f013a6b
rol ecx, 0x1e
cmp dword [0x4cafe2], edx
jg 0x49d68d
or ecx, 0x724db0a8
mov ecx, 0x52d92b69
cmp edx, 0x9c738320
jge 0x49d6a4
test dword [0x4c9b6c], 0x5a7c3e53
jae 0x49d6a8
sub edx, esp
add ebx, eax
shr edx, 5
ror ebx, 0x1b
xor dword [0x4ccba1], edx
or edi, edi
sub dword [0x4cc93b], esi
cmp eax, 0x19c80763
ja 0x49d6cc
sub dword [0x4cc94d], eax
or esi, 0x8ffbff8e
sub ebx, 0xcc73b58
dec ecx
jne 0x49d692
invalid
invalid
push ecx
leave

Function at 0x49d6e0
Capabilities:
Encrypt data using chaskey
Hash data using murmur3

Disassembly:
dec esp
add byte [ecx + 0x2b], cl
inc byte [edi + 0x5ce847d0]
stosd dword es:[edi], eax
stc
jmp dword [ebx]

Function at 0x49d9b0
Capabilities:
Hash data using murmur3

Disassembly:
rol byte [ecx + ecx], 0x3d
pop eax
leave
dec esp
add byte [ecx - 0x21a86810], al
inc ebx

Function at 0x49da10
Capabilities:
Hash data using murmur3

Disassembly:
into
adc bh, dh
fcmovb st(0), st(1)
mov dword [0xfb0109e8], 0xcef281ff
aaa
mov ebx, 0x1d29501b
retf

Function at 0x49daf0
Capabilities:
Hash data using murmur3

Disassembly:
dec esp
add byte [ebx - 0x179c2ce8], cl
mov ebx, dword [eax]
shl dword [ebx - 0x18], cl
xchg edx, eax
jo 0x49daf2
invalid
Function at 0x49db60
Capabilities:
Hash data using murmur3

Disassembly:
ror edx, 0x17
rol edx, 0x17
add esi, ecx
rol ebx, 0x19
neg esi
dec ecx
dec eax
xor ecx, edx
sub dword [0x4cc8b2], 0x4d9b5dc9
neg ebx
add edi, 0xf2951082
inc eax
neg esi
add esi, 0xc04bff55
call fcn.00467124
not esi
sub ecx, 0xe20ddf8a
or edx, dword [0x4ccf1a]
xor ebx, ecx
sub edi, dword [0x4cced7]
call fcn.0047e314
sub ebx, ebp
add dword [0x4cc8aa], eax
ror edi, 0xa
neg eax
xor eax, edx
call fcn.00413446
call fcn.00486889
call fcn.0048feaf
xor eax, edx
neg eax
rol edi, 0xa
add ebx, ebp
call fcn.0042969c
xor ebx, ecx
add ecx, 0xe20ddf8a
not esi
push esi
add edx, 0x56e6e311
ror ebx, 0xf
mov dword [0x4ccb84], ebx
xor ebx, esp
call fcn.00466dd9
neg ebx
add ecx, 0xb194cccb
or edx, dword [0x4ccc3c]
or dword [0x4cc9ed], 0x63957709
sub edi, dword [0x4ccea5]
and dword [0x4ccb7e], edi
xor eax, dword [0x4ccca7]
call fcn.0044ffe5
xor edi, 0xfeab7dba
mov dword [0x4ccad8], edx
xchg edi, edx
xchg edi, edx
xor dword [0x4ccb4e], ecx
xor edi, 0xfeab7dba
call fcn.00438d72
xor dword [0x4ccb01], ebx
sub ecx, 0xb194cccb
neg ebx
call fcn.00476fbb
xor ebx, esp
or dword [0x4cc98d], esi
rol ebx, 0xf
sub edx, 0x56e6e311
mov ecx, 0x49158e4
add ecx, edx
sub ecx, 0x1d6d9da7
dec edx
sub edi, 0x2a9ac7dc
mov dword [0x4cc8e2], ebx
add edx, dword [0x4ccdd6]
ror ebx, 2
xor edx, 0x12f08537
sub edi, dword [0x4ccd73]
dec edx
or eax, dword [0x4ccea9]
xchg edi, eax
xor esi, 0x4f574b04
and dword [0x4cc947], edi
ror ebx, 6
call fcn.00451d45
call fcn.00429adf
rol ebx, 6
xor esi, 0x4f574b04
xchg edi, eax
inc edx
xor edx, 0x12f08537
rol ebx, 2
add edi, 0x2a9ac7dc
inc edx
add ecx, 0x1d6d9da7
sub ecx, edx
add ecx, 0x774e9079
xor dword [0x4cca80], eax
dec eax
add esi, 0x9dbb46a2
add esi, dword [0x4cce2b]
add ecx, 0x551e6c2e
inc edi
neg eax
inc edx
call fcn.0040e45e
sub dword [0x4cc9fc], ebx
sub dword [0x4ccb78], ecx
or dword [0x4ccb48], eax
add edi, dword [0x4ccccb]
call fcn.00446025
sub dword [0x4ccaa3], 0x28fbe828
or edx, dword [0x4cce3d]
xor eax, 0xa13c86b3
or eax, dword [0x4ccd44]
call fcn.00455e49
call fcn.00452310
xor eax, 0xa13c86b3
mov dword [0x4cc851], 0x21b1b91f
call fcn.0041a6d7
xor dword [0x4cc9c9], edx
or dword [0x4cca44], edx
dec edx
neg eax
dec edi
sub ecx, 0x551e6c2e
sub esi, 0x9dbb46a2
inc eax
invalid
invalid
ja 0x49dd4c
dec esp
Function at 0x10005c80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025d90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov eax, ecx
push esi
push edi
push 8
mov dword [ebp - 0x10], eax
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10008933
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10007dea
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
pop edi
pop esi
mov dword [edx], 0
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1001276c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100127ab
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100127ab
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100127ab
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100127ab
cmp dword [ecx + 0x74], 0xe
jbe 0x100127ab
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10018af7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.100097f0
mov eax, dword [0x10036084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.10015319
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10018b39
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10018c95
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10025850
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10037a48]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.10018680
mov ecx, dword [esi*4 + 0x10037a48]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x10018c8e
cmp eax, dword [ecx + edi + 0x24]
jne 0x10018c8e
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10018c8e
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10018680
add esp, 0x14
test edx, edx
jl 0x10018c8e
jg 0x10018c04
test eax, eax
jb 0x10018c8e
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x10018c8e
jl 0x10018c1e
cmp dword [ebp - 0x1008], eax
ja 0x10018c8e
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10018c3c
test ebx, ebx
je 0x10018c75
cmp ecx, edi
jae 0x10018c75
mov al, byte [ecx]
cmp al, 0xd
jne 0x10018c56
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10018c62
cmp byte [ecx + 1], 0xa
jne 0x10018c62
inc ecx
jmp 0x10018c62
movzx eax, al
movsx eax, byte [eax + 0x100362f0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10018c3c
cmp edx, ebx
jne 0x10018c3c
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10018c93
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10008fe5
leave
ret
Function at 0x10018d34
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10037a48]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10018d74
cmp byte [ebx], 0xa
jne 0x10018d74
or byte [edi + eax + 0x28], 4
jmp 0x10018d79
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x10018e78
mov dl, byte [eax]
cmp dl, 0x1a
je 0x10018e5b
inc eax
cmp dl, 0xd
je 0x10018da5
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x10018dcb
cmp eax, ecx
jae 0x10018dd9
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x10018d8d
jmp 0x10018e78
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10018e56
cmp dword [ebp - 0x10], 0
je 0x10018e56
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10037a48]
test byte [eax + edi + 0x28], 0x48
je 0x10018e30
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10018e1b
mov byte [esi], dl
jmp 0x10018e2c
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10037a48]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10018e78
cmp byte [ebp - 1], 0xa
jne 0x10018e3f
cmp esi, ebx
jne 0x10018e3f
mov byte [esi], 0xa
jmp 0x10018e77
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1001869e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10018e78
mov byte [esi], 0xd
jmp 0x10018e77
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10037a48]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10018e75
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10018e78
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret