joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x43a080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push edi
mov edi, dword [ebp + 0x10]
mov ebx, ecx
push 0x400
push 0
push eax
mov dword [ebp - 0x410], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x40c], 0x400
lea eax, [ebp - 0x408]
push eax
push 0x20019
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d500
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push edi
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40d4f4
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x404]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40d4d7
test dl, dl
je 0x40d4d3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40d4d7
add eax, 2
add ecx, 2
test dl, dl
jne 0x40d4b7
xor eax, eax
jmp 0x40d4dc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40d4f4
push 0x42d660
push dword [ebp + 8]
call fcn.00413400
mov eax, dword [ebx]
add esp, 8
inc byte [eax]
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429696
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40d8d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1110
call fcn.004296b0
mov eax, dword [0x43a080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x1110], eax
lea eax, [ebp - 0x110c]
push eax
push 0x1000
lea eax, [ebp - 0x1108]
push eax
call sub.KERNEL32.dll_K32EnumProcesses
test eax, eax
je 0x40d978
mov ebx, dword [ebp - 0x110c]
xor esi, esi
shr ebx, 2
test ebx, ebx
je 0x40d978
nop
push dword [ebp + esi*4 - 0x1108]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x40d973
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
push edi
call sub.KERNEL32.dll_K32GetModuleBaseNameA
test eax, eax
je 0x40d96c
push dword [ebp - 0x1110]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40d98d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, ebx
jb 0x40d920
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429696
mov esp, ebp
pop ebp
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429696
mov esp, ebp
pop ebp
ret 4
Function at 0x413960
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0xf
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jbe 0x41397e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x4139a4
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x413990
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.004069f0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
test eax, eax
je 0x4139c4
add eax, 0x20
mov esp, ebp
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
int3

Function at 0x413f20
Capabilities:
Terminate process

Disassembly:
push str.VirtualBox_nVMware_nVMware_Express_nVMware_ESX_nVMware_GSX_nVMware_Workstation_nVMware_Fusion_nbhyve_nQEMU_nKVM_nKVM_Hyper_V_Enlightenment_nQEMUKVM_Hyper_V_Enlightenment_nQEMUKVM_nVirtual_PC_nMicrosoft_Hyper_V_nMicrosoft_Virtual_PC_Hyper_V_nMicrosoft_x86_to_ARM_nParallels_nXen_HVM_nACRN_nQNX_hypervisor_nHybrid_Analysis_nSandboxie_nDocker_nWine_nVirtual_Apple_nAnubis_nJoeBox_nThreatExpert_nCWSandbox_nComodo_nBochs_nLockheed_Martin_LMHS_nNVMM_nOpenBSD_VMM_nIntel_HAXM_nUnisys_s_Par_nCuckoo_nBlueStacks_nJailhouse_nApple_VZ_nIntel_KGT__Trusty__nMicrosoft_Azure_Hyper_V_nXbox_NanoVisor__Hyper_V__nSimpleVisor_n
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404b40
add esp, 8
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x417ed0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov eax, 1
lea edi, [ebp - 0x10]
mov ecx, 0xff
xorps xmm0, xmm0
push ebx
cpuid
mov esi, ebx
movups xmmword [ebp - 0x10], xmm0
pop ebx
nop
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov eax, dword [ebp - 4]
pop edi
shr eax, 0x1c
pop esi
pop ebx
test al, 1
jne 0x417f12
xor al, al
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, byte [ebp - 0xa]
cmp eax, dword [ebp - 0x20]
setg al
mov esp, ebp
pop ebp
ret

Function at 0x417f30
Capabilities:
Terminate process

