Function at 0x416b00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x54
lea ebx, [ebp - 0x30]
mov edi, dword [ebp + 8]
mov al, byte [ebp + 0x14]
mov byte [ebp - 0x55], al
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00433920
pop esi
pop eax
lea eax, [edi + 0xc]
push ebx
mov dword [ebp - 0x2c], 0
push eax
call fcn.004440e0
mov esi, eax
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call fcn.004928b0
mov dword [esp], ebx
call fcn.00433ac0
add esp, 0x10
lea eax, [edi + 0x20]
test esi, esi
js 0x416b60
lea eax, [esi*8]
mov ecx, dword [edi + 0x10]
add eax, ecx
add eax, 4
push edx
push edx
lea edx, [ebp - 0x10]
push eax
push edx
call fcn.00492880
mov edx, dword [ebp - 0x10]
add esp, 0x10
test edx, edx
je 0x416e12
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x416e12
xor ebx, ebx
mov dword [ebp - 0x4c], 0
push eax
push eax
mov edi, dword [edx + 0x2c]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x14]
lea eax, [edi + eax*4]
push eax
push edx
call fcn.00492700
mov edx, dword [ebp - 0x14]
add esp, 0x10
test edx, edx
je 0x416df0
mov eax, dword [edx + 0x68]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x416d23
mov byte [ebp - 0x45], 0
mov dword [ebp - 0x40], 0
jmp 0x416bf5
sub esp, 0xc
lea edx, [ebp - 0x18]
push edx
call fcn.00492670
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
inc edi
add esp, 0x10
mov dword [ebp - 0x40], edi
cmp dword [ebp - 0x40], eax
je 0x416d23
mov edx, dword [ebp - 0x14]
push esi
push esi
mov ecx, dword [edx + 0x64]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x18]
lea eax, [ecx + eax*4]
push eax
push edx
call fcn.00492640
mov eax, dword [ebp - 0x18]
add esp, 0x10
test eax, eax
je 0x416bd0
mov dl, byte [ebp - 0x55]
cmp byte [eax + 0x1c], dl
jne 0x416bd0
cmp byte [ebp - 0x45], 0
je 0x416dd7
test bl, bl
jne 0x416d4d
cmp byte [ebp - 0x55], 0
je 0x416d5b
mov edi, dword [ebp + 0x10]
push edi
push 0x43
push 1
push str._______PUBLIC_SECTION.__These_resources_have_been_declared_public._n
call sub.msvcrt.dll_fwrite
mov esi, dword [ebp + 0x10]
push esi
push 0x4a
push 1
push str._______Changes_to_these_definitions_will_break_binary_compatibility._____n_n
call sub.msvcrt.dll_fwrite
mov edx, dword [ebp - 0x18]
add esp, 0x20
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0x8c]
mov eax, dword [ebp - 0x10]
shl ebx, 0x10
mov eax, dword [eax + 0xc]
shl eax, 0x18
or ebx, eax
mov eax, dword [edx + 0x28]
or ebx, eax
push eax
push eax
lea eax, [edx + 8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00433920
pop edi
lea edx, [ebp - 0x24]
pop eax
lea eax, [ebp - 0x28]
push edx
push eax
call fcn.004332f0
mov eax, dword [ebp - 0x14]
pop ecx
add eax, 8
pop esi
mov edx, dword [ebp - 0x28]
lea esi, [ebp - 0x1c]
push eax
lea edi, [ebp - 0x20]
mov dword [ebp - 0x54], edx
push esi
call fcn.00433920
pop eax
pop edx
push esi
push edi
call fcn.004332f0
mov eax, dword [ebp - 0x54]
mov dword [esp], ebx
push eax
mov eax, dword [ebp - 0x20]
mov bl, 1
push eax
mov eax, dword [ebp + 0x10]
push str.___public_type__s__name__s__id_0x_08x_____n
push eax
call sub.msvcrt.dll_fprintf
add esp, 0x14
push edi
call fcn.00432bc0
mov dword [esp], esi
call fcn.00433ac0
lea eax, [ebp - 0x28]
mov dword [esp], eax
call fcn.00432bc0
lea edx, [ebp - 0x24]
mov dword [esp], edx
call fcn.00433ac0
lea eax, [ebp - 0x18]
mov dword [esp], eax
call fcn.00492670
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
inc edi
add esp, 0x10
mov dword [ebp - 0x40], edi
cmp dword [ebp - 0x40], eax
jne 0x416bf2
sub esp, 0xc
lea edx, [ebp - 0x14]
push edx
call fcn.00492730
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
inc esi
add esp, 0x10
mov dword [ebp - 0x4c], esi
cmp dword [ebp - 0x4c], edx
je 0x416e12
mov edx, dword [ebp - 0x10]
jmp 0x416b91
cmp byte [ebp - 0x55], 0
je 0x416d82
mov edx, dword [ebp - 0x18]
jmp 0x416c62
mov ebx, dword [ebp + 0x10]
push ebx
push 0x48
push 1
push str._______PRIVATE_SECTION.__These_resources_have_not_been_declared_public._n
call sub.msvcrt.dll_fwrite
mov ecx, dword [ebp + 0x10]
push ecx
push 0x56
push 1
push str._______You_can_make_them_public_my_moving_these_lines_into_a_file_in_res_values._____n_n
call sub.msvcrt.dll_fwrite
add esp, 0x20
mov edx, dword [ebp - 0x18]
mov ecx, edx
mov edi, dword [edx + 0x34]
test edi, edi
je 0x416c62
xor esi, esi
xor ebx, ebx
jmp 0x416da0
inc esi
add ebx, 0x28
cmp esi, edi
je 0x416dd0
mov eax, dword [ecx + 0x30]
mov edx, dword [eax + ebx + 0x24]
mov eax, dword [edx + 0x6c]
cmp byte [eax], 0
je 0x416d98
mov edx, dword [edx + 0x70]
inc esi
push edx
push eax
mov eax, dword [ebp + 0x10]
push str._______Declared_at__s:_d_____n
push eax
add ebx, 0x28
call sub.msvcrt.dll_fprintf
add esp, 0x10
mov ecx, dword [ebp - 0x18]
cmp esi, edi
jne 0x416da0
mov edx, ecx
jmp 0x416c62
push eax
push eax
mov eax, dword [ebp + 0x10]
push eax
push 0xa
call sub.msvcrt.dll_fputc
add esp, 0x10
mov byte [ebp - 0x45], 1
jmp 0x416c26
sub esp, 0xc
lea eax, [ebp - 0x14]
push eax
call fcn.00492730
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
inc esi
add esp, 0x10
mov dword [ebp - 0x4c], esi
cmp dword [ebp - 0x4c], edx
jne 0x416d45
sub esp, 0xc
lea eax, [ebp - 0x10]
push eax
call fcn.004928b0
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret