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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x439c90
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x44a874]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
neg eax
sbb eax, eax
mov word [esp + 0xc], 0xb
mov word [esp + 0x14], ax
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x3c], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x38], 1
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0xc]
push eax
call edx
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
lea edx, [esp + 0x1c]
push edx
push str.showAll
call eax
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
call edi
lea edx, [esp + 0xc]
push edx
call edi
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x411a40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x439c30
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44a874]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x4531c0]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov eax, dword [0x4531c0]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ebp, ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], ebp
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x43f0a0
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [0x4531c0]
mov ebx, dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push ecx
call ebx
add eax, 8
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebp
jne 0x411b04
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x411afd
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
jmp 0x411bf1
mov ecx, dword [0x4531c0]
push esi
push ecx
mov dword [eax], 0x55665566
lea ebp, [eax + 4]
call ebx
mov edx, dword [0x4531c0]
push esi
mov dword [ebp], eax
push edx
add ebp, 4
call ebx
push eax
mov eax, dword [esp + 0x1c]
push eax
push ebp
call fcn.00423b30
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x2c]
push ecx
push 1
push edi
mov byte [esp + 0x30], 1
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jge 0x411b9f
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x411b83
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x30]
test eax, eax
je 0x411b9b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
jmp 0x411bf1
mov eax, dword [esp + 0x30]
test eax, eax
je 0x411bb4
mov edx, dword [esp + 0x2c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x411bd4
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x30]
test eax, eax
je 0x411bec
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x413040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43a316
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44a874]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.BFImageHelper::CWinImageHelper.0
push esi
mov dword [esp + 0x1c], 1
call fcn.004132d0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea eax, [esi + 0x4c]
push eax
mov dword [esi + 0x48], vtable.CBFCritSec.0
call edi
lea ecx, [esi + 0x30]
mov dword [esi + 0x48], vtable.CBFSyncObject.0
push ecx
mov dword [esi + 0x2c], vtable.CBFCritSec.0
call edi
mov dword [esi + 0x2c], vtable.CBFSyncObject.0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x414bf0
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x438f4b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x44a874]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
mov eax, dword [0x44a874]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
xor esi, esi
push 0x206
lea eax, [esp + 0x32]
push esi
push eax
mov word [esp + 0x38], si
call fcn.00422b60
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x10]
push eax
push 0x44124c
push str.http_shellopencommand
push SysReAllocStringLen
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x414ce7
cmp word [esp + 0x2c], 0x22
jne 0x414d17
push 0x22
lea ecx, [esp + 0x32]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrChrIW]
cmp eax, esi
je 0x414ce7
lea edx, [esp + 0x2e]
sub eax, edx
sar eax, 1
push eax
mov eax, edx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], esi
mov word [esp + 0x1c], si
call fcn.00401ce0
cmp dword [esp + 0x28], 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x240], esi
jae 0x414cd3
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00438b20
test eax, eax
lea ecx, [esp + 0x10]
jne 0x414d0e
call fcn.00402160
xor al, al
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00420bdf
add esp, 0x23c
ret
call fcn.00402160
mov al, 1
jmp 0x414ce9
push esi
lea ecx, [esp + 0x30]
push ecx
call fcn.00438b20
test eax, eax
setne al
jmp 0x414ce9

Function at 0x416050
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4390d3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x44a874]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.00415c10
lea ecx, [esi + 0x38]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x4524e0
or eax, 0xffffffff
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
push ebx
push 0x441116
mov byte [esp + 0x20], 1
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x3c], 4
mov byte [esi + 0x48], bl
mov byte [esi + 0x30], bl
mov dword [esi + 0x34], ebx
call fcn.004151b0
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x41b150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x439508
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
mov eax, dword [0x44a874]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
fldz
mov edx, dword [ecx + 0x74]
xor eax, eax
fstp qword [esp + 0x18]
mov dword [esp + 8], 0x4524e0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 5
mov byte [esp + 0xc], al
mov dword [esp + 0x10], eax
lea esi, [ecx + 0x20]
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.00418d10
push eax
lea ecx, [esp + 0xc]
call fcn.00418d60
push 1
mov ecx, esi
call fcn.004193a0
cmp dword [esp + 0x30], 3
lea ecx, [esp + 8]
je 0x41b1e9
call fcn.0041e0f0
neg eax
push str.unary__
push eax
mov ecx, esi
call fcn.00418fd0
jmp 0x41b201
call fcn.0041e290
fmul qword [0x43d030]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.00419070
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0xffffffff
call fcn.00418a50
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x3c
ret
Function at 0x420bdf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a874]
jne 0x420be9
repz ret
jmp fcn.00424ff4

