Function at 0x1008bad0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1015f763
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x101b03d4]
xor eax, esp
mov dword [esp + 0x8c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b03d4]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb8]
push 0xbb8
push 0x102c17a4
mov edi, ecx
mov esi, edx
mov dword [esp + 0x44], eax
call fcn.10040a20
add esp, 8
mov bh, bh
xor ebx, ebx
mov byte [esp + 0x14], 0x61
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], bl
mov al, al
lea ecx, [esp + 0x14]
push ecx
push edi
call fcn.100fc9ed
add esp, 8
mov ebp, eax
mov bh, bh
cmp ebp, ebx
je 0x1008bfd0
cmp byte [esi], bl
je 0x1008bf7e
mov eax, eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
push edx
pop edx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
mov bh, bh
push esi
lea ecx, [esp + 0x20]
call fcn.1002e170
mov dword [esp + 0xac], ebx
xchg ebx, eax
xchg ebx, eax
mov bh, bh
mov byte [esp + 0x70], 0x25
mov byte [esp + 0x71], 0x30
mov byte [esp + 0x72], 0x34
mov byte [esp + 0x73], 0x64
mov byte [esp + 0x74], bl
mov eax, eax
mov al, 0x79
mov byte [esp + 0x78], 0x25
mov byte [esp + 0x79], al
mov byte [esp + 0x7a], al
mov byte [esp + 0x7b], al
mov byte [esp + 0x7c], al
mov byte [esp + 0x7d], 0x25
mov byte [esp + 0x7e], bl
mov bl, bl
movzx eax, word [esp + 0x20]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.100fca00
add esp, 0xc
push ebx
pop ebx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x24]
call fcn.10088f10
mov ah, ah
mov byte [esp + 0x40], 0x25
mov byte [esp + 0x41], 0x30
mov byte [esp + 0x42], 0x32
mov byte [esp + 0x43], 0x64
mov byte [esp + 0x44], bl
push edx
pop edx
mov al, 0x4d
mov byte [esp + 0x60], 0x25
mov byte [esp + 0x61], al
mov byte [esp + 0x62], al
mov byte [esp + 0x63], 0x25
mov byte [esp + 0x64], bl
mov ebp, ebp
movzx edx, word [esp + 0x22]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.100fca00
add esp, 0xc
mov ah, ah
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x24]
call fcn.10088f10
mov dh, dh
mov byte [esp + 0x68], 0x25
mov byte [esp + 0x69], 0x64
mov byte [esp + 0x6a], 0x64
mov byte [esp + 0x6b], 0x25
mov byte [esp + 0x6c], bl
mov al, al
movzx ecx, word [esp + 0x26]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.100fca00
add esp, 0xc
mov ch, ch
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x24]
call fcn.10088f10
mov ebx, ebx
mov al, 0x68
mov byte [esp + 0x48], 0x25
mov byte [esp + 0x49], al
mov byte [esp + 0x4a], al
mov byte [esp + 0x4b], 0x25
mov byte [esp + 0x4c], bl
xchg ebx, eax
xchg ebx, eax
movzx eax, word [esp + 0x28]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.100fca00
add esp, 0xc
mov bl, bl
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x24]
call fcn.10088f10
mov eax, eax
mov al, 0x6d
mov byte [esp + 0x58], 0x25
mov byte [esp + 0x59], al
mov byte [esp + 0x5a], al
mov byte [esp + 0x5b], 0x25
mov byte [esp + 0x5c], bl
mov ecx, ecx
movzx edx, word [esp + 0x2a]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.100fca00
add esp, 0xc
push eax
pop eax
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x24]
call fcn.10088f10
mov ecx, ecx
mov al, 0x73
mov byte [esp + 0x50], 0x25
mov byte [esp + 0x51], al
mov byte [esp + 0x52], al
mov byte [esp + 0x53], 0x25
mov byte [esp + 0x54], bl
mov bl, bl
movzx ecx, word [esp + 0x2c]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.100fca00
add esp, 0xc
mov ch, ch
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x24]
call fcn.10088f10
mov bh, bh
mov edx, edx
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
jge 0x1008bdc0
or esi, 0xffffffff
jmp 0x1008bddd
push 0x10165a14
push eax
call fcn.100fee8a
add esp, 8
cmp eax, ebx
jne 0x1008bdd7
or esi, 0xffffffff
jmp 0x1008bddd
sub eax, dword [esp + 0x1c]
mov esi, eax
mov edx, edx
cmp esi, ebx
jge 0x1008be49
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
jge 0x1008bdf1
or esi, 0xffffffff
jmp 0x1008be0e
push 0x10165a10
push eax
call fcn.100fee8a
add esp, 8
cmp eax, ebx
jne 0x1008be08
or esi, 0xffffffff
jmp 0x1008be0e
sub eax, dword [esp + 0x1c]
mov esi, eax
mov ch, ch
cmp esi, ebx
jge 0x1008be49
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], ebx
jge 0x1008be22
or esi, 0xffffffff
jmp 0x1008be3f
push 0x10165a0c
push eax
call fcn.100fee8a
add esp, 8
cmp eax, ebx
jne 0x1008be39
or esi, 0xffffffff
jmp 0x1008be3f
sub eax, dword [esp + 0x1c]
mov esi, eax
mov al, al
cmp esi, ebx
jl 0x1008bf55
lea eax, [esi + 1]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
call fcn.10044550
mov byte [esp + 0xac], 1
mov dl, dl
mov edx, dword [esp + 0x30]
push 0x25
push edx
call fcn.100ff621
add esp, 8
cmp eax, ebx
jne 0x1008be7d
or edi, 0xffffffff
jmp 0x1008be83
sub eax, dword [esp + 0x30]
mov edi, eax
mov cl, cl
cmp edi, ebx
jl 0x1008bf3d
mov eax, esi
sub eax, edi
add eax, 2
push eax
push edi
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
call fcn.100887e0
mov byte [esp + 0xac], 2
mov ebx, ebx
mov edx, dword [esp + 0x30]
mov eax, dword [edx - 0xc]
sub eax, edi
sub eax, 2
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
call fcn.100444a0
mov byte [esp + 0xac], 3
mov ebp, ebp
push 0x10165a08
push ebx
lea ecx, [esp + 0x3c]
call fcn.10088e40
mov cl, cl
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x34]
push ecx
push edx
lea eax, [esp + 0x88]
push eax
call fcn.100fca00
add esp, 0xc
push eax
pop eax
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x80]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.10088f10
mov ah, ah
mov byte [esp + 0xac], 2
lea ecx, [esp + 0x34]
call fcn.1001c8b0
mov byte [esp + 0xac], 1
lea ecx, [esp + 0x38]
call fcn.1001c8b0
mov byte [esp + 0xac], bl
lea ecx, [esp + 0x30]
call fcn.1001c8b0
cmp esi, ebx
jge 0x1008bdb2
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
push ebp
push ecx
push 1
push eax
call fcn.100feb7e
add esp, 0x10
nop
mov dword [esp + 0xac], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.1001c8b0
mov esi, dword [esp + 0x3c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1008bf87
push ebp
sub eax, edx
push eax
push 1
push esi
call fcn.100feb7e
add esp, 0x10
push edx
pop edx
mov byte [esp + 0x18], 0xd
mov byte [esp + 0x19], 0xa
mov byte [esp + 0x1a], bl
mov ch, ch
push ebp
push 2
lea eax, [esp + 0x20]
push 1
push eax
call fcn.100feb7e
add esp, 0x10
mov ebx, ebx
push ebp
call fcn.100fc2e4
add esp, 4
mov bh, bh
push 0x102c17a4
call fcn.10040ab0
add esp, 4
mov bh, bh
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.100fb12a
add esp, 0x9c
ret