Function at 0x422e00
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x458915
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x4b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x4c8]
mov dword fs:[0], eax
push 0x471fbc
mov ebx, str.SysDir_
lea esi, [esp + 0xac]
call fcn.00408750
add esp, 4
xor ebp, ebp
push 0x472048
mov ebx, str._bin_
lea esi, [esp + 0x90]
mov dword [esp + 0x4d4], ebp
call fcn.00408750
add esp, 4
mov byte [esp + 0x4d0], 1
cmp dword [0x471ee4], ebp
je 0x422ed0
push 0x471eec
lea esi, [esp + 0x3c]
call fcn.00408750
add esp, 4
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x94]
mov byte [esp + 0x4d8], 2
call fcn.00406cc0
mov ebx, 8
mov byte [esp + 0x4d0], 1
cmp dword [esp + 0x50], ebx
jb 0x422ed5
mov eax, dword [esp + 0x3c]
push eax
call fcn.0043ef40
add esp, 4
jmp 0x422ed5
mov ebx, 8
lea ecx, [esp + 0xa8]
push 0x46f690
push ecx
lea edi, [esp + 0x78]
call fcn.00414ca0
lea edx, [esp + 0x94]
push 0x46f690
push edx
lea edi, [esp + 0x64]
mov byte [esp + 0x4e0], 3
call fcn.00414ca0
lea eax, [esp + 0x28]
push eax
mov ecx, edi
push ecx
lea edx, [esp + 0x88]
mov byte [esp + 0x4e8], 4
push edx
mov dword [esp + 0x34], 0xa
call fcn.00423630
add esp, 0x1c
push eax
push 0x4636f4
push 0x400
lea eax, [esp + 0xd0]
push 0x200
push eax
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0x38]
call fcn.0042a750
mov byte [esp + 0x4d0], 5
mov edi, 7
lea eax, [esp + 0xc4]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], bp
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x422f80
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xc8]
push ecx
lea esi, [esp + 0x24]
call fcn.00406f20
mov edx, esi
push ebp
push edx
or eax, 0xffffffff
lea esi, [esp + 0x40]
mov byte [esp + 0x4d8], 6
call fcn.00406d90
cmp dword [esp + 0x34], ebx
jb 0x422fcc
mov eax, dword [esp + 0x20]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x50], ebx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], bp
jae 0x422fe7
lea edx, [esp + 0x3c]
mov edi, dword [0x471b30]
cmp edi, ebp
je 0x423021
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x422ff6
sub eax, esi
sar eax, 1
push edi
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.0043fe21
mov edx, dword [0x471b30]
push edx
call fcn.004402ef
add esp, 0x14
mov byte [esp + 0x4d0], 4
cmp dword [esp + 0x50], ebx
jb 0x42303c
mov eax, dword [esp + 0x3c]
push eax
call fcn.0043ef40
add esp, 4
lea ecx, [esp + 0xa8]
push 0x46f6ac
push ecx
lea edi, [esp + 0x40]
call fcn.00414ca0
add esp, 8
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x78]
mov byte [esp + 0x4d8], 7
call fcn.00406cc0
mov byte [esp + 0x4d0], 4
cmp dword [esp + 0x50], ebx
jb 0x423084
mov edx, dword [esp + 0x3c]
push edx
call fcn.0043ef40
add esp, 4
lea eax, [esp + 0x8c]
push 0x46f6ac
push eax
lea edi, [esp + 0x40]
call fcn.00414ca0
add esp, 8
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4d8], 8
call fcn.00406cc0
mov byte [esp + 0x4d0], 4
cmp dword [esp + 0x50], ebx
jb 0x4230cc
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0043ef40
add esp, 4
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x24], 0xa
call fcn.00423630
add esp, 0xc
push eax
push 0x463728
push 0x400
lea edx, [esp + 0xd0]
push 0x200
push edx
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0x38]
call fcn.0042a750
mov byte [esp + 0x4d0], 9
mov edi, 7
lea eax, [esp + 0xc4]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], bp
lea edx, [eax + 2]
jmp 0x423140
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x423140
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc8]
push eax
lea esi, [esp + 0x24]
call fcn.00406f20
mov ecx, esi
push ebp
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x40]
mov byte [esp + 0x4d8], 0xa
call fcn.00406d90
cmp dword [esp + 0x34], ebx
jb 0x42318c
mov edx, dword [esp + 0x20]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x50], ebx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], bp
jae 0x4231a7
lea edx, [esp + 0x3c]
mov edi, dword [0x471b30]
cmp edi, ebp
je 0x4231e0
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4231b6
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
mov byte [esp + 0x4d0], 4
cmp dword [esp + 0x50], ebx
jb 0x4231fb
mov edx, dword [esp + 0x3c]
push edx
call fcn.0043ef40
add esp, 4
lea eax, [esp + 0xa8]
push 0x46f6c8
push eax
lea edi, [esp + 0x40]
call fcn.00414ca0
add esp, 8
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x78]
mov byte [esp + 0x4d8], 0xb
call fcn.00406cc0
mov byte [esp + 0x4d0], 4
cmp dword [esp + 0x50], ebx
jb 0x423243
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0043ef40
add esp, 4
lea edx, [esp + 0x8c]
push 0x46f6c8
push edx
lea edi, [esp + 0x40]
call fcn.00414ca0
add esp, 8
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4d8], 0xc
call fcn.00406cc0
mov byte [esp + 0x4d0], 4
cmp dword [esp + 0x50], ebx
jb 0x42328b
mov eax, dword [esp + 0x3c]
push eax
call fcn.0043ef40
add esp, 4
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x24], 0xa
call fcn.00423630
add esp, 0xc
mov ebx, eax
push ebx
push str._rY6RV
push 0x400
lea ecx, [esp + 0xd0]
push 0x200
push ecx
call fcn.0043ef21
add esp, 0x14
lea ecx, [esp + 0x38]
call fcn.0042a750
mov byte [esp + 0x4d0], 0xd
mov edi, 7
lea eax, [esp + 0xc4]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], bp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x423300
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc8]
push edx
lea esi, [esp + 0x24]
call fcn.00406f20
mov eax, esi
push ebp
push eax
or eax, 0xffffffff
lea esi, [esp + 0x40]
mov byte [esp + 0x4d8], 0xe
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x34], esi
jb 0x423351
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x50], esi
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov word [esp + 0x20], bp
jae 0x42336c
lea edx, [esp + 0x3c]
mov edi, dword [0x471b30]
cmp edi, ebp
je 0x4233af
mov eax, edx
lea esi, [eax + 2]
jmp 0x423380
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x423380
sub eax, esi
sar eax, 1
push edi
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x4233c2
mov edx, dword [esp + 0x3c]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x6c], esi
jb 0x4233d5
mov eax, dword [esp + 0x58]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x88], esi
mov edi, 7
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebp
mov word [esp + 0x58], bp
jb 0x4233fd
mov ecx, dword [esp + 0x74]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0xa4], esi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebp
mov word [esp + 0x74], bp
jb 0x423429
mov edx, dword [esp + 0x90]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0xc0], esi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], ebp
mov word [esp + 0x90], bp
jb 0x423458
mov eax, dword [esp + 0xac]
push eax
call fcn.0043ef40
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x4c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.0043ef12
add esp, 0x4c0
ret