Function at 0x43159d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004255f0
xor ebx, ebx
cmp dword [0x4530a0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x431672
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4315dd
xor eax, eax
jmp 0x431736
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4315d6
push eax
call fcn.0042558d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4530a0], eax
call esi
push eax
call fcn.0042558d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4530a4], eax
call esi
push eax
call fcn.0042558d
mov dword [0x4530a8], eax
lea eax, [ebp - 8]
push eax
call fcn.00425d57
test eax, eax
pop ecx
pop ecx
je 0x431640
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004219d8
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x431672
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042558d
cmp eax, ebx
pop ecx
mov dword [0x4530b0], eax
je 0x431672
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042558d
pop ecx
mov dword [0x4530ac], eax
mov eax, dword [0x4530ac]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4316eb
cmp dword [0x4530b0], esi
je 0x4316eb
push eax
call fcn.004255f9
pop ecx
call eax
cmp eax, ebx
je 0x4316b8
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4530b0]
call fcn.004255f9
pop ecx
call eax
test eax, eax
je 0x4316b8
test byte [ebp - 0x18], 1
jne 0x4316eb
lea eax, [ebp - 0xc]
push eax
call fcn.00425d8e
test eax, eax
pop ecx
je 0x4316d3
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004219d8
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4316e2
or dword [ebp + 0x10], 0x200000
jmp 0x43171c
or dword [ebp + 0x10], 0x40000
jmp 0x43171c
mov eax, dword [0x4530a4]
cmp eax, esi
je 0x43171c
push eax
call fcn.004255f9
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43171c
mov eax, dword [0x4530a8]
cmp eax, esi
je 0x43171c
push dword [ebp - 4]
push eax
call fcn.004255f9
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4530a0]
call fcn.004255f9
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x438420
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push ebp
mov ebp, dword [esp + 0x60]
push edi
mov edi, dword [esp + 0x60]
test edi, edi
jne 0x43843d
test ebp, ebp
jne 0x43843d
pop edi
xor eax, eax
pop ebp
add esp, 0x54
ret
push esi
push 0x44
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00422b60
add esp, 0xc
xor esi, esi
test edi, edi
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x24], 0x43f0e0
je 0x438499
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
add eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420b12
add esp, 4
mov esi, eax
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
push 0
push 0
push 0
push 0
push 0
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test esi, esi
mov edi, eax
je 0x4384c5
push esi
call fcn.00422bda
add esp, 4
test edi, edi
je 0x4384dd
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
mov eax, dword [esp + 0x14]
pop esi
pop edi
pop ebp
add esp, 0x54
ret

Function at 0x438bb0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push esi
push 0
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, 0x80070057
je 0x438bde
push esi
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov eax, 1
pop esi
ret 8
xor eax, eax
pop esi
ret 8
Function at 0x50c0c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xab000]
push edi
or ebp, 0xffffffff
jmp 0x50c0e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50c0e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c0d8
mov eax, 1
add ebx, ebx
jne 0x50c0fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50c10c
jne 0x50c12b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c12b
dec eax
add ebx, ebx
jne 0x50c118
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x50c0f0
add ebx, ebx
jne 0x50c127
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x50c17d
xor ecx, ecx
sub eax, 3
jb 0x50c143
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50c1b2
sar eax, 1
mov ebp, eax
jmp 0x50c14e
add ebx, ebx
jne 0x50c14e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c11c
inc ecx
add ebx, ebx
jne 0x50c15c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50c11c
add ebx, ebx
jne 0x50c169
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50c15e
jne 0x50c17a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50c15e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50c19c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50c18e
jmp 0x50c0de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50c19c
add edi, ecx
jmp 0x50c0de
pop esi
mov edi, esi
mov ecx, 0x3d94
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50c1ba
cmp byte [edi], 0x19
jne 0x50c1ba
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x50c1bf
lea edi, [esi + 0x105000]
mov eax, dword [edi]
or eax, eax
je 0x50c237
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x110cd0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x110d70]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50c1ec
mov ecx, edi
jns 0x50c21b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x110d74]
or eax, eax
je 0x50c231
mov dword [ebx], eax
add ebx, 4
jmp 0x50c209
call dword [esi + 0x110d84]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x50c268
cmp al, 0xef
ja 0x50c25b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x50c23d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x50c24a
mov ebp, dword [esi + 0x110d78]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x50c29c
sub esp, 0xffffff80
jmp 0x485ded
Function at 0x5cd000
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.HAOCMP1
lea edi, [esi - 0x112000]
push edi
or ebp, 0xffffffff
jmp 0x5cd022
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5cd029
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cd018
mov eax, 1
add ebx, ebx
jne 0x5cd03b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5cd04c
jne 0x5cd06b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cd06b
dec eax
add ebx, ebx
jne 0x5cd058
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5cd030
add ebx, ebx
jne 0x5cd067
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5cd0bd
xor ecx, ecx
sub eax, 3
jb 0x5cd083
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5cd0f2
sar eax, 1
mov ebp, eax
jmp 0x5cd08e
add ebx, ebx
jne 0x5cd08e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cd05c
inc ecx
add ebx, ebx
jne 0x5cd09c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cd05c
add ebx, ebx
jne 0x5cd0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5cd09e
jne 0x5cd0ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5cd09e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5cd0dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5cd0ce
jmp 0x5cd01e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5cd0dc
add edi, ecx
jmp 0x5cd01e
pop esi
mov edi, esi
mov ecx, 0x4c09
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5cd0fa
cmp byte [edi], 0x11
jne 0x5cd0fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5cd0ff
lea edi, [esi + 0x1c9000]
mov eax, dword [edi]
or eax, eax
je 0x5cd177
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e1ef0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e201c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5cd12c
mov ecx, edi
jns 0x5cd15b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e2020]
or eax, eax
je 0x5cd171
mov dword [ebx], eax
add ebx, 4
jmp 0x5cd149
call dword [esi + 0x1e2028]
mov ebp, dword [esi + 0x1e2024]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5cd1ab
sub esp, 0xffffff80
jmp 0x43ca76
Function at 0x401e12
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0xc]
mov esi, 0x668d18
push eax
push 0
push dword [ebp + 8]
push 0xc350
push esi
call fcn.00401b9c
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
pop ebp
ret

