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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x474a0f
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x497644]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x497644]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor esi, esi
mov eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
cmp ebx, 0xffffffff
jne 0x41c488
xor eax, eax
jmp 0x41c88d
mov ecx, dword [eax + 0x24]
cmp dword [ecx], esi
je 0x41c4b1
mov edx, dword [ecx]
mov ecx, dword [eax + 0x34]
mov edi, dword [ecx]
add edi, edx
cmp edx, edi
jae 0x41c4b1
dec dword [ecx]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax]
lea edx, [ecx + 1]
mov dword [eax], edx
mov byte [ecx], bl
mov eax, ebx
jmp 0x41c88d
cmp dword [eax + 0x54], esi
je 0x41c88a
mov edx, dword [eax + 0x10]
lea edi, [eax + 0x48]
cmp dword [edx], edi
jne 0x41c4d8
mov ecx, dword [eax + 0x40]
mov edi, dword [eax + 0x3c]
mov dword [edx], edi
mov edx, dword [eax + 0x20]
mov dword [edx], ecx
mov edx, dword [eax + 0x30]
sub ecx, ecx
mov dword [edx], ecx
cmp dword [eax + 0x44], esi
jne 0x41c4fd
mov eax, dword [eax + 0x54]
push eax
movsx eax, bl
push eax
call fcn.0043eef0
add esp, 8
cmp eax, 0xffffffff
je 0x41c88a
mov eax, ebx
jmp 0x41c88d
push esi
push 8
lea ecx, [esp + 0x70]
mov byte [esp + 0x24], bl
call fcn.0041db50
mov dword [esp + 0x98], esi
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x6c]
call fcn.004086f0
mov esi, eax
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x6c]
mov byte [esp + 0x9c], 1
call fcn.004086f0
mov edi, eax
mov ecx, esi
mov byte [esp + 0x98], 2
call fcn.00409980
mov ebx, dword [esp + 0x7c]
mov ecx, edi
mov esi, eax
call fcn.00409980
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0x44]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea edi, [esp + 0x30]
push edi
add ebx, esi
push ebx
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2d]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x2c]
add eax, 0x4c
push eax
call edx
push 3
lea ecx, [esp + 0x2c]
mov edi, eax
mov byte [esp + 0x9c], 1
call fcn.00439ed0
mov byte [esp + 0x98], 3
mov eax, dword [esp + 0x38]
xor ebx, ebx
cmp eax, ebx
je 0x41c5ec
cmp dword [eax + 4], ebx
lea esi, [eax + 4]
je 0x41c5cb
mov eax, dword [esi]
lea ecx, [esp + 0x38]
cmp eax, ecx
je 0x41c5c7
cmp dword [eax + 4], ebx
lea esi, [eax + 4]
jne 0x41c5b5
cmp dword [esi], ebx
jne 0x41c5e2
push 0xb5
push str.c:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00439b50
add esp, 0xc
mov edx, dword [esp + 0x3c]
mov dword [esi], edx
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 1
call fcn.00439f10
push 3
lea ecx, [esp + 0x38]
mov byte [esp + 0x9c], bl
call fcn.00439ed0
mov byte [esp + 0x98], 4
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x41c65e
cmp dword [eax + 4], ebx
lea esi, [eax + 4]
je 0x41c63d
mov eax, dword [esi]
lea ecx, [esp + 0x5c]
cmp eax, ecx
je 0x41c639
cmp dword [eax + 4], ebx
lea esi, [eax + 4]
jne 0x41c627
cmp dword [esi], ebx
jne 0x41c654
push 0xb5
push str.c:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00439b50
add esp, 0xc
mov edx, dword [esp + 0x60]
mov dword [esi], edx
mov dword [esp + 0x5c], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x98], 0
call fcn.00439f10
cmp edi, ebx
jl 0x41c876
cmp edi, 1
jg 0x41c81f
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x6c]
call fcn.004086f0
mov ecx, eax
mov byte [esp + 0x98], 5
call fcn.00409980
mov edi, dword [esp + 0x30]
push 3
lea ecx, [esp + 0x24]
sub edi, eax
mov byte [esp + 0x9c], 0
call fcn.00439ed0
mov byte [esp + 0x98], 6
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x41c707
cmp dword [eax + 4], ebx
lea esi, [eax + 4]
je 0x41c6e6
mov edi, edi
mov eax, dword [esi]
lea ecx, [esp + 0x44]
cmp eax, ecx
je 0x41c6e2
cmp dword [eax + 4], ebx
lea esi, [eax + 4]
jne 0x41c6d0
cmp dword [esi], ebx
jne 0x41c6fd
push 0xb5
push str.c:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00439b50
add esp, 0xc
mov edx, dword [esp + 0x48]
mov dword [esi], edx
mov dword [esp + 0x44], ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x98], 0
call fcn.00439f10
cmp edi, ebx
jbe 0x41c75a
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x6c]
call fcn.004086f0
mov byte [esp + 0x98], 7
or dword [esp + 0x18], 1
mov ecx, eax
call fcn.00409980
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x54]
push edx
push edi
push 1
push eax
call fcn.00442ab0
add esp, 0x10
cmp edi, eax
je 0x41c75a
mov bl, 1
jmp 0x41c75c
xor bl, bl
mov dword [esp + 0x98], 0
test byte [esp + 0x18], 1
je 0x41c7e5
and dword [esp + 0x18], 0xfffffffe
push 3
lea ecx, [esp + 0x30]
call fcn.00439ed0
mov byte [esp + 0x98], 8
mov eax, dword [esp + 0x50]
test eax, eax
je 0x41c7d4
cmp dword [eax + 4], 0
lea esi, [eax + 4]
je 0x41c7af
mov eax, dword [esi]
lea ecx, [esp + 0x50]
cmp eax, ecx
je 0x41c7aa
cmp dword [eax + 4], 0
lea esi, [eax + 4]
jne 0x41c797
cmp dword [esi], 0
jne 0x41c7c6
push 0xb5
push str.c:Program_Files__x86_Microsoft_Visual_Studio_10.0VCincludexutility
push str.ITERATOR_LIST_CORRUPTED_
call fcn.00439b50
add esp, 0xc
mov edx, dword [esp + 0x54]
mov dword [esi], edx
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x98], 0
call fcn.00439f10
test bl, bl
jne 0x41c876
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
mov byte [eax + 0x49], 1
cmp dword [esp + 0x24], ecx
jne 0x41c85d
test edi, edi
jne 0x41c514
cmp dword [esp + 0x7c], 0x20
lea ecx, [esp + 0x68]
jae 0x41c87a
push edi
push 8
call fcn.0041dc00
jmp 0x41c514
cmp edi, 3
jne 0x41c876
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x54]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.004105a0
add esp, 8
test al, al
je 0x41c842
mov esi, dword [ebp + 8]
jmp 0x41c845
or esi, 0xffffffff
lea ecx, [esp + 0x68]
mov dword [esp + 0x98], 0xffffffff
call fcn.00401780
mov eax, esi
jmp 0x41c88d
lea ecx, [esp + 0x68]
mov dword [esp + 0x98], 0xffffffff
call fcn.00401780
mov eax, dword [ebp + 8]
jmp 0x41c88d
lea ecx, [esp + 0x68]
mov dword [esp + 0x98], 0xffffffff
call fcn.00401780
or eax, 0xffffffff
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0043bb50
mov esp, ebp
pop ebp
ret 4