Function at 0x401d39
Capabilities:
Copy file
Resolve function by parsing pe exports

Disassembly:
jmp 0x4203d0
push 0xffffffffffffffff
push 0x49e799
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
mov eax, dword [0x4c2da4]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x198], ebx
mov byte [esp + 0x20], bl
mov word [esp + 0x21], bx
call fcn.0040178f
mov edi, 0x2580
push 0x4c9094
lea ecx, [esp + 0x48]
mov byte [esp + 0x19c], 1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], edi
call fcn.0047ab2a
lea ecx, [esp + 0x15c]
mov byte [esp + 0x198], 2
mov dword [esp + 0x100], 0x4a6560
call fcn.004014bf
mov dword [esp + method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x4c], 1
push ebx
lea ecx, [esp + 0x10c]
push ebx
push ecx
lea ecx, [esp + 0x10c]
mov byte [esp + 0x1a4], 3
call fcn.00401b13
push ebx
lea ecx, [esp + 0x10c]
mov dword [esp + 0x19c], 4
call fcn.00401b8b
mov edx, dword [esp + 0x100]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x100], 0x4a655c
mov eax, dword [esp + 0x158]
mov byte [esp + 0x198], 5
cmp eax, ebx
jne 0x420505
push 1
push str.tmp.txt
call fcn.00452465
add esp, 8
cmp eax, ebx
je 0x420505
push 1
push eax
lea ecx, [esp + 0x110]
call fcn.004014b0
lea ecx, [esp + 0x108]
call fcn.00401c71
lea ecx, [esp + 0x108]
test ecx, ecx
jne 0x42051e
mov edx, dword [esp + 0x100]
push ebx
push 2
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x108]
call fcn.00402536
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x68], cl
lea ecx, [esp + 0x68]
call fcn.00401a2d
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x58]
mov byte [esp + 0x19c], 6
mov byte [esp + 0x58], dl
call fcn.00401a2d
lea eax, [esp + 0x54]
lea ecx, [esp + 0x4b]
push eax
lea edx, [esp + 0x68]
push ecx
lea eax, [esp + 0x108]
push edx
push eax
mov byte [esp + 0x1a8], 7
call fcn.00401a96
add esp, 8
push eax
call fcn.004018f7
add esp, 8
push eax
call fcn.00401a96
add esp, 8
call fcn.0047b29b
cmp eax, ebx
je 0x42059b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
mov esi, eax
mov dword [esp + 0x28], esi
jmp 0x4205a1
mov dword [esp + 0x28], ebx
mov esi, ebx
mov eax, dword [esi + 0xc4]
push edi
push str.BaudRate
push eax
lea ecx, [esp + 0x30]
call fcn.004017c1
mov edx, dword [esp + 0x1a0]
mov dword [esi + 0x144], edi
mov dword [ebp + 0x8c], edi
mov ecx, 8
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x30], edx
push ebx
mov ecx, ebp
call fcn.00401870
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x20]
lea eax, [ebx + 1]
push 0xa
push ecx
push eax
mov dword [esp + 0x5c], eax
call fcn.0044f556
mov edi, 0x4c17cc
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
xor edx, edx
repne scasb al, byte es:[edi]
mov dword [esp + 0x14], edx
not ecx
mov dword [esp + 0x18], edx
sub edi, ecx
mov word [esp + 0x1c], dx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x38]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jge 0x420686
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push 0
push ecx
mov eax, dword [eax + 0xc4]
lea ecx, [esp + 0x2c]
push eax
call fcn.004017c1
jmp 0x420842
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x14]
push 1
push edx
mov eax, dword [esi + 0xc4]
lea ecx, [esp + 0x2c]
push eax
call fcn.004017c1
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0047ab2a
push 0
push ebx
mov ecx, esi
call fcn.0040107d
mov edi, str.TYPE
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2c]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0xc4]
lea ecx, [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004017c1
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov ebx, 1
test eax, eax
mov dword [edx], ebx
jne 0x420842
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x20]
push 0xa
push eax
push ecx
call fcn.0044f556
mov edi, 0x4c17cc
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
xor edx, edx
repne scasb al, byte es:[edi]
mov dword [esp + 0x14], edx
not ecx
mov dword [esp + 0x18], edx
sub edi, ecx
mov word [esp + 0x1c], dx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x8c]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x44]
push 0x4c1280
push ecx
call fcn.0046c67a
add esp, 8
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0047a831
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x1a4], 8
call fcn.0047ab2a
mov ecx, ebp
mov byte [esp + 0x1a0], 7
call fcn.004019ba
push ebx
mov ecx, ebp
call fcn.00401177
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x48]
call fcn.0047ac45
mov dword [ebp + 0x98], ebx
mov eax, dword [0x4c95bc]
cmp eax, 3
mov dword [esp + 0x34], 0x2580
mov dword [esp + 0x3c], ebx
jne 0x42081f
mov dword [ebp + 0x98], 2
push 0x2580
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0047ab2a
mov ecx, ebp
call fcn.00401eba
mov dword [0x4c9534], ebx
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x50]
add ecx, 4
cmp ebx, 8
mov dword [esp + 0x30], ecx
jl 0x4205d9
mov esi, dword [esp + 0x28]
mov edi, 0x4b00
push edi
push str.BaudRate
mov eax, dword [esi + 0xc4]
lea ecx, [esp + 0x2c]
push eax
call fcn.004017c1
mov eax, dword [esp + 0x1a0]
mov dword [esi + 0x144], edi
mov dword [ebp + 0x8c], edi
mov byte [esp + 0x13], 0
xor ebx, ebx
mov dword [esp + 0x30], eax
push ebx
mov ecx, ebp
call fcn.00401870
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x20]
lea eax, [ebx + 1]
push 0xa
push ecx
push eax
mov dword [esp + 0x5c], eax
call fcn.0044f556
mov edi, 0x4c17cc
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
xor edx, edx
repne scasb al, byte es:[edi]
mov dword [esp + 0x14], edx
not ecx
mov dword [esp + 0x18], edx
sub edi, ecx
mov word [esp + 0x1c], dx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x38]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
cmp eax, edi
jge 0x420962
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
mov eax, dword [esi + 0xc4]
push eax
call fcn.004012f8
test eax, eax
jne 0x420d79
mov eax, dword [esi + 0xc4]
lea edx, [esp + 0x14]
push edi
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.004017c1
jmp 0x420d79
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x74], 0x4a6a04
or al, 2
mov dword [esp + 0xf0], edi
mov dword [esp + 0xcc], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x4c], eax
mov eax, dword [0x4a6a08]
lea ecx, [esp + 0x78]
push edi
push ecx
mov dword [esp + eax + 0x7c], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [esp + 0x7c]
mov byte [esp + 0x1a0], 9
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x7c]
call fcn.00401c80
push edi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x19c], 0xb
call fcn.00401b8b
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x74], 0x4a6a00
mov eax, dword [esp + 0xc8]
mov byte [esp + 0x198], 0xc
cmp eax, edi
jne 0x420a1b
push 0x12
push str.tmp2.txt
call fcn.00452465
add esp, 8
cmp eax, edi
je 0x420a1b
push 1
push eax
lea ecx, [esp + 0x80]
call fcn.004014b0
lea ecx, [esp + 0x78]
call fcn.00401c71
lea eax, [esp + 0x78]
test eax, eax
jne 0x420a3a
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 4]
mov eax, dword [esp + edx + 0x78]
lea ecx, [esp + edx + 0x74]
or al, 2
cmp dword [ecx + 0x28], edi
jne 0x420a33
or al, 4
push edi
push eax
call fcn.00451e97
lea eax, [esp + 0x14]
lea ecx, [esp + 0x74]
push eax
push 0x4c1f90
push ebx
call fcn.00401249
push eax
call fcn.004022e8
add esp, 8
push eax
call fcn.004022e8
add esp, 8
mov esi, eax
mov ecx, esi
push 0xa
call fcn.00401672
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
mov cl, byte [edx + esi + 4]
test cl, 6
lea eax, [edx + esi]
jne 0x420a90
mov eax, dword [eax + 0x28]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0xffffffff
jne 0x420a90
mov edi, 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
test edi, edi
je 0x420ab1
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x28]
or eax, edi
test edx, edx
jne 0x420aa9
or al, 4
push 0
push eax
call fcn.00451e97
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x420ae0
push eax
call fcn.0043dd56
add esp, 4
test eax, eax
jne 0x420ae0
push 2
push eax
lea ecx, [esp + 0x80]
call fcn.004014b0
lea ecx, [esp + 0x78]
test ecx, ecx
jne 0x420b06
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 4]
mov edx, dword [esp + eax + 0x9c]
lea ecx, [esp + eax + 0x74]
mov eax, dword [esp + eax + 0x78]
or al, 2
test edx, edx
jne 0x420afe
or al, 4
push 0
push eax
call fcn.00451e97
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x14]
push 1
push ecx
mov eax, dword [esi + 0xc4]
lea ecx, [esp + 0x2c]
push eax
call fcn.004017c1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0047ab2a
push 1
push ebx
mov ecx, esi
call fcn.0040107d
mov edi, str.TYPE
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2c]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0xc4]
lea ecx, [esp + 0x18]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004017c1
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
test eax, eax
mov dword [edx], 1
jne 0x420cb7
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x20]
push 0xa
push eax
push ecx
call fcn.0044f556
mov edi, 0x4c17cc
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
xor edx, edx
repne scasb al, byte es:[edi]
mov dword [esp + 0x14], edx
not ecx
mov dword [esp + 0x18], edx
sub edi, ecx
mov word [esp + 0x1c], dx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x20]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x8c]
mov ecx, ebx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x44]
push 0x4c1280
push ecx
call fcn.0046c67a
add esp, 8
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0047a831
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
mov byte [esp + 0x1a4], 0xd
call fcn.0047ab2a
mov ecx, ebp
mov byte [esp + 0x1a0], 0xc
call fcn.004019ba
push 1
mov ecx, ebp
call fcn.00401177
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 1
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x38], 0x4b00
call fcn.0047ac45
mov esi, 2
push 0x4b00
mov dword [ebp + 0x98], esi
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call fcn.0047ab2a
mov ecx, ebp
call fcn.00401eba
mov dword [0x4c9534], esi
mov al, byte [esp + 0x13]
test al, al
jne 0x420cd6
push 0
push str.tmp3.txt
push str.tmp.txt
mov byte [esp + 0x1f], 1
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0xcc]
mov dword [esp + 0x2c], eax
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x74], 0x4a6a00
lea eax, [esp + 0x78]
mov dword [esp + 0x78], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esp + 0x38], eax
mov al, byte [esp + 0xc0]
mov byte [esp + 0x198], 0x10
test al, al
je 0x420d1c
lea ecx, [esp + 0x78]
call fcn.00401d25
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x420d2e
push 1
call fcn.004023a6
lea ecx, [esp + 0xc4]
call fcn.00401091
lea ecx, [esp + 0x78]
mov byte [esp + 0x198], 0xe
call fcn.00401064
mov ecx, dword [esp + 0x74]
mov byte [esp + 0x198], 7
mov edx, dword [ecx + 4]
lea ecx, [esp + 0xcc]
mov dword [esp + edx + 0x74], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov dword [esp + 0xcc], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.0045225a
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x50]
add ecx, 4
cmp ebx, 8
mov dword [esp + 0x30], ecx
jl 0x420897
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x34]
push edi
push str.BaudRate
mov eax, dword [esi + 0xc4]
lea ecx, [esp + 0x2c]
push eax
call fcn.004017c1
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [esi + 0x144], edi
call fcn.0047a831
mov ecx, esi
call fcn.00401014
mov eax, dword [esp + 0x3c]
xor edi, edi
cmp eax, edi
jne 0x420e18
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x4c9094
call fcn.0047ab2a
push ecx
mov byte [esp + 0x1a0], 0x11
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4c9094
call fcn.0047ab2a
mov ecx, ebp
mov byte [esp + 0x1a0], 7
call fcn.004019ba
push edi
mov ecx, ebp
call fcn.00401177
mov al, byte [esp + 0x13]
test al, al
je 0x420e31
push edi
push str.tmp.txt
push str.tmp3.txt
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [esp + 0x58]
cmp eax, edi
je 0x420e56
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x420e4d
cmp al, 0xff
je 0x420e4d
dec al
mov byte [ecx], al
jmp 0x420e56
push ecx
call fcn.00475c24
add esp, 4
mov eax, dword [esp + 0x68]
mov dword [esp + 0x58], edi
cmp eax, edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
je 0x420e87
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x420e7e
cmp al, 0xff
je 0x420e7e
dec al
mov byte [ecx], al
jmp 0x420e87
push ecx
call fcn.00475c24
add esp, 4
mov edx, dword [esp + 0x100]
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov eax, dword [edx + 4]
lea ecx, [esp + 0x15c]
mov dword [esp + 0x2c], ecx
mov dword [esp + eax + 0x100], 0x4a655c
lea ecx, [esp + 0x108]
mov dword [esp + method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov dword [esp + 0x34], ecx
mov al, byte [esp + 0x150]
mov byte [esp + 0x198], 0x14
test al, al
je 0x420f03
mov eax, dword [esp + 0x158]
cmp eax, edi
je 0x420f03
push eax
call fcn.0043dd56
add esp, 4
test eax, eax
jne 0x420f03
push 2
push edi
lea ecx, [esp + 0x110]
call fcn.004014b0
mov ecx, dword [esp + 0x14c]
cmp ecx, edi
mov esi, ecx
je 0x420f20
push 1
call fcn.00401a2d
push esi
call fcn.00475c24
add esp, 4
mov ecx, dword [esp + 0x154]
mov byte [esp + 0x198], 0x13
cmp ecx, edi
je 0x420f44
call fcn.0040139d
cmp eax, edi
je 0x420f44
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
lea ecx, [esp + 0x13c]
mov dword [esp + method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00401091
mov eax, dword [esp + 0x100]
mov byte [esp + 0x198], 2
mov ecx, dword [eax + 4]
mov dword [esp + ecx + method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
lea ecx, [esp + 0x15c]
mov dword [esp + method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
call fcn.0045225a
lea ecx, [esp + 0x44]
mov byte [esp + 0x198], 1
call fcn.0047aabc
lea ecx, [esp + 0x24]
mov byte [esp + 0x198], 0
call fcn.0040228e
lea ecx, [esp + 0x40]
mov dword [esp + 0x198], 0xffffffff
call fcn.0047aabc
mov ecx, dword [esp + 0x190]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18c
ret 4