Function at 0x422560
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5052c4
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x557200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, edx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x11c], ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov ecx, esi
mov dword [ebp - 4], eax
call fcn.00421890
test al, al
je 0x422989
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4225e9
mov eax, dword [esi]
push eax
sub esp, 0x18
mov ecx, esp
push 9
push str._s.backup
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004084c0
lea eax, [ebp - 0x134]
push eax
call fcn.00433e40
add esp, 0x20
lea ecx, [ebp - 0x5c]
push eax
call fcn.00412080
mov edx, dword [ebp - 0x120]
cmp edx, 8
jb 0x422667
mov ecx, dword [ebp - 0x134]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42265d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423479
push edx
push ecx
call fcn.004b51c1
add esp, 8
push 0
push 0
lea edx, [ebp - 0x5c]
mov ecx, esi
call fcn.004247d0
add esp, 8
test al, al
jne 0x422989
push 0x17
xor eax, eax
mov dword [ebp - 0x2c], 0
push str.FileUtil::WriteTextFile
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.004084c0
push 0x5c
push 0x536eb0
mov byte [ebp - 4], 1
call fcn.004b69f9
add esp, 8
test eax, eax
je 0x4226d5
push 0x5c
push 0x536eb0
call fcn.004b69f9
add esp, 8
lea edx, [eax + 2]
jmp 0x4226da
mov edx, 0x536eb0
mov ecx, edx
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422700
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004084c0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
cmovae eax, dword [ebp - 0x5c]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x110], esp
push 0x17
push str.RenameFile_failed:___s_
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004084c0
mov byte [ebp - 4], 3
call fcn.00408db0
push 0x229
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x44]
push eax
push 6
push dword [0x560f9c]
call fcn.0040d3e0
mov byte [ebp - 4], 1
add esp, 0x30
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x4227bc
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4227b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42347e
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4227fa
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4227f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42347e
push edx
push ecx
call fcn.004b51c1
add esp, 8
push 0
mov dl, 1
mov ecx, esi
call fcn.00423530
add esp, 4
test al, al
jne 0x422989
push 0x17
xor eax, eax
mov dword [ebp - 0x2c], 0
push str.FileUtil::WriteTextFile
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.004084c0
push 0x5c
push 0x536eb0
mov byte [ebp - 4], 4
call fcn.004b69f9
add esp, 8
test eax, eax
je 0x422865
push 0x5c
push 0x536eb0
call fcn.004b69f9
add esp, 8
lea edx, [eax + 2]
jmp 0x42286a
mov edx, 0x536eb0
mov ecx, edx
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422890
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004084c0
mov byte [ebp - 4], 5
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4228b7
mov eax, dword [esi]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x110], esp
push 0x17
push str.RemoveFile_failed:___s_
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004084c0
mov byte [ebp - 4], 6
call fcn.00408db0
push 0x22c
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x44]
push eax
push 6
push dword [0x560f9c]
call fcn.0040d3e0
mov byte [ebp - 4], 4
add esp, 0x30
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x42294b
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422941
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423483
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x422989
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42297f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423483
push edx
push ecx
call fcn.004b51c1
add esp, 8
xor edi, edi
mov byte [ebp - 4], 7
mov ecx, esi
mov dword [ebp - 0x118], edi
call fcn.00421890
test al, al
je 0x422bc5
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4229ae
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov eax, esi
and edi, 0xfffffffe
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x118], edi
jb 0x4229ca
mov eax, dword [esi]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x422bc5
push 0x17
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2c]
push str.FileUtil::WriteTextFile
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.004084c0
push 0x5c
push 0x536eb0
mov byte [ebp - 4], 8
call fcn.004b69f9
add esp, 8
test eax, eax
je 0x422a25
push 0x5c
push 0x536eb0
call fcn.004b69f9
add esp, 8
lea edx, [eax + 2]
jmp 0x422a2a
mov edx, 0x536eb0
mov ecx, edx
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea ebx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422a50
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004084c0
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x134]
call fcn.00434e10
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
jb 0x422a8c
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x110], esp
push 0x27
push str.SetFileAttributes_returned_error_:___s_
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004084c0
mov byte [ebp - 4], 0xb
call fcn.00408db0
push 0x23c
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x44]
push eax
push 6
push dword [0x560f9c]
call fcn.0040d3e0
mov byte [ebp - 4], 9
add esp, 0x30
mov edx, dword [ebp - 0x120]
cmp edx, 8
jb 0x422b26
mov ecx, dword [ebp - 0x134]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422b1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423488
push edx
push ecx
call fcn.004b51c1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 7
mov word [ebp - 0x134], ax
cmp edx, 8
jb 0x422b81
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422b77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423488
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x422bbf
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422bb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423488
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov ebx, dword [ebp - 0x13c]
push 0xb0
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.004b73e0
add esp, 0xc
mov dword [ebp - 0x10c], 0x5379e0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x110], 1
mov dword [ebp - 0xa4], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0xa8], 0x60
call fcn.004216e0
lea eax, [ebp - 0x108]
mov dword [ebp - 0x68], 0
push 0x20
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x6c], eax
call fcn.0042a9b0
cmp dword [ebp - 0x6c], 0
movzx eax, ax
mov word [ebp - 0x64], ax
jne 0x422c75
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0xa4]
or eax, 4
push 0
or eax, 4
push eax
call fcn.00421660
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x110], eax
lea ecx, [ebp - 0x108]
call fcn.0042a500
mov byte [ebp - 4], 0xf
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x422cbc
mov eax, dword [esi]
sub esp, 8
lea ecx, [ebp - 0x108]
push eax
call fcn.0042a3c0
test eax, eax
lea ecx, [ebp - 0x10c]
mov eax, dword [ebp - 0x10c]
push 0
mov eax, dword [eax + 4]
je 0x422cf1
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x422d05
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00421660
sub ebx, 0
je 0x422dcc
sub ebx, 1
jne 0x422e9c
push 0x34
call fcn.004b4f40
mov ebx, eax
add esp, 4
mov dword [ebp - 0x110], ebx
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x10
call fcn.00420b20
lea eax, [ebp - 0x150]
mov dword [ebx], vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
push eax
mov byte [ebp - 4], 0xf
call fcn.004a2856
add esp, 4
push ebx
push eax
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0x11
call fcn.0042acf0
push eax
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0x12
push eax
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x10c]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.00429910
mov ecx, dword [ebp - 0x13c]
test ecx, ecx
je 0x422da2
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x422da2
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x144]
test ecx, ecx
je 0x422dbd
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x422dbd
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x14c]
jmp 0x422e87
push 0x34
call fcn.004b4f40
mov ebx, eax
add esp, 4
mov dword [ebp - 0x110], ebx
push ecx
mov ecx, ebx
mov byte [ebp - 4], 0x13
call fcn.00420b20
mov dword [ebx], vtable.std::codecvt_utf16_wchar_t__1114111__4_.0
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0xdc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x110], ecx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x148]
call fcn.0042acf0
push eax
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 0x15
push eax
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x10c]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.00429910
mov ecx, dword [ebp - 0x14c]
test ecx, ecx
je 0x422e62
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x422e62
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x144]
test ecx, ecx
je 0x422e7d
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x422e7d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x110]
test ecx, ecx
je 0x422e9c
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x422e9c
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, dword [ebp - 0x11c]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x422eac
mov eax, dword [ecx]
push dword [ecx + 0x10]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0042b850
add esp, 0xc
lea ecx, [ebp - 0x108]
call fcn.0042a2d0
test eax, eax
jne 0x422ef9
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x10c]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00421660
cmp byte [ebp + 0xc], 0
je 0x423103
or edi, 1
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x118], edi
jb 0x422f14
mov esi, dword [esi]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x423103
push 0x17
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2c]
push str.FileUtil::WriteTextFile
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.004084c0
push 0x5c
push 0x536eb0
mov byte [ebp - 4], 0x16
call fcn.004b69f9
add esp, 8
test eax, eax
je 0x422f6f
push 0x5c
push 0x536eb0
call fcn.004b69f9
add esp, 8
lea edx, [eax + 2]
jmp 0x422f74
mov edx, 0x536eb0
mov ecx, edx
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422f94
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.004084c0
mov byte [ebp - 4], 0x17
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x134]
call fcn.00434e10
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x14], 8
jb 0x422fd0
mov eax, dword [eax]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x11c], esp
push 0x27
push str.SetFileAttributes_returned_error_:___s_
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004084c0
mov byte [ebp - 4], 0x19
call fcn.00408db0
push 0x25a
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0x44]
push eax
push 6
push dword [0x560f9c]
call fcn.0040d3e0
mov byte [ebp - 4], 0x17
add esp, 0x30
mov edx, dword [ebp - 0x120]
cmp edx, 8
jb 0x42306a
mov ecx, dword [ebp - 0x134]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x423060
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42348d
push edx
push ecx
call fcn.004b51c1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 7
mov word [ebp - 0x134], ax
cmp edx, 8
jb 0x4230c5
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4230bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42348d
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x423103
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4230f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42348d
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x110], eax
lea ecx, [ebp - 0x108]
call fcn.004295a0
mov eax, dword [ebp - 0x10c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x110], eax
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x1a
push eax
mov dword [ebp - 0xa4], vtable.std::ios_base.0
call fcn.004a28dd
mov edx, dword [ebp - 0x48]
add esp, 4
cmp edx, 8
jb 0x4231b3
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4231a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423492
push edx
push ecx
call fcn.004b51c1
add esp, 8
mov al, 1
jmp 0x42345d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b4f32
mov esp, ebp
pop ebp
ret
call fcn.004b9cae
call fcn.004b9cae
call fcn.004b9cae
call fcn.004b9cae
call fcn.004b9cae
call fcn.004b9cae
int3