Function at 0x8434980
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x84f6c16
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x184002c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
cmp esi, 3
je 0x843527b
cmp esi, 2
je 0x84349d3
cmp esi, 1
je 0x84349d3
mov eax, 0x10000
jmp 0x8435338
cmp dword [edi + 4], 0xffffffff
je 0x84349e3
push dword [edi]
call fcn.0843b400
add esp, 4
mov eax, dword [edi]
mov ecx, dword [ebp + 8]
mov dword [edi + 4], 0xffffffff
cmp ecx, dword [eax + 4]
jge 0x84349c9
cmp ecx, dword [eax + 0x10]
jge 0x8434a05
push eax
call fcn.0843b620
mov ecx, dword [ebp + 8]
add esp, 4
mov eax, dword [edi]
cmp dword [eax + 0x10], ecx
jge 0x8434a6d
lea esp, [esp]
mov esi, dword [edi]
test esi, esi
je 0x8434a63
cmp dword [esi + 0x18], 0
je 0x8434a63
mov edx, dword [esi + 0x10]
inc edx
cmp edx, dword [esi + 4]
je 0x8434a63
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x48]
add ecx, dword [esi + 0x4c]
add eax, 0x2e
push 0
push 0
push 0
push 0
add eax, ecx
mov dword [esi + 0x10], edx
add dword [esi + 0x14], eax
lea eax, [esi + 0x78]
push 0
push 0
push eax
lea eax, [esi + 0x28]
push eax
push esi
call fcn.0843c170
xor ecx, ecx
add esp, 0x24
test eax, eax
sete cl
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax + 0x10], ecx
jl 0x8434a10
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0x654]
push eax
push ecx
mov ecx, edi
call fcn.08433160
mov eax, dword [ebp - 0x448]
shr eax, 4
and al, 1
je 0x8434ad0
cmp esi, 1
je 0x8434ac9
movzx eax, word [ebx]
cmp eax, 0x2f
je 0x8434abe
cmp eax, 0x5c
je 0x8434abe
test ax, ax
je 0x8434aa7
cmp word [ebx + 2], 0x3a
je 0x8434abe
lea eax, [edi + 0x244]
push ebx
push eax
call fcn.0842f260
add esp, 8
xor eax, eax
jmp 0x8435338
push ebx
push 0
call fcn.0842f260
add esp, 8
xor eax, eax
jmp 0x8435338
xor eax, eax
mov word [ebp - 0x420], ax
cmp esi, 1
je 0x843518b
movzx eax, word [ebx]
mov esi, ebx
mov ecx, ebx
test ax, ax
je 0x8434b0b
mov edi, edi
cmp ax, 0x2f
je 0x8434afc
cmp ax, 0x5c
jne 0x8434aff
lea esi, [ecx + 2]
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x8434af0
push 0x104
push ebx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0849e059
add esp, 0x10
cmp esi, ebx
jne 0x8434b34
xor eax, eax
mov word [ebp - 0x218], ax
jmp 0x8434b7e
mov eax, esi
sub eax, ebx
and eax, 0xfffffffe
cmp eax, 0x208
jae 0x8435276
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
mov ax, word [ebp - 0x218]
cmp ax, 0x2f
je 0x8434f5b
cmp ax, 0x5c
je 0x8434f5b
test ax, ax
je 0x8434b7e
cmp word [ebp - 0x216], 0x3a
je 0x8434f5b
mov dword [ebp - 0x850], 0x67785466
mov dword [ebp - 0x84c], 0x78633249
mov dword [ebp - 0x848], 0x2b304446
mov dword [ebp - 0x844], 0x6839774d
mov dword [ebp - 0x840], 0x4645524a
mov dword [ebp - 0x83c], 0x67634265
mov dword [ebp - 0x838], 0x7059784a
mov dword [ebp - 0x834], 0x6363434e
mov dword [ebp - 0x830], 0x78455350
mov dword [ebp - 0x82c], 0x5649674f
mov dword [ebp - 0x828], 0x52636746
mov dword [ebp - 0x824], 0x716b7942
mov dword [ebp - 0x820], 0x65347a65
mov dword [ebp - 0x81c], 0x38735841
mov dword [ebp - 0x818], 0x5a556d66
mov dword [ebp - 0x814], 0x37677849
mov dword [ebp - 0x810], 0x3577684e
mov dword [ebp - 0x80c], 0x42597943
mov dword [ebp - 0x808], 0x6c596a41
mov dword [ebp - 0x804], 0x466f4446
mov dword [ebp - 0x800], 0x39306862
mov dword [ebp - 0x7fc], 0x7a46544e
mov dword [ebp - 0x7f8], 0x51675143
mov dword [ebp - 0x7f4], 0x35345359
mov dword [ebp - 0x7f0], 0x4e554345
mov dword [ebp - 0x7ec], 0x394d4245
mov dword [ebp - 0x7e8], 0x5a456747
mov dword [ebp - 0x7e4], 0x344d4363
mov dword [ebp - 0x7e0], 0x384a6847
mov dword [ebp - 0x7dc], 0x3131795a
mov dword [ebp - 0x7d8], 0x4a4d5347
mov dword [ebp - 0x7d4], 0x71676941
mov dword [ebp - 0x7d0], 0x5951544d
mov dword [ebp - 0x7cc], 0x69515749
mov dword [ebp - 0x7c8], 0x736c4259
mov dword [ebp - 0x7c4], 0x4c55444c
mov dword [ebp - 0x7c0], 0x76387842
mov dword [ebp - 0x7bc], 0x66597a4e
mov dword [ebp - 0x7b8], 0x4e55774c
mov dword [ebp - 0x7b4], 0x4a414242
mov dword [ebp - 0x7b0], 0x31746862
mov dword [ebp - 0x7ac], 0x77777750
mov dword [ebp - 0x7a8], 0x4851685a
mov dword [ebp - 0x7a4], 0x6b30695a
mov dword [ebp - 0x7a0], 0x3638434e
mov dword [ebp - 0x79c], 0x3741514e
mov dword [ebp - 0x798], 0x556b6a4f
mov dword [ebp - 0x794], 0x6b34694e
mov dword [ebp - 0x790], 0x71775241
mov dword [ebp - 0x78c], 0x36356e5a
mov dword [ebp - 0x788], 0x32305841
mov dword [ebp - 0x784], 0x365a4149
mov dword [ebp - 0x780], 0x64675343
mov dword [ebp - 0x77c], 0x37346945
mov dword [ebp - 0x778], 0x736c4150
mov dword [ebp - 0x774], 0x3474694e
mov dword [ebp - 0x770], 0x6451534a
mov dword [ebp - 0x76c], 0x6d644263
mov dword [ebp - 0x768], 0x69387844
mov dword [ebp - 0x764], 0x74777a4e
mov dword [ebp - 0x760], 0x4d6f5141
mov dword [ebp - 0x75c], 0x6430425a
mov dword [ebp - 0x758], 0x34416744
mov dword [ebp - 0x754], 0x47734341
mov dword [ebp - 0x750], 0x3330545a
mov dword [ebp - 0x74c], 0x366c4145
mov dword [ebp - 0x748], 0x66736e48
mov dword [ebp - 0x744], 0x5a675749
mov dword [ebp - 0x740], 0x55777a59
mov dword [ebp - 0x73c], 0x75594249
mov dword [ebp - 0x738], 0x486f6e46
mov dword [ebp - 0x734], 0x315a6a41
mov dword [ebp - 0x730], 0x2f6b674d
mov dword [ebp - 0x72c], 0x59594248
mov dword [ebp - 0x728], 0x2b6b7a47
mov dword [ebp - 0x724], 0x7034784e
mov dword [ebp - 0x720], 0x696f5845
mov dword [ebp - 0x71c], 0x4663584a
mov dword [ebp - 0x718], 0x46557a46
mov dword [ebp - 0x714], 0x62517747
mov dword [ebp - 0x710], 0x52385448
push esi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x70c], 0x4a73585a
push eax
lea esi, [edi + 0x244]
mov dword [ebp - 0x708], 0x37466d5a
push esi
push 0
sub esp, 0xc
mov dword [ebp - 0x704], 0x366f7850
mov ecx, esp
mov dword [ebp - 0x700], 0x41455146
lea eax, [ebp - 0x655]
mov dword [ebp - 0x6fc], 0x34444141
lea edx, [ebp - 0x6f8]
push eax
push edx
lea ebx, [ebp - 0x850]
push ebx
call fcn.08409550
lea eax, [ebp - 0x860]
push eax
call fcn.0842ef60
add esp, 0x10
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.08417430
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0843cb50
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x860]
call fcn.0840b0f0
lea eax, [ebp - 0x218]
push eax
push esi
jmp 0x8435161
push esi
lea eax, [ebp - 0x218]
mov dword [ebp - 0x6f8], 0x67785466
push eax
push 0
sub esp, 0xc
mov dword [ebp - 0x6f4], 0x74593349
mov ecx, esp
mov dword [ebp - 0x6f0], 0x4a415245
lea eax, [ebp - 0x655]
mov dword [ebp - 0x6ec], 0x49307844
lea edx, [ebp - 0x658]
mov dword [ebp - 0x6e8], 0x59495350
push eax
push edx
lea esi, [ebp - 0x6f8]
mov dword [ebp - 0x6e4], 0x4d416d41
push esi
mov dword [ebp - 0x6e0], 0x43306a49
mov dword [ebp - 0x6dc], 0x6c456e4a
mov dword [ebp - 0x6d8], 0x7a637947
mov dword [ebp - 0x6d4], 0x59457745
mov dword [ebp - 0x6d0], 0x546f4850
mov dword [ebp - 0x6cc], 0x55777959
mov dword [ebp - 0x6c8], 0x78307a45
mov dword [ebp - 0x6c4], 0x7a596843
mov dword [ebp - 0x6c0], 0x68396a45
mov dword [ebp - 0x6bc], 0x34564241
mov dword [ebp - 0x6b8], 0x48636e45
mov dword [ebp - 0x6b4], 0x65636946
mov dword [ebp - 0x6b0], 0x544d784f
mov dword [ebp - 0x6ac], 0x5a6b3344
mov dword [ebp - 0x6a8], 0x4c304350
mov dword [ebp - 0x6a4], 0x6c383245
mov dword [ebp - 0x6a0], 0x38736a66
mov dword [ebp - 0x69c], 0x68314362
mov dword [ebp - 0x698], 0x63733348
mov dword [ebp - 0x694], 0x78676a49
mov dword [ebp - 0x690], 0x6a6f7843
mov dword [ebp - 0x68c], 0x69414242
mov dword [ebp - 0x688], 0x79314249
mov dword [ebp - 0x684], 0x3930544d
mov dword [ebp - 0x680], 0x79783348
mov dword [ebp - 0x67c], 0x47735345
mov dword [ebp - 0x678], 0x75566845
mov dword [ebp - 0x674], 0x6b6c7a50
mov dword [ebp - 0x670], 0x53346e42
mov dword [ebp - 0x66c], 0x67596741
mov dword [ebp - 0x668], 0x34516948
mov dword [ebp - 0x664], 0x36307843
mov dword [ebp - 0x660], 0x4173424d
mov dword [ebp - 0x65c], 0x77424141
call fcn.08409550
lea eax, [ebp - 0x860]
push eax
call fcn.0842ef60
add esp, 0x10
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.08417430
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0843cb50
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x860]
call fcn.0840b0f0
lea eax, [ebp - 0x218]
push eax
push 0
call fcn.0842f260
add esp, 8
lea eax, [ebp - 0x420]
push 0
push dword [ebp - 0x448]
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x843519a
mov eax, 0x200
jmp 0x8435338
push dword [edi + 0x23c]
push dword [edi]
call fcn.0843b820
add esp, 8
cmp dword [edi + 0x240], 0
jne 0x84351d0
push 0x4000
call fcn.0847e6ac
add esp, 4
mov dword [edi + 0x240], eax
jmp 0x84351d0
lea eax, [ebp - 0x655]
push eax
push 0x4000
push dword [edi + 0x240]
push dword [edi]
call fcn.0843bb90
mov esi, eax
add esp, 0x10
cmp esi, 0xffffff96
je 0x843522f
test esi, esi
js 0x8435221
jle 0x8435214
push 0
lea eax, [ebp - 0x424]
push eax
push esi
push dword [edi + 0x240]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x8435228
cmp byte [ebp - 0x655], 0
jne 0x8435236
test esi, esi
jne 0x84351d0
mov esi, 0x5000000
jmp 0x8435238
mov esi, 0x400
jmp 0x8435238
mov esi, 0x1000
jmp 0x8435238
xor esi, esi
push dword [edi]
call fcn.0843b400
add esp, 4
test esi, esi
jne 0x8435262
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x43c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp dword [ebp + 0x14], 1
je 0x843526f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x8435338
call fcn.0849b8ca
mov eax, dword [edi + 4]
mov esi, dword [ebp + 8]
cmp esi, eax
je 0x84352e4
cmp eax, 0xffffffff
je 0x8435294
push dword [edi]
call fcn.0843b400
add esp, 4
mov eax, dword [edi]
mov dword [edi + 4], 0xffffffff
cmp esi, dword [eax + 4]
jge 0x84349c9
cmp esi, dword [eax + 0x10]
jge 0x84352b4
push eax
call fcn.0843b620
add esp, 4
mov eax, dword [edi]
cmp dword [eax + 0x10], esi
jge 0x84352d1
jmp 0x84352c0
push dword [edi]
call fcn.0843b670
mov eax, dword [edi]
add esp, 4
cmp dword [eax + 0x10], esi
jl 0x84352c0
push dword [edi + 0x23c]
push dword [edi]
call fcn.0843b820
add esp, 8
mov dword [edi + 4], esi
lea eax, [ebp - 0x655]
push eax
push dword [ebp + 0x10]
push ebx
push dword [edi]
call fcn.0843bb90
mov esi, eax
add esp, 0x10
test esi, esi
jg 0x8435310
push dword [edi]
call fcn.0843b400
add esp, 4
mov dword [edi + 4], 0xffffffff
cmp byte [ebp - 0x655], 0
jne 0x8434ac9
test esi, esi
jle 0x8435328
mov eax, 0x600
jmp 0x8435338
cmp esi, 0xffffff96
mov eax, 0x5000000
mov ecx, 0x1000
cmove eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0849cd1e
mov esp, ebp
pop ebp
ret 0x10