joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48160f
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov esi, ecx
je 0x481670
cmp byte [esi + 0x24], bl
jne 0x481706
lea eax, [ebp - 0x400]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
cmp byte [ebp - 0x400], bl
lea edi, [ebp - 0x400]
mov dword [esi + 0x2c], ebx
je 0x481665
inc dword [esi + 0x2c]
push edi
call fcn.004a9710
cmp byte [edi + eax + 1], 0
lea edi, [edi + eax + 1]
pop ecx
jne 0x481650
mov eax, dword [esi + 0x2c]
cmp eax, ebx
jg 0x481679
mov byte [esi + 0x24], 1
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
shl eax, 2
push eax
call fcn.004d333d
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x28], eax
shl ecx, 2
push ecx
push ebx
push eax
call fcn.004a9230
add esp, 0x10
cmp byte [ebp - 0x400], 0
lea edi, [ebp - 0x400]
je 0x481700
cmp dword [esi + 0x2c], ebx
jle 0x481700
push 0x400
call fcn.004d333d
mov edx, dword [esi + 0x28]
pop ecx
mov ecx, ebx
shl ecx, 2
mov dword [edx + ecx], eax
mov eax, dword [esi + 0x28]
mov eax, dword [eax + ecx]
test eax, eax
je 0x481700
mov dl, byte [edi]
push 0x3ff
mov byte [eax], dl
mov eax, dword [esi + 0x28]
mov eax, dword [eax + ecx]
and byte [eax + 1], 0
mov eax, dword [esi + 0x28]
mov eax, dword [eax + ecx]
mov ecx, esi
inc eax
push eax
push edi
call fcn.004815b2
push edi
inc ebx
call fcn.004a9710
cmp byte [edi + eax + 1], 0
lea edi, [edi + eax + 1]
pop ecx
jne 0x4816a5
mov byte [esi + 0x24], 1
xor ebx, ebx
cmp dword [esi + 0x28], ebx
je 0x481670
xor edi, edi
cmp dword [esi + 0x2c], ebx
jle 0x481670
mov eax, dword [esi + 0x28]
mov eax, dword [eax + edi*4]
cmp eax, ebx
je 0x481734
push dword [ebp + 8]
inc eax
push eax
call fcn.004accd0
pop ecx
test eax, eax
pop ecx
je 0x48173f
inc edi
cmp edi, dword [esi + 0x2c]
jl 0x48171a
jmp 0x481670
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + edi*4]
mov al, byte [eax]
mov byte [ecx], al
mov al, 1
jmp 0x481672
Function at 0x481753
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4f7c4f
call fcn.004a920c
mov eax, 0x11bc
call fcn.004aa590
push ebx
push esi
push edi
mov edi, ecx
mov ecx, 0x5362a0
call fcn.004806a0
test al, al
je 0x48180d
mov ecx, edi
call fcn.004814ed
test al, al
je 0x48180d
lea eax, [ebp - 0x14]
push 0x52f50c
push eax
call fcn.004aa670
mov al, byte [ebp + 8]
pop ecx
pop ecx
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x9c8]
push 0x104
push eax
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x48180d
test byte [ebp - 0x1c], 0x80
je 0x48180d
mov esi, 0x400
lea eax, [ebp - 0xdc8]
push esi
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.004815b2
test eax, eax
je 0x48180d
lea eax, [ebp - 0x4c0]
push esi
push eax
lea eax, [ebp - 0xdc8]
push eax
mov ecx, edi
mov byte [ebp - 0x4c0], bl
call fcn.004815ca
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
jne 0x481814
mov al, 1
jmp 0x481933
mov byte [ebp + 0xb], 1
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x8c4]
push eax
call fcn.004aa670
lea eax, [ebp - 0x4c0]
push eax
lea eax, [ebp - 0x8c4]
push eax
call fcn.004aa680
add esp, 0x10
lea eax, [ebp - 0x11c8]
mov ecx, edi
push esi
push eax
lea eax, [ebp - 0x8c4]
push eax
call fcn.004815b2
test eax, eax
je 0x4818eb
lea eax, [ebp - 0x11c8]
push eax
lea eax, [ebp - 0xdc8]
push eax
call fcn.004ac3e0
pop ecx
test eax, eax
pop ecx
je 0x4818eb
lea eax, [ebp - 0xd]
mov ecx, edi
push eax
lea eax, [ebp - 0x11c8]
push eax
call fcn.0048160f
test al, al
je 0x4818eb
push ebx
lea ecx, [ebp - 0xc0]
call fcn.004840f2
movsx eax, byte [ebp - 0xd]
push eax
push eax
lea eax, [ebp - 0x8c4]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x24]
push 0xef23
push eax
call fcn.004cc939
add esp, 0x14
lea ecx, [ebp - 0xc0]
call fcn.004d4cec
cmp dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], eax
je 0x4818d6
push ebx
mov ecx, 0x5362a0
call fcn.004806e0
cmp dword [ebp - 0x20], 2
je 0x481914
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
call fcn.00481944
mov ecx, 0x5362a0
call fcn.004806a0
test al, al
je 0x481926
lea eax, [ebp - 0x4c0]
push esi
push eax
mov ecx, edi
push dword [ebp - 0x18]
call fcn.004815e7
test eax, eax
je 0x481926
jmp 0x481818
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc0]
mov byte [ebp + 0xb], bl
call fcn.00481944
push dword [ebp - 0x18]
mov ecx, edi
call fcn.004815ff
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x481ce7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7cb7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
lea ecx, [ebp - 0x24]
call fcn.00404dc0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a9710
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
add edx, 0xa
cmp edx, dword [ebp + 0x10]
jl 0x481d4f
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004d37cb
mov al, byte [ebp - 0x28]
jmp 0x481e6b
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp + 8]
jb 0x481db0
mov edx, dword [ebp - 0x18]
movsx eax, byte [edx]
cmp eax, 0x2e
jne 0x481d82
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004d3954
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp + 8]
mov dword [ebp - 0x20], edx
jmp 0x481db0
mov eax, dword [ebp - 0x18]
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x481da3
mov edx, dword [ebp - 0x18]
movsx eax, byte [edx]
cmp eax, 0x2f
je 0x481da3
mov ecx, dword [ebp - 0x18]
movsx edx, byte [ecx]
cmp edx, 0x3a
jne 0x481da5
jmp 0x481db0
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
jmp 0x481d58
mov byte [ebp - 0x10], 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004d333d
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], 1
jmp 0x481ddb
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3e7
jge 0x481e41
mov ecx, dword [ebp - 0x1c]
mov byte [ecx], 0
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004aac10
add esp, 0xc
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
push str._Copy__03d__s
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x20]
push ecx
call fcn.004a9b8d
add esp, 0x10
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x481e3f
mov byte [ebp - 0x10], 1
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004aa670
add esp, 8
jmp 0x481e41
jmp 0x481dd2
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.004d3366
add esp, 4
mov cl, byte [ebp - 0x10]
mov byte [ebp - 0x34], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004d37cb
mov al, byte [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x481eb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f7ce7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0xc], eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x1c
call fcn.004823b0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x40], 0
mov eax, dword [ebp - 0x24]
mov dword [eax], 0x503010
mov ecx, dword [ebp + 8]
call fcn.0046b950
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x481f7f
mov edx, dword [ebp - 0x10]
and edx, 1
test edx, edx
jne 0x481f7f
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x14]
add ecx, 1
mov edx, dword [ebp - 0x24]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
jmp 0x481f5c
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x10]
sub edx, 1
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x44], edx
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x44], 0
jbe 0x481ffb
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x44]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
shl eax, 3
push eax
call fcn.004d333d
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0
je 0x481fe1
push fcn.00482350
mov ecx, dword [ebp - 0x14]
push ecx
push 8
mov edx, dword [ebp - 0x20]
push edx
call fcn.004628c0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
jmp 0x481fe8
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0x40], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4868c5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f80ba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x1c], ecx
push 0x14
push 0x52f6e4
push str.Unfortunately_application_experienced_a_problem_running_on_your_system_and_it_will_be_closed_now._However_you_have_a_possibility_to_send_a_bug_report_with_all_the_information_required_for_us_to_fix_this_problem._If_you_choose_to_proceed__an_email_message_will_be_generated._You_will_be_able_to_edit_it_and_send_it_to_our_support_team._The_message_WILL_NOT_be_sent_automatically_without_your_notice._We_will_provide_full_support_for_you_as_soon_as_we_receive_the_message._Do_you_want_to_proceed_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x486901
jmp 0x4869a8
lea ecx, [ebp - 0x14]
call fcn.00404dc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00404dc0
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.00494509
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ecx
push str.OS:__s__Built_on_Aug__1_2007___s__ACCESS_VIOLATION__EAX0x00006739_ECX0x00000000_EDX0xFFFFFFFF
lea edx, [ebp - 0x10]
push edx
call fcn.004cc926
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004d37cb
mov eax, dword [ebp - 0x10]
push eax
push str.mailto:support_handyrecovery.com_subjectHandy_Recovery_4.0_Crash_Reportbody_s__0d__0a
lea ecx, [ebp - 0x14]
push ecx
call fcn.004cc926
add esp, 0xc
push 1
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.00447470
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004d37cb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004d37cb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x48703c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 0x40], ecx
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x487060
xor eax, eax
jmp 0x48714c
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x48714a
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x48708d
xor eax, eax
jmp 0x48714c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov cx, word [eax + 0x14]
mov edx, dword [ebp - 0x28]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp - 4]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], 0
jmp 0x4870d6
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x2c]
add eax, 0x28
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x28]
xor edx, edx
mov dx, word [ecx + 6]
cmp dword [ebp - 0x30], edx
jae 0x48714a
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [eax + 8]
jbe 0x487106
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x44], eax
jmp 0x48710f
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x3c]
jb 0x487145
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x38]
ja 0x487145
mov eax, dword [ebp - 0x30]
add eax, 1
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov eax, 1
jmp 0x48714c
jmp 0x4870c4
xor eax, eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x487b42
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f81ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x178], 0
lea ecx, [ebp - 0x10]
call fcn.00404dc0
mov dword [ebp - 4], 1
mov byte [ebp - 0x60], 0
push 1
push 0x2e
lea ecx, [ebp - 0x174]
call fcn.004cc080
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x174]
call fcn.004d3be3
push 0x410
push 0x160
lea ecx, [ebp - 0x170]
push ecx
push 0x80
lea ecx, [ebp - 0x174]
call fcn.00447470
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
jne 0x487be0
push 0xef64
lea ecx, [ebp - 0x10]
call fcn.004d46c7
jmp 0x487bec
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x10]
call fcn.004d3954
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.004d3540
mov ecx, dword [ebp - 0x178]
or ecx, 1
mov dword [ebp - 0x178], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x174]
call fcn.004d37cb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004d37cb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x48eec0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8699
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0048f910
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0xc], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x34], 0xffffffff
mov edx, dword [ebp - 0x14]
mov dword [edx], 0x503bdc
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
call fcn.00418870
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 4]
call fcn.0048c29d
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 4]
call fcn.0044cec0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x18], eax
cmp dword [ebp + 0x10], 0
je 0x48efa2
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [edx + 0x14]
shr eax, cl
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp + 0x10]
jb 0x48ef98
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
sub ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [edx + 8], ecx
jmp 0x48efa2
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov edx, dword [ebp - 0x14]
add edx, 0x20
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
xor eax, eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp - 0x1c]
jl 0x48f00a
jg 0x48efea
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0x20]
jb 0x48f00a
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
xor eax, eax
mov esi, dword [edx + 0x20]
sub esi, ecx
mov ecx, dword [edx + 0x24]
sbb ecx, eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x20], esi
mov dword [edx + 0x24], ecx
jmp 0x48f01b
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x10], 0
je 0x48f03f
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
call fcn.004d333d
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x30], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49357b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov dword [ebp - 8], 0
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x4935bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x493734
mov word [ebp - 0xc], 0x400
mov ecx, dword [ebp - 0x28]
add ecx, 0x14
call fcn.00490fa0
mov dword [ebp - 0x10], eax
push 0
lea ecx, [ebp - 4]
push ecx
push 0xc
push 0x52fe3c
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4935f0
cmp dword [ebp - 4], 0xc
je 0x4935fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x49364f
push 0
lea eax, [ebp - 4]
push eax
push 2
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x49361b
cmp dword [ebp - 4], 2
je 0x493626
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x49364f
push 0
lea eax, [ebp - 4]
push eax
push 4
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x493646
cmp dword [ebp - 4], 4
je 0x49364f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.0040b6c0
add esp, 4
and eax, 0xff
test eax, eax
je 0x493706
mov ecx, dword [ebp - 0x28]
add ecx, 0x14
call fcn.00487f40
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x14
call fcn.0040f2b0
mov dword [ebp - 0x18], eax
jmp 0x49368f
mov ecx, dword [ebp - 0x1c]
add ecx, 8
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x1c]
je 0x493706
mov ecx, dword [ebp - 0x1c]
call fcn.00491150
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4936aa
jmp 0x493686
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
push 0
lea edx, [ebp - 4]
push edx
push 4
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4936d3
cmp dword [ebp - 4], 4
je 0x4936de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x493706
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.00467b59
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.0040b6a0
add esp, 4
and eax, 0xff
test eax, eax
je 0x493704
jmp 0x493706
jmp 0x493686
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 8]
push edx
call fcn.0040b6a0
add esp, 4
and eax, 0xff
test eax, eax
je 0x493731
mov eax, dword [ebp + 8]
push eax
call fcn.0046dad8
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4
Function at 0x494509
Capabilities:
Check os version