Disassembly:
push str.Usage:__n_vmaware__option___extra__n__do_not_run_with_any_options_if_you_want_the_full_summary__n_nOptions:_n__h____help________prints_this_help_menu_n__v____version_____print_cli_version_and_other_details_n__d____detect______returns_the_result_as_a_boolean__1__VM__0__baremetal__n__s____stdout______returns_either_0_or_1_to_STDOUT_without_any_text_output__0__VM__1__baremetal__n__b____brand_______returns_the_VM_brand_string__consult_documentation_for_full_output_list__n__p____percent_____returns_the_VM_percentage_between_0_and_100_n__c____conclusion__returns_the_conclusion_message_string_n__l____brand_list__returns_all_the_possible_VM_brand_string_values_n__n____number______returns_the_number_of_VM_detection_techniques_it_performs_n__t____type________returns_the_VM_type__if_a_VM_was_found__n_nExtra:_n___disable_hyperv_host__disable_the_possibility_of_Hyper_V_default_virtualisation_result_on_host_OS_n___disable_notes________no_notes_will_be_provided_n___spoofable____________allow_spoofable_techniques_to_be_ran__not_included_by_default__n_n
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404b40
add esp, 8
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x418b20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x43a080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x66
push dword [ebp + 8]
call fcn.00420850
add esp, 8
test al, al
jne 0x418cc6
mov esi, dword [0x43a6e8]
xor bl, bl
mov esi, dword [esi]
mov eax, esi
mov dword [ebp - 0x34], eax
cmp byte [esi + 0xd], bl
jne 0x418cc6
nop
mov eax, dword [eax + 0x10]
cmp eax, str.Microsoft_Hyper_V
je 0x418b71
cmp eax, str.Virtual_PC
jne 0x418b73
mov bl, 1
lea ecx, [ebp - 0x34]
call fcn.0040cb50
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0xd], 0
je 0x418b60
test bl, bl
je 0x418cc6
xor al, al
mov dword [ebp - 0x34], esi
xor bh, bh
mov byte [ebp - 0x2d], al
xor bl, bl
cmp byte [esi + 0xd], al
jne 0x418be4
nop dword [eax]
mov eax, dword [esi + 0x10]
cmp eax, str.Microsoft_Hyper_V
jne 0x418bb0
mov byte [ebp - 0x2d], 1
jmp 0x418bbd
cmp eax, str.Virtual_PC
jne 0x418bbb
mov bh, 1
jmp 0x418bbd
mov bl, 1
lea ecx, [ebp - 0x34]
call fcn.0040cb50
mov esi, dword [ebp - 0x34]
cmp byte [esi + 0xd], 0
je 0x418ba0
cmp byte [ebp - 0x2d], 0
jne 0x418bdc
test bh, bh
je 0x418be4
test bl, bl
je 0x418be4
test bl, bl
je 0x418cb4
call fcn.00417aa0
test al, al
je 0x418cb4
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00413f80
mov edi, dword [ebp - 0x3c]
add esp, 4
mov esi, dword [ebp - 0x40]
mov bl, 1
mov dword [ebp - 0x2c], 0x5040302
mov dword [ebp - 0x28], 0xe0a0807
mov dword [ebp - 0x24], 0x1914100f
mov dword [ebp - 0x20], 0x27251f1e
mov dword [ebp - 0x1c], 0x36332d29
mov dword [ebp - 0x18], 0x41403c39
mov dword [ebp - 0x14], 0x45444342
mov dword [ebp - 0x10], 0x54535250
mov dword [ebp - 0xc], 0x575d5c55
mov byte [ebp - 8], 0
cmp esi, edi
je 0x418c7c
nop dword [eax]
mov al, byte [esi]
mov byte [ebp - 0x34], al
lea eax, [ebp - 7]
push dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00428d90
movzx ecx, bl
xor edx, edx
lea ebx, [ebp - 7]
cmp eax, ebx
cmovne edx, ecx
inc esi
mov bl, dl
cmp esi, edi
jne 0x418c50
mov esi, dword [ebp - 0x40]
pop edi
test esi, esi
je 0x418cb0
mov ecx, dword [ebp - 0x38]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x418ca6
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418ca6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push esi
call fcn.00429429
add esp, 8
test bl, bl
je 0x418cc6
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429696
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop esi
xor ecx, ebp
pop ebx
call fcn.00429696
mov esp, ebp
pop ebp
ret
Function at 0x425570
Capabilities:
Terminate process

