Function at 0x41ae94
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
mov edi, 0x4beb4c
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
test byte [esi + 0xd], 2
je 0x41aeb7
xor esi, esi
jmp 0x41ba94
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
lea ecx, [ebp + 8]
mov dword [ebp - 0x2c], eax
call fcn.0040ddcf
test byte [esi + 0xc], 1
mov byte [ebp - 0x1d], 0
mov byte [ebp - 6], 0
mov byte [ebp - 1], 0
je 0x41aee7
cmp dword [0x4bde94], 0
mov byte [ebp - 0x19], 1
jne 0x41aeeb
mov byte [ebp - 0x19], 0
or dword [ebp - 0x44], 0xffffffff
cmp dword [ebp + 0xc], 0xffffffff
push ebx
mov byte [ebp - 0xd], 0
mov byte [ebp - 3], 0
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x48], 0xfff80000
mov ebx, 0x4a39d4
jne 0x41af29
mov eax, dword [0x4bc2b8]
mov dword [ebp - 0x48], eax
mov eax, dword [0x4bc2bc]
mov byte [ebp - 6], 2
mov dword [ebp - 0x44], eax
mov dword [ebp + 0xc], ebx
mov ecx, dword [ebp + 8]
xor eax, eax
cmp word [ecx], ax
lea ecx, [ebp - 0x38]
setne byte [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], al
mov byte [ebp - 2], al
mov dword [ebp - 0x50], eax
call fcn.0043d3a5
mov al, byte [esi + 0xc]
mov cl, al
and cl, 1
mov byte [ebp - 0x12], cl
mov cl, al
shr al, 2
and al, 1
mov byte [ebp - 0x1a], al
mov al, byte [esi + 0xc]
shr al, 3
and al, 1
mov byte [ebp - 0x1b], al
mov al, byte [esi + 0xc]
shr al, 4
and al, 1
mov byte [ebp - 0x11], al
mov al, byte [esi + 0xc]
mov dword [ebp - 0x4c], ebx
mov bl, byte [esi + 0xc]
xor edx, edx
shr cl, 1
shr al, 5
and cl, 1
and al, 1
shr bl, 6
push edi
mov dword [ebp - 0x54], edx
mov byte [ebp - 5], 0xff
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xf], al
and bl, 1
mov byte [ebp - 0x13], 0xff
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x3c], edx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ecx, dword [ebp + 8]
mov ax, word [ecx]
cmp ax, 0x2d
mov dword [ebp - 0xc], 0x2a
jne 0x41afc7
mov dword [ebp - 0xc], 0x2d
cmp ax, word [ebp - 0xc]
jne 0x41b025
mov ax, word [ebp - 0xc]
cmp word [ecx + 2], ax
jne 0x41b025
xor eax, eax
inc eax
add ecx, 4
inc dword [ebp - 0x24]
push eax
push ecx
push 0x4a7568
mov dword [ebp - 0x18], eax
mov dword [ebp + 8], ecx
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x41b117
mov eax, dword [ebp + 8]
cmp word [eax + 2], 0x2d
jne 0x41b0f5
mov byte [ebp - 0x11], 0
lea eax, [ebp + 8]
push eax
call fcn.00407fcf
pop ecx
mov ecx, dword [ebp + 8]
mov ax, word [ebp - 0xc]
cmp word [ecx], ax
je 0x41afcd
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
je 0x41b03f
cmp word [eax], 0
mov byte [ebp - 1], 1
je 0x41b043
mov byte [ebp - 1], 0
cmp word [eax], 0x2a
jne 0x41b069
inc eax
inc eax
mov dword [ebp + 8], eax
cmp word [eax], 0x3f
mov byte [ebp - 4], 1
jne 0x41b061
inc eax
inc eax
mov byte [ebp - 2], 1
mov dword [ebp + 8], eax
lea ecx, [ebp + 8]
call fcn.0040ddcf
push dword [ebp + 8]
call fcn.004110a0
cmp byte [ebp - 4], 0
pop ecx
mov dword [ebp + 8], eax
je 0x41b08b
cmp byte [ebp - 2], 0
jne 0x41b08b
cmp word [eax], 0
mov byte [ebp - 2], 1
je 0x41b08f
mov byte [ebp - 2], 0
mov ax, word [eax]
xor ecx, ecx
cmp ax, cx
jne 0x41b0a7
cmp dword [ebp - 0x18], ecx
jne 0x41b0a7
cmp byte [ebp - 2], cl
jne 0x41b4a9
cmp dword [0x4bc2bc], ecx
jl 0x41b4a9
jg 0x41b0c1
cmp dword [0x4bc2b8], ecx
jbe 0x41b4a9
cmp byte [ebp - 6], 0
jg 0x41b4a9
cmp ax, cx
jne 0x41b47b
mov al, byte [esi + 0xc]
and al, 1
cmp byte [ebp - 0x12], al
jne 0x41b47b
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x24], eax
jne 0x41b47b
xor esi, esi
jmp 0x41ba83
movsx ecx, byte [0x4bdf30]
xor eax, eax
mov al, byte [esi + 0xd]
shr eax, 1
and eax, 1
or eax, ecx
jne 0x41b00f
mov byte [ebp - 0x11], 1
jmp 0x41b00f
push 5
push dword [ebp + 8]
push str.lock:
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x41b1c2
inc byte [ebp - 1]
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
add dword [ebp + 8], 0xa
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0047e044
mov eax, dword [0x4bc2bc]
test eax, eax
pop ecx
pop ecx
jl 0x41b193
mov ecx, dword [0x4bc2b8]
jg 0x41b164
test ecx, ecx
jbe 0x41b193
cmp byte [ebp - 6], 1
je 0x41b193
cmp byte [ebp - 1], 1
jne 0x41b00f
mov edx, dword [ebp - 0x34]
cmp ecx, edx
jne 0x41b00f
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
jne 0x41b00f
mov byte [ebp - 6], 1
mov dword [ebp - 0x48], edx
jmp 0x41b1a6
mov ecx, dword [ebp - 0x30]
test ecx, ecx
jl 0x41b1ae
mov eax, dword [ebp - 0x34]
jg 0x41b1a3
test eax, eax
jbe 0x41b1ae
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
jmp 0x41b00f
or dword [ebp - 0x44], 0xffffffff
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x48], 0xfff80000
jmp 0x41b00f
push 3
push dword [ebp + 8]
push 0x4a755c
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x41b212
mov eax, dword [ebp + 8]
mov ax, word [eax + 6]
cmp ax, 0x31
jb 0x41b20b
cmp ax, 0x39
ja 0x41b20b
movsx ecx, byte [0x4bdf30]
xor eax, eax
mov al, byte [esi + 0xd]
shr eax, 1
and eax, 1
or eax, ecx
jne 0x41b00f
mov bl, 1
jmp 0x41b00f
xor bl, bl
jmp 0x41b00f
push 1
push dword [ebp + 8]
push 0x4a7558
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x41b239
mov eax, dword [ebp + 8]
cmp word [eax + 2], 0x2d
setne byte [ebp - 0x1a]
jmp 0x41b00f
push 2
push dword [ebp + 8]
push 0x4a7554
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x41b260
mov eax, dword [ebp + 8]
cmp word [eax + 4], 0x2d
setne byte [ebp - 0x1b]
jmp 0x41b00f
push 2
push dword [ebp + 8]
push 0x4a7550
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x41b2a8
mov eax, dword [ebp + 8]
mov ax, word [eax + 4]
cmp ax, 0x31
jb 0x41b29f
cmp ax, 0x39
ja 0x41b29f
cmp byte [0x4bdf30], 0
jne 0x41b00f
mov byte [ebp - 0xf], 1
jmp 0x41b00f
mov byte [ebp - 0xf], 0
jmp 0x41b00f
push 4
push dword [ebp + 8]
push str.RAW
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x41b2f0
mov eax, dword [ebp + 8]
mov ax, word [eax + 8]
cmp ax, 0x31
jb 0x41b2e7
cmp ax, 0x39
ja 0x41b2e7
cmp byte [0x4bdf30], 0
jne 0x41b00f
mov byte [ebp - 0xe], 1
jmp 0x41b00f
mov byte [ebp - 0xe], 0
jmp 0x41b00f
push 3
push dword [ebp + 8]
push 0x4a7544
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x41b32b
mov eax, dword [ebp + 8]
mov ax, word [eax + 6]
cmp ax, 0x31
jb 0x41b31e
cmp ax, 0x39
ja 0x41b31e
push 3
pop eax
jmp 0x41b320
xor eax, eax
mov byte [ebp - 4], al
mov byte [ebp - 0x13], al
jmp 0x41b00f
push 2
lea eax, [ebp + 8]
push eax
push 0x4a7540
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x41b34b
mov byte [ebp - 4], 1
jmp 0x41b019
push 3
lea eax, [ebp + 8]
push eax
push 0x4a753c
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x41b368
mov byte [ebp - 2], 1
jmp 0x41b342
push 3
push dword [ebp + 8]
push 0x4a7538
call fcn.00438aa1
add esp, 0xc
test al, al
je 0x41b3b7
mov eax, dword [ebp + 8]
mov ax, word [eax + 6]
inc dword [ebp - 0x3c]
cmp ax, 0x31
jb 0x41b3aa
cmp ax, 0x39
ja 0x41b3aa
cmp byte [0x4bdf30], 0
jne 0x41b00f
mov byte [ebp - 5], 1
jmp 0x41b00f
and byte [esi + 0xc], 0xfe
mov byte [ebp - 5], 0
jmp 0x41b00f
push 1
lea eax, [ebp + 8]
push eax
push 0x4a7534
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x41b3d7
mov byte [ebp - 0xd], 1
jmp 0x41b019
push 3
lea eax, [ebp + 8]
push eax
push 0x4a7530
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x41b3f7
mov byte [ebp - 3], 1
jmp 0x41b019
push 4
lea eax, [ebp + 8]
push eax
push str.vol
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x41b417
mov byte [ebp - 3], 3
jmp 0x41b019
push 4
lea eax, [ebp + 8]
push eax
push str.part
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x41b437
mov byte [ebp - 3], 2
jmp 0x41b019
push 3
lea eax, [ebp + 8]
push eax
push 0x4a751c
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x41b457
mov byte [ebp - 0x1c], 1
jmp 0x41b019
push 4
lea eax, [ebp + 8]
push eax
push str.abak
call fcn.0043f0e5
add esp, 0xc
test al, al
je 0x41b00f
mov byte [ebp - 0x14], 1
jmp 0x41b019
push 0
push 0
push 5
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.0041ab5d
push edi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
push 1
call fcn.0040ecd2
pop ecx
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
push 5
pop esi
jmp 0x41ba83
cmp byte [ebp - 1], 0
jne 0x41b9ec
xor edi, edi
cmp byte [esi + 0x90], 0
je 0x41b4c7
cmp ax, di
mov byte [ebp - 1], 1
jne 0x41b4cb
mov byte [ebp - 1], 0
cmp byte [ebp - 0x10], 0
je 0x41b4e4
test byte [esi + 0xc], 1
je 0x41b4e4
push edi
push edi
push edi
push dword [ebp - 0x2c]
mov ecx, esi
call fcn.0041ab5d
cmp byte [ebp - 1], 0
je 0x41b5b5
lea ecx, [ebp - 0x3c]
mov byte [esi + 0x90], 0
call fcn.0043d3a5
push str._CurFile_
lea ecx, [ebp - 0xc]
call fcn.00445746
push 1
push edi
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0xc]
mov ecx, esi
call fcn.0044b25d
lea ecx, [ebp - 0xc]
call fcn.00437884
push 0x4a74ec
lea ecx, [ebp - 0x24]
call fcn.00445746
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x24]
call fcn.0043d411
test byte [esi + 0xc], 1
mov eax, dword [0x4bdf90]
mov dword [ebp - 0xc], eax
je 0x41b55b
push dword [ebp + 0xc]
mov ecx, esi
push 0x11
push edi
push dword [ebp - 0x24]
call fcn.0041ab5d
jmp 0x41b572
cmp dword [0x4bdf8c], edi
jne 0x41b572
push 0x10000
mov ecx, 0x4bdf8c
call fcn.0043d3ea
mov edi, dword [ebp - 0xc]
mov eax, dword [0x4bdf8c]
add edi, edi
add eax, edi
push eax
lea ecx, [ebp - 0x38]
call fcn.004457ae
mov eax, dword [ebp - 0xc]
mov dword [0x4bdf90], eax
mov eax, dword [0x4bdf8c]
and word [edi + eax], 0
cmp byte [ebp - 0x19], 0
je 0x41b5a3
mov byte [ebp - 0x10], 0
lea ecx, [ebp - 0x24]
call fcn.00437884
lea ecx, [ebp - 0x3c]
call fcn.00437884
xor edi, edi
push 1
call fcn.0040ecd2
cmp byte [ebp - 2], 0
pop ecx
je 0x41b5d1
cmp dword [ebp - 0x18], edi
jne 0x41b9ec
jmp 0x41ba7b
mov al, byte [0x4bdf31]
or al, byte [ebp - 0x1c]
je 0x41b67f
push 0
push 1
push 0x4a39d4
push 0x4a74e8
mov ecx, esi
call fcn.00412d3b
test eax, eax
je 0x41b67f
cmp dword [eax], 0
je 0x41b67f
add eax, 8
push 0x20
push eax
call fcn.0040ee0c
mov edx, eax
test edx, edx
pop ecx
pop ecx
je 0x41b67f
mov ecx, edx
call fcn.0040ee49
xor eax, eax
lea edi, [edx + 0x14]
mov dword [edi], eax
mov cl, byte [0x4c1012]
mov byte [edx + 5], cl
mov dword [edi], eax
mov cl, byte [0x4bdf30]
mov byte [edx + 6], cl
mov cl, byte [0x4bdf31]
mov byte [edx + 4], cl
mov ecx, dword [0x4bc2b8]
mov dword [edx + 8], ecx
mov ecx, dword [0x4bc2bc]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x4bde94]
push 0xffffffffffffffff
mov dword [edx + 0x10], ecx
push 0x4bdfa0
push str.__LOGS
mov ecx, esi
mov dword [0x4bde94], eax
call fcn.00412ddf
test eax, eax
je 0x41b67f
push dword [eax]
mov ecx, edi
call fcn.0044580a
mov eax, dword [0x4bde94]
test eax, eax
je 0x41b68f
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, dword [ebp + 8]
and dword [0x4bde94], 0
and dword [0x4bdf90], 0
or dword [0x4bc2bc], 0xffffffff
mov dword [0x4bc2b8], 0xfff80000
mov byte [0x4bdf31], 0
cmp word [edi], 0
je 0x41b9cf
cmp byte [ebp - 4], 0
mov cl, byte [0x4c1012]
setne al
and cl, 0xfe
or al, cl
cmp byte [ebp - 3], 0
mov byte [0x4c1012], al
je 0x41b805
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, 0x108
lea edi, [eax + eax]
push edi
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x50], eax
call fcn.0043d3ea
mov eax, dword [ebp - 0x54]
xor ecx, ecx
push ecx
add edi, eax
push edi
mov word [edi], cx
mov word [eax], cx
push 0x105
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.0043dae5
mov ax, word [edi]
add esp, 0x10
test ax, ax
je 0x41b805
cmp word [edi + 2], 0x3a
jne 0x41b805
and word [ebp - 0x2e], 0
test byte [ebp - 3], 1
mov word [ebp - 0x34], ax
mov word [ebp - 0x32], 0x3a
mov word [ebp - 0x30], 0x5c
mov dword [ebp + 8], edi
je 0x41b772
push dword [ebp - 0x50]
lea eax, [ebp - 0x34]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x41b772
mov eax, dword [ebp - 0xc]
cmp word [eax], 0
jne 0x41b7de
test byte [ebp - 3], 2
je 0x41b805
push 0xf0
lea ecx, [ebp - 0x18]
call fcn.0043d3c3
mov ax, word [edi]
mov ecx, dword [ebp - 0x18]
mov word [ecx], ax
mov ecx, dword [ebp - 0x18]
xor eax, eax
push eax
push eax
push eax
push 0xac
push 0xffffffffffffffff
mov word [ecx + 2], ax
lea eax, [ebp - 0x18]
push 0xffffffffffffffff
push eax
call fcn.004585a1
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
add esp, 0x1c
test ecx, ecx
jl 0x41b7fd
mov eax, dword [eax + 4]
test eax, eax
jle 0x41b7fd
push eax
push ecx
push str._Harddisk_uPartition_u_
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.00437884
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add edi, 6
push edi
mov edi, dword [ebp - 0xc]
lea eax, [edi + eax*2]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
mov dword [ebp + 8], edi
jmp 0x41b805
lea ecx, [ebp - 0x18]
call fcn.00437884
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
lea ecx, [eax + 0x9e]
cmp dword [0x4bdf94], ecx
mov dword [ebp - 0x24], eax
jge 0x41b834
add eax, 0x10008
push eax
mov ecx, 0x4bdf8c
mov dword [0x4bdf94], eax
call fcn.0043d3ea
mov eax, dword [0x4bdf8c]
xor edi, edi
mov word [eax], di
push dword [ebp + 8]
push str.CONOUT_
call fcn.00438ae0
test al, al
pop ecx
pop ecx
mov byte [ebp - 0x12], al
je 0x41b85f
push 0x102
call fcn.0043b87e
pop ecx
xor eax, eax
cmp byte [ebp - 0xd], al
push edi
setne al
push edi
mov ecx, 0x4bde94
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
lea eax, [eax + eax + 2]
push eax
push edi
push 7
push 0x40000000
push dword [ebp + 8]
call fcn.004050ca
mov cl, byte [ebp - 0x14]
neg eax
sbb eax, eax
neg eax
push eax
mov byte [0x4bdf31], cl
call fcn.00432951
mov dword [ebp - 0x50], eax
mov eax, dword [0x4bde94]
cmp eax, edi
pop ecx
je 0x41b8c9
mov edx, dword [ebp + 8]
xor ecx, ecx
cmp byte [ebp - 0xd], cl
mov dword [ebp - 0x4c], edx
je 0x41b8c9
push 2
lea edx, [ebp - 0x40]
push edx
xor edx, edx
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
cmp byte [ebp - 0x12], 0
jne 0x41b8f8
cmp dword [ebp - 0x3c], edi
jg 0x41b8f8
jl 0x41b8db
cmp dword [ebp - 0x40], edi
ja 0x41b8f8
mov eax, dword [0x4bdf8c]
mov word [eax], 0xfeff
mov eax, dword [0x4bdf8c]
mov word [eax + 2], di
mov dword [0x4bdf90], 1
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x4bdf90]
inc eax
push eax
mov eax, dword [0x4bdf8c]
push dword [ebp - 0x38]
lea eax, [eax + ecx*2]
push eax
call fcn.00405049
mov eax, dword [ebp - 0x24]
add dword [0x4bdf90], eax
add esp, 0xc
cmp byte [ebp - 0x10], 0
je 0x41b93b
test byte [esi + 0xc], 1
je 0x41b93b
push dword [ebp + 0xc]
mov ecx, esi
push edi
push edi
push dword [ebp - 0x2c]
call fcn.0041ab5d
mov eax, dword [0x4bde94]
cmp eax, edi
je 0x41b998
test byte [0x4be308], 2
je 0x41b998
push eax
call dword [sym.imp.KERNEL32.DLL_GetLargestConsoleWindowSize]
cmp ax, 0x55
mov dword [ebp - 0x2c], eax
jl 0x41b962
add word [ebp - 0x2c], 0xfffb
cmp word [ebp - 0x2a], 0x1e
jl 0x41b96e
add word [ebp - 0x2a], 0xfffb
mov eax, dword [ebp - 0x2c]
dec eax
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x2a]
dec eax
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x34]
push eax
push 1
push dword [0x4bde94]
mov word [ebp - 0x34], di
mov word [ebp - 0x32], di
call dword [sym.imp.KERNEL32.DLL_SetConsoleWindowInfo]
mov eax, dword [ebp - 0x4c]
cmp word [eax], di
je 0x41b9d1
cmp byte [ebp - 3], 0
jne 0x41b9d1
push 0x10e
lea ecx, [ebp - 0x38]
call fcn.0043d3ea
push edi
push dword [ebp - 0x38]
push 0x105
push dword [ebp - 0x4c]
call fcn.0043dae5
mov eax, dword [ebp - 0x38]
add esp, 0x10
mov dword [ebp - 0x4c], eax
jmp 0x41b9d1
xor edi, edi
push dword [ebp - 0x4c]
mov ecx, 0x4bdfa0
push str.__LOGS
call fcn.0043cc80
cmp dword [ebp - 0x50], edi
jne 0x41ba7b
cmp byte [ebp - 5], 0
jl 0x41b9fd
mov al, byte [esi + 0xc]
xor al, byte [ebp - 5]
and al, 1
xor byte [esi + 0xc], al
mov al, byte [ebp - 0x13]
test al, al
jl 0x41ba09
mov byte [0x4c1012], al
mov al, byte [ebp - 0xf]
and bl, 1
and al, 1
shl bl, 1
or bl, al
mov al, byte [ebp - 0x11]
and al, 1
shl bl, 1
or bl, al
mov al, byte [ebp - 0x1b]
and al, 1
shl bl, 1
or bl, al
mov al, byte [ebp - 0x1a]
and al, 1
shl bl, 1
or bl, al
mov al, byte [ebp - 0xe]
and al, 1
shl bl, 1
or bl, al
mov al, byte [esi + 0xc]
and al, 0x81
shl bl, 1
or bl, al
mov eax, dword [ebp - 0x44]
test eax, eax
mov byte [esi + 0xc], bl
jl 0x41ba64
jg 0x41ba54
cmp dword [ebp - 0x48], 0
jbe 0x41ba64
mov ecx, dword [ebp - 0x48]
mov dword [0x4bc2b8], ecx
mov dword [0x4bc2bc], eax
jmp 0x41ba7b
cmp byte [ebp - 0x1d], 0
je 0x41ba7b
or dword [0x4bc2bc], 0xffffffff
mov dword [0x4bc2b8], 0xfff80000
mov esi, dword [ebp - 0x50]
mov edi, 0x4beb4c
lea ecx, [ebp - 0x54]
call fcn.00437884
lea ecx, [ebp - 0x38]
call fcn.00437884
pop ebx
push edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
leave
ret 8