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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10165133
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x10438fc0]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0x68]
mov edx, dword [eax + 8]
lea ebx, [edi + 0x68]
mov ecx, ebx
mov dword [esp + 0x2c], edi
mov dword [ebx + 0x14], 5
mov dword [ebx + 0x18], 8
call edx
push 4
push 0xc0000000
mov eax, ebx
call fcn.100aa4e0
test eax, eax
js 0x10084143
mov eax, dword [ebx + 0x14]
dec eax
cmp eax, 9
ja 0x10083d42
push eax
call fcn.100ace80
xor ebx, ebx
cmp eax, ebx
jl 0x10084143
fld qword [edi + 0x260]
mov eax, dword [ebp + 8]
fldz
mov dword [edi + 0x64], eax
fucompp
mov word [edi + 0x14], 0x101
mov word [edi + 0x54], 1
mov dword [edi + 0x60], ebx
fnstsw ax
test ah, 0x44
jp 0x10084141
mov esi, dword [edi + 0x58]
mov byte [edi + 0x55], 1
cmp esi, ebx
je 0x10083cea
call fcn.100233d0
mov esi, dword [edi + 0x58]
cmp esi, ebx
je 0x10083cea
call fcn.1002e860
lea ecx, [esp + 0x18]
push ecx
mov edx, 0x104171b0
mov ecx, str.extents
call fcn.10023c10
add esp, 4
push 0x10
mov dword [esp + 0x124], ebx
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
mov byte [esp + 0x120], 1
cmp esi, ebx
je 0x10083d4c
mov edi, dword [esp + 0x18]
push ebx
call fcn.100164f0
mov edi, dword [esp + 0x2c]
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
jmp 0x10083d4e
mov eax, 0x8000ffff
jmp 0x10084143
xor esi, esi
push 2
push ebx
mov byte [esp + 0x128], bl
push 0xc0000000
mov bl, 1
mov dword [edi + 0x58], esi
call fcn.10023350
test al, al
jne 0x10083dbb
mov esi, dword [edi + 0x58]
mov byte [edi + 0x55], al
mov eax, dword [esi + 8]
test eax, eax
jle 0x10083d82
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test esi, esi
je 0x10083d8d
call fcn.1002e860
mov eax, dword [esp + 0x18]
mov dword [edi + 0x58], 0
test eax, eax
je 0x10083db4
lea edx, [eax - 0xc]
test edx, edx
je 0x10083db4
add eax, 0xfffffff4
dec dword [eax]
jne 0x10083db4
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, ebx
jmp 0x10084143
cmp byte [edi + 0x4c], 0
jne 0x10083e11
mov dword [esp + 0x14], 0
lea esi, [esp + 0x14]
mov byte [esp + 0x120], 2
call fcn.10009f80
mov edx, eax
mov eax, dword [edi + 0xc]
call fcn.1004af10
mov ebx, eax
test ebx, ebx
js 0x10083f0f
mov eax, dword [esp + 0x14]
lea ecx, [edi + 0x50]
call fcn.100b0a70
mov ebx, eax
test ebx, ebx
js 0x10083f0f
mov byte [esp + 0x120], 0
call fcn.1000a090
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x78]
call edx
test eax, eax
je 0x10084138
cmp dword [edi + 0x64], 0
jne 0x10084138
mov dword [esp + 0x14], 0
lea esi, [esp + 0x14]
mov byte [esp + 0x120], 3
call fcn.10009f80
mov ecx, dword [edi + 0xc]
push ecx
mov ecx, eax
call fcn.1004ae40
mov edx, dword [edi + 0xc]
mov eax, dword [edx + 0x30]
mov ebx, dword [esp + 0x14]
push 0
lea esi, [esp + 0x24]
mov dword [esp + 0x38], eax
call fcn.10034a00
xor ebx, ebx
mov byte [esp + 0x120], 4
xor eax, eax
cmp dword [esp + 0x20], ebx
jle 0x10083e92
lea esp, [esp]
mov ecx, dword [esp + 0x24]
mov dword [ecx + eax*4], 0xffffffff
inc eax
cmp eax, dword [esp + 0x20]
jl 0x10083e80
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov dword [edx + eax*4], eax
push ebx
lea eax, [esp + 0x60]
push eax
call fcn.10012150
mov byte [esp + 0x120], 5
mov edi, dword [edi + 0xc]
mov eax, dword [esp + 0x24]
mov byte [esp + 0x68], 1
mov edx, dword [edi]
mov edx, dword [edx + 0x94]
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, edi
call edx
mov edi, eax
cmp edi, ebx
jge 0x10083f30
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x124], 4
call fcn.10011f10
lea esi, [esp + 0x20]
call fcn.10034a80
mov byte [esp + 0x120], bl
lea esi, [esp + 0x14]
call fcn.1000a090
lea eax, [esp + 0x18]
call fcn.100164d0
mov eax, edi
jmp 0x10084143
lea esi, [esp + 0x14]
mov byte [esp + 0x120], 0
call fcn.1000a090
lea eax, [esp + 0x18]
call fcn.100164d0
mov eax, ebx
jmp 0x10084143
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
call fcn.10011d90
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x120], 6
mov eax, dword [esp + 0x24]
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x9c]
push eax
mov eax, dword [esp + 0x2c]
push eax
lea eax, [esp + 0x64]
push eax
call edx
test eax, eax
jne 0x100840fc
lea ecx, [ecx]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0x5c]
call fcn.1006d410
mov ebx, eax
test ebx, ebx
js 0x100841aa
fld qword [0x10448f30]
mov eax, dword [esp + 0x1c]
fstp qword [esp + 0x3c]
lea edx, [esp + 0x3c]
fldz
push edx
fst qword [esp + 0x48]
push eax
fst qword [esp + 0x54]
fstp qword [esp + 0x5c]
mov ecx, dword [eax]
mov eax, dword [ecx + 0xdc]
call eax
cmp byte [edi + 0x4c], 0
je 0x10084061
lea eax, [esp + 0x3c]
call fcn.100198f0
test al, al
je 0x10083fe3
fld qword [0x10448f30]
fst qword [esp + 0x104]
fstp qword [esp + 0xfc]
jmp 0x10083ff9
fld qword [esp + 0x3c]
fstp qword [esp + 0xfc]
fld qword [esp + 0x44]
fstp qword [esp + 0x104]
mov esi, dword [edi + 0x58]
push 0x10
lea ecx, [esp + 0x34]
lea edx, [esp + 0x100]
call fcn.10023600
test al, al
jne 0x10084091
mov edx, dword [edi + 0x58]
mov eax, dword [edx + 8]
test eax, eax
jle 0x10084026
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
lea esi, [esp + 0x1c]
mov byte [esp + 0x120], 5
call fcn.1000a090
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x124], 4
call fcn.10011f10
lea esi, [esp + 0x20]
call fcn.10034a80
mov byte [esp + 0x120], 0
jmp 0x10083ef6
mov esi, dword [edi + 0x58]
push 0x20
lea ecx, [esp + 0x34]
lea edx, [esp + 0x40]
call fcn.10023600
test al, al
je 0x100841f7
mov esi, dword [esp + 0x1c]
add edi, 0x50
call fcn.100b0ad0
mov edi, eax
test edi, edi
js 0x10084028
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov esi, dword [edi + 0x58]
lea ecx, [eax + eax*2]
mov eax, dword [edx + ecx*8 + 8]
xor ebx, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x10084169
push ebx
lea ecx, [esp + 0x34]
push ecx
push 4
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100841a1
mov dword [esi + 8], ebx
mov edx, dword [esp + 0x24]
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x9c]
push edx
mov edx, dword [esp + 0x2c]
push edx
lea edx, [esp + 0x64]
push edx
call eax
test eax, eax
je 0x10083f70
lea esi, [esp + 0x1c]
mov byte [esp + 0x120], 5
call fcn.1000a090
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x124], 4
call fcn.10011f10
lea esi, [esp + 0x20]
call fcn.10034a80
lea esi, [esp + 0x14]
mov byte [esp + 0x120], bl
call fcn.1000a090
lea eax, [esp + 0x18]
call fcn.100164d0
xor eax, eax
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.10148524
mov esp, ebp
pop ebp
ret 4
mov dword [esi + 8], 6
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx + 8]
cmp eax, ebx
jle 0x10084184
and eax, 0xffff
or eax, 0x80070000
lea esi, [esp + 0x1c]
mov edi, eax
mov byte [esp + 0x120], 5
call fcn.1000a090
lea edx, [esp + 0x5c]
push edx
jmp 0x10083ed9
mov dword [esi + 8], 0xfffffffd
jmp 0x10084170
lea esi, [esp + 0x1c]
mov byte [esp + 0x120], 5
call fcn.1000a090
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x124], 4
call fcn.10011f10
lea esi, [esp + 0x20]
call fcn.10034a80
lea esi, [esp + 0x14]
mov byte [esp + 0x120], 0
call fcn.1000a090
lea eax, [esp + 0x18]
call fcn.100164d0
mov eax, ebx
jmp 0x10084143
mov ecx, dword [edi + 0x58]
mov eax, dword [ecx + 8]
test eax, eax
jle 0x1008420b
and eax, 0xffff
or eax, 0x80070000
lea esi, [esp + 0x1c]
mov edi, eax
mov byte [esp + 0x120], 5
call fcn.1000a090
lea edx, [esp + 0x5c]
push edx
jmp 0x1008403e