Function at 0x431a80
Capabilities:
Encrypt data using rc4 ksa
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a89f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b4
mov edx, dword [0x4e5bb8]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esp
push edx
mov al, byte [ebx + 0x34]
mov ecx, dword [ebx + 0x16c]
push 0
push str.CheckRamMarkBlock
push str.Debug
mov byte [ebp - 0x24], al
mov dword [ebp - 0x1c], ecx
call esi
mov byte [ebp - 0x12], al
mov eax, dword [0x4e5bb8]
push eax
push 0
push str.CheckCurBadBlock
push str.Debug
call esi
mov ecx, dword [0x4e5bb8]
mov byte [ebp - 0x11], al
push ecx
push 0
push str.CheckBBForDualChannel
push str.Debug
call esi
mov edx, dword [ebx + 8]
mov byte [ebp - 0x13], al
xor edi, edi
mov al, byte [edx + 9]
test al, al
je 0x431b14
mov al, byte [ebp - 0x12]
mov byte [ebp - 0x11], al
mov al, byte [ebp - 0x12]
test al, al
jne 0x431b22
mov al, byte [ebp - 0x11]
test al, al
je 0x431b9b
mov edx, dword [ebx + 0x1c]
lea ecx, [ebp - 0x2c0]
push ecx
push 0
push 1
push edx
call fcn.0048f830
add esp, 0x10
test eax, eax
je 0x431b9b
lea eax, [ebp - 0x2c0]
mov ecx, dword [ebx + 0x1c]
push eax
push 1
push 0
push 0
push 0
push 0
push 0x32
push 0
push 0x13
push 0xfa
push ecx
call fcn.00482460
add esp, 0x2c
test eax, eax
je 0x431b9b
mov al, byte [ebp - 0x13]
test al, al
jne 0x431b7e
mov al, byte [ebx + 0xa0]
test al, al
je 0x431b7e
xor edi, edi
jmp 0x431b9b
mov al, byte [ebp - 0x1b1]
xor edx, edx
mov dl, byte [ebx + 0xa0]
shr eax, 6
and eax, 1
cmp eax, edx
jne 0x431b9b
mov edi, 1
mov eax, dword [0x4e5bb8]
push eax
push 0
push str.SpecialHLF
push str.Scan
call esi
push 2
push 0xff
push 1
push 1
mov ecx, ebx
mov byte [ebp - 0x13], al
call fcn.00435a90
push 0
push 2
push 1
push 1
push 0
push 0
mov ecx, ebx
call fcn.0043e690
mov eax, dword [ebx + 8]
push 0xff
push 0
push 0
mov cl, byte [eax + 0xa1]
mov dl, byte [eax + 0xa0]
push ecx
push edx
mov ecx, ebx
call fcn.00436460
cmp byte [ebp + 0x10], 1
jne 0x431d81
mov esi, dword [ebp + 8]
push 1
push esi
mov ecx, ebx
call fcn.004651e0
mov eax, dword [ebx + 0x3a0]
test eax, eax
je 0x431d55
mov al, byte [ebx + 0xec]
mov ecx, eax
and ecx, 0xff
lea edx, [ecx + ebx]
mov cl, byte [ebx + 0xf2]
test byte [edx + 0x105], cl
jne 0x431c9b
xor al, 1
mov byte [ebx + 0xec], al
and eax, 0xff
add eax, ebx
test byte [eax + 0x105], cl
jne 0x431c6e
lea edx, [ebp - 0x98]
push 0x4d8340
push edx
mov dword [ebp - 0x98], 0x30500
call sub.MSVCRT.dll__CxxThrowException
mov dl, byte [ebx + 0xa0]
test dl, dl
je 0x431cdd
test byte [eax + 0x107], cl
jne 0x431cdd
lea eax, [ebp - 0x94]
push 0x4d8340
push eax
mov dword [ebp - 0x94], 0x30700
call sub.MSVCRT.dll__CxxThrowException
cmp byte [ebx + 0xa0], 0
je 0x431cdd
test byte [edx + 0x107], cl
jne 0x431cdd
xor al, 1
mov byte [ebx + 0xec], al
and eax, 0xff
test byte [eax + ebx + 0x107], cl
jne 0x431cdd
lea ecx, [ebp - 0x9c]
push 0x4d8340
push ecx
mov dword [ebp - 0x9c], 0x30700
call sub.MSVCRT.dll__CxxThrowException
mov ecx, ebx
call fcn.00447690
test edi, edi
je 0x431d35
mov al, byte [ebp - 0x11]
test al, al
je 0x431d35
mov ecx, ebx
call fcn.00448540
test eax, eax
je 0x431d35
mov al, byte [ebx + 0x12e]
test al, al
jne 0x431d35
push str.Check_Block...
lea edx, [ebx + 0xbc]
push 0x4df2f8
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebx + 4]
mov ecx, dword [0x4e60fc]
add esp, 0xc
push 0
push eax
push 0x40c
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
push esi
mov ecx, ebx
call fcn.00432900
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4327dd
push esi
mov ecx, ebx
call fcn.00452850
jmp 0x4327dd
xor ecx, ecx
xor eax, eax
mov cl, byte [ebx + 0x34]
mov edi, esi
imul ecx, dword [ebx + 0x16c]
mov edx, ecx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, ebx
call fcn.0044e500
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov eax, dword [0x4e5bb8]
push eax
push 0
push str.MarkPageStatus
push str.Scan
call esi
test al, al
je 0x432079
mov ax, word [ebx + 0x148]
mov esi, 0x4bb190
mov dword [ebp - 0x38], eax
and eax, 0xffff
lea edi, [ebx + 0x2ada]
mov byte [ebx + 0xf2], 4
lea ecx, [eax + eax]
mov word [ebx + 0xf4], 0
mov edx, ecx
mov dword [ebp + 0xc], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [ebx + 0xf4]
mov cl, byte [ebx + 0xf2]
push eax
push ecx
mov ecx, ebx
call fcn.00435d00
push 0x20
push 0xff
push 1
push 1
mov ecx, ebx
call fcn.00435a90
push 0
push 0x20
push 1
push 1
push 0
push 0
mov ecx, ebx
call fcn.0043e690
push 0xff
push 0
push 0
push 0x20
push 1
mov ecx, ebx
call fcn.00436460
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [ebp + 0xc]
mov byte [ebp + 0x10], 0x40
shl edx, 6
cmp edx, 0x800
mov dword [ebp - 0x18], 0
jle 0x431e5f
shr byte [ebp + 0x10], 1
mov eax, dword [ebp + 0x10]
and eax, 0xff
imul eax, dword [ebp + 0xc]
cmp eax, 0x800
jg 0x431e49
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
and eax, 0xff
mov edi, dword [ebp - 0x24]
imul eax, ecx
add eax, 0x1ff
and edi, 0xff
cdq
and edx, 0x1ff
mov esi, dword [ebp - 0x1c]
add eax, edx
mov edx, edi
imul edx, ecx
imul edx, esi
add edx, 0x1000
mov dword [ebp - 4], 0
sar eax, 9
push edx
mov byte [ebp - 0x40], al
call sub.MFC42.DLL_operatornew
add esp, 4
imul edi, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x48], 0
mov byte [ebp + 0xc], 0
mov al, byte [ebp + 0xc]
mov cl, byte [ebp - 0x24]
cmp al, cl
jae 0x432027
mov eax, dword [ebp + 0xc]
and eax, 0xff
mov dword [ebp - 0x3c], eax
mov cl, byte [eax + 0x4bb0f8]
mov al, byte [ebx + 0xee]
test al, cl
jne 0x431f0d
mov edi, dword [ebp - 0x3c]
mov edx, dword [ebp + 8]
imul edi, esi
mov ecx, esi
add edi, edx
mov edx, ecx
mov eax, 0xf0f0f0f0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
inc byte [ebp + 0xc]
jmp 0x431ebf
xor edi, edi
cmp edi, esi
jae 0x431f08
test byte [ebx + 0xb4], 0xe0
je 0x431f7f
test byte [ebx + 0xb4], 0x40
je 0x431f40
lea eax, [ebp - 0xa4]
push 0x4d8340
push eax
mov dword [ebp - 0xa4], 0xa0000
call sub.MSVCRT.dll__CxxThrowException
test byte [ebx + 0xb4], 0x20
je 0x431f64
lea ecx, [ebp - 0xac]
push 0x4d8340
push ecx
mov dword [ebp - 0xac], 0xa0100
call sub.MSVCRT.dll__CxxThrowException
lea edx, [ebp - 0x90]
push 0x4d8340
push edx
mov dword [ebp - 0x90], 0xa0001
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x48]
and eax, 0xff
mov dword [ebp - 0x54], eax
add ecx, eax
xor eax, eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x48], ecx
fild qword [ebp - 0x70]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], ecx
lea ecx, [ebx + 0xbc]
fmul qword [0x4b75e8]
fild qword [ebp - 0x80]
fdivp st(1)
fstp qword [ebp - 0x78]
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x78]
push edx
push eax
push str.Scan_Bad_Block:__.1f__...
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebx + 4]
mov eax, dword [0x4e60fc]
add esp, 0x10
push 0
push edx
push 0x40c
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
imul eax, esi
add eax, edi
and ecx, 0xffff
imul eax, ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x40]
add eax, ecx
mov ecx, dword [ebp + 0xc]
push 0xff
push eax
mov eax, dword [ebp + 0x10]
push edx
push eax
push edi
push 0xf3
push ecx
mov ecx, ebx
call fcn.0044e4a0
add edi, dword [ebp - 0x54]
jmp 0x431f0f
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
push 0
push edx
push edi
push eax
mov eax, dword [ebp - 0x24]
and eax, 0xff
mov ecx, ebx
imul eax, esi
push eax
call fcn.00478320
test edi, edi
je 0x432055
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
call dword [sym.imp.WINMM.dll_timeGetTime]
jmp 0x4327dd
mov al, byte [ebp - 0x13]
test al, al
je 0x432226
lea ecx, [ebp - 0xa8]
push str.IDS_STS_SPECIAL_HLF
push ecx
call dword [0x4e610c]
add esp, 8
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 2
call fcn.004a57ee
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x64]
lea eax, [ebx + 0xbc]
push edx
push 0x4df2f8
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebx + 4]
mov edx, dword [0x4e60fc]
add esp, 0xc
push 0
push ecx
push 0x40c
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov al, byte [ebp - 0x24]
xor edi, edi
test al, al
mov byte [ebp - 0x12], 0
mov byte [ebp + 0x13], 0
mov byte [ebp - 0x11], 0
jbe 0x4321da
test edi, edi
jne 0x4321da
mov eax, dword [ebp - 0x1c]
xor esi, esi
test eax, eax
jbe 0x4321c7
lea eax, [ebp - 0x2c0]
mov ecx, ebx
push eax
push esi
push 0
call fcn.00445880
mov al, byte [ebp - 0x2c0]
cmp al, 0xaa
je 0x43213a
cmp byte [ebp - 0x2be], 0xaa
jne 0x43214c
cmp byte [ebp - 0x2bf], 0xaa
je 0x4321bb
cmp byte [ebp - 0x2bd], 0xaa
je 0x4321bb
cmp al, 0xaa
je 0x432193
cmp byte [ebp - 0x2be], 0xaa
je 0x432193
cmp byte [ebp - 0x2bf], 0xaa
je 0x43216b
cmp byte [ebp - 0x2bd], 0xaa
jne 0x4321bb
mov al, byte [ebp + 0x13]
mov edi, 1
inc al
mov byte [ebx + 0xf2], 4
cmp al, 5
mov word [ebx + 0xf4], di
mov byte [ebx + 0x850], 0x1e
mov byte [ebp + 0x13], al
ja 0x4321c7
jmp 0x4321bb
mov al, byte [ebp - 0x12]
mov byte [ebx + 0xf2], 4
inc al
mov word [ebx + 0xf4], 2
cmp al, 5
mov edi, 1
mov byte [ebx + 0x850], 0x1f
mov byte [ebp - 0x12], al
ja 0x4321c7
mov eax, dword [ebp - 0x1c]
inc esi
cmp esi, eax
jb 0x432116
mov al, byte [ebp - 0x11]
mov cl, byte [ebp - 0x24]
inc al
cmp al, cl
mov byte [ebp - 0x11], al
jb 0x432101
mov cx, word [ebx + 0xf4]
mov dl, byte [ebx + 0xf2]
push ecx
push edx
mov ecx, ebx
call fcn.00435d00
mov eax, dword [ebx + 8]
push 0xff
push 0
push 0
mov cl, byte [eax + 0xa1]
mov dl, byte [eax + 0xa0]
push ecx
push edx
mov ecx, ebx
call fcn.00436460
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov eax, dword [0x4e5bb8]
push eax
push 0
push str.SpecialPowerFlash
push str.Scan
call esi
mov ecx, dword [0x4e5bb8]
mov dword [ebp - 0xb0], eax
push ecx
push 0
push str.HighLevelScanMask
push str.Scan
call esi
mov cl, byte [ebx + 0x3484]
mov byte [ebp - 0x58], al
test cl, cl
je 0x43227a
cmp cl, 2
jne 0x43226e
mov al, 1
mov byte [ebp - 0x58], al
jmp 0x43227e
cmp cl, 1
jne 0x43227a
mov al, 2
mov byte [ebp - 0x58], al
jmp 0x43227e
test al, al
je 0x432286
test al, 3
jne 0x432286
mov byte [ebp - 0x58], 0
mov edx, dword [ebp + 8]
mov ecx, ebx
push edx
call fcn.004567b0
mov eax, dword [ebp - 0x24]
and eax, 0xff
imul eax, dword [ebp - 0x1c]
mov dword [ebp - 0x84], eax
xor eax, eax
mov al, byte [ebx + 0x14c]
shl eax, 9
push eax
call sub.MFC42.DLL_operatornew
xor ecx, ecx
mov esi, eax
mov cl, byte [ebx + 0x14c]
xor eax, eax
shl ecx, 9
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [ebp - 0x50], esi
rep stosb byte es:[edi], al
mov al, byte [ebp - 0x24]
mov byte [ebp - 0x44], 0
test al, al
jbe 0x4327b6
mov eax, dword [ebp - 0x1c]
mov edi, esi
neg eax
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
sub edi, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x48], 0x4bb0f8
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x48]
add ecx, eax
mov dword [ebp - 0x28], ecx
mov cl, byte [ebx + 0xee]
mov al, byte [edx]
test cl, al
je 0x432783
cmp byte [ebx + 0x12e], 3
jne 0x43237c
mov cl, byte [ebx + 0x14c]
mov edx, dword [ebp - 0x44]
push esi
push ecx
push edx
mov ecx, ebx
call fcn.00445830
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov al, byte [ebx + 0x14c]
mov esi, ecx
shl eax, 9
cmp ecx, eax
jb 0x432358
mov esi, eax
test esi, esi
jbe 0x4325da
mov eax, dword [ebp - 0x28]
cmp byte [edi + eax], 0
setne cl
dec ecx
and ecx, 0xf0
mov byte [eax], cl
inc eax
dec esi
jne 0x432363
jmp 0x4325da
mov cl, byte [ebx + 0x141]
mov eax, dword [ebp - 0x1c]
mov esi, ecx
xor edx, edx
and esi, 0xff
mov byte [ebp - 0x4c], 0
div esi
test cl, cl
mov dword [ebp - 0x2c], eax
jbe 0x4325da
cmp word [ebx + 0x142], 0
mov dword [ebp - 0x30], 0
jbe 0x43257e
movzx ax, byte [ebp - 0x4c]
imul eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
and esi, 0xffff
mov edx, esi
and edx, 0x800003ff
jns 0x4323dc
dec edx
or edx, 0xfffffc00
inc edx
jne 0x432462
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x2c]
and eax, 0xff
and ecx, 0xffff
imul eax, ecx
mov edi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x84]
add eax, edi
xor edi, edi
add eax, esi
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xc0], edx
fild qword [ebp - 0xb8]
mov dword [ebp - 0xbc], edi
sub esp, 8
lea eax, [ebx + 0xbc]
fmul qword [0x4b75e8]
fild qword [ebp - 0xc0]
fdivp st(1)
fstp qword [esp]
push str.Scan_Bad_Block:__.1f__...
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebx + 4]
mov edx, dword [0x4e60fc]
add esp, 0x10
push edi
push ecx
push 0x40c
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
mov ax, word [ebx + 0x142]
sub eax, esi
cmp eax, 0x100
mov esi, eax
jl 0x43247b
mov esi, 0x100
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x34], esi
test eax, eax
je 0x4324aa
cmp byte [ebx + 0x12e], 2
jne 0x4324aa
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x2c0]
push eax
push esi
push ecx
push edx
mov ecx, ebx
call fcn.004457e0
jmp 0x4324c1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x2c0]
push eax
push esi
push ecx
push edx
mov ecx, ebx
call fcn.00445790
test si, si
jbe 0x4324f4
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x34]
and esi, 0xffff
add esi, ecx
lea edx, [ebp - 0x2c0]
and edi, 0xffff
mov al, byte [esi]
mov cl, byte [edx]
cmp al, cl
ja 0x4324ed
mov al, cl
mov byte [esi], al
inc edx
inc esi
dec edi
jne 0x4324e3
mov ecx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x34]
and ecx, 0xff
xor al, al
mov dword [ebp - 0x40], ecx
mov byte [ebp + 0x13], al
xor ecx, ecx
mov esi, dword [ebp - 0x40]
mov edx, 1
shl edx, cl
test esi, edx
je 0x43254c
movzx si, al
cmp si, di
jae 0x43254c
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
and esi, 0xffff
and eax, 0xffff
add eax, esi
add eax, edx
mov edx, edi
and edx, 0xffff
sub edx, esi
inc edx
shr edx, 1
mov byte [eax], 0xf0
add eax, 2
dec edx
jne 0x432543
mov al, byte [ebp + 0x13]
inc al
inc ecx
cmp al, 2
mov byte [ebp + 0x13], al
jb 0x43250a
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
add esi, 0x100
add ecx, 0x100
cmp si, word [ebx + 0x142]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], ecx
jb 0x4323c4
mov dx, word [ebx + 0x142]
cmp dx, word [ebp - 0x2c]
jae 0x4325c4
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x4c]
and esi, 0xffff
and edi, 0xff
imul edi, esi
and edx, 0xffff
mov ecx, esi
sub ecx, edx
add edi, edx
mov edx, dword [ebp - 0x28]
mov eax, 0xf0f0f0f0
add edi, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov al, byte [ebp - 0x4c]
mov cl, byte [ebx + 0x141]
inc al
cmp al, cl
mov byte [ebp - 0x4c], al
jb 0x4323a0
mov eax, dword [ebx + 0x158]
test eax, eax
je 0x432783
mov si, word [ebx + 0x14e]
xor eax, eax
mov ax, word [ebx + 0x142]
mov edi, esi
cdq
and edi, 0xffff
mov cl, byte [ebx + 0x141]
idiv edi
mov dword [ebp - 0x8c], esi
mov byte [ebp - 0xa0], cl
shr si, 3
test cl, cl
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x88], esi
mov byte [ebp - 0x3c], al
jbe 0x432783
mov eax, dword [ebp - 0xa0]
mov byte [ebp + 0x13], 0
and eax, 0xff
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x40], eax
mov al, byte [ebp - 0x3c]
test al, al
jbe 0x432764
mov al, byte [ebp + 0x13]
mov edi, dword [ebp - 0x50]
mov byte [ebp - 0x38], al
mov eax, dword [ebp - 0x3c]
and eax, 0xff
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
push edi
push ecx
push edx
push eax
mov ecx, ebx
call fcn.00445740
xor esi, esi
mov eax, dword [ebp - 0x18]
mov si, word [ebx + 0x146]
mov edx, dword [ebp - 0x34]
imul esi, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
add esi, eax
add esi, edx
add esi, ecx
cmp word [ebp - 0x8c], 0
jbe 0x432744
mov edx, dword [ebp - 0x60]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
lea eax, [edx + 7]
shr eax, 3
mov dword [ebp - 0x20], eax
xor eax, eax
mov ax, word [ebx + 0x142]
sub eax, ecx
cmp eax, 8
jle 0x4326d0
mov al, 8
mov edx, ecx
mov byte [ebp - 0x68], al
shr edx, 3
test al, al
mov dl, byte [edx + edi]
mov byte [ebp - 0x74], dl
jbe 0x432731
mov eax, dword [ebp - 0x74]
xor edi, edi
and eax, 0xff
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x30]
lea edx, [eax + esi]
mov eax, dword [ebp - 0x68]
and eax, 0xff
mov dword [ebp - 0x2c], eax
mov eax, 0x80
mov ecx, edi
sar eax, cl
mov ecx, dword [ebp - 0x7c]
and eax, ecx
mov cl, byte [edx]
neg eax
sbb al, al
and al, 0x10
add al, 0xf0
cmp al, cl
ja 0x43271e
mov al, cl
mov byte [edx], al
mov eax, dword [ebp - 0x2c]
inc edi
inc edx
dec eax
mov dword [ebp - 0x2c], eax
jne 0x432700
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x20]
add ecx, 8
dec eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x20], eax
jne 0x4326be
mov al, byte [ebp - 0x38]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x34]
inc al
mov byte [ebp - 0x38], al
mov eax, dword [ebp - 0x54]
add edx, ecx
dec eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x54], eax
jne 0x43266c
mov edx, dword [ebp - 0x28]
mov cl, byte [ebp + 0x13]
mov eax, dword [ebp - 0x40]
inc edx
mov dword [ebp - 0x28], edx
mov dl, byte [ebp - 0x3c]
add cl, dl
dec eax
mov byte [ebp + 0x13], cl
mov dword [ebp - 0x40], eax
jne 0x432646
mov al, byte [ebp - 0x44]
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x6c]
inc al
inc edi
add esi, ecx
mov cl, byte [ebp - 0x24]
mov dword [ebp - 0x48], edi
mov edi, dword [ebp - 0x5c]
mov dword [ebp - 0x18], esi
mov esi, dword [ebp - 0x50]
add edi, edx
cmp al, cl
mov byte [ebp - 0x44], al
mov dword [ebp - 0x5c], edi
jb 0x432308
mov edi, dword [ebp + 8]
mov ecx, ebx
push edi
call fcn.00432900
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4327d0
push edi
mov ecx, ebx
call fcn.00452850
test esi, esi
je 0x4327dd
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc