joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4288c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x478fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, ecx
push 0
lea ecx, [esp + 0x10]
call fcn.0042ec50
mov ecx, dword [edi + 4]
mov al, byte [ecx]
mov dl, 0x28
imul dl
add al, byte [ecx + 4]
mov edx, dword [esp + 0xc]
push 1
push 0
mov byte [esp + 0x10], al
push 1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], 0
call dword [edx + 0x14]
mov esi, 2
lea ebx, [ebx]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x428949
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x428949
mov eax, dword [ecx + esi*4]
push eax
lea ecx, [esp + 0x10]
push ecx
call fcn.00428830
add esp, 8
add esi, 1
jmp 0x428920
mov esi, dword [esp + 0x40]
mov edx, dword [esi]
push 1
push 0
push 1
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x18], 6
call dword [edx + 0x14]
lea ecx, [esp + 0xc]
call fcn.0042e510
push eax
push esi
call fcn.004286e0
mov edx, dword [esp + 0x14]
add esp, 8
push 1
push 0x498a0c
lea ecx, [esp + 0x48]
push ecx
or edi, 0xffffffff
push esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], edi
call dword [edx + 0x7c]
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], edi
call fcn.0042eb40
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 4

Function at 0x42a000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push str.PK_Signer:_key_too_short_for_this_signature_scheme
mov esi, ecx
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
call fcn.0044b9e0
add esp, 4
push eax
push str.PK_Signer:_key_too_short_for_this_signature_scheme
lea ecx, [esp + 0xc]
call fcn.004083b0
lea eax, [esp + 4]
push eax
push 6
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.00413f90
cmp dword [esp + 0x1c], 0x10
mov dword [esi], 0x47ec50
jb 0x42a07c
mov ecx, dword [esp + 8]
push ecx
call fcn.00468d00
add esp, 4
mov ecx, dword [esp + 0x20]
mov dword [esi], 0x47ec58
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret

Function at 0x42a810
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x4791f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
lea ecx, [esp + 8]
mov dword [esp + 4], 0
call fcn.00421db0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov eax, dword [esi]
push 1
push ecx
push edx
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov dword [esp + 0x34], 1
call dword [eax + 0x54]
mov esi, dword [esp + 0x2c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00421e30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 1
mov byte [esp + 0x2c], 0
call fcn.0041fb20
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x42aba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00421e30
lea eax, [edi + 0x14]
push eax
lea ecx, [esi + 0x14]
mov dword [esp + 0x18], 0
call fcn.00421e30
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
movzx ecx, byte [edi + 0x34]
mov byte [esi + 0x34], cl
mov dl, byte [edi + 0x35]
mov byte [esi + 0x35], dl
mov al, byte [edi + 0x36]
mov byte [esi + 0x36], al
movzx ecx, byte [edi + 0x37]
mov byte [esi + 0x37], cl
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4315f0
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx]
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43161f
call fcn.004013c0
test eax, eax
jge 0x43161f
call fcn.004315d0
mov eax, dword [esp + 8]
ret 8