Disassembly:
mov eax, 0x4f8d0f
call fcn.004a920c
sub esp, 0xa8
mov eax, dword [0x530a90]
and dword [ebp - 0x1c], 0
push ebx
push edi
mov dword [ebp - 0x10], eax
push 1
xor eax, eax
pop ebx
lea edi, [ebp - 0xb0]
push 0x24
mov dword [ebp - 0xb4], 0x94
pop ecx
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4946ce
mov eax, dword [ebp - 0xa4]
dec eax
je 0x49462d
dec eax
jne 0x4946ce
push str.Windows
lea ecx, [ebp - 0x10]
call fcn.004d3954
mov eax, dword [ebp - 0xb0]
sub eax, 3
je 0x4945af
dec eax
je 0x4945a8
dec eax
je 0x494592
push str.__NT_based_
jmp 0x4945b4
cmp dword [ebp - 0xac], 0
mov eax, str._2000
je 0x4945a5
mov eax, 0x52fea4
push eax
jmp 0x4945b4
push str._NT_4.0
jmp 0x4945b4
push str._NT_3.x
lea ecx, [ebp - 0x10]
call fcn.004d3ba7
push dword [ebp - 0xa8]
lea eax, [ebp - 0x18]
push eax
call fcn.004944a5
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004d3be3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004d37cb
cmp byte [ebp - 0xa0], 0
je 0x4946ce
mov eax, dword [0x530a90]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x14]
push str.___s_
push eax
call fcn.004cc926
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.004d3be3
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
jmp 0x4946c9
push str.Windows
lea ecx, [ebp - 0x10]
call fcn.004d3954
cmp dword [ebp - 0xac], 0
je 0x494680
cmp dword [ebp - 0xac], 0xa
je 0x494663
cmp dword [ebp - 0xac], 0x5a
je 0x49465c
push str._9x_Me
jmp 0x49469b
push 0x52fe80
jmp 0x49469b
push 0x52fe7c
lea ecx, [ebp - 0x10]
call fcn.004d3ba7
cmp byte [ebp - 0xa0], 0x41
jne 0x4946a3
push str.__SE_
jmp 0x49469b
push 0x52fe70
lea ecx, [ebp - 0x10]
call fcn.004d3ba7
cmp byte [ebp - 0xa0], 0x43
jne 0x4946a3
push str.__OSR2_
lea ecx, [ebp - 0x10]
call fcn.004d3ba7
movzx eax, word [ebp - 0xa8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004944a5
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004d3be3
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.004d37cb
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004d3540
mov dword [ebp - 0x1c], ebx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004d37cb
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x49475d
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x496638
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4f9052
call fcn.004a920c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x503e80
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 1
call fcn.004d37cb
and byte [ebp - 4], 0
lea ecx, [esi + 0x28]
call fcn.004d37cb
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call fcn.004cf3cf
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret