Function at 0x10003f20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002d211
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1003b41c]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x1003b41c]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ecx
cmp dword [ecx + 0x3c], esi
je 0x10004231
cmp byte [ecx + 0x41], 0
je 0x10004231
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x10004219
push esi
push 8
lea ecx, [esp + 0x60]
call fcn.10003910
mov dword [esp + 0x88], esi
lea esp, [esp]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x5c]
call fcn.10003be0
mov esi, eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8c], 1
call fcn.10003be0
mov edi, eax
mov ecx, esi
mov byte [esp + 0x88], 2
call fcn.10004820
mov ebx, dword [esp + 0x70]
mov ecx, edi
mov esi, eax
call fcn.10004820
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x3c]
mov edx, dword [ecx]
lea edi, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x18]
add ebx, esi
push ebx
push eax
lea eax, [edi + 0x44]
push eax
mov eax, dword [edx + 0x18]
call eax
push 3
lea ecx, [esp + 0x28]
mov ebx, eax
mov byte [esp + 0x8c], 1
call fcn.10006710
mov byte [esp + 0x88], 3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10004071
cmp dword [eax], 0xfffffffd
je 0x10004071
cmp dword [eax], 0
mov esi, eax
je 0x10004047
mov eax, dword [esi]
lea ecx, [esp + 0x28]
cmp eax, ecx
je 0x10004047
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x10004034
cmp dword [esi], 0
jne 0x10004063
push 0xbd
push str.D:VS2008VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call fcn.10005360
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov dword [esi], edx
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 1
call fcn.10006750
push 3
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c], 0
call fcn.10006710
mov byte [esp + 0x88], 4
mov esi, dword [esp + 0x34]
test esi, esi
je 0x100040ed
cmp dword [esi], 0xfffffffd
je 0x100040ed
cmp dword [esi], 0
je 0x100040c8
nop
mov eax, dword [esi]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x100040c3
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x100040b0
cmp dword [esi], 0
jne 0x100040df
push 0xbd
push str.D:VS2008VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call fcn.10005360
add esp, 0xc
mov edx, dword [esp + 0x38]
mov dword [esi], edx
mov dword [esp + 0x34], 0
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 0
call fcn.10006750
mov eax, ebx
sub eax, 0
je 0x10004127
sub eax, 1
je 0x1000412b
sub eax, 2
mov dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x58]
jne 0x10004214
jmp 0x1000422c
mov byte [edi + 0x41], 0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x5c]
call fcn.10003be0
mov ecx, eax
mov byte [esp + 0x88], 5
call fcn.10004820
mov esi, dword [esp + 0x1c]
push 3
lea ecx, [esp + 0x1c]
sub esi, eax
mov byte [esp + 0x8c], 0
call fcn.10006710
lea ecx, [esp + 0x40]
mov byte [esp + 0x88], 6
call fcn.10001150
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 0
call fcn.10006750
test esi, esi
jbe 0x100041c1
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x5c]
call fcn.10003be0
mov byte [esp + 0x88], 7
or dword [esp + 0x10], 1
mov ecx, eax
call fcn.10004820
mov edx, dword [edi + 0x4c]
push edx
push esi
push 1
push eax
call fcn.10008ef0
add esp, 0x10
cmp esi, eax
je 0x100041c1
mov bl, 1
jmp 0x100041c3
xor bl, bl
mov dword [esp + 0x88], 0
test byte [esp + 0x10], 1
je 0x100041e3
and dword [esp + 0x10], 0xfffffffe
lea ecx, [esp + 0x4c]
call fcn.10001070
test bl, bl
jne 0x10004205
cmp byte [edi + 0x41], bl
je 0x1000421d
test esi, esi
jne 0x10003fa0
push esi
push 8
lea ecx, [esp + 0x60]
call fcn.10003980
jmp 0x10003fa0
mov dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x58]
call fcn.10002660
xor al, al
jmp 0x10004233
mov dword [esp + 0x88], 0xffffffff
lea ecx, [esp + 0x58]
call fcn.10002660
mov al, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.100072a0
mov esp, ebp
pop ebp
ret