Function at 0x431780
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x479618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [0x49afa0]
push ebx
push ebp
mov ebx, ecx
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0xc]
push esi
xor esi, esi
cmp eax, esi
jne 0x4317b3
xor ebp, ebp
jmp 0x4317c9
mov ecx, dword [ebx + 0x10]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
push esi
push 0x47bd2c
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], esi
mov byte [esp + 0x28], 0
call fcn.004083b0
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x4c], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x431813
call fcn.004013c0
cmp eax, esi
jge 0x431813
jmp fcn.004315d0
cmp ebp, esi
push edi
mov dword [esp + 0x14], esi
jle 0x4318b0
mov dword [esp + 0x10], esi
mov esi, dword [ebx + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + ecx]
add esi, ecx
cmp eax, ebx
jne 0x4318e2
mov eax, dword [esi + 0x1c]
cmp eax, 0x10
mov ecx, dword [esi + 0x18]
lea edi, [esi + 4]
jb 0x43184b
mov eax, dword [edi + 4]
jmp 0x43184e
lea eax, [edi + 4]
mov edx, dword [esp + 0x34]
push ecx
push eax
push edx
push 0
lea ecx, [esp + 0x30]
call fcn.0042f190
test eax, eax
jge 0x4318fa
push 0xffffffffffffffff
push 0
push edi
lea ecx, [esp + 0x2c]
call fcn.004082c0
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x24]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
add eax, edi
cmp edx, ecx
jb 0x431912
ja 0x431894
cmp dword [esp + 0x18], eax
jb 0x431912
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
inc eax
add edx, 0x48
cmp eax, ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x431824
cmp dword [esp + 0x38], 0x10
jb 0x4318c4
mov eax, dword [esp + 0x24]
push eax
call fcn.00468d00
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x30]
pop ebx
call fcn.004497f7
add esp, 0x3c
ret
cmp dword [esp + 0x38], 0x10
jb 0x4318f6
mov eax, dword [esp + 0x24]
push eax
call fcn.00468d00
add esp, 4
xor al, al
jmp 0x4318c6
cmp dword [esp + 0x38], 0x10
jb 0x4318f6
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00468d00
add esp, 4
xor al, al
jmp 0x4318c6
cmp dword [esp + 0x38], 0x10
jb 0x4318f6
mov edx, dword [esp + 0x24]
push edx
call fcn.00468d00
add esp, 4
xor al, al
jmp 0x4318c6
Function at 0x434a80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x479851
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x1c], bl
lea edi, [esi + 0x38]
mov ecx, edi
mov byte [esp + 0x18], 2
mov byte [esi + 0x34], 1
call fcn.00430660
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov byte [eax + 0x29], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x4c], bl
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x434df0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4798ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], 3
call fcn.00434b10
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
lea edi, [esi + 0x38]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x28], 2
call fcn.004330b0
mov ecx, dword [edi + 4]
push ecx
call fcn.00468d00
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x30]
add esp, 4
cmp eax, 0x10
jb 0x434e61
mov edx, dword [esi + 0x1c]
push edx
call fcn.00468d00
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], ebx
lea ecx, [esi + 8]
mov byte [esi + 0x1c], bl
call fcn.00433e10
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x434e87
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x437ae0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [eax + 0x38]
mov dl, byte [eax + 0x34]
push ebx
push ebp
push esi
xor esi, esi
test ecx, ecx
push edi
jle 0x437b1a
movzx edi, dl
mov ecx, dword [eax + 0x260]
mov ebx, ecx
shr ebx, 0x18
xor ebx, edi
mov ebp, dword [ebx*4 + 0x499058]
shl ecx, 8
xor ecx, ebp
mov dword [eax + 0x260], ecx
mov ecx, dword [eax + 0x38]
inc esi
cmp esi, ecx
jl 0x437af3
mov ecx, dword [eax + 0x34]
mov bl, 1
mov byte [eax + ecx + 0x58], bl
mov ecx, dword [eax + 0x38]
mov esi, ecx
dec esi
je 0x437bbe
dec esi
je 0x437b9a
dec esi
je 0x437b8e
mov byte [ecx + eax + 0x54], bl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
inc ecx
mov dword [eax + 0x44], ecx
mov byte [ecx + esi], dl
mov ebp, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
inc ebp
mov dword [eax + 0x44], ebp
mov ecx, ebp
mov byte [ecx + esi], dl
mov ebx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
inc ebx
mov dword [eax + 0x44], ebx
mov ecx, ebx
mov byte [ecx + esi], dl
mov edi, dword [eax + 0x44]
mov dl, byte [eax + 0x38]
mov esi, dword [eax + 0x24]
inc edi
mov dword [eax + 0x44], edi
mov ecx, edi
sub dl, 4
mov byte [ecx + esi], dl
mov ecx, dword [eax + 0x44]
pop edi
pop esi
inc ecx
pop ebp
mov dword [eax + 0x44], ecx
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
inc dword [eax + 0x44]
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
mov esi, dword [eax + 0x44]
inc esi
mov dword [eax + 0x44], esi
mov ecx, esi
mov esi, dword [eax + 0x24]
mov byte [ecx + esi], dl
mov ecx, dword [eax + 0x44]
pop edi
pop esi
inc ecx
pop ebp
mov dword [eax + 0x44], ecx
pop ebx
ret
mov esi, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [ecx + esi], dl
mov ecx, dword [eax + 0x44]
pop edi
pop esi
inc ecx
pop ebp
mov dword [eax + 0x44], ecx
pop ebx
ret
Function at 0x438d70
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, dword [esp + 8]
push str.1.0.2__30_Dec_2001
push esi
push str._n_nbzip2_libbzip2:_internal_error_number__d._nThis_is_a_bug_in_bzip2_libbzip2___s._nPlease_report_it_to_me_at:_jseward_acm.org.__If_this_happened_nwhen_you_were_using_some_program_which_uses_libbzip2_as_a_ncomponent__you_should_also_report_this_bug_to_the_author_s__nof_that_program.__Please_make_an_effort_to_report_this_bug__ntimely_and_accurate_bug_reports_eventually_lead_to_higher_nquality_software.__Thanks.__Julian_Seward__30_December_2001._n_n
push 0x49b050
call fcn.0044cf1b
add esp, 0x10
cmp esi, 0x3ef
pop esi
jne 0x438da8
push str._n_A_special_note_about_internal_error_number_1007__n_nExperience_suggests_that_a_common_cause_of_i.e._1007_nis_unreliable_memory_or_other_hardware.__The_1007_assertion_njust_happens_to_cross_check_the_results_of_huge_numbers_of_nmemory_reads_writes__and_so_acts__unintendedly__as_a_stress_ntest_of_your_memory_system._n_nI_suggest_the_following:_try_compressing_the_file_again__npossibly_monitoring_progress_in_detail_with_the__vv_flag._n_n_If_the_error_cannot_be_reproduced__and_or_happens_at_different_n__points_in_compression__you_may_have_a_flaky_memory_system._n__Try_a_memory_test_program.__I_have_used_Memtest86_n___www.memtest86.com_.__At_the_time_of_writing_it_is_free__GPLd_._n__Memtest86_tests_memory_much_more_thorougly_than_your_BIOSs_n__power_on_test__and_may_find_failures_that_the_BIOS_doesnt._n_n_If_the_error_can_be_repeatably_reproduced__this_is_a_bug_in_n__bzip2__and_I_would_very_much_like_to_hear_about_it.__Please_n__let_me_know__and__ideally__save_a_copy_of_the_file_causing_the_n__problem____without_which_I_will_be_unable_to_investigate_it._n_n
push 0x49b050
call fcn.0044cf1b
add esp, 8
push 3
call fcn.0044cedb
int3
Function at 0x44147f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x4414d2
call fcn.00472125
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x4414d2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x4414c8
xor eax, eax
jmp 0x4415eb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x441502
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x441502
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4415e8
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x44152f
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.0043f177
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x4415e8
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x441578
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x441578
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x441572
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.0043f177
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x4415d8
and dword [ebp + 0xc], 0
jmp 0x4415d8
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x4415d8
push 0xc
call fcn.00468cd5
mov esi, eax
test esi, esi
pop ecx
je 0x4415ba
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x4415bc
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x4415d3
push dword [ebp - 8]
call fcn.0046424b
jmp 0x4415d8
call fcn.00464222
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x44153d
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44b2b1
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0044a400
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x44b34c
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x49ebd4]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x44b34c
cmp eax, 1
je 0x44b36d
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x44b34c
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x44b319
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x44b348
xor eax, eax
inc eax
jmp 0x44b38c
cmp edi, eax
jae 0x44b350
xor eax, eax
jmp 0x44b38c
cmp eax, esi
jae 0x44b357
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x49ebd4]
jmp 0x44b370
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44b771
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x483a88
call fcn.0044d2b8
mov edi, 0x94
mov eax, edi
call fcn.0044a400
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x49ebd4], ecx
mov eax, dword [esi + 4]
mov dword [0x49ebe0], eax
mov edx, dword [esi + 8]
mov dword [0x49ebe4], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x49ebd8], esi
cmp ecx, 2
je 0x44b7d1
or esi, 0x8000
mov dword [0x49ebd8], esi
shl eax, 8
add eax, edx
mov dword [0x49ebdc], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x44b80c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44b80c
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x44b824
cmp eax, 0x20b
je 0x44b811
mov dword [ebp - 0x1c], esi
jmp 0x44b838
cmp dword [ecx + 0x84], 0xe
jbe 0x44b80c
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x44b832
cmp dword [ecx + 0x74], 0xe
jbe 0x44b80c
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0044f274
pop ecx
test eax, eax
jne 0x44b84c
push 0x1c
call fcn.0044b74d
pop ecx
call fcn.0044ef0f
test eax, eax
jne 0x44b85d
push 0x10
call fcn.0044b74d
pop ecx
call fcn.00458a2c
mov dword [ebp - 4], esi
call fcn.0045882e
test eax, eax
jge 0x44b876
push 0x1b
call fcn.0044b728
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x4a06a4], eax
call fcn.0045870c
mov dword [0x49eb70], eax
call fcn.0045866a
test eax, eax
jge 0x44b89c
push 8
call fcn.0044b728
pop ecx
call fcn.00458437
test eax, eax
jge 0x44b8ad
push 9
call fcn.0044b728
pop ecx
push 1
call fcn.0044cdae
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x44b8c3
push eax
call fcn.0044b728
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004583da
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x44b8e4
movzx eax, word [ebp - 0x40]
jmp 0x44b8e7
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00463050
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x44b905
push edi
call fcn.0044cedb
call fcn.0044cefd
jmp 0x44b937
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.0044d2f3
ret
Function at 0x44ce18
Capabilities:
Terminate process