Function at 0x401e75
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3f4
mov eax, dword [0x65de64]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x62db28]
push ebx
push esi
mov esi, edx
mov word [ebp - 0x3f0], ax
mov al, byte [0x62db2a]
xor ebx, ebx
push edi
mov edi, ecx
mov byte [ebp - 0x3ee], al
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [ebp - 0x3f4], eax
xor edx, edx
mov ecx, ebx
inc edx
shl edx, cl
test eax, edx
je 0x401f35
lea eax, [ebx + 0x41]
mov byte [ebp - 0x3f0], al
lea eax, [ebp - 0x3ec]
push 0x3e8
push eax
lea eax, [ebp - 0x3f0]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x401f2f
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x3f0]
push eax
push str.ConvertVoulmePathToNormal
push str._n__s___Drive__volume__s____s
call fcn.00401e12
lea ecx, [ebp - 0x3ec]
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401f11
sub ecx, edx
lea eax, [ebp - 0x3ec]
push ecx
push eax
push edi
call fcn.005d2f37
add esp, 0xc
test eax, eax
je 0x401f50
mov eax, dword [ebp - 0x3f4]
inc ebx
cmp ebx, 0x20
jl 0x401eb7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c8b52
leave
ret
lea eax, [ebp - 0x3f0]
mov ebx, 0x3e8
push eax
push ebx
push esi
call fcn.005d306f
lea ecx, [ebp - 0x3ec]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401f6f
sub ecx, edx
lea eax, [ecx + edi]
push eax
push ebx
push esi
call fcn.005d3dea
push esi
push str.ConvertVoulmePathToNormal
push str._n_Found_match__Final_path_is__s
call fcn.00401e12
xor eax, eax
add esp, 0x18
inc eax
jmp 0x401f41
Function at 0x401f9b
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, ecx
mov edi, 0x6786d8
push ebx
push edi
mov esi, edx
call fcn.005d3102
pop ecx
pop ecx
test eax, eax
jne 0x401fe2
push edi
push dword [0x65e8c0]
push str.FindProcessBitType
push str._s___This_process_is_already_detected__type___d__path_s
call fcn.00401e12
mov eax, dword [0x65e8c0]
add esp, 0x10
mov dword [esi], eax
xor eax, eax
inc eax
jmp 0x40211e
or dword [esi], 0xffffffff
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push SysReAllocStringLen
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x402023
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FindProcessBitType
push str._s___Failed_to_open_file__Error0x_.8x___s
call fcn.00401e12
add esp, 0x10
xor eax, eax
jmp 0x40211e
push edi
push edi
push edi
push 2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x40205b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FindProcessBitType
push str._s___CreateFileMapping_Failed_Error0x_.8x___s
call fcn.00401e12
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40201c
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
test eax, eax
jne 0x40208c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FindProcessBitType
push str._s___MapViewOfFile_Failed__Error0x_.8x___s
call fcn.00401e12
add esp, 0xc
jmp 0x40210c
push eax
push ebx
push str.FindProcessBitType
push str._s___Successfully_mapped_the_file_to_memory__s_at_0x_.8x
call fcn.00401e12
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.dbghelp.dll_ImageNtHeader]
mov ecx, 0x14c
movzx eax, word [eax + 4]
cmp ax, cx
jne 0x4020c5
push str.FindProcessBitType
mov dword [esi], edi
push str._s_____This_process_is_32_bit
jmp 0x4020df
mov ecx, 0x8664
cmp ax, cx
jne 0x4020e6
push str.FindProcessBitType
mov dword [esi], 1
push str._s_____This_process_is_64_bit
call fcn.00401e12
pop ecx
pop ecx
push ebx
push 0x3e8
push 0x6786d8
call fcn.005d306f
mov eax, dword [esi]
add esp, 0xc
mov dword [0x65e8c0], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor edi, edi
inc edi
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 8]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret