Function at 0x49a8e0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0x1c]
sub esp, 0x1c
push ebx
push esi
push edi
test eax, eax
je 0x49b454
dec eax
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x18]
mov edi, dword [eax]
mov eax, dword [edi + 8]
cmp eax, 5
ja case.0x49a908.1
jmp dword [eax*4 + 0x49b464]
mov ecx, dword [edi]
push 0
push 1
call fcn.004016c0
mov edi, eax
jmp 0x49a927
mov edi, dword [edi]
jmp 0x49a927
mov edi, 0x4b8c14
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
push 4
push str.Read
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x49a972
cmp word [edi + 8], 0
lea eax, [edi + 8]
jne 0x49a952
mov esi, 1
jmp 0x49aa9a
push str.Line
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
and esi, 2
add esi, 3
jmp 0x49aa9a
push 5
push str.Write
push edi
call esi
add esp, 0xc
test eax, eax
jne 0x49a9b6
cmp word [edi + 0xa], 0
lea eax, [edi + 0xa]
jne 0x49a997
mov esi, 2
jmp 0x49aa9a
push str.Line
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
neg esi
add esi, 4
jmp 0x49aa9a
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
push str.RawRead
push edi
call esi
add esp, 8
test eax, eax
jne 0x49a9d3
lea esi, [eax + 6]
jmp 0x49aa9a
push str.RawWrite
push edi
call esi
add esp, 8
test eax, eax
jne 0x49a9ea
lea esi, [eax + 6]
jmp 0x49aa9a
push 0x4d034c
push edi
call esi
add esp, 8
test eax, eax
je 0x49aa95
push str.Length
push edi
call esi
add esp, 8
test eax, eax
jne 0x49aa14
lea esi, [eax + 9]
jmp 0x49aa9a
push str.AtEOF
push edi
call esi
add esp, 8
test eax, eax
jne 0x49aa28
lea esi, [eax + 0xa]
jmp 0x49aa9a
push str.__Handle
push edi
call esi
add esp, 8
test eax, eax
jne 0x49aa3c
lea esi, [eax + 0xb]
jmp 0x49aa9a
push str.Encoding
push edi
call esi
add esp, 8
test eax, eax
jne 0x49aa50
lea esi, [eax + 0xc]
jmp 0x49aa9a
push str.Close
push edi
call esi
add esp, 8
test eax, eax
jne 0x49aa64
lea esi, [eax + 0xd]
jmp 0x49aa9a
push str.Position
push edi
call esi
add esp, 8
test eax, eax
je 0x49aa95
push str.Seek
push edi
call esi
add esp, 8
test eax, eax
je 0x49aa95
push str.Tell
push edi
call esi
add esp, 8
test eax, eax
jne 0x49b454
mov esi, 8
mov ecx, dword [ebp + 0x14]
test cl, 2
jne 0x49aabb
cmp esi, 7
jb 0x49adc0
mov eax, dword [ebp + 0x1c]
and ecx, 1
cmp eax, ecx
jne 0x49adc0
jmp 0x49aabe
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0xc]
lea ecx, [esi - 1]
mov dword [ebx + 8], 1
cmp ecx, 0xc
ja case.0x49ab3e.69
jmp dword [ecx*4 + 0x49b47c]
movzx eax, word [edi]
cmp eax, 0x52
je 0x49aaec
cmp eax, 0x72
je 0x49aaec
xor al, al
jmp 0x49aaee
mov al, 1
movzx esi, al
add edi, 8
xor esi, 1
mov byte [esp + 0x13], al
mov cx, word [edi + esi*2]
lea esi, [edi + esi*2]
xor edi, edi
call fcn.00413070
cmp ax, 0x55
jne 0x49ab18
add esi, 2
mov dword [esp + 0x14], edi
jmp 0x49ab20
mov dword [esp + 0x14], 1
mov cx, word [esi]
call fcn.00413070
movzx eax, ax
add eax, 0xffffffbd
cmp eax, 0x10
ja case.0x49ab3e.69
movzx eax, byte [eax + 0x49b4cc]
jmp dword [eax*4 + 0x49b4b0]
push 0x36
push esi
call dword [sym.imp.VCRUNTIME140.dll_wcschr]
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
and esi, 4
add esi, 4
jmp 0x49ab81
mov esi, 2
jmp 0x49ab81
mov esi, 1
jmp 0x49ab81
mov esi, 8
lea edi, [esi - 7]
jmp 0x49ab81
mov edi, 1
mov esi, 4
cmp byte [esp + 0x13], 0
je 0x49ac6f
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x20]
push esi
xorps xmm0, xmm0
push eax
lea ecx, [ecx + 8]
movlpd qword [esp + 0x28], xmm0
call fcn.0049a2a0
test eax, eax
je case.0x49ab3e.69
test edi, edi
je 0x49abf6
cmp esi, 4
jne 0x49abd7
movss xmm0, dword [esp + 0x20]
lea eax, [esi - 3]
cvtps2pd xmm0, xmm0
mov dword [ebx + 8], 2
movsd qword [ebx], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
movsd xmm0, qword [esp + 0x20]
mov eax, 1
movsd qword [ebx], xmm0
mov dword [ebx + 8], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [esp + 0x14], 0
je 0x49ac54
sub esi, 1
je 0x49ac3b
sub esi, 1
je 0x49ac22
sub esi, 2
jne 0x49ac54
mov eax, dword [esp + 0x20]
cdq
mov dword [ebx], eax
lea eax, [esi + 1]
mov dword [ebx + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
movsx eax, word [esp + 0x20]
cdq
mov dword [ebx], eax
mov eax, 1
mov dword [ebx + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
movsx eax, byte [esp + 0x20]
cdq
mov dword [ebx], eax
mov eax, 1
mov dword [ebx + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [ebx], eax
mov eax, 1
mov dword [ebx + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp dword [ebp + 0x1c], 1
jne case.0x49ab3e.69
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
test edi, edi
je 0x49aca9
push 0
mov edx, 1
call fcn.0046d360
add esp, 4
movsd qword [esp + 0x20], xmm0
cmp esi, 4
jne 0x49ad0a
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
jmp 0x49ad0a
cmp esi, 8
jne 0x49acfb
cmp dword [esp + 0x14], 0
jne 0x49acfb
mov eax, dword [ecx + 8]
cmp eax, 1
je 0x49acfb
cmp eax, 2
je 0x49acfb
cmp eax, 5
ja case.0x49acc7.1
jmp dword [eax*4 + 0x49b4e0]
mov ecx, dword [ecx]
push 0
push 1
call fcn.004016c0
mov ecx, eax
call fcn.00449340
jmp 0x49ad02
mov eax, dword [ecx]
mov ecx, eax
call fcn.00449340
jmp 0x49ad02
mov eax, 0x4b8c14
mov ecx, eax
call fcn.00449340
jmp 0x49ad02
xor edx, edx
call fcn.0046d2d0
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x20]
push esi
push eax
lea ecx, [ecx + 8]
call fcn.0049a5c0
test eax, eax
jne 0x49ad32
mov ecx, dword [0x4e211c]
test byte [ecx + 0x100], 1
jne case.0x49ab3e.69
mov dword [ebx], eax
mov eax, 1
mov dword [ebx + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 1
jg case.0x49ab3e.69
test eax, eax
je 0x49ad67
mov eax, dword [ebp + 0x18]
xor edx, edx
mov ecx, dword [eax + 4]
call fcn.0046d2d0
mov esi, eax
jmp 0x49ad80
mov esi, dword [ebp + 8]
lea ecx, [esi + 8]
call fcn.00499cf0
lea ecx, [esi + 8]
mov edi, eax
call fcn.00499d40
mov esi, eax
sub esi, edi
cmp esi, 0xffffffff
je case.0x49ab3e.69
push esi
xor edx, edx
mov ecx, ebx
call fcn.0046d690
add esp, 4
test eax, eax
je case.0x49ab3e.69
push 0
push esi
mov ecx, dword [ebp + 8]
push dword [ebx]
lea ecx, [ecx + 8]
call fcn.00499f10
mov ecx, dword [ebx]
xor edx, edx
mov dword [ebx + 8], 0
mov word [ecx + eax*2], dx
mov dword [ebx + 4], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test eax, eax
jne case.0x49ab3e.69
push 0x20002
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebx + 0xc], eax
test eax, eax
je case.0x49ab3e.69
mov dword [ebx + 4], 0x10000
xor ecx, ecx
push 1
mov dword [ebx], eax
mov word [eax + 0x20000], cx
push 0xffff
jmp 0x49ada1
cmp eax, 1
jg case.0x49ab3e.69
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x18], ecx
test eax, eax
je 0x49aebc
mov edi, dword [ebp + 0x18]
mov edx, dword [ebx + 4]
mov ecx, dword [edi + 4]
call fcn.0046d420
mov edi, dword [edi + 4]
mov edx, eax
mov dword [esp + 0x1c], edx
cmp dword [edi + 8], 4
jne 0x49ae8a
mov edi, dword [edi]
mov cl, byte [edi + 0x17]
test cl, cl
jne 0x49ae51
mov eax, dword [edi + 0xc]
mov al, byte [eax + 0x15]
jmp 0x49ae54
mov al, byte [edi + 0x15]
test al, 1
jne 0x49ae8a
test cl, cl
jne 0x49ae5f
mov edi, dword [edi + 0xc]
cmp byte [edi + 0x17], 1
jne 0x49ae7f
test byte [edi + 0x15], 8
je 0x49ae76
mov ecx, edi
call fcn.004015e0
mov edx, dword [esp + 0x1c]
add edi, 0xc
mov edi, dword [edi]
shr edi, 1
jmp 0x49ae9f
mov edi, 0x4e8ce8
mov edi, dword [edi]
shr edi, 1
jmp 0x49ae9f
mov edi, edx
lea ecx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x49ae90
sub edi, ecx
sar edi, 1
mov ecx, dword [ebp + 8]
push edi
add ecx, 8
push edx
mov dword [esp + 0x24], ecx
call fcn.0049a3d0
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], ecx
jmp 0x49aec2
mov eax, dword [ebp + 8]
add eax, 8
cmp esi, 4
jne 0x49aee4
test ecx, ecx
jne 0x49aecf
test edi, edi
jne 0x49aeec
push 1
push 0x4d7994
mov ecx, eax
inc edi
call fcn.0049a3d0
mov ecx, dword [esp + 0x18]
add ecx, eax
test ecx, ecx
jne 0x49aefe
test edi, edi
je 0x49aefe
mov eax, dword [0x4e211c]
test byte [eax + 0x100], 1
jne case.0x49ab3e.69
mov dword [ebx], ecx
mov dword [ebx + 4], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 2
jne case.0x49ab3e.69
movzx eax, word [edi + 6]
cmp eax, 0x52
je 0x49af31
mov byte [esp + 0x13], 0
cmp eax, 0x72
jne 0x49af36
mov byte [esp + 0x13], 1
mov eax, dword [ebp + 0x18]
xor edx, edx
mov ecx, dword [eax + 8]
mov edi, dword [eax + 4]
call fcn.0046d2d0
cmp dword [edi + 8], 4
mov esi, eax
jne 0x49afac
mov edx, dword [edi]
mov ecx, edx
call fcn.004493f0
cmp esi, eax
jbe 0x49af9f
cmp byte [esp + 0x13], 0
je 0x49af72
push 0
push 0
push esi
mov ecx, edx
call fcn.004493d0
test eax, eax
jne 0x49af9f
mov eax, dword [0x4e211c]
test byte [eax + 0x100], 1
jne case.0x49ab3e.69
mov dword [ebx], 0
mov eax, 1
mov dword [ebx + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [edi]
push 0
push 1
call fcn.004016c0
jmp 0x49afb5
xor edx, edx
mov ecx, edi
call fcn.0046d2d0
mov ecx, eax
cmp ecx, 0x10000
jae 0x49afc8
xor ecx, ecx
test esi, esi
jmp 0x49aeea
cmp byte [esp + 0x13], 0
mov eax, dword [ebp + 8]
push esi
push ecx
lea ecx, [eax + 8]
je 0x49afde
call fcn.0049a2a0
jmp 0x49afe3
call fcn.0049a5c0
mov ecx, eax
test ecx, ecx
jne 0x49aefe
test esi, esi
jmp 0x49aeea
test eax, eax
jne 0x49b016
mov ecx, dword [ebp + 8]
lea ecx, [ecx + 8]
call fcn.00499cf0
mov dword [ebx], eax
mov eax, 1
mov dword [ebx + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 2
jg case.0x49ab3e.69
mov esi, dword [ebp + 0x18]
xor edx, edx
mov ecx, dword [esi + 4]
call fcn.0046d2d0
cmp dword [ebp + 0x1c], 2
mov ecx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
jne 0x49b04c
mov ecx, dword [esi + 8]
xor edx, edx
call fcn.0046d2d0
mov dword [esp + 0x14], eax
jmp 0x49b068
test edx, edx
jg 0x49b060
jl 0x49b056
test ecx, ecx
jae 0x49b060
mov dword [esp + 0x14], 2
jmp 0x49b068
mov dword [esp + 0x14], 0
mov edi, dword [ebp + 8]
add edi, 8
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x49b090
sub eax, dword [edi + 0x30]
mov ecx, edi
sub eax, dword [edi + 8]
mov esi, dword [edi]
push 1
cdq
push edx
push eax
call dword [esi + 0x14]
mov dword [edi + 0x2c], 0
jmp 0x49b0a2
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x49b0a9
mov eax, dword [edi]
push ecx
push dword [edi + 0x30]
mov ecx, edi
call dword [eax + 0x10]
mov dword [edi + 8], 0
push dword [esp + 0x14]
xor eax, eax
mov ecx, edi
push dword [esp + 0x20]
mov word [edi + 0x28], ax
mov eax, dword [edi]
push dword [esp + 0x20]
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x49b0fe
mov eax, dword [0x4e211c]
test byte [eax + 0x100], 1
jne case.0x49ab3e.69
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 1
xor eax, eax
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test eax, eax
jne 0x49b137
mov ecx, dword [ebp + 8]
lea ecx, [ecx + 8]
call fcn.00499d40
mov dword [ebx], eax
mov eax, 1
mov dword [ebx + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 1
jne case.0x49ab3e.69
mov eax, dword [ebp + 0x18]
xor edx, edx
mov ecx, dword [eax + 4]
call fcn.0046d2d0
mov edi, dword [ebp + 8]
add edi, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x49b17d
sub eax, dword [edi + 0x30]
mov ecx, edi
sub eax, dword [edi + 8]
mov esi, dword [edi]
push 1
cdq
push edx
push eax
call dword [esi + 0x14]
mov dword [edi + 0x2c], 0
jmp 0x49b18f
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x49b196
mov eax, dword [edi]
push ecx
push dword [edi + 0x30]
mov ecx, edi
call dword [eax + 0x10]
mov dword [edi + 8], 0
xor eax, eax
mov ecx, edi
mov word [edi + 0x28], ax
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
call eax
mov esi, dword [edi]
mov ecx, edi
push 0
push dword [esp + 0x18]
mov dword [esp + 0x24], eax
push dword [esp + 0x20]
mov esi, dword [esi + 0x14]
mov dword [esp + 0x2c], edx
call esi
test al, al
je 0x49b20e
push dword [edi + 0x34]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x49b20e
mov edx, dword [esp + 0x20]
cmp dword [esp + 0x14], edx
jg 0x49b1eb
mov ecx, dword [esp + 0x18]
jl 0x49b1f5
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jae 0x49b1ef
jmp 0x49b1f5
mov eax, dword [esp + 0x1c]
mov ecx, eax
mov dword [esp + 0x14], edx
mov eax, dword [edi]
push 0
push dword [esp + 0x18]
push ecx
mov ecx, edi
call dword [eax + 0x14]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x1c]
call eax
jmp 0x49b213
or eax, 0xffffffff
or edx, eax
mov dword [ebx], eax
mov dword [ebx + 4], edx
cmp eax, 0xffffffff
jne 0x49adc0
cmp edx, eax
jne 0x49adc0
mov dword [ebx], 0x4b8c14
mov eax, dword [0x4e211c]
mov dword [ebx + 8], 0
test byte [eax + 0x100], 1
je 0x49adc0
mov ecx, dword [0x4e73a0]
push 0x4b8c14
push str.FileObject
push 0x4cefc4
call fcn.004473a0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test eax, eax
jne 0x49adc0
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x49b28c
mov eax, dword [esi + 0x38]
add eax, dword [esi + 0x10]
cmp ecx, eax
jb 0x49b2d0
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x18]
call eax
mov edi, eax
mov eax, edx
mov dword [esp + 0x20], eax
test eax, eax
jl 0x49b0fe
jg 0x49b2b1
test edi, edi
jb 0x49b0fe
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x1c]
call eax
cmp dword [esp + 0x20], edx
jg 0x49b0fe
jl 0x49b2d0
cmp edi, eax
jae 0x49b0fe
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test eax, eax
jne 0x49adc0
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x34]
test eax, eax
je 0x49b323
sub eax, dword [edi + 0x38]
lea ecx, [edi + 8]
sub eax, dword [edi + 0x10]
mov esi, dword [edi + 8]
push 1
cdq
push edx
push eax
call dword [esi + 0x14]
mov dword [edi + 0x34], 0
jmp 0x49b337
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x49b33e
mov eax, dword [edi + 8]
push ecx
push dword [edi + 0x38]
lea ecx, [edi + 8]
call dword [eax + 0x10]
mov dword [edi + 0x10], 0
xor eax, eax
mov word [edi + 0x30], ax
mov eax, dword [edi + 0x3c]
mov dword [ebx], eax
jmp 0x49af00
mov edi, dword [ebp + 8]
test eax, eax
jle 0x49b3af
mov esi, dword [ebp + 0x18]
mov ecx, dword [esi + 4]
call fcn.0046d1c0
mov ecx, dword [esi + 4]
test eax, eax
je 0x49b370
xor edx, edx
call fcn.0046d2d0
jmp 0x49b39c
mov eax, dword [ecx + 8]
cmp eax, 5
ja case.0x49b378.1
jmp dword [eax*4 + 0x49b4f8]
mov ecx, dword [ecx]
push 0
push 1
call fcn.004016c0
jmp 0x49b395
mov eax, dword [ecx]
jmp 0x49b395
mov eax, 0x4b8c14
mov ecx, eax
call fcn.00429220
cmp eax, 0xffffffff
je 0x49b3af
and eax, 0x7fffffff
lea ecx, [edi + 8]
push eax
call fcn.00404bc0
mov ecx, dword [edi + 0x18]
cmp ecx, 0x4b0
je 0x49b40e
cmp ecx, 0xfde9
je 0x49b3f2
mov esi, dword [ebx + 4]
push 0xa
lea eax, [esi + 4]
mov dword [esi], 0x500043
push eax
push ecx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itow]
add esp, 0xc
mov dword [ebx + 8], 0
mov dword [ebx], esi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov esi, str.UTF_8
mov dword [ebx + 8], 0
mov dword [ebx], esi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov esi, str.UTF_16
mov dword [ebx + 8], 0
mov dword [ebx], esi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
test eax, eax
jne 0x49b439
mov ecx, dword [ebp + 8]
lea ecx, [ecx + 8]
call fcn.00404b90
mov dword [ebx + 8], 0
mov eax, 1
mov dword [ebx], 0x4b8c14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
ret 0x18