Disassembly:
push 0x433208
push str.vmaware
push dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404b40
add esp, 8
push eax
call fcn.00404b40
add esp, 8
push 0x433204
push 0x432bdc
push eax
call fcn.00404b40
add esp, 8
push eax
call fcn.00404b40
add esp, 8
push str.Developed_and_maintained_by_kernelwernel__see_https:__github.com_kernelwernel_n
push str.There_is_NO_WARRANTY__to_the_extent_permitted_by_law._n
push str.This_is_free_software:_you_are_free_to_change_and_redistribute_it._n
push str.Derived_project_of_VMAware_library_at_https:__github.com_kernelwernel_VMAwareLicense_GPLv3:_GNU_GPL_version_3_or_later__https:__gnu.org_licenses_gpl.html_._n
push 0x433200
push str.August_2024
push eax
call fcn.00404b40
add esp, 8
push eax
call fcn.00404b40
add esp, 8
push eax
call fcn.00404b40
add esp, 8
push eax
call fcn.00404b40
add esp, 8
push eax
call fcn.00404b40
add esp, 8
push eax
call fcn.00404b40
add esp, 8
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x429f8c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x429fcb
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x429fcb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x429fcb
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x429fcb
cmp dword [ecx + 0x74], 0xe
jbe 0x429fcb
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp loc.00401219

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x55d008], 0x8088405
inc edx
mov dword [ebx + 0x55d008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41ce78
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cea9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41ce91
add dl, dl
jne 0x41ceb4
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf05
xor eax, eax
add dl, dl
jne 0x41cec1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cfa2
add dl, dl
jne 0x41ced0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cedb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cee6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cef1
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cefb
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cea0
mov eax, 1
add dl, dl
jne 0x41cf13
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf1e
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf0a
sub eax, ebx
mov ebx, 1
jne 0x41cf51
mov ecx, 1
add dl, dl
jne 0x41cf37
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cf42
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf2e
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cea0
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cf68
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cf73
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf5f
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cea0
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41cfc3
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cea0
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41e6ac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x543b6b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, ebx
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [ecx + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41e75d
add edx, ebx
mov eax, edx
mov esi, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add edx, ebx
mov dword [ebp - 0x10], edx
mov edi, dword [eax + 0x20]
add edi, ebx
mov edx, dword [eax + 0x24]
add edx, ebx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp edx, 0xffff
jbe 0x41e746
test esi, esi
jbe 0x41e75d
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41e738
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41e75d
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41e715
jmp 0x41e75d
mov ecx, edx
sub ecx, dword [eax + 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x41e75d
mov eax, ecx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x543b72
ret
Function at 0x4035bc
Capabilities:
Terminate process

Disassembly:
jmp 0x45b344
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45b355
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405876
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x4036de
Capabilities:
Query environment variable

Disassembly:
jmp 0x4a3dd1
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4a3de2
pop esi
ret
push ebx
push edi
push esi
call fcn.004a3cb8
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403f8a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4a3e0a
push ebx
push esi
push edi
call fcn.00405669
add esp, 0xc
push 0
call fcn.004061a4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x405727
Capabilities:
Parse pe header

Disassembly:
jmp 0x44a545
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44a584
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44a584
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44a584
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44a584
cmp dword [ecx + 0x74], 0xe
jbe 0x44a584
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x44821b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00403742
mov eax, dword [eax + 0x14]
test eax, eax
je 0x44825e
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x44825e
sub eax, 1
je 0x448259
sub eax, 1
je 0x448255
xor eax, eax
leave
ret
push 3
jmp 0x448260
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x48ebaa
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401d7f
mov eax, dword [0x4d4040]
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.00405dc6
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x49dca5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x49de01
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00405f0b
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 + 0x4d7978]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0040325b
mov ecx, dword [esi*4 + 0x4d7978]
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 0x49ddfa
cmp eax, dword [ecx + edi + 0x24]
jne 0x49ddfa
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 0x49ddfa
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0040325b
add esp, 0x14
test edx, edx
jl 0x49ddfa
jg 0x49dd70
test eax, eax
jb 0x49ddfa
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x49ddfa
jl 0x49dd8a
cmp dword [ebp - 0x1008], eax
ja 0x49ddfa
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x49dda8
test ebx, ebx
je 0x49dde1
cmp ecx, edi
jae 0x49dde1
mov al, byte [ecx]
cmp al, 0xd
jne 0x49ddc2
lea eax, [edi - 1]
cmp ecx, eax
jae 0x49ddce
cmp byte [ecx + 1], 0xa
jne 0x49ddce
inc ecx
jmp 0x49ddce
movzx eax, al
movsx eax, byte [eax + 0x4d4398]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x49dda8
cmp edx, ebx
jne 0x49dda8
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x49ddff
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040303f
leave
ret