Function at 0x59bc80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63f9c5
mov eax, dword fs:[0]
push eax
mov eax, 0x10a4
call fcn.005b5710
mov eax, dword [0x6f8b74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10ac], 0
mov dword [ebp - 0x10b0], esi
mov dword [ebp - 0x1080], 0
mov dword [ebp - 0x107c], 0xf
mov byte [ebp - 0x1090], 0
lea eax, [ebp - 0x1090]
mov dword [ebp - 4], 0
push eax
call fcn.0059b770
add esp, 4
mov eax, dword [ebp - 0x1080]
lea ecx, [ebp - 0x10a8]
inc eax
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x1098], 0
mov dword [ebp - 0x1094], 0xf
mov byte [ebp - 0x10a8], 0
mov dword [ebp - 0x10ac], 1
call fcn.00449b70
cmp dword [ebp - 0x107c], 0x10
lea eax, [ebp - 0x1090]
push dword [ebp - 0x1080]
cmovae eax, dword [ebp - 0x1090]
lea ecx, [ebp - 0x10a8]
push eax
call fcn.00448040
push 1
push 0x663dcc
lea ecx, [ebp - 0x10a8]
call fcn.00448040
push 0xb
push str.Adobe01.bmp
lea ecx, [ebp - 0x10a8]
call fcn.00448040
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1064], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1078], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1068], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x1094]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x59bdf7
mov ecx, dword [ebp - 0x10a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59bded
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59c426
push edx
push ecx
call fcn.005b5296
add esp, 8
cmp dword [ebp - 0x1064], 0x10
lea eax, [ebp - 0x1078]
mov dword [ebp - 0x1098], 0
cmovae eax, dword [ebp - 0x1078]
push eax
mov dword [ebp - 0x1094], 0xf
mov byte [ebp - 0x10a8], 0
call fcn.00451b70
add esp, 4
test eax, eax
je 0x59c05e
cmp dword [ebp - 0x1064], 0x10
lea eax, [ebp - 0x1078]
mov ecx, esi
cmovae eax, dword [ebp - 0x1078]
push eax
call fcn.00508860
test eax, eax
jne 0x59bea0
mov ecx, edi
call fcn.0059bb40
test al, al
mov ecx, esi
sete al
movzx eax, al
push eax
call fcn.00508a20
test eax, eax
je 0x59c37a
cmp eax, 0xfffffffb
jne 0x59be83
mov dword [edi + 0xc], eax
jmp 0x59bf35
cmp eax, 0xfffffff5
jne 0x59bea0
push str.mkey_error__hardware_malfunctioning_detected.
push 2
call fcn.0059b5e0
mov dword [edi + 0xc], 0xfffffff5
jmp 0x59bf32
push 0x1e
push str.Unexpeted_mkey_error_deteced:
lea ecx, [ebp - 0x1060]
mov dword [ebp - 0x1050], 0
mov dword [ebp - 0x104c], 0xf
mov byte [ebp - 0x1060], 0
call fcn.00446290
cmp dword [ebp - 0x104c], 0x10
lea eax, [ebp - 0x1060]
mov byte [ebp - 4], 4
cmovae eax, dword [ebp - 0x1060]
push eax
push 2
call fcn.0059b5e0
mov edx, dword [ebp - 0x104c]
add esp, 8
mov dword [edi + 0xc], 0xfffffff7
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x59bf35
mov ecx, dword [ebp - 0x1060]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59bf2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59c42b
push edx
push ecx
call fcn.005b5296
add esp, 8
cmp dword [ebp - 0x1064], 0x10
lea eax, [ebp - 0x1078]
cmovae eax, dword [ebp - 0x1078]
push eax
call fcn.00451f30
add esp, 4
mov dword [ebp - 0x1050], 0
mov dword [ebp - 0x104c], 0xf
lea ecx, [ebp - 0x1060]
mov byte [ebp - 0x1060], 0
test eax, eax
je 0x59bfea
push 0x19
push str.error_deleting_bad_mkey:
call fcn.00446290
cmp dword [ebp - 0x104c], 0x10
lea eax, [ebp - 0x1060]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x1060]
push eax
push 2
call fcn.0059b5e0
mov edx, dword [ebp - 0x104c]
add esp, 8
cmp edx, 0x10
jb 0x59bfe0
mov ecx, dword [ebp - 0x1060]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59bfd6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59c430
push edx
push ecx
call fcn.005b5296
add esp, 8
mov esi, 0x13
jmp 0x59c37c
push 0x1d
push str.mkey_was_bad__regenerating_it
call fcn.00446290
cmp dword [ebp - 0x104c], 0x10
lea eax, [ebp - 0x1060]
mov byte [ebp - 4], 6
cmovae eax, dword [ebp - 0x1060]
push eax
push 4
call fcn.0059b5e0
add esp, 8
mov ecx, esi
call fcn.00508960
mov edx, dword [ebp - 0x104c]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x59c05e
mov ecx, dword [ebp - 0x1060]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59c054
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59c435
push edx
push ecx
call fcn.005b5296
add esp, 8
push 0x1038
lea eax, [ebp - 0x1048]
push 0x6a3bb0
push eax
call fcn.005b7120
cmp dword [ebp - 0x107c], 0x10
lea eax, [ebp - 0x1090]
cmovae eax, dword [ebp - 0x1090]
push eax
call fcn.00451b70
add esp, 0x10
test eax, eax
jne 0x59c0bb
cmp dword [ebp - 0x107c], 0x10
lea eax, [ebp - 0x1090]
mov ecx, edi
cmovae eax, dword [ebp - 0x1090]
push eax
call fcn.0059c610
mov esi, eax
test esi, esi
jne 0x59c37c
cmp dword [ebp - 0x1064], 0x10
lea eax, [ebp - 0x1078]
push 0x666b9c
cmovae eax, dword [ebp - 0x1078]
push eax
call fcn.00451ba0
add esp, 8
mov dword [ebp - 0x10ac], eax
test eax, eax
jne 0x59c17a
push 0x18
push str.error_creating_mkey_file
lea ecx, [ebp - 0x1060]
mov dword [ebp - 0x1050], eax
mov dword [ebp - 0x104c], 0xf
mov byte [ebp - 0x1060], al
call fcn.00446290
cmp dword [ebp - 0x104c], 0x10
lea eax, [ebp - 0x1060]
mov byte [ebp - 4], 7
cmovae eax, dword [ebp - 0x1060]
push eax
push 2
call fcn.0059b5e0
mov edx, dword [ebp - 0x104c]
add esp, 8
cmp edx, 0x10
jb 0x59c170
mov ecx, dword [ebp - 0x1060]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59c166
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59c43a
push edx
push ecx
call fcn.005b5296
add esp, 8
mov esi, 0x11
jmp 0x59c37c
push eax
push 0x1038
lea eax, [ebp - 0x1048]
push 1
push eax
call fcn.005d2642
push dword [ebp - 0x10ac]
mov esi, eax
call fcn.005c61db
add esp, 0x14
cmp esi, 0x1038
je 0x59c23e
push 0x17
push str.error_writing_mkey_file
lea ecx, [ebp - 0x1060]
mov dword [ebp - 0x1050], 0
mov dword [ebp - 0x104c], 0xf
mov byte [ebp - 0x1060], 0
call fcn.00446290
cmp dword [ebp - 0x104c], 0x10
lea eax, [ebp - 0x1060]
mov byte [ebp - 4], 8
cmovae eax, dword [ebp - 0x1060]
push eax
push 2
call fcn.0059b5e0
mov edx, dword [ebp - 0x104c]
add esp, 8
cmp edx, 0x10
jb 0x59c234
mov ecx, dword [ebp - 0x1060]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59c22a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59c43f
push edx
push ecx
call fcn.005b5296
add esp, 8
mov esi, 0x12
jmp 0x59c37c
mov ecx, dword [ebp - 0x10b0]
call fcn.00508590
test eax, eax
je 0x59c297
lea eax, [eax + str.error_generating_mkey:]
push eax
lea ecx, [ebp - 0x1060]
call fcn.004526b0
cmp dword [ebp - 0x104c], 0x10
lea eax, [ebp - 0x1060]
mov byte [ebp - 4], 9
cmovae eax, dword [ebp - 0x1060]
push eax
push 2
call fcn.0059b5e0
add esp, 8
lea ecx, [ebp - 0x1060]
call fcn.00435a90
mov esi, 0xd
jmp 0x59c37c
cmp dword [ebp - 0x1064], 0x10
lea esi, [ebp - 0x1078]
lea ecx, [ebp - 0x1078]
cmovae esi, dword [ebp - 0x1078]
cmovae ecx, dword [ebp - 0x1078]
push esi
mov esi, dword [ebp - 0x10b0]
push ecx
mov ecx, esi
call fcn.00508970
test eax, eax
je 0x59c312
lea eax, [eax + str.error_storing_mkey:]
push eax
lea ecx, [ebp - 0x1060]
call fcn.004526b0
cmp dword [ebp - 0x104c], 0x10
lea eax, [ebp - 0x1060]
mov byte [ebp - 4], 0xa
cmovae eax, dword [ebp - 0x1060]
push eax
push 2
call fcn.0059b5e0
add esp, 8
lea ecx, [ebp - 0x1060]
call fcn.00435a90
mov esi, 0xd
jmp 0x59c37c
mov ecx, edi
call fcn.0059bb40
test al, al
mov ecx, esi
sete al
movzx eax, al
push eax
call fcn.00508a20
test eax, eax
je 0x59c343
push str.Created_a_new_machine_key__but_verification_failed
push 2
call fcn.0059b5e0
add esp, 8
mov esi, 0xd
jmp 0x59c37c
cmp dword [ebp - 0x1064], 0x10
lea eax, [ebp - 0x1078]
cmovae eax, dword [ebp - 0x1078]
push eax
call fcn.0059e8c0
add esp, 4
test al, al
jne 0x59c37a
push str.Couldnt_update_the_perms_on_the_machine_key
push 2
call fcn.0059b5e0
add esp, 8
mov esi, 0x16
jmp 0x59c37c
xor esi, esi
mov edx, dword [ebp - 0x1064]
cmp edx, 0x10
jb 0x59c3b6
mov ecx, dword [ebp - 0x1078]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59c3ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59c444
push edx
push ecx
call fcn.005b5296
add esp, 8
mov edx, dword [ebp - 0x107c]
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1064], 0xf
mov byte [ebp - 0x1078], 0
cmp edx, 0x10
jb 0x59c407
mov ecx, dword [ebp - 0x1090]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x59c3fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x59c444
push edx
push ecx
call fcn.005b5296
add esp, 8
mov eax, esi
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.005b56fe
mov esp, ebp
pop ebp
ret 4
call fcn.005c116d
call fcn.005c116d
call fcn.005c116d
call fcn.005c116d
call fcn.005c116d
call fcn.005c116d
call fcn.005c116d
int3