Function at 0x200106b0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
sub esp, 0x8ec
mov eax, dword [0x20026464]
xor eax, esp
mov dword [esp + 0x8e8], eax
mov eax, dword [esp + 0x8f4]
push ebp
mov ebp, dword [esp + 0x8f4]
push esi
mov esi, dword [esp + 0x900]
push edi
mov edi, dword [esp + 0x908]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x20010c99
test esi, esi
je 0x20010c99
mov eax, dword [0x2002b328]
test eax, eax
jle 0x20010705
cmp eax, 0x11
jl 0x20010727
cmp eax, 0x3e8
jle 0x20010713
cmp eax, 0x3f9
jl 0x20010727
cmp eax, dword [0x20026270]
je 0x20010727
cmp eax, dword [0x20026208]
jne 0x20010c99
push 0xc0
push 0
push ebp
call fcn.200132c0
add esp, 0xc
push 0
push edi
push esi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x504]
push edx
mov edx, dword [0x2002b328]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x100]
push ecx
push edx
call sym.SDTAPI.DLL_SDT_ReadBaseFPMsg
cmp eax, 0x90
jne 0x20010c99
push ebx
push 0x102
lea ecx, [esp + 0x2f6]
mov eax, 0x5c
push 0
push ecx
mov word [esp + 0x2fc], ax
call fcn.200132c0
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 0xc
push 0x104
lea edx, [esp + 0x1f0]
push edx
push 0x2002049c
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x2f0]
dec eax
lea ebx, [ebx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x200107c0
mov ecx, dword [str.photo.wlt]
mov edx, dword [0x20020770]
mov dword [eax], ecx
mov cx, word [0x20020774]
mov dword [eax + 4], edx
lea edx, [esp + 0x1ec]
push 0x5c
push edx
mov word [eax + 8], cx
lea esi, [esp + 0x2f8]
call fcn.20012f10
add esp, 8
lea ecx, [ecx]
mov cl, byte [esi]
mov byte [eax], cl
inc esi
inc eax
test cl, cl
jne 0x20010800
lea eax, [esp + 0x1ec]
push 0x20020708
push eax
call fcn.200141ea
mov esi, eax
add esp, 8
test esi, esi
je 0x2001084a
mov edi, dword [esp + 0x10]
push esi
push edi
lea ecx, [esp + 0x500]
push 1
push ecx
call fcn.200140a4
add esp, 0x10
push esi
cmp edi, eax
je 0x20010851
call fcn.20013ec6
add esp, 4
xor eax, eax
jmp 0x20010c7e
call fcn.20013ec6
add esp, 4
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x104
lea edx, [esp + 0x3f8]
push edx
push 0x2002049c
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x3f4]
push 0x5c
push eax
call fcn.20012f10
mov ecx, dword [str.dewlt.dll]
mov dword [eax], ecx
mov edx, dword [0x20020784]
mov dword [eax + 4], edx
mov cx, word [0x20020788]
mov word [eax + 8], cx
mov dl, byte [0x2002078a]
mov byte [eax + 0xa], dl
add esp, 8
lea eax, [esp + 0x3f4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x200108cf
lea eax, [esi - 4]
jmp 0x20010c7e
push str.dewlt
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x200108f0
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 4
jmp 0x20010c7e
lea ecx, [esp + 0x1ec]
push ecx
call eax
push esi
cmp eax, 1
je 0x20010910
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 0xfffffffb
jmp 0x20010c7e
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor eax, eax
push eax
push eax
push 0x1e
lea edx, [esp + 0x6c]
push edx
push 0xf
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov word [esp + 0x90], ax
lea eax, [esp + 0x100]
push eax
push 0
push 0
call ebx
mov eax, 0x1d
lea esp, [esp]
cmp byte [esp + eax + 0x60], 0x20
jne 0x20010983
cmp byte [esp + eax + 0x61], 0
jne 0x20010983
mov byte [esp + eax + 0x60], 0
dec eax
test eax, eax
jg 0x20010970
cmp byte [esp + 0x10a], 0x31
mov ecx, 7
lea esi, [esp + 0x60]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jne 0x200109ac
mov ecx, 0xd0c4
mov word [ebp + 0x1f], cx
jmp 0x200109b5
mov edx, 0xaec5
mov word [ebp + 0x1f], dx
xor eax, eax
push eax
push eax
push 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], al
lea eax, [esp + 0x24]
push eax
push 2
lea ecx, [esp + 0x120]
push ecx
push 0
push 0
call ebx
lea edx, [esp + 0x18]
push edx
call fcn.20014217
mov esi, dword [eax*4 + 0x20026274]
mov ecx, esi
add esp, 4
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x200109f1
sub ecx, edi
push ecx
lea eax, [ebp + 0x22]
push esi
push eax
call fcn.20013870
add esp, 0xc
xor eax, eax
push eax
push eax
push 0x10
lea ecx, [esp + 0x3c]
push ecx
push 8
lea edx, [esp + 0x124]
push edx
push eax
push eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
call ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push 0x46
lea edx, [esp + 0xa8]
push 0
push edx
mov dword [ebp + 0x2c], eax
mov dword [ebp + 0x30], ecx
call fcn.200132c0
add esp, 0xc
push 0
push 0
push 0x46
lea eax, [esp + 0xb0]
push eax
push 0x23
lea ecx, [esp + 0x134]
push ecx
push 0
push 0
call ebx
mov eax, 0x45
cmp byte [esp + eax + 0xa4], 0x20
jne 0x20010a92
cmp byte [esp + eax + 0xa5], 0
jne 0x20010a92
mov byte [esp + eax + 0xa4], 0
cmp byte [esp + eax + 0xa3], 0x20
jne 0x20010aae
cmp byte [esp + eax + 0xa4], 0
jne 0x20010aae
mov byte [esp + eax + 0xa3], 0
cmp byte [esp + eax + 0xa2], 0x20
jne 0x20010aca
cmp byte [esp + eax + 0xa3], 0
jne 0x20010aca
mov byte [esp + eax + 0xa2], 0
sub eax, 3
test eax, eax
jg 0x20010a76
xor eax, eax
push eax
push eax
lea edi, [ebp + 0x35]
mov ecx, 0x11
lea esi, [esp + 0xac]
push 0x24
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x8c]
push edx
push 0x12
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x17a]
push eax
push 0
push 0
movsw word es:[edi], word [esi]
call ebx
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x88]
mov dword [ebp + 0x7c], ecx
mov ecx, dword [esp + 0x8c]
mov dword [ebp + 0x80], edx
mov dx, word [esp + 0x90]
mov dword [ebp + 0x84], eax
xor eax, eax
push eax
push eax
push 0x1e
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov word [esp + 0x68], ax
lea eax, [esp + 0x4c]
push eax
mov dword [ebp + 0x88], ecx
push 0xf
lea ecx, [esp + 0x19e]
push ecx
push 0
push 0
mov word [ebp + 0x8c], dx
call ebx
mov eax, 0x1d
cmp byte [esp + eax + 0x40], 0x20
jne 0x20010bd5
cmp byte [esp + eax + 0x41], 0
jne 0x20010bd5
mov byte [esp + eax + 0x40], 0
dec eax
test eax, eax
jg 0x20010bc2
xor eax, eax
push eax
push eax
lea edi, [ebp + 0x8f]
mov ecx, 7
lea esi, [esp + 0x48]
push 0x10
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x2c]
push edx
push 8
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x1bc]
push eax
push 0
push 0
movsw word es:[edi], word [esi]
call ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
xor eax, eax
push eax
push eax
push 0x10
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push 8
mov dword [ebp + 0xae], ecx
lea ecx, [esp + 0x1cc]
push ecx
push 0
push 0
mov dword [ebp + 0xb2], edx
call ebx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [ebp + 0xbb], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 0xb7], edx
test eax, eax
je 0x20010c79
mov dword [eax], 0xc0
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x8f4]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.20012ef0
add esp, 0x8ec
ret 0x10
xor eax, eax
jmp 0x20010c7f