Disassembly:
push 8
push 0x483b30
call fcn.0044d2b8
push 8
call fcn.0044f418
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x49ec14], esi
jne 0x44ce4c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x49ec10], esi
mov al, byte [ebp + 0x10]
mov byte [0x49ec0c], al
cmp dword [ebp + 0xc], edi
jne 0x44ce96
cmp dword [0x49f688], edi
je 0x44ce86
mov eax, dword [0x49f684]
sub eax, 4
mov dword [0x49f684], eax
cmp eax, dword [0x49f688]
jb 0x44ce86
mov eax, dword [eax]
cmp eax, edi
je 0x44ce67
call eax
jmp 0x44ce67
push 0x498104
mov eax, 0x4980fc
call fcn.0044cd96
pop ecx
push 0x498110
mov eax, 0x498108
call fcn.0044cd96
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x44cec7
cmp dword [ebp + 0x10], edi
jne 0x44ced5
mov dword [0x49ec14], esi
push dword [ebp + 8]
call fcn.0044cd54
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x44ced4
push 8
call fcn.0044f363
pop ecx
ret
call fcn.0044d2f3
ret

Function at 0x44d19b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x44d1b8
call fcn.0044d3bc
mov dword [eax], 0x16
xor eax, eax
jmp 0x44d222
push esi
push 0x8c
push 1
call fcn.0044e377
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x44d20d
push esi
call fcn.0044ed15
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x44d1eb
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x44d106
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x44d221
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.00449805
test ebx, ebx
pop ecx
je 0x44d21f
push ebx
call fcn.0044d3ce
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4529be
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x4529ec
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x4529f3
cmp ebx, dword [eax + 4]
jae 0x4529f3
xor eax, eax
jmp 0x452be3
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x452a04
xor eax, eax
inc eax
jmp 0x452be2
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x452a1a
cmp ecx, edx
jae 0x452b5f
cmp dword [eax + 4], 0
je 0x452a23
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x452a0b
cmp dword [ebp + 8], 0
je 0x452a45
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x452b5f
cmp eax, esi
jae 0x452b5f
mov eax, dword [0x49ee80]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x452a6a
cmp dword [esi*4 + 0x49ee88], edi
je 0x452b63
inc esi
cmp esi, eax
jl 0x452a58
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x452bdf
cmp dword [ebp - 8], 0x1000000
jne 0x452bdf
test byte [ebp - 0xc], 0xcc
je 0x452ae8
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x452bdf
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x452bdf
cmp word [eax + 0x18], 0x10b
jne 0x452bdf
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x452bdf
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x452ae8
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x452ae8
test byte [ecx + 0x27], 0x80
jne 0x452b5f
push 1
push 0x49eec8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x4529fc
mov ecx, dword [0x49ee80]
test ecx, ecx
mov edx, ecx
jle 0x452b1c
lea eax, [ecx*4 + 0x49ee84]
cmp dword [eax], edi
je 0x452b1c
dec edx
sub eax, 4
test edx, edx
jg 0x452b10
test edx, edx
jne 0x452b4d
push 0xf
pop ebx
cmp ecx, ebx
jg 0x452b29
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x452b41
lea eax, [edx*4 + 0x49ee88]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x452b2f
cmp ecx, 0x10
jge 0x452b4d
inc ecx
mov dword [0x49ee80], ecx
push 0
push 0x49eec8
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x4529fc
xor eax, eax
jmp 0x452be2
test esi, esi
jle 0x4529fc
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x49eec8
call ebx
test eax, eax
jne 0x4529fc
cmp dword [esi*4 + 0x49ee88], edi
je 0x452bb9
mov eax, dword [0x49ee80]
lea esi, [eax - 1]
test esi, esi
jl 0x452ba7
cmp dword [esi*4 + 0x49ee88], edi
je 0x452ba3
dec esi
jns 0x452b97
test esi, esi
jge 0x452bb7
cmp eax, 0x10
jge 0x452bb2
inc eax
mov dword [0x49ee80], eax
lea esi, [eax - 1]
jmp 0x452bb9
je 0x452bd1
xor ecx, ecx
test esi, esi
jl 0x452bd1
lea eax, [ecx*4 + 0x49ee88]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x452bbf
push 0
push 0x49eec8
call ebx
jmp 0x4529